I have a project I was messing with that will use 4 AAA batteries (1.5V each so 6V in series). I will have a PIC10F200 that will turn on 6 white LEDs (20mA, Vf ~ 3.2V). I haven't ever used alkaline batteries so wasn't sure what the best way to do this would be. I am a little space limited. The PIC will flash the LEDs on for about 4 seconds when a trigger occurs and then shut them back off. I would like the device to work for about 2500 triggers without the LEDs losing too much intensity.
I could just drive the LEDs directly from the battery with a 140 series resistor for each to start the current at about 20mA, but not sure how fast the batteries will degrade or how much the voltage can vary from the 1.5V.
I could use a 3.3V LDO and a 5ohm series resistor to drive the LEDs, but not sure how long the batteries would last since the efficiency would be bad starting at 6V input.
I could use a buck regulator, but requires more room and parts/cost. Also not sure if there is any issue with running these from AAA batteries and supplying the initial current when turning the LEDs on.
Bottom line I have never done anything with alkaline batteries and wasn't sure what the best way to go about this is. I might be overthinking it and can just use the first option just fine but wanted to see if anyone here had any experience and suggestions on a cleaner/better solution
I could just drive the LEDs directly from the battery with a 140 series resistor for each to start the current at about 20mA, but not sure how fast the batteries will degrade or how much the voltage can vary from the 1.5V.
I could use a 3.3V LDO and a 5ohm series resistor to drive the LEDs, but not sure how long the batteries would last since the efficiency would be bad starting at 6V input.
I could use a buck regulator, but requires more room and parts/cost. Also not sure if there is any issue with running these from AAA batteries and supplying the initial current when turning the LEDs on.
Bottom line I have never done anything with alkaline batteries and wasn't sure what the best way to go about this is. I might be overthinking it and can just use the first option just fine but wanted to see if anyone here had any experience and suggestions on a cleaner/better solution