Simplest AC Dimmer Explained | AC Dimmer using Arduino and Triac | LCSC
Вставка
- Опубліковано 30 вер 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....
Let you explain SW value in code why using SW code
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
Terrible so much wasted power. Switch ON on zero cross!!!
can anyone tell which background music is this?
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
can anyone tell which background did he use?
What is SW pin in the code?
what if i want to control the brightness using a remote or mobile or keypad instead of a pot
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?
why do you use "SW" in the code (it is also deactivated) thank you ,,,
does it works with 12 volts AC,?
It's work 12v ac
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
i m mech engineer, don't know electronics theory much more. .But the way u explained is excellent..
thank u.
Nice sir, Can you please provide a diagram for triac bta41 600b for big dimmer ?
Can I replace the optocoupler you have shown with EL817 ?
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..
i will not use Arduino to make AC dimmer. It wast my effort and cost.
Sir they can work on
Infrared coocktop 220 Volt 2000watt.
This circuit suitable for 2000 Watt
thank you for this video .............can i use this method for fan dimmer
yes certainly
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 .
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.
I have designed the dimmer board..but after connections bulb gets flicker..and at 0% it shows some intensity..why it is so?
Esp32 working pin number, zero across director pin and dimming pin please share.
how to make it automatic ( controlling intensity) , Any idea?
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?
4 Years after, it is still by far the best explanation on the theory with demonstration. Thanks.
I inspired your video but in my case my lamp is 50% glow
I was in search of such dimmer since a year. Superb! Excellent! Thank you so much!
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?
may I know it's a 47k resistor using the 1/2, right?
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
How Much Max Load Handle This Circuit ?
Can i use this ckt 12 to 24 ac voltage controll
It didnt worked for me trying from last one month
My components
Reguated lab power supply
Bta12 triac
Moc3041 zcd opto
Ressitors tried for multiple values
Replace 'acon' funtion with this one.
void acon()
{
digitalWrite(triacPulse, LOW);
delayMicroseconds(x); //Delay triac's firing angle according to analogRead(A0)
digitalWrite(triacPulse, HIGH);
//Triac remains on until next Zero Crossing is detected.
}
sir i need some help can you help?
what is the max wattage of load bulb can i connect
you put attachinterrupt in loop() function.
Can i use pc817 instead of mct2e
It sounds like pwm but with ac
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 🤜🤜
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
the explanation part is very nice. I think you should explain theory where ever necessary.
Delay on interrupt??? Never!
really helpful
Is this configuration would work with AC dimmable Led?
would this work with 120V AC 60Hz in other counteries?
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
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
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
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?
Very good explanation
PLEASE GIVE ME CONNETIO DIA TO UNO
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?
I have some questions?
This circuit reduces electricity consumption? Or the rest wasted?
is circuit completely off while sending zero voltage from arduino?
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...
why you put 0 in pin value?(( attachInterrupt(0, acon, FALLING);))
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?
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.
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.
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
Sir absolute perfect and so easy circuit with guidence ❤❤❤
can not find circuit dia
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.
Hi, can you use this circuit to control an AC motor speed?
Haven’t tested
Can’t say
I am waiting for this video ♥
Nice
Hi
I created your circuit and connected with fan.
Fan starts producing humming sound
Please suggest
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
Circuit is not working unable to use it.
Please share how to connect Variable resistance and triac pin and that zvc
Great video!
your web site is not work. but why ? i need code and circuit .
techiesms.com domain is not working
Just change it to techiesms.in
i tried doing it , but the hardware keeps connecting and disconnecting in blynk app
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?
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 this same device be used for controlling ceiling fan ?
Hi, how can I use this module with Labview Lifa base ?
How to ad extra on off remote switch and eeprom during power off storage
Where is code?
not working
Wont constantly decreasing power factor due to non sinusoidal current will be an issue ?
how many external device can connect ? and how they will connect?
Nice one but it involved too much components especially The Arduino mega
Plz upload a video on ir remote controlled fan regulator using arduino. Thanks
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
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?
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?
nyc video
in the schematic, red is the high side of the AC right ?
Can this be used in fans.
Yes
Nice video!!!
Just wanna ask if I can reprogram this leading edge to a trailing edge and how? Thanks
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.
can use this circuit to fan
Can u share ur Arduino code plz
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 .
Bro which bulb did you use?
does this dimmer works for CFL Buld and led bulb dimming?
Hello did you get dimming with normal bulb?
Brilliant thank you so much
I enjoyed the soundtrack more than the video... :)
How mans watts can this handle ?
very well description