Automatic emergency light
LED lamp turns on when mains fails, charges when it returns. While the mains adapter is on, it charges the cell and holds a relay in, which keeps the lamp off. When the mains fails the relay drops out and its normally-closed contact connects the cell to the lamp.

Build it in the labGuided build, test sheet and fault finding, free in your browser.
Parts list
- Bench power supply
- TP4056 charger module
- 18650 Li-ion cell
- Relay
- Signal diode
- Resistor
- LED
Test procedure
Each test has an expected value and a pass range, like a factory test sheet:
- Mains on: lamp off
- Mains on: cell charging
- Mains fails: lamp on
How it works
What it does: LED lamp turns on when mains fails, charges when it returns.
Build it (guided or ready-made), then run its test procedure below. Every test has an expected value and a pass range, just like a factory test sheet.
Background
The rechargeable emergency lights in shops, stairwells and homes during brownouts.