Simplest AC Dimmer Explained | AC Dimmer using Arduino and Triac | LCSC
HTML-код
- Опубликовано: 14 окт 2024
- JLCPCB Prototype for $2(Any Color): jlcpcb.com
In this video I have shown how to make your own AC dimmer circuit using Arduino board, Triac and some other basic components.
I have also explained in detail about the working principle of AC dimming using leading edge phase dimming method.
Visit LCSC Homepage for purchasing components:- lcsc.com/
Subscribe now to watch some amazing videos coming up soon.
bit.ly/techiesm...
_________________________________________________________________
For code,circuit diagram and other details
techiesms.com/...
PCB Design
easyeda.com/te...
_________________________________________________________________
Components which I bought from LCSC
BT136 Triac :- lcsc.com/produ...
MOC3021 :- lcsc.com/produ...
MCT2e :- lcsc.com/produ...
Bridge Rectifier :- lcsc.com/produ...
_________________________________________________________________
Now you can get free PCB with every order of techiesms T-shirt or techiesms pocket notebook.
You can buy the merchandise from here,
techiesms.com/...
_________________________________________________________________
Buy the components from here
Visit my Amazon Storefront for purchasing any components you need for this project or any other project :-
bit.ly/techiesm...
_________________________________________________________________
Subscribe Now :- bit.ly/techiesm...
Facebook :- / techiesms
Twitter :- / imtechiesms
Instagram :- / techiesms
Website :- www.techiesms.com
WhatsApp number :- +91 82000 79034
_________________________________________________________________
#techiesms
explore | learn | share
Saw the same video on Greatscott but honestly, you explained it better and at a slower pace. The less use of electrical jargon helps to understand a hobbyist like me. Thanks a lot and keep it up.
Nitesh Patel glad to hear this
Thank you 😊
I totally agree. Great Scott went into way too much detail. But like Nitesh Patel said you did a much better job at explaining to someone like me! Where and how can I order a couple of PCB's just like yours? I'd like about 10 of them if possible
Jlcpcb
Yeah man that is true !!
Great Scott goes very advanced, he assumes you know the basics....
4 Years after, it is still by far the best explanation on the theory with demonstration. Thanks.
I was in search of such dimmer since a year. Superb! Excellent! Thank you so much!
thank you for this video .............can i use this method for fan dimmer
yes certainly
i m mech engineer, don't know electronics theory much more. .But the way u explained is excellent..
thank u.
Hi. I plan go use the diy circuit to control an ac fan but without the potentiometer and only though the computer. Is it possible with your diy pcb?
Today finally able to know how ac dimming work digitally. I have watched Gratescott, electronoob and many more but ur video made all doubt out
Same bro 🤜🤜
Great video, thank you very much. Can you control the voltage of the dimmer solely by software in the arduino, without the use of a pot?
Hellow sir.... I am confused about the pin no 2...and what is the usage of pin 2Sw??
Please also explain(( // attach Interrupt at PIN2...)) this is copied from your code
Very good!
But on the Triac is not connected an RC snubber... it's important, because the lamp is a "little" inductive load. You can use a snubberless Triac, like BTA08-600BW or similar instead of solder a RC filter between Mt1 and Mt2 of the Triac.
Best regards from Italy!
will this work on AC motor?
@@24242424h It also work with AC motors, (universal brushed or induction motors) but at low voltage the torque is low...
@@davidemognetti bro what should be the voltage output if we're measuring it with a load? should it be 220V still max?
beautiful. i'm an electronic enthusiasts too but you're way above my knowledge. pls add into your circuit an ir remote control circuit so that aside from the trimmer we can also use an ordinary remote control to adjust the brigthness of the lamp. Thanks .
Can I replace the optocoupler you have shown with EL817 ?
I can use the same for controlling ceiling fan speed as well, isnt it? Sorry I am a very beginner.. One question.. Here you are reducing AC voltage without transformer. Is it good or bad approach?
I made this circuit, the ZVC detection & Pulse output to MOC3021 works fine, but when connected with the Load (Lamp) it starts flicker at low voltage..
I think RC filter will require at load and Mt1 & Mt2.
If it’s start flickering try to change that timing set in the code.
Just do trial and error with different time constants and you’ll get the results
Nice video!!!
Just wanna ask if I can reprogram this leading edge to a trailing edge and how? Thanks
What is the maximum Voltage on the ir diode of mct2e? It seems that with this circuit you put over 110v peak voltage to the mct2e. Is it correct?
Explanation is really good. But can you tell me the specific reason for selecting 0.2 ms margin from left side & 2.8 ms margin for right side? Why such uneven offsets?
Hello sir,
First of all you are the best
i would like to ask you that the ac supply here we are talking about is 220 volt ac or with any step down transformer?
It’s 220 V Ac directly
@@techiesms thanks sir and one more thing can i use normal diodes 4007 instead of bridge rectifier?
I got a bridge rectifier different tgan one you used. Can i use it? It's W10 50V 1.5A Silicon Bridge Rectifier Single Phase Full Wave Rectifier...
Hi, Tutorial is very nice i got in single watch. my doubt, can't we eliminate bridge rectifier with 47k resistor at source power to MCT2E , what happen if we directly connect source power to MCT2E.
Nice sir, Can you please provide a diagram for triac bta41 600b for big dimmer ?
Sir absolute perfect and so easy circuit with guidence ❤❤❤
I have some questions?
This circuit reduces electricity consumption? Or the rest wasted?
is circuit completely off while sending zero voltage from arduino?
what if i want to control the brightness using a remote or mobile or keypad instead of a pot
I totally agree. Great Scott went into way too much detail. But like Nitesh Patel said you did a much better job at explaining to someone like me! Where and how can I order a couple of PCB's just like yours? I'd like about 10 of them if possible
Sir they can work on
Infrared coocktop 220 Volt 2000watt.
This circuit suitable for 2000 Watt
Can this same device be used for controlling ceiling fan ?
Can you please make a vedio for temperature controll ac fan, it will be really helpful, Thanks in advance
so instead of the potentiometer, you will take an output of a PID controller dependent on the error signal "the difference between your preset temp and the sensor reading" ..
you can do it.. nice idea..
How to change the input parameter to dimming the lamp, i see that in void acon on the first line "delaymicrosecond(x)" , the x parameter value start from 200 to 7200. But how to change the parameter value from 0 to 100? Please help
can anyone tell which background music is this?
Can i use this ckt 12 to 24 ac voltage controll
Bro which bulb did you use?
would this work with 120V AC 60Hz in other counteries?
Is there a circuit that does not require the feedback from the zero crossing signal in order to dim the power? I haven't been able to find a PCB anywhere that is controlled by simple pwm signal and just change the duty cycle of the triac to average out the current. I want to use a CNC shield and GRBL firmware on an arduino and then put a rectifier and filter circuit to get between 0 - 110VDC output to the spindle motor, but the firmware does not support zero crossing feedback signal from the motor. I can do it with an SCR controller and a potentiometer, but I want to use pwm from the arduino.
Can I use this dimmer to control my 1 phase hoist ac motor to slow down my elevator cart when it almost reach certain floor?
Is this configuration would work with AC dimmable Led?
What is SW pin in the code?
I have been trying to do this project with Node MCU in the hopes of using my Blynk app. Have you ever considered using Blynk? I’m interested to know what you think about Blynk. Have you done any projects using Blynk?
Hey, how come everyone got a heart except me? Ha ha I would really like to know if you’ve ever used Blynk? Thank you.
blynk.io/en/developers
@@drumminjeff71 did you find the solution
Sir plz help,
Sir me esp32 lagane ka soch raha hu usme 5 volt ka option nahi hai 3 volt ka hai or BTA41 triac lagane wala hu to resistor kon konse chamge karne padege plz help kr dena pure din se research kr raha hu
may I know it's a 47k resistor using the 1/2, right?
the explanation part is very nice. I think you should explain theory where ever necessary.
can anyone tell which background did he use?
hi thanks for the vid,
somehow it cannot be compiled on my arduino ide. it said that theres error in compilling for board Mega2560. could it happen because theres library needed? please advice. thanks
Pls add Fan Regulator option also. ESP8266 based control with powerfail save state, local and wifi controlled will be a super duper option
This same circuit will work for fan also
@@techiesms Snubber circuit to triac for inductive load is a nice addon
@@techiesms why do u often use the 3 relay system in your home automation project then ? , this triac dimmer has to have some good cons that u don't use this .
I'm wonder if this circuit would work essentially the same with a different, 60 cycle, AC voltage. It seems like it should. I'd like to build a similar device for lower voltage; say 0-20 VAC
Can i use pc817 instead of mct2e
Hi, can you use this circuit to control an AC motor speed?
Haven’t tested
Can’t say
You didn't connect any wire to A0 but used A0 in Arduino code. You connected the wire to A2 pin but didn't use A2 pin in Arduino. Any mistake?
Wont constantly decreasing power factor due to non sinusoidal current will be an issue ?
is the gate of the BT136 being powered by an AC signal?
why is the MOC 3020 necessary, cant you just drive it off the arduino DC signal?
Sorry, sir, I want to ask... is this for 110 or 220? Please provide information in the video. I'm from Indonesia with 220. What about component sizes? Does it give 2x the value, for example R47K 1 WATT becomes 100K 2 watts and 1K becomes 2K and 330 ohms to 1K
Very good explanation
Let you explain SW value in code why using SW code
Bro please check the link you have mentioned for code and circuit diagram,site cant be reached.
Actually my previous domain
techiesms.com is not working, just change the domain to techiesms.in
why do you use "SW" in the code (it is also deactivated) thank you ,,,
Can you make a circuit using an opamp instead of a full bridge rectifier, this is just to have information of using an opamp rather than a full bridge rectifier. "big resistors"... can you please state what are the resistor values... come on man people are not kids, you don't need to say "bigz resistors", you could've just said 1 watt or 1/2 watt resistors. 1 period of my AC source is not a perfect 20ms, but rather 16.65ms. You're the only indian person that actually knows how to utilize what you have learned, best explanation on triacs and how to use it.
how to make it automatic ( controlling intensity) , Any idea?
Zero Volt Detector optocouplar is getting really low current from the mains. Like 2 milliamps at 220 volt and much low ant lower voltages. I am not sure if the optocouplar turns off at zero volt. It seems the optocouplar turns on/of at much higher volt rather than near zero crossing. Not sure if I am missing something.
can use this circuit to fan
Esp32 working pin number, zero across director pin and dimming pin please share.
Hi
I created your circuit and connected with fan.
Fan starts producing humming sound
Please suggest
i couldn't get an MCT2E so i used a PC817, and used a BT151 instead of BT136. IT's not working. My bulb doesn't even light up. AND also couldn't find 47k 1W resistors, so i used 47k 0.3w resistors. I KNOW THATS A LOT OF MODIFICATION, but i need help please
in the schematic, red is the high side of the AC right ?
so just a general question, why do we use the method of reducing the ON time to reduce the delivered power instead of scaling down the signal amplitude?
same question applies in PWM, we reduce the ON time in order to reduce the equivalent DC value ... so why ?
you need analog signals for the amplitude change, which in this digital age ore costly option.
@@erwinslootweg7938 Clear, Thank you.
Hi, how can I use this module with Labview Lifa base ?
Can you using nodemcu or esp32
koyyala saipreetham I tried a similar project with the node MCU and I got a lot of Flicker. The same code worked extremely smooth with the Arduino Uno. I’m not really sure what I could’ve been doing wrong.
@@drumminjeff71 thanks
@@drumminjeff71 use 3.3v to 5v logic level converter when you are using esp32 inorder to run smoothly
what is the max wattage of load bulb can i connect
Does any one know any replacement for MCT2e? I just don't have access to amazon or lcsc.
Thanks man you'r great, keep going.
I have found 4n35 as replacement for MCT2e, am I right?
please!
Yes you're right 4n35 is zvc detection ic and it replaces mct2e ic
I have designed the dimmer board..but after connections bulb gets flicker..and at 0% it shows some intensity..why it is so?
Great video!
does the red indicate live ?
how many external device can connect ? and how they will connect?
does this dimmer works for CFL Buld and led bulb dimming?
Hello did you get dimming with normal bulb?
any chance of seeing this project on ESP with MQTT and HA integration ?
Hmm......
Y
e
s
Can this be used in fans.
Yes
Can we use this board for regulating fan speed?
Yes
@@techiesms so which approach is better to control fan speed
This circuit board
Or
That RC coupling one in which u reverse engineer the stuff?
@@techiesms please tell sir
same project if we use ultrasonic sensor in place of potentiometer and when person come near to ultrasonic led glows 100% and when goes far it goes 25%
help to make me like this
does it works with 12 volts AC,?
It's work 12v ac
How Much Max Load Handle This Circuit ?
Plz upload a video on ir remote controlled fan regulator using arduino. Thanks
I am waiting for this video ♥
Nice
How to ad extra on off remote switch and eeprom during power off storage
Brilliant explanation. Thank you!
Very good explained keep it up !!
Really sharp explanation.. keep going bro
Try doing the same for inductive loads (fan) I have tried different things for that but nothing works perfectly!! I hope you do!!
Trust me.It will work.
@@techiesms no this method is not working for fan. Speed of the fan does varied but makes a humming noise and that is what I can't eliminate!
@@harshilshah812 You Need to add a snubber circuit(I think). Like this one cdn.instructables.com/FNE/K1HI/HLA110VM/FNEK1HIHLA110VM.LARGE.jpg?auto=webp&fit=bounds
thank you sir for your excellent explanation!
can you make dimm led light from mqtt video too ?
It’s a bulb dimming circuit. Led dimming is quite simple and easy
Your explanation is really so cool! nice explanation
DIY Robotism thanks
Can it control the load of a celing fan?
Yes
Circuit is not working unable to use it.
Please share how to connect Variable resistance and triac pin and that zvc
sir i need some help can you help?
To deal with time delay problem, you should use the timer function of atmega ic
This is a well done video.
very well description
Sir,as always I admire your work but sir can you make a dimmer without potentiometer.Hope you will reply this as the previous one,❤️ 3k from your follower.
Sure. I’ll try my best to make it
@@techiesms I know you will, your the best ❤️
It's works In inductance load?
Can it be used as fan regulator
yes
It is already being used as a fan regulator. Open a fan regulator and you'll find a TRIAC
hello, I am having trouble using LED driver TRIAC Trailing Edge Driver, it flickers especially driving 2 Lamp.
Me too. I wish he will make another video that uses trailing edge.
really helpful