Hi,
I am trying to build a circuit that will measure the voltage across capacitor and then divide it down so an A/D can read it (atmega 328p). i built the circuit shown and I'm 90% sure it was wired correctly. the capacitor was charging up to about 8 volts even when SW1 was disengaged. I cannot figure out where the voltage is coming from but it seemed to be a pretty low current because the charge up took around 10 seconds. Anybody have any insight to share?
EDIT: I've added the actual schematic now that i have access to it. I changed out the 1 k resistors R1-3 and R6 (annotation changed) with 100k because i was out of 10k's and also discovered i need the relay to switch out R5 ONLY, and keep the capacitor connected to R3, and it seems to work fine now.


I am trying to build a circuit that will measure the voltage across capacitor and then divide it down so an A/D can read it (atmega 328p). i built the circuit shown and I'm 90% sure it was wired correctly. the capacitor was charging up to about 8 volts even when SW1 was disengaged. I cannot figure out where the voltage is coming from but it seemed to be a pretty low current because the charge up took around 10 seconds. Anybody have any insight to share?
EDIT: I've added the actual schematic now that i have access to it. I changed out the 1 k resistors R1-3 and R6 (annotation changed) with 100k because i was out of 10k's and also discovered i need the relay to switch out R5 ONLY, and keep the capacitor connected to R3, and it seems to work fine now.


Attachments
-
37.7 KB Views: 0
Last edited: