• 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 | Contact | Calculators-online
You are here: Home / Lamps and Lights / How to Add a Dimmer Facility to a LED Bulb

DIY Circuits | Learn Basics | Arduino Coding

How to Add a Dimmer Facility to a LED Bulb

Last Updated on November 9, 2025 by Swagatam 101 Comments

In this article I have explained how to make an LED dimmer circuit for enabling a dimming facility to any mains operated LEDs bulb.

Update: [Using Capacitors, it Works]

If you think PWM dimming control might not work for commercial LED bulbs, then the best method is to use series capacitors, which might just do the trick.

Using selectable high voltage capacitor series capacitors can be used for dimming control of all ready made commercial LED bulbs without any problems, as shown below.

Understanding The Basic Idea

Let us first understand that this circuit is working only because we are putting different capacitors in series with the LED bulb supply line.

So we can say that we are using the capacitors as the main current controller. Now you select one capacitor at a time through the rotary switch, and that capacitor decides how much current will flow to the LED bulb.

How The Capacitors Control The Current

We know that a capacitor does not behave like a resistor. Since a resistor drops power by heat, a capacitor does not do that.

A capacitor creates a reactive impedance that is called Xc. So this Xc will limit the AC current. The formula for this is written as:

Xc = 1 / (2 × π × f × C)

Now we can see that when C becomes smaller, then Xc becomes bigger and current becomes less.

When C becomes larger, then Xc becomes smaller and current becomes more. So you can say that small capacitor gives dim light and large capacitor gives bright light.

How The Rotary Switch Makes The Steps

The rotary switch is simply selecting only one capacitor at a time. Let us say you rotate to the 0.047uF position, then you get very low current and very dim LED.

When you rotate to 0.1uF then brightness increases slightly. When you rotate to 0.5uF then LED becomes medium bright.

When you rotate to 1uF then LED becomes almost fully bright. So the rotary switch is like a step-by-step brightness selector.

How The LED Bulb Reacts Internally

Inside the LED bulb there is a small driver circuit. This driver wants to maintain some constant power or constant current inside the LEDs.

So when you limit the input current with the capacitor, the driver automatically reduces its output to the LED string.

That is why brightness reduces smoothly. Since the internal driver is stabilizing everything, then you normally do not get flickering also.

Why There Is No Heat Produced

Let us note that there is almost no heat in the capacitors because they are reactive parts. So they do not burn any power like resistors. That is why this dimmer becomes very efficient for LED bulbs.

Why Only High Voltage Capacitors Are Used

We must use 400V rated polyester or polypropylene capacitors. We must do this because the capacitors have to handle the full AC voltage which has a peak of around 310V.

So these capacitors must tolerate high stress. You should not use low voltage parts here, since then they will fail very soon.

Brightness Steps You Usually Get

With 0.047uF you get very dim night lamp kind of light.

With 0.1uF you get dim light.

With 0.5uF you get medium brightness.

With 1uF you get almost full brightness.

The exact brightness can change from one LED bulb model to another, but the general idea stays same.

Important Things To Know

Now let us discuss some important points slowly.

When the LED bulb has isolated SMPS, active PFC, or high level constant-current driver, then sometimes the bulb may not dim smoothly at very low current.

The bulb can even shut off. So this method works best for simple non-isolated driver bulbs or basic capacitor-dropper type bulbs.

Since the entire circuit is connected directly with main AC, then there is no isolation. So every part of the circuit remains at high voltage potential, and you must handle with care.

Since capacitive dimming cannot reduce the voltage to zero, then you cannot get completely OFF brightness unless you add one OFF position in the rotary switch.

Summary

So in this method we simply put different capacitors in series with LED supply. That capacitor limits the AC current according to Xc.

The LED driver receives less current and then it reduces its output power and you get dimming. The rotary switch selects the amount of current and that gives you different brightness levels. This becomes a very simple and efficient dimmer because it uses no heat and no TRIAC.

Using PWM Dimming Control is the Best?

We know that our ceiling fans and incandescent bulbs can be easily controlled using triac dimmer switches, and we are quite used to with dimmer switches in our homes installed for controlling such devices.
However with the advent of LED bulbs and tubes, incandescent bulbs are slowly making an exit, and our home bulb holders are getting replaced with LED bulbs.

