Measuing battery voltage
icepuck
Posts: 466
I have two 12v(parallel) deep cycle batteries I'm trying to figure out how to read voltage with a bs2.
The battery voltage can be as high as 15volts when the charge controller goes into equalize mode.
OCV from the solar panels is about 22v in full sun.
Battery voltage is first thing I'd like get working. Then maybe the solar panels.
Is there an ADC that can handle that high of voltage?
-dan
The battery voltage can be as high as 15volts when the charge controller goes into equalize mode.
OCV from the solar panels is about 22v in full sun.
Battery voltage is first thing I'd like get working. Then maybe the solar panels.
Is there an ADC that can handle that high of voltage?
-dan
Comments
There's some discussion on using the BS2's RCTIME statement for measuring battery voltage here. Use the "app-notes" link at the bottom of the page.
http://www.circuit-projects.com/converter/555-timer-as-an-analog-to-digital-converter.html
I'll have to try that out. Sounds like the right voltage range for your project. Have you tried it yet?
No, I havn't. but the more I read up on all this the more I'm thinking of having something between the stamp and my batteries. I'd rather smoke a 555 than a stamp if something goes wrong.
I have enough spare parts I think can build one, maybe just for the learning experiance.
If it doesn't work I can always try a real ADC.
-dan
Where's the reference in the voltage measuring schemes discussed here.
Would not the voltage across the smaller resister change with the supply in a voltage divider and I thought and a-d converter was referenced to VDD so would not its reading be off? How do this work?
http://forums.parallax.com/showthread.php?102636-Any-examples-on-using-the-built-in-ADC-to-monitor-a-24V-SLA-battery
If anyone has suggestions for improvements please let me know.
Robert