So, I have a need to create a circuit that will drive an LED very dimly but for a LONG time on one battery. By dimly I mean it should be able to be seen only in pitch blackness from 50-100 feet away, and by a long time I mean measured in months or years if possible.
I experimented with some simple circuits using a large resistor 20k ohm, and a 50k ohm 15-turn adjustable resitor, and an LED with a 3-volt CR123 lithium battery. This worked well for setting the dimness factor way down, and was adjustable, but the simpleness of the circuit proved to be the downfall of it, as the LED weakened along with the battery running down, and I need the brightness to be constant once I set it to my liking.
So being a hobby-level circuit maker and not formally trained in any of this, I surmised that what I want is a voltage regulator of some sort which outputted a set voltage, lower that the 3-volts provided by the battery, and yet high enough to drive the LED. My thinking is that then the LED will hold a constant brightness until the battery dies down to below the voltage regulator output. Lithium cells having a good pattern of holding their output for as long as possible before rapidly dying out, I think this will do very well.
I found
THIS gizmo which appears that it will meet my needs, if in fact my needs are as I imagine them to be.
How I think it will work is this: I hook the battery up to the ground and Vin of the chip. I hook the LED with large adjustable resistor inline to the Cout and Vout of the chip. I adjust the LED brightness with the resistor until I like where it is, and let the thing run along. As the battery eventually begins to die out, its voltage will drop lower and lower without affecting the brightness of the LED, until the battery output drops below 1.9 volts, at which point the whole thing may shutoff or whatever, and hopefully this point will be a long time in the future.