LED bulbs come with a built in SMPS driver within their holder cabinet, and an SMPS circuit makes it difficult to operate or control through a triac dimmer switches, until and unless its suitably modified for the application.

Because, the SMPS driver inside LED bulbs and tubes strictly employ inductor or capacitive based circuits which are never recommended to be used through triac dimmers, since triac dimmers utilize phase chopping technology for the dimming purpose which unfortunately does not suit inductive/capacitive load control.

If used then the LED bulbs do not dim correctly rather show erratic dimming or brightening behavior, due to an incompatible reaction.

The best method and probably the technically correct approach is the PWM technology which can be effectively used for controlling or dimming LED bulbs or tubes. The figure shows the design may be implemented.

How to Add a Dimmer Facility to a LED Bulb

You may also like: Simple DC Lamp Dimmer Circuit


Problem in the above Method

A deeper inspection of the above concept shows that the concept might not work due to the presence of the internal filter capacitor in every LED bulb circuit, right after the bridge rectifier.

This filter capacitor will hold the charge and keep the LED bulb ON even during the OFF times of the PWMs, preventing the dimming effect.

This means that dimming an LED bulb through an external means can be impossible.

However, the dimming effect can be perhaps implemented by connecting the series LED section of the LED bulb with the IC 555 circuit, as indicated in the following diagram:

We know that an LED bulb circuit is nothing but a small AC to DC SMPS circuit, which employs a small ferrite transformer for stepping down the mains voltage to a lower LED DC voltage. The secondary side of the transformer produces the stepped down voltage which is rectified by a single diode and a large filter capacitor.

The rectified DC is then transferred to a series LED assembly for lighting it up.

We have to modify this LED section and connect it with the IC 555 PWM stage as shown above.

This can be implemented wiht the following steps:

  • Open the LED bulb container.
  • Cut the wire of the LED assembly which goes to the negative line of the DC supply.
  • Connect this negative LED wire to the transistor collector of the 555 pwm circuit.
  • Finally connect the 555 pwm circuit's positive/negative wires with the LED DC supply, coming from the ferrite transformer secondary.
  • This also means that the 555 IC circuit does not need an external DC, and it can be derived from DC supply from the smps, meant for driving the LEDs.
  • Finally, connect the LED smps input to AC mains and check the dimming effect by varying the IC 555 pwm pot.
  • Remember the smps circuit primary side is not isolated from mains and therefore extremely dangerous to touch in switched ON condition.

You'll also like:

  • Make this 2 Pin Bi-Color LED Flasher Circuit
  • capacitive LED driver with 50 LEDsHow to Design Simple LED Driver Circuits
  • f149dbce8308cab5de03978b6d8380ec6ee022f8 origIC 555 LED Circuits (Blinking, Flashing, Fading Effect)
  • How to Make a Cheap LED Name Plate with Illuminated Back Light

Filed Under: Lamps and Lights Tagged With: Bulb, Dimmer, Facility, LED

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: « How to Make a Zero Crossing Detector Circuit
Next Post: How to Design a Solar Inverter Circuit »

Reader Interactions

Comments

Mike says:
November 21, 2025 at 4:41 am

I’ve been looking for a simple method to dim LED bulbs that doesn’t require PWM, and yours might be the answer. However, our domestic electricity is 120vac so I would assume the specs on the capacitors will be different. Could you please provide what those numbers would be?
With thanks!

Reply
Swagatam says:
November 21, 2025 at 9:28 am

Yes, I tested the first design with a 0.1uF/400V capacitor and found the light to be significantly dim. But I did not check with other vales, so i am not sure how other values will create the difference in its illumination…
For 120V AC you can use the same setup, or maybe use capacitor rated at 250V, which will be cheaper…

Reply
Tym says:
March 9, 2024 at 10:59 pm

Hi Sir, i want to try zero crossing method for my Halogen tube stovetop, can i use this 555 Bulb Dimmer circuit or is there any other zero crossing driven circuit with pwm generator?
Triac is BTB16-800 for two 500 watt Halogen tubes.

Reply
Swagatam says:
March 10, 2024 at 2:24 pm

