Im not super adept within the electronics world, though Im pretty damn good at soldering everything together lol. Im trying to make a very small battery life indicator but need help with a schematic.
basically there is a switch that turns the unit on and off and then to USE the unit when the switch is on you press the button. I want to put a very small LED battery life indicator on here.. basically a button and 5 small LEDs to indicate: 10%(RED), 25% (white), 50% (white), , 75% (white) 100% (green)
basically..
() () () () () [button]
I have an idea of the theory how this should work... button runs to the battery and then to the series of LEDs... any help drawing up the schematic would be awesome thanks!!
Unfortunately, what you want to do is a non-trivial exercise. You're going to need a circuit with some kind of voltage reference in it, to compare to the battery voltage, plus a comparator. You can't just string a series of LEDs together and have them indicate battery "life" (meaning voltage level) like that.
Is the battery an alkaline one, a NICd, or what? They all have different discharge characteristics, so there may not be a 'one size fits all' solution.
As was pointed out, this is non-trvial. LiIon batteries have a fairly flat discharge curve, so it's not easy to tell how much 'life' is still in them just by looking at the battery voltage. So the LM3914 may not be an ideal solution. One possibility is to use a microcontroller to monitor current draw and do the sums, but perhaps that's a bit OTT.
As was pointed out, this is non-trvial. LiIon batteries have a fairly flat discharge curve, so it's not easy to tell how much 'life' is still in them just by looking at the battery voltage. So the LM3914 may not be an ideal solution. One possibility is to use a microcontroller to monitor current draw and do the sums, but perhaps that's a bit OTT.