• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Hire Me | Contact | Calculators-online
You are here: Home / Lamps and Lights / LED Night Lamp with Dimmer Circuit

LED Night Lamp with Dimmer Circuit

Last Updated on June 8, 2026 by Swagatam 2 Comments

In this post I have explained a simple plug-in type night lamp circuit with delayed switch OFF and dimming facilities. The entire circuit is built using a transformerless power supply which ensures that the unit is very compact and can be plugged into any existing 220V mains AC socket.

Table of Contents
  • Circuit Description
    • Soft Delayed Switch OFF
    • Dimming Facility
  • Construction

Circuit Description

The electronic schematic of the LED night lamp is shown in the figure below. For once, we will start studying the schema from the end by noting that 4 high-brightness white LEDs are arranged in series and powered by the low-power transistor T1.

It is clear that a voltage of 4 x 3.6 volts is required, and with the voltage drop of 0.6 volts of the transistor, the 15-volt power supply voltage in the schema is easily justified.

We did not use the classic transformer schema but instead used the capacitive impedance of a non-polarized capacitor. The impedance of the capacitor is calculated using the following formula:

Z = 1 / Cω = 1 / C.2.π.f

To obtain the necessary 20 milliamperes, a value of 0.22 pF will be sufficient. It will also be necessary to ensure that a component with sufficient insulation voltage is chosen to prevent any risk of breakdown or premature aging. A minimum voltage of 630 volts is recommended.

Diodes D1 to D4 (1A/1000 volts models) form a classic double alternate Graetz bridge, whose rectified voltage produced is filtered by the electrolytic capacitor C1 and stabilized at 15 volts by the Zener diode Z1.

To have a constant lighting, it would be sufficient to permanently control the base of the transistor through the resistor R3.

Soft Delayed Switch OFF

A press on the ON/OFF switch S1 turns on the 4 LEDs, but at the same time charges the capacitor C2, a real energy reserve, which will discharge through the adjustable P1, acting here as a real delay adjustment of the LED lighting time (delayed slow switch OFF).

Dimming Facility

Pot P2 enables the brightness adjustment, and this pot can be used to adjust the brightness of the LEDs. Thus P2 acts like a dimmer control on the LEDs.

For more power and illumination, you can add a couple of more LEDs in series to make the total number of LEDs 6.

Construction

We propose a small PCB design for this simple LED night lamp circuit, as shown below. The PCB groups all the components and is perfectly adapted to fit in the bottom of a small plastic, waterproof enclosure.

It has a gasket under its transparent Makrolon cover. It remains to make the push button and the power cable outlet waterproof with a suitable silicone sealant for outdoor use.

Regarding the ON/OFF button, it can be replaced by any mechanical or automatic control device. This unpretentious lighting device will find its place in your environment for minimal power consumption and exceptional longevity.

Warning: Since a capacitive power supply is used for the above circuit, the entire circuit is not isolated from AC mains. Therefore, the entire PCB board may be floating with dangerous AC mains potential. Do not touch the circuit while it is switched ON and in an uncovered position.

You'll also like:

  • halloween eyesSound Triggered Halloween Eyes Project – “Don’t Wake the Devil”
  • connect 5mm leds to 3.7v li ion cellHow to Connect 5mm LEDs to a 3.7V Li-Ion Cell
  • electronic candle light simulator circuitElectronic Candle Flame Simulator Circuit
  • rgb 3Arduino RGB Flowing Sequential Light Circuit

Filed Under: Lamps and Lights Tagged With: Dimmer, Lamp, LED, Night

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « LM12 IC Datasheet, Application Circuits
Next Post: Mains AC Current Detector Switch Circuit »

Reader Interactions

Questions & Answers

Total Posts: 2
Newest Oldest
Carlos
January 20, 2026 • 8 months ago #199375

