10878Views24Replies

Author Options:

Low battery indicator Answered

Can someone please provide me with a schematic to turn on an LED when a 9v PP3 gets low (~<20%), no microcontrollers, the simpler the better. I am hoping you can do this with a few diodes, transistors, resistors, and maybe some capacitors, but I can't think how this would work.

18 Replies

user
Goodhart (author)2011-02-12

Have you tried using an IC like the following for this? MC34064P 4.5v undervoltage Sensor

Select as Best AnswerUndo Best Answer

user
andy70707 (author)Goodhart2011-02-13

A 3-legged IC like that would be good, as I previously said, an 8-pin DIP would be too large for my application and would probably have to use flying wires as I am using stripboard, although it only does 4.6v. By then, the voltage regulator would have stopped drawing any power and the LED probably wouldn't even be on. The voltage regulator stops working at about 7v, so I want the low battery indicator to trigger around 7.8v. A 9v battery is considered 'dead' at around 7.2v anyway. As I said, I have already solved the problem using a transistor, 3 resistors and a potentiometer.

Select as Best AnswerUndo Best Answer

user
Goodhart (author)andy707072011-02-13

Oops. sorry for the late response then.

Select as Best AnswerUndo Best Answer

user
andy70707 (author)2011-02-12

Thanks for your help, I still couldn't figure out the problem with that circuit, but I built a similar one using only 1 transistor and it works, although I had a few problems, but changing the transistor seemed to work. I tested both transistors with a multimeter and they work fine, although only 1 would work in the circuit. They are both 2N3904 transistors, but made by different companies, so maybe the first two are just bad (they were free anyway).

Select as Best AnswerUndo Best Answer

user
andy70707 (author)2011-02-11

I will try adjusting R3, and as for R5, I am not too bothered about battery drain as LEDs are only 25ma, and it will basically indicate that the user needs to replace the battery as the voltage is too low to charge, so it can use the remainder of the battery without any problems. I measured Q1 with an oscilloscope and is appears to be free from any kind of interference. As for Goodhart, I meant to say transistor, not diode. Sorry for the confusion.

Select as Best AnswerUndo Best Answer

user
andy70707 (author)2011-02-11

I used a jumper for R3, and measuring Q1, I got 280mv-680mv when adjusting the pot, although the LED remains unaffected. I am using standard 1/4 watt, 5% tolerance resistors, all the exact value from the diagram except R5 I changed to 1.5k instead of 10 as when emulating it, 10k was too strong for it to light (even with 1.5k, it is still fairly dim). Shorting Q1 does make the LED go out, and they are 2N3904 diodes, all brand new.

Select as Best AnswerUndo Best Answer

user
Goodhart (author)andy707072011-02-11

A 2N3904 is s small signal NPN transister.

Select as Best AnswerUndo Best Answer

user
andy70707 (author)2011-02-11

I just breadboarded the circuit, and although it works in my emulation software, it doesn't work in real life. My transistors and resistors are all correct, but the LED is permanently on for both a 10v battery (full) and 7.2v (empty) 9v PP3. It does seem to dim slightly for the empty battery, but It should be on if it is low and off if it is anything about about 7.8v. Adjusting the 100k pot also has absolutely no effect.

Select as Best AnswerUndo Best Answer

user
guyfrom7up (author)2011-02-08

This can be accomplished by using a basic opamp and a zener diode, such as:

http://www.aaroncake.net/circuits/lowvolt.asp

Select as Best AnswerUndo Best Answer

user
Goodhart (author)guyfrom7up2011-02-08

Hey (waving) haven't seen you around for awhile :-)

Select as Best AnswerUndo Best Answer

user
guyfrom7up (author)Goodhart2011-02-09

haha hey! yeah I've been busy and stuff and I just stop by once in a while.

AP Classes suck, lol

Select as Best AnswerUndo Best Answer

user
Goodhart (author)guyfrom7up2011-02-09

Well, it's certainly good to know you are still around :-)

Select as Best AnswerUndo Best Answer

user
guyfrom7up (author)Goodhart2011-02-10
user
andy70707 (author)2011-02-08

Thanks, that looks pretty good. I had a play around with it in some circuit emulation software, and at the moment it seems to do the opposite (dim the LED when battery is low), but hopefully I will be able to get it to work in reverse. Its a good start, so thanks!

Select as Best AnswerUndo Best Answer

user
kelseymh (author)2011-02-07

Conceptually, I'd start with a joule thief circuit, so that the LED will work when the battery is low. Then, you add in a small relay in the normally closed (NC) configuration. You want a relay where the "minimum trigger voltage" is either adjustable, or is fixed at the value you want as a cutoff (e.g., 7.2V).

The idea is that as long as the battery is strong enough, it holds the relay open with some small power drain. Once the battery drops too low, the relay closes, and the joule thief kicks in to illuminate the LED.

Select as Best AnswerUndo Best Answer

user
andy70707 (author)kelseymh2011-02-07

Thanks, I never really thought about that. Is there a way to do this with semiconductors instead as it is going to be part of a phone charger circuit and relays are large and a bit primitive.

Select as Best AnswerUndo Best Answer

user
kelseymh (author)andy707072011-02-07

There are solid-state relays, which are neither large nor primitive :-) Charging cell-phone and other "smart" batteries is more complicated, as they have some built-in electronics of their own. You may need to do a bit more research (have you tried searching for "battery charger circuits" online?) to get up to speed on some of the details.

Select as Best AnswerUndo Best Answer

user
andy70707 (author)kelseymh2011-02-07

I had a look at at solid state relays, but the trigger voltage is too high and they are quite expensive. I was hoping to do it with transistors. As fir the charger circuit, I will not be charging it directly, but I have a simple voltage regulator to go from 9v to 5v (USB).

Select as Best AnswerUndo Best Answer