Hi Tym,
A triac based AC circuit might not work well with a DC PWM.
Instead you can go for an AC dimmer circuit as explained in the following article:
https://www.homemade-circuits.com/how-to-make-simplest-triac-flasher/

Reply
Alfa Kilo says:
March 10, 2023 at 4:39 pm

Sir first thank you for all the useful circuits you have been posting all these years. My question, if we use a dimmable LED is this circuit going to work, or we face the same condition with the presence of a filter capacitor? Thank you in advance.

Reply
Swagatam says:
March 10, 2023 at 7:48 pm

Thank you Alfa,
I am not sure how the dimmable LEDs are designed to work, whether they have internal SMPS, do they work with 220V AC? So I am not sure whether the first circuit from the above article can be used with these LEDs or not.

Reply
Alfa Kilo says:
February 2, 2026 at 11:13 pm

Finally, I found the time to try connecting dimmable LED lamps in this circuit. It didn’t work.

Reply
Swagatam says:
February 3, 2026 at 7:47 am

I tested one Phillips 20W LED bulb with a 0.1uF/400V series capacitor and it became significantly dim. The light was equivalent to a 3 watt lamp…

Reply
Suat Kaleli says:
June 13, 2022 at 10:35 pm

Hi Swagatam;

When considering the dimmer circuit I am not sure which one is changing or being limited, voltage or current or both of them by the control pot.
For instant; when we use that circuit with the load as bulb 220 Volt AC. I think sensitivity depends to the circuit parts specs and let’s say the voltage is being changing as minimum 70 Volts and Maximum 210 Volts. But if we need a fixed / constant voltage about 120 Volts in the circuit, It is possible to gain that thru another simple circuit or only alternative is dimmer circuit for the purpose? Regards

Reply
Swagatam says:
June 14, 2022 at 8:45 am

Hi Suat, an AC light dimmer controls the output voltage by chopping the AC mains cycle into smaller sections. If you need fixed voltages from the dimmer then you can replace the pot with a 5 step rotary switch having 5 calculated resistors for 5 different fixed voltages. An example is shown in the last diagram from this article:

Light Dimmer and Ceiling fan Regulator Circuit

Reply
Suat Kaleli says:
June 13, 2022 at 1:48 pm

Hi Swagatam;
Please do not consider my previous message since I am confused for a while I will advise the result later- Thanks

Reply
Swagatam says:
June 13, 2022 at 2:01 pm

OK no problem…

Reply
Suat Kaleli says:
June 14, 2022 at 1:32 am

There were 2 pieces of BT136 on the PCB and one was switch and other was dimmer so I was confused and thought as if the dimmer were switch. So no problem and that is normal the bulb is on at the dimmer circuit. Thanks anyway.

Reply
Swagatam says:
June 14, 2022 at 8:50 am

OK got it, no problem.

Reply
Suat Kaleli says:
June 13, 2022 at 1:42 pm

Hi Swagatam;
I am sure above circuits are better however there are simple dimmer circuits too. Parts are Bt136, 39K, 104 or 105 C, DB3, pot 500K or equivalent parts. I have the one like that although there is no short contacts among the pins of BT136 Bulb always lights even no Gate voltage. I need your opinion. Thanks and regards

Reply
Swagatam says:
June 13, 2022 at 1:47 pm

Hi Suat, The LED bulb has a bridge rectifier inside which makes it a DC load for the triac, and since a triac can latch up with a DC load, therefore the triac may be conducting even without a gate voltage since it has latched.

Reply
Marcelo says:
January 12, 2022 at 5:55 pm

Hi Swagatam,

I’m wondering here if I remove the capacitor from a led bulb, which circuit above will REALLY work?

Tks,
Marcelo

Reply
Swagatam says:
January 12, 2022 at 6:09 pm

Hi Marcelo, if the LED itself works without the capacitor then I am sure the dimming can be implemented using the above concepts.

Reply
Marcelo says:
January 12, 2022 at 8:20 pm

Hi Swagatam,

Even the 1st circuit using the opto-coupler is all fine? All we need is just to remove the blessed capacitor and then it will work?

Tks,

Marcelo

