You can reduce the complexity with an N-channel FET by changing the order from +3.3V / FET / LED / R / GND to 3.3V / LED / R / FET / GND. Now R12 can be replaced with a piece of wire. Set the voltage divider to be about 3V when the battery is at maximum, and choose a FET that is full on with VGS ~1V.
By the way, if you are using a high powered LED, they typically have a forward volt drop closer to 3V, so your 100 ohm resistor might be too large.




Bookmarks