0
   

Lead acid battery monitor.

 
 
Lostboy
 
Reply Mon 26 Oct, 2015 02:55 pm
I am using a pic microcontroller to monitor a 12v lead acid battery. The pic is a 5volt device with an internal 10bit A/D converter. The circuit power is derived from the battery under test via a 7805 regulator.
The A/D uses an internal reference voltage of 5v and so will have an output range of 0 to 1023 for a 0 to 5v input.
The battery voltage is fed to the analog input pin via a 2 resistor voltage divider to bring the input voltage within the 5 volt range of the A/D.
The problem is that a 12v lead acid battery is considered flat at approx. 11volts and fully charged at 12.8 volts.
So I am only working with a 1.8volt range which means that the A/D is not using it’s full resolution. How can I turn a 1.8volt range into a 5volt range referenced to 0v?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 720 • Replies: 2
No top replies

 
dalehileman
 
  1  
Reply Tue 27 Oct, 2015 10:26 am
@Lostboy,
Holy Cow, Boy, but that's a good q. First reaction: Reprogram the microcontroller. Otherwise one of these devices

https://www.google.com/?gws_rd=ssl#q=dc+voltage+step+up+converter

...would step it up. But how to get rid of the unwanted 11v is another problem. Simplest way an 11-v zener diode of course

http://www.ibiblio.org/kuphaldt/electricCircuits/Semi/SEMI_3.html#xtocid1093412

...although you'd be at the mercy of temperature while I'm sure there's a far more accurate and reliable way if slightly more expensive. But at 84 I've forgotten almost everything

Doubtless we'll hear a better way from a knowledgeable a2k lad



0 Replies
 
dalehileman
 
  1  
Reply Wed 28 Oct, 2015 02:23 pm
@Lostboy,
Come on somebody, help us out
0 Replies
 
 

Related Topics

 
  1. Forums
  2. » Lead acid battery monitor.
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/19/2024 at 02:13:37