Hi,
Im trying to measure light using a standard LED, an OPAMP a feedback resistor and PIC16F690. When i connedted the led to opamp, it shows good values. Then i connected its output to pic, and measure, it fails. Altought i read the actual value as 5mv aproximately, the pic measurements are 0, 0, 130, 0, 150, ----- (of 1024). I'm working for two days but nothing changed. The circuit i built like below. (the led reversed in mine) The feedback resistor is 20MΩ. Maybe i can extend the hold capacitor charging time in pic. Please tell me the problem.
Im trying to measure light using a standard LED, an OPAMP a feedback resistor and PIC16F690. When i connedted the led to opamp, it shows good values. Then i connected its output to pic, and measure, it fails. Altought i read the actual value as 5mv aproximately, the pic measurements are 0, 0, 130, 0, 150, ----- (of 1024). I'm working for two days but nothing changed. The circuit i built like below. (the led reversed in mine) The feedback resistor is 20MΩ. Maybe i can extend the hold capacitor charging time in pic. Please tell me the problem.
Attachments
-
2.8 KB Views: 36