How do you build an automatic emergency light?
When mains power fails, an 18650 cell runs a bright LED panel automatically, and it recharges when power returns. You need 18650 cell 2600 mAh (branded), Battery holder 18650 single, TP4056 module with protection (USB-C), High-power LED 1 W white (star), BC547 NPN transistor, AO3401 P-channel MOSFET (SOT-23), Resistor 1 kΩ × 2, Resistor 10 kΩ, Rectifier Diode 1N4007, 5 V 2 A USB adapter and ABS project box (100 × 60 × 25 mm).
- Level
- Beginner
- Time
- About 90 min
- Parts
- 11
Detect power loss and switch to a battery.
Parts list
- Batteries
- Power
- Power
- Optoelectronics
- Semiconductors
- SemiconductorsOr IRF9540N through-hole
- PassivesResistor 1 kΩ × 2
- Passives
- Semiconductors
- Power
- Mechanical & Hardware
How to build it
- Charge the cell from the 5 V adapter
- Sense adapter voltage with a divider
- Turn the P-MOSFET on when it drops
- Limit LED current with a resistor
- Test run time and add low-battery cut-off
Common questions
What parts do I need for the automatic emergency light?
18650 cell 2600 mAh (branded), Battery holder 18650 single, TP4056 module with protection (USB-C), High-power LED 1 W white (star), BC547 NPN transistor, AO3401 P-channel MOSFET (SOT-23), Resistor 1 kΩ × 2, Resistor 10 kΩ, Rectifier Diode 1N4007, 5 V 2 A USB adapter and ABS project box (100 × 60 × 25 mm). AO3401 P-channel MOSFET (SOT-23): Or IRF9540N through-hole.
How long does the automatic emergency light take to build?
About 90 minutes for a beginner maker.
