Battery check
Battery check
I need a battery test circuit with as few components as possible. I just want to test 2AA batteries in series and turn on an led if they are < 2.5V.
Re: Battery check
Do you want the entire circuit, including the LED, to be powered by the two AA batteries, or do you have a separate power source?
Re: Battery check
wouldn't it be easier to turn on an LED if the voltage is above 2.5V? Then you could use the batteries themselves to power it.<p>then again, did the assignment specifically say LED on when < 2.5V?
Re: Battery check
The main components are (2) AA batteries operating a pic micro (16f628). I don't want an led on when the batteries are new to conserve power. I do want it to come on when the batteries get low (even though this means faster battery drain). Possibly I could pulse the led on/off to conserve power. <p>My real problem is I can't think of a good way to have the a/d of the chip check the voltage of its own supply since the supply of the chip and Vref of the AD will always be at the same level.
Re: Battery check
Hi.
Do not use dividing resistors for Vref. Use a 2.5V reference voltage diode instead, or a precision Zener.
Miguel
Do not use dividing resistors for Vref. Use a 2.5V reference voltage diode instead, or a precision Zener.
Miguel
- Abolish the deciBel ! -
Re: Battery check
Yes, it really helps to explain your circuit a little more.<p>I'd do it the other way around. Use Vcc as Vref and the 2.5V (or what ever) zener to limit the AD input. The logic is reversed. When the supply falls to 2.5V, your AD result will rise to the Vref value (or pretty close). When the batteries are fresh, it will be 2.5/3.2 of Vref. Of course, that only works if you actually have an ADC (check the 628 spec...)<p>And yes, I'd definitely pulse the LED as 2.5 is pretty much end of the line for 2 alkaline cells.
Re: Battery check
Maybe a Maxim http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2363?
Or, hack a cheap smoke detector for its' low battery voltage beep/flash chip?
Or, hack a cheap smoke detector for its' low battery voltage beep/flash chip?
WA2RBA
- Dave Dixon
- Posts: 436
- Joined: Thu May 01, 2003 1:01 am
- Location: Wichita, KS
- Contact:
Re: Battery check
I agree with JWAX. Maxim has a ton of voltage monitoring devices that are super super small.
They are also pretty good about sampling.
Best of luck,
Dave
BTW - the above link didn't work for me.<p>[ February 09, 2005: Message edited by: Dave Dixon ]</p>
They are also pretty good about sampling.
Best of luck,
Dave
BTW - the above link didn't work for me.<p>[ February 09, 2005: Message edited by: Dave Dixon ]</p>
Re: Battery check
it can be done with a zener, a couple of resistors and the 16F628. Think comparator...
Re: Battery check
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr>I don't want an led on when the batteries are new to conserve power. <hr></blockquote><p>If you power a flasher circuit (<1Hz) and slightly underdrive the LED (less current than spec, less brightness but enough to see) you should notice only a slight loss of battery life. (see the thread on lighted hockey puck)<p>Problem with signaling with a constant-on LED when the battery gets low is that it will only work for a short time as the battery gets completely killed by the LED.<p>A low voltage monitoring IC will probably result in the lowest component count but you will need to spend time looking for the right one.<p>You could also consider using a seperate coin battrery to power the monitoring/LED circuit. This would simplify comparing the AA batt voltage to a reference and allow for "LED on when low" indication you want.<p>To do it with one battery choose a voltage reference IC or zener (less efficient) of sufficiently low voltage to serve as a reference and compare that to a resistor divided voltage proportional to the battery (use high values to avoid wated current).
-
- Posts: 400
- Joined: Tue Dec 25, 2001 1:01 am
- Location: Bellingham, WA
- Contact:
Re: Battery check
Briefly turn on an LED and read the voltage across it. Since you aren't calculating the voltage, you only need a threshhold value. Once the LED is above about 72% (I don't know whether you have an 8 or 10 bit ADC on that chip, and I'm in a bit of a hurry), your supply voltage is low enough to light the warning. For reaading purposes, you only need to power up the LED for a few uS- it may be visable in the dark but not distracting.
Re: Battery check
Sorry about that bad link.
Here's a neat little solution though:
http://www.ncws.com/rcrock/lowbat3.htm
Here's a neat little solution though:
http://www.ncws.com/rcrock/lowbat3.htm
WA2RBA
Who is online
Users browsing this forum: Ahrefs [Bot] and 28 guests