Hello, good afternoon, Mr Swagatam. I am contacting you to ask for your help. I would like to manufacture or modify a standard dimmer switch to make it automatic. In other words, when I turn on the light (e.g. Philips LED E27 lamp) in the dining room, it turns on at 100% intensity. However, after a few hours, the light intensity begins to decrease to 5% or 10%, like a night light, and remains that way until I turn the switch back on. Thank you very much in advance.

Reply
SwagatamAdmin
January 21, 2026 • 8 months ago #199383

Hello Mr. Carlos, First I would like you to do the following experiment and check if it works or not. Please connect a 0.47uF/400V PPC capacitor in series with an LED lamp wire and check if its illumination becomes less or not. If it does, then we can proceed next and add a delay timer to switch ON this series capacitor after maybe a few hours, as required by you…

Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

My YouTube Channel

Circuit Simulator: Draw and Simulate Schematics

circuit simulator image

Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (104)
  • Battery Charger Circuits (90)
  • Datasheets and Components (109)
  • Electronics Theory (151)
  • Energy from Magnets and Earth (43)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (98)
  • Lamps and Lights (161)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (30)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (46)
  • Solar Controller Circuits (62)
  • Temperature Controllers (44)
  • Timer and Delay Relay (51)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)

Subscribe to get New Circuits in your Email

Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Michael on Electronic Circuit Projects, Tutorials, and Practical Engineering Solutions
  • Swagatam on 24V to 12V DC Converter Circuit [using Switching Regulator]
  • Swagatam on Automatic Battery Full Cut-Off Latching Circuit with Trickle Charging
  • Ramin on Automatic Battery Full Cut-Off Latching Circuit with Trickle Charging
  • Joss on 24V to 12V DC Converter Circuit [using Switching Regulator]

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

Calculators

  • ZVS Induction Heater + Tank Calculator Tool
  • Zener Diode Calculator
  • Wire Current and Thickness Calculator (Ampacity Calculator)
  • Voltage Divider Calculator
  • Transistor Base Resistor Calculator
  • Transistor Astable Multivibrator Calculator
  • TL431 Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Ferrite Core Air Gap Calculator Tool
  • Parallel MOSFET Calculator Tool: How to Connect MOSFETs in Parallel Safely
  • LC Resonance Calculator for EV Battery Charger Circuits
  • LED String Series Resistor Calculator
  • PFC (Power Factor Correction) Calculator Tool: 3kW
  • Passive Power Factor Correction (PFC) Calculator
  • LM567 IC Calculator Tool
  • SMPS Flyback Boost Converter Calculator
  • Shunt Resistor Calculator for Ammeters
  • SCR and Triac Gate Resistor Calculator
  • Battery Back up Time Calculator
  • Boost Converter Calculator (Non-Isolated)
  • Bootstrap Capacitor Calculator
  • Buck Converter Calculator
  • Buck-Boost Converter Calculator
  • Capacitance Reactance Calculator
  • DCM Flyback Transformer & Wire Gauge Wire Size Calculator Tool
  • Filter Capacitor Calculator
  • IC 4047 Calculator (Frequency and PWM)
  • IC 4060 Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • IC SG3525, SG3524 Calculator
  • Inductance Calculator
  • Induction Heater Inductor and Resonant Frequency Calculator
  • Induction Heater Work Coil Calculator
  • Inverter LC Filter Calculator
  • LC Resonance Calculator
  • LED Current Calculator
  • LM317, LM338, LM396 Calculator
  • NAND/NOT Gate RC Values Calculator
  • NOT, NAND Gate Frequency Calculator
  • Notch Filter Calculator Tool
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • RC Filter Calculator
  • Reactance Calculator
  • Sine Table Calculator for SPWM Arduino Code
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • SMPS Calculator for Toroidal Ferrite Transformers
  • SMPS Flyback Transformer Calculator – Design by Target Duty Cycle
  • TL431 Calculator
  • Op-Amp Hysteresis Resistor Calculator

© 2026 · Swagatam Innovations