This tutorial explains a simple AC mains-powered LED night light circuit; the circuit runs directly from a 230V AC mains supply and does not require a large transformer.
Furthermore, it can light 24 bright white LEDs with each takes 50mA current and also it is small, cheap and good for night room light.
Also, circuit uses capacitor power supply, bridge rectifier and filter capacitor to power LEDs well.
Circuit Working:

Parts List:
| Components | Values | Quantity |
|---|---|---|
| Resistors | 470k 0.25W | 1 |
| 100Ω 0.5W | 2 | |
| Capacitors | PPC 1µF 400V | 1 |
| Electrolytic 10µF 160V | 1 | |
| Semiconductors | Bridge Rectifier 1N4007 400V 1A | 1 |
| White Straw Hat LEDs | 24 |
To begin with, circuit uses capacitive power supply idea.
First, capacitor C1 drop AC current with low power loss and bridge rectifier D1 to D4 with 400V 1A can change AC to DC.
After that, capacitor C2 smooth DC for stable power and resistors R1 and R2 limit big current when power is ON and protect parts.
Therefore, 24 bright white LEDs in series are parallel to get right voltage and current.
Formulas with Calculations:
Formulas and calculation for LED night light circuit:
Current limit by capacitor:
Capacitive reactance:
Xc = 1 / (2 × π × f × C1)
= 1 / (2 × 3.1416 × 50Hz × 1µF)
= 3180 ohms
Current:
I = V / Xc = 230V / 3180Ω = 72mA
Hence, this current goes to whole circuit.
LED voltage drop:
Each white LED use 3.2V drop.
8 LEDs in series = 8 × 3.2V = 25.6V
There are 3 such branches in parallel sharing current.
How to Build:
To build a Simple AC Mains Powered LED Night Light Circuit follow below steps:
- First, gather all the parts as shown in circuit diagram
- Next, take bridge rectifier pins D1 to D4.
- After that, connect one pin of bridge rectifier to one end of resistor R1 and capacitor C1 both in parallel and connect other ends of R1 and C1 to 230V AC.
- Further, connect second pin of bridge rectifier to resistor R3 and also connect third pin of bridge rectifier to 230V AC through resistor R2 and connect fourth pin of bridge rectifier to negative of capacitor C2.
- Then connect positive of C2 to one end of resistor R3.
- From positive of C2 connect 24 white LEDs and LED anode goes to positive and cathode to negative GND.
Conclusion:
To conclude, this Simple AC Mains Powered LED Night Light Circuit requires no transformer, so it saves energy and makes a smart design.
Also, circuit is good for night light and decoration and with no heavy transformer the circuit is light and cheap.