Reply
Swagatam says:
January 12, 2022 at 8:46 pm

Yes the first should work if there’s no filter capacitor installed inside the LED bulb. This is as per my assumption, but will need to be verified practically.

Reply
Marcelo says:
January 12, 2022 at 9:34 pm

I think the problem by removing this filter capacitor is surely the DC circuit will become unstable, as no filtering will be present anymore.

Reply
Swagatam says:
January 13, 2022 at 9:15 am

You may be true, but it will need to be confirmed practically.

Reply
Marcelo says:
January 14, 2022 at 5:21 pm

Thanks for your attention, Swagatam. But I’m wondering here if along these almost 6 years that this thread is open nobody managed to test successfully any of your concepts yet?

Reply
Swagatam says:
January 14, 2022 at 7:20 pm

Yes because the concepts are not easy to implement, and are not confirmed.

Reply
Fabián Romo says:
October 10, 2021 at 7:24 am

Does a triac only work with resistive loads? Or if they have a reactance (capacitive or inductive) it must be negligible with respect to resistance.

But in this case, the led bulb has an electronic circuit internally and therefore it is not even a line load. If it works, why does it?

Reply
Swagatam says:
October 10, 2021 at 10:12 am

Triacs can work with resistive and inductive loads both. But yes, an LED bulb might not work with a triac, the first circuit needs to be revised and changed.

Reply
Fabián Romo says:
October 10, 2021 at 6:50 pm

I think 555 as PWM doesn’t make sense, the circuit only serves to activate or deactivate the load like a relay. To control the brightness (assuming it works with the led lamp), by means of the MOC3061-M circuit it is possible to detect the zero crossing of the AC voltage and based on that, a time is waited to activate the TRIAC (firing angle) , nothing to do with a PWM

Reply
Swagatam says:
October 10, 2021 at 7:32 pm

The PWM definitely makes sense, it decides how many milliseconds the triac needs to remain switched ON and for how many milliseconds it needs to remain switched OFF, during each 50 Hz cycle. It is called zero voltage switching or time proportional triac drive.

It keeps the load switched ON for an average length of time which causes the brightness to change depending upon the PWM duty cycle.

But due to the internal filter capacitor the ON/OFf duty cycle can be ineffective, since the charge inside the capacitor will compensate the switch OFF periods and keep the LED ON with a constant brightness.

Reply
Fabián Romo says:
October 11, 2021 at 2:48 am

But when you activate a TRIAC, it remains active (conducting) until the voltage drops to zero. Therefore, with the first positive edge of the PWM, the triac will activate and thus the PWM signal returns to zero, it will not turn off.

Only when the AC voltage signal drops to zero will it turn off.

The TRIAC is not like a transistor that turns on or off depending on the voltage present at its base.

The TRIAC and similar devices are activated with a pulse on their gate and the only way to turn them off is for the voltage at their terminals to go to zero volts or to apply a reverse voltage to them.

Reply
Swagatam says:
October 11, 2021 at 10:23 am

Yes that’s right, triacs get latched until the next zero crossing arrives, and this feature can be used to break the triac switching.
In a 50 Hz AC cycle, the zero crossing arrives 100 times….so that triac can be switched ON/OFF anywhere during these 100 zero crossings.
If the PWM is adjusted for 50 ms ON and 100 mS OFF, then after 50 ms the triac will OFF for 100 ms and then ON again for 50 ms, and this will go ON….causing a proportionately reduced average ON time. In this way many other PWM duty cycles can be used for controlling the triac’s average output ON time

Reply
Naamal says:
May 15, 2021 at 12:49 pm

Sir I can not find an SFH619A opto-coupler. Can MOC3021 be used instead?

Reply
Swagatam says:
May 15, 2021 at 1:01 pm

Naamal, the opto in the second concept should be a LED/transistor based opto, whereas MOC is a LED/triac based opto which might not be suitable for this application

Reply
Naamal says:
May 15, 2021 at 1:31 pm

Thank you so much for answering me sir

Reply
Swagatam says:
May 15, 2021 at 1:38 pm

You are welcome Namaal,

Reply
Denis says:
February 3, 2021 at 10:20 pm

Hello,

Do you mean we can dim a unmodified AC power LED Bulb with your DC BJT based circuitry ?
Thanks, Denis

Reply
Swagatam says:
February 4, 2021 at 8:32 am

Without removing the internal filter capacitor, external PWM control may not be possible!!

Reply
Brian Olasya says:
August 24, 2020 at 12:58 am

hello, nice work on this circuitry. Can it be implemented on a no-nuetral connection? like in the light switch with only the live wire..?

Reply
Swagatam says:
August 24, 2020 at 9:55 am

Hi, thank you, no it cannot be implemented without a neutral connection for the circuit

Reply
Minion House says:
August 20, 2020 at 7:14 am

Could I drive the MOC3063 with the PWM output of a WS2811?

Reply
Swagatam says:
August 20, 2020 at 9:36 am

I have not yet studied WS2811, so can’t advise on this…

Reply
W4CJY says:
July 25, 2020 at 12:43 am

I have encountered 120Vac LED’s that incorporate a small transformer and so will not work from DC. A simple solution is to remove bulb from between the transistor and the DC side of the bridge rectifier, and connect it in series with one of the AC legs of the bridge rectifier. This will allow the transistor to pwm on the DC side, controlling the AC voltage. Should work for either type of LED.

Reply
Swagatam says:
July 25, 2020 at 9:27 am

LED bulbs can actually work with DC since it incorporates a bridge rectifier and a filter capacitor, at the very start of the circuit, just like an SMPS. So basically they work with DC only. However, the external PWM will not work, because during the OFF periods of the PWM cycles the internal filter capacitor will keep the LED circuit switched ON and thus the PWM will not be effective.
So if this filter capacitor is removed then the bulb could be dimmed externally through a PWM.
Switching the circuit internally can be a little complex, and moreover all LED bulbs do not incorporate a transistor.

Reply
Swagatam says:
July 16, 2020 at 1:57 pm

You can use the same circuit which is explained in this article:

https://www.homemade-circuits.com/making-adjustable-electromagnet-circuit/

Please remove the electromagnet/diode, and connect the LED cathode side with the transistor collector. The anode side of the LED will go to the positive line. The negative of the 555 circuit will be common with the negative of the LED controller circuit.

Te supply to the IC 555 should be not exceed 15 V DC

Reply
Gagandeep says:
July 16, 2020 at 10:01 am

As per your 555 timer circuit kindly suggest me the values of components (resistor- capacitors-Diode) along with wattage. I want to design this pcb for trial on 18 watt LED.

Reply
Gagandeep says:
July 15, 2020 at 10:02 pm

Hi, Thanks for the update kindly guide me what should be the values of components for 18 watt led.

Reply
Gagandeep says:
July 14, 2020 at 5:35 pm

Yes same circuit

Reply
Swagatam says:
July 14, 2020 at 5:22 pm

Hi Gagandeep, are you referring to this circuit:

led driver using BP2338 IC

Reply
Swagatam says:
July 16, 2020 at 8:44 am

Hi, I don’t have enough information about this IC, so I can’t suggest much about the components.

Reply
Swagatam says:
July 14, 2020 at 6:35 pm

OK, then please check the voltage across the LEDs so that we know the DC available from rthe circuit which can be also used to power a separate 555 pwm circuit for dimming the LEDs. The BP2338 IC cannot be modified for dimming. We will have to add a separate IC 555 stage for the dimming.

Reply
Gagandeep says:
July 14, 2020 at 11:48 am

Sir we have Philips led rods in which
1. Rectifier MB10f
2. LED driver BP2338
3. Inductor
Kindly share personal email address so that I can share you pictures also. If any solution we can prepare.
Gagandeep 9779732634

Reply
View Older Comments

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

circuit simulator image

Subscribe to get New Circuits in your Email

Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (133)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (87)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (37)
  • Wireless Circuits (31)

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 |

Social Profiles

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

Recent Comments

  • Swagatam on Simple Tone Control Circuits
  • Ken on Simple Tone Control Circuits
  • Swagatam on Circuit Projects for Beginners and School Students
  • Swagatam on 10 Watt Stereo Amplifier Circuit Diagram
  • Swagatam on Triac Battery Charger Circuit

© 2026 · Swagatam Innovations