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

Комментарии • 206

  • @niteshpatel3334
    @niteshpatel3334 5 лет назад +21

    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.

    • @techiesms
      @techiesms  5 лет назад

      Nitesh Patel glad to hear this
      Thank you 😊

    • @jimijamesnoob685
      @jimijamesnoob685 5 лет назад

      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

    • @techiesms
      @techiesms  5 лет назад

      Jlcpcb

    • @bnur5111
      @bnur5111 4 года назад

      Yeah man that is true !!

    • @burhanuddin127
      @burhanuddin127 3 года назад

      Great Scott goes very advanced, he assumes you know the basics....

  • @sto2779
    @sto2779 Год назад +1

    4 Years after, it is still by far the best explanation on the theory with demonstration. Thanks.

  • @Dr_Hitesh_NLP_Master_Trainer
    @Dr_Hitesh_NLP_Master_Trainer 5 лет назад +2

    I was in search of such dimmer since a year. Superb! Excellent! Thank you so much!

  • @johnmungandi4413
    @johnmungandi4413 4 года назад +1

    thank you for this video .............can i use this method for fan dimmer

  • @dilipdhande9096
    @dilipdhande9096 4 года назад +1

    i m mech engineer, don't know electronics theory much more. .But the way u explained is excellent..
    thank u.

  • @yokun1885
    @yokun1885 5 месяцев назад

    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?

  • @Sekhar_Home
    @Sekhar_Home 4 года назад +1

    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

  • @wteelev
    @wteelev 2 года назад

    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?

  • @mubashirshafie5487
    @mubashirshafie5487 3 года назад +1

    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

  • @davidemognetti
    @davidemognetti 5 лет назад +1

    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!

    • @24242424h
      @24242424h 5 лет назад

      will this work on AC motor?

    • @davidemognetti
      @davidemognetti 5 лет назад +1

      @@24242424h It also work with AC motors, (universal brushed or induction motors) but at low voltage the torque is low...

    • @24242424h
      @24242424h 5 лет назад

      @@davidemognetti bro what should be the voltage output if we're measuring it with a load? should it be 220V still max?

  • @romycruz4498
    @romycruz4498 3 года назад

    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 .

  • @kiranshashiny
    @kiranshashiny 4 года назад +1

    Can I replace the optocoupler you have shown with EL817 ?

  • @SFORSANDEEP
    @SFORSANDEEP 3 года назад

    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?

  • @eearning4010
    @eearning4010 3 года назад +1

    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.

    • @techiesms
      @techiesms  3 года назад

      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

  • @josephpatrickbjacob8787
    @josephpatrickbjacob8787 4 года назад

    Nice video!!!
    Just wanna ask if I can reprogram this leading edge to a trailing edge and how? Thanks

  • @vladmarchisio
    @vladmarchisio 4 года назад +1

    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?

  • @kaivanmehta5771
    @kaivanmehta5771 4 года назад

    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?

  • @er.munishsharma4343
    @er.munishsharma4343 4 года назад

    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?

    • @techiesms
      @techiesms  4 года назад

      It’s 220 V Ac directly

    • @er.munishsharma4343
      @er.munishsharma4343 4 года назад +1

      @@techiesms thanks sir and one more thing can i use normal diodes 4007 instead of bridge rectifier?

  • @guysnraw2
    @guysnraw2 4 года назад

    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...

  • @electronicsengineersclub1568
    @electronicsengineersclub1568 4 года назад

    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.

  • @howtomake1446
    @howtomake1446 2 года назад +1

    Nice sir, Can you please provide a diagram for triac bta41 600b for big dimmer ?

  • @RAVIKUMAR-3282
    @RAVIKUMAR-3282 9 месяцев назад

    Sir absolute perfect and so easy circuit with guidence ❤❤❤

  • @farshadmahmoudi3292
    @farshadmahmoudi3292 3 года назад

    I have some questions?
    This circuit reduces electricity consumption? Or the rest wasted?
    is circuit completely off while sending zero voltage from arduino?

  • @sameersrivastava6105
    @sameersrivastava6105 5 лет назад +4

    what if i want to control the brightness using a remote or mobile or keypad instead of a pot

  • @jimijamesnoob685
    @jimijamesnoob685 5 лет назад

    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

  • @pramodjalgaonkar1221
    @pramodjalgaonkar1221 Год назад

    Sir they can work on
    Infrared coocktop 220 Volt 2000watt.
    This circuit suitable for 2000 Watt

  • @dp71017
    @dp71017 3 года назад

    Can this same device be used for controlling ceiling fan ?

  • @md.shahadatakbar3265
    @md.shahadatakbar3265 5 лет назад +2

    Can you please make a vedio for temperature controll ac fan, it will be really helpful, Thanks in advance

    • @mibrahim4245
      @mibrahim4245 3 года назад

      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..

  • @faturahmanf3024
    @faturahmanf3024 2 года назад

    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

  • @avengers851
    @avengers851 2 года назад +1

    can anyone tell which background music is this?

  • @mdabdulawal588
    @mdabdulawal588 5 месяцев назад

    Can i use this ckt 12 to 24 ac voltage controll

  • @aarthimahendra6477
    @aarthimahendra6477 3 года назад

    Bro which bulb did you use?

  • @TaitumLaroque
    @TaitumLaroque 3 года назад

    would this work with 120V AC 60Hz in other counteries?

  • @reynolds087
    @reynolds087 4 года назад

    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.

  • @robbykhen
    @robbykhen 3 года назад

    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?

  • @DellanyKahfi
    @DellanyKahfi 5 лет назад

    Is this configuration would work with AC dimmable Led?

  • @pawankumar-xv9lu
    @pawankumar-xv9lu 3 года назад +1

    What is SW pin in the code?

  • @drumminjeff71
    @drumminjeff71 5 лет назад

    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?

    • @drumminjeff71
      @drumminjeff71 5 лет назад +1

      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.

    • @drumminjeff71
      @drumminjeff71 5 лет назад

      blynk.io/en/developers

    • @prajwalsathwick1021
      @prajwalsathwick1021 4 года назад

      @@drumminjeff71 did you find the solution

  • @pramodjalgaonkar1221
    @pramodjalgaonkar1221 Год назад

    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

  • @fatmainka5243
    @fatmainka5243 2 года назад

    may I know it's a 47k resistor using the 1/2, right?

  • @ex_09_vikrantneve55
    @ex_09_vikrantneve55 5 лет назад +1

    the explanation part is very nice. I think you should explain theory where ever necessary.

  • @avengers851
    @avengers851 2 года назад +1

    can anyone tell which background did he use?

  • @dindindongi
    @dindindongi 4 года назад

    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

  • @KumaranA512
    @KumaranA512 5 лет назад +2

    Pls add Fan Regulator option also. ESP8266 based control with powerfail save state, local and wifi controlled will be a super duper option

    • @techiesms
      @techiesms  5 лет назад

      This same circuit will work for fan also

    • @KumaranA512
      @KumaranA512 5 лет назад +1

      @@techiesms Snubber circuit to triac for inductive load is a nice addon

    • @Sohailkhan-zw1gl
      @Sohailkhan-zw1gl Месяц назад

      @@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 .

  • @brucekahn6083
    @brucekahn6083 3 года назад

    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

  • @prateekbhardwaj6720
    @prateekbhardwaj6720 2 года назад

    Can i use pc817 instead of mct2e

  • @akshay.kumar.k
    @akshay.kumar.k 2 года назад

    Hi, can you use this circuit to control an AC motor speed?

    • @techiesms
      @techiesms  2 года назад

      Haven’t tested
      Can’t say

  • @chandub939
    @chandub939 5 лет назад +2

    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?

  • @sparshsinghg
    @sparshsinghg 5 лет назад

    Wont constantly decreasing power factor due to non sinusoidal current will be an issue ?

  • @nickmurray112
    @nickmurray112 3 года назад

    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?

  • @Pengusaha-muda
    @Pengusaha-muda 3 месяца назад +1

    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

  • @technolabcreation
    @technolabcreation 5 лет назад

    Very good explanation

  • @yunusece786
    @yunusece786 4 года назад +2

    Let you explain SW value in code why using SW code

  • @adithimahendra1702
    @adithimahendra1702 3 года назад

    Bro please check the link you have mentioned for code and circuit diagram,site cant be reached.

    • @techiesms
      @techiesms  3 года назад +1

      Actually my previous domain
      techiesms.com is not working, just change the domain to techiesms.in

  • @zolution2839
    @zolution2839 4 года назад +3

    why do you use "SW" in the code (it is also deactivated) thank you ,,,

  • @ShopperPlug
    @ShopperPlug 3 года назад

    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.

  • @kumark.k
    @kumark.k 5 месяцев назад

    how to make it automatic ( controlling intensity) , Any idea?

  • @md.mostafakhan4529
    @md.mostafakhan4529 4 года назад

    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.

  • @CreativeDesk
    @CreativeDesk 4 года назад

    can use this circuit to fan

  • @dpelectronics5688
    @dpelectronics5688 2 года назад

    Esp32 working pin number, zero across director pin and dimming pin please share.

  • @amgu6596
    @amgu6596 5 лет назад

    Hi
    I created your circuit and connected with fan.
    Fan starts producing humming sound
    Please suggest

  • @greenendongmo4267
    @greenendongmo4267 4 года назад

    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

  • @perceptrongaming4290
    @perceptrongaming4290 4 года назад

    in the schematic, red is the high side of the AC right ?

  • @mibrahim4245
    @mibrahim4245 3 года назад

    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 ?

    • @erwinslootweg7938
      @erwinslootweg7938 2 года назад +1

      you need analog signals for the amplitude change, which in this digital age ore costly option.

    • @mibrahim4245
      @mibrahim4245 2 года назад

      @@erwinslootweg7938 Clear, Thank you.

  • @davudnbdherrera1
    @davudnbdherrera1 4 года назад

    Hi, how can I use this module with Labview Lifa base ?

  • @Saipreetham0
    @Saipreetham0 5 лет назад +2

    Can you using nodemcu or esp32

    • @drumminjeff71
      @drumminjeff71 5 лет назад

      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.

    • @Saipreetham0
      @Saipreetham0 5 лет назад

      @@drumminjeff71 thanks

    • @vinaypraveenraosurabhineni5309
      @vinaypraveenraosurabhineni5309 5 лет назад +1

      @@drumminjeff71 use 3.3v to 5v logic level converter when you are using esp32 inorder to run smoothly

  • @kshaunishborkar8971
    @kshaunishborkar8971 Год назад

    what is the max wattage of load bulb can i connect

  • @manoerina1873
    @manoerina1873 4 года назад

    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.

    • @manoerina1873
      @manoerina1873 4 года назад

      I have found 4n35 as replacement for MCT2e, am I right?
      please!

    • @kedarupadhyay8303
      @kedarupadhyay8303 4 года назад

      Yes you're right 4n35 is zvc detection ic and it replaces mct2e ic

  • @pallavijadhav9567
    @pallavijadhav9567 3 года назад

    I have designed the dimmer board..but after connections bulb gets flicker..and at 0% it shows some intensity..why it is so?

  • @alonuwu
    @alonuwu 10 месяцев назад

    Great video!

  • @brainstorm9577
    @brainstorm9577 4 года назад

    does the red indicate live ?

  • @vendhans2294
    @vendhans2294 4 года назад

    how many external device can connect ? and how they will connect?

  • @sameermfaroor9856
    @sameermfaroor9856 3 года назад

    does this dimmer works for CFL Buld and led bulb dimming?

  • @CharudattUplap
    @CharudattUplap 5 лет назад

    any chance of seeing this project on ESP with MQTT and HA integration ?

  • @seaofcuriosity
    @seaofcuriosity 5 лет назад +1

    Can this be used in fans.

  • @ritviksardana3893
    @ritviksardana3893 3 года назад

    Can we use this board for regulating fan speed?

    • @techiesms
      @techiesms  3 года назад

      Yes

    • @ritviksardana3893
      @ritviksardana3893 3 года назад

      @@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?

    • @ritviksardana3893
      @ritviksardana3893 3 года назад

      @@techiesms please tell sir

  • @shaharpit2958
    @shaharpit2958 5 лет назад

    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

  • @eval1035
    @eval1035 3 года назад +1

    does it works with 12 volts AC,?

  • @tokitahmid6641
    @tokitahmid6641 3 года назад

    How Much Max Load Handle This Circuit ?

  • @F_Tandel
    @F_Tandel 4 года назад

    Plz upload a video on ir remote controlled fan regulator using arduino. Thanks

  • @AmazingMJ07
    @AmazingMJ07 5 лет назад +1

    I am waiting for this video ♥
    Nice

  • @supravatdas7689
    @supravatdas7689 4 года назад

    How to ad extra on off remote switch and eeprom during power off storage

  • @philipp9559
    @philipp9559 3 года назад

    Brilliant explanation. Thank you!

  • @bnur5111
    @bnur5111 4 года назад

    Very good explained keep it up !!

  • @ananddhanesan8275
    @ananddhanesan8275 5 лет назад

    Really sharp explanation.. keep going bro

  • @harshilshah812
    @harshilshah812 5 лет назад

    Try doing the same for inductive loads (fan) I have tried different things for that but nothing works perfectly!! I hope you do!!

    • @techiesms
      @techiesms  5 лет назад

      Trust me.It will work.

    • @harshilshah812
      @harshilshah812 5 лет назад

      @@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!

    • @ShmokeDvd
      @ShmokeDvd 4 года назад

      @@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

  • @imdrony76
    @imdrony76 5 лет назад

    thank you sir for your excellent explanation!

  • @AhmetTasdemirDJLuds
    @AhmetTasdemirDJLuds 5 лет назад

    can you make dimm led light from mqtt video too ?

    • @techiesms
      @techiesms  5 лет назад +1

      It’s a bulb dimming circuit. Led dimming is quite simple and easy

  • @x-6790
    @x-6790 5 лет назад

    Your explanation is really so cool! nice explanation

  • @TechnologyWithSaikat
    @TechnologyWithSaikat 5 лет назад

    Can it control the load of a celing fan?

  • @SonuSingh-yz5dx
    @SonuSingh-yz5dx 5 лет назад

    Circuit is not working unable to use it.
    Please share how to connect Variable resistance and triac pin and that zvc

  • @pcmobiletechnicalsolutions8504
    @pcmobiletechnicalsolutions8504 3 года назад

    sir i need some help can you help?

  • @sparshsinghg
    @sparshsinghg 5 лет назад

    To deal with time delay problem, you should use the timer function of atmega ic

  • @bditty7393
    @bditty7393 4 года назад

    This is a well done video.

  • @nibaron_13
    @nibaron_13 4 года назад

    very well description

  • @bapimandal7407
    @bapimandal7407 5 лет назад

    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.

    • @techiesms
      @techiesms  5 лет назад

      Sure. I’ll try my best to make it

    • @bapimandal7407
      @bapimandal7407 5 лет назад

      @@techiesms I know you will, your the best ❤️

  • @kudaty5535
    @kudaty5535 4 года назад

    It's works In inductance load?

  • @harshilkakkad9626
    @harshilkakkad9626 5 лет назад

    Can it be used as fan regulator

    • @techiesms
      @techiesms  5 лет назад

      yes

    • @MrShivamgautam1
      @MrShivamgautam1 5 лет назад

      It is already being used as a fan regulator. Open a fan regulator and you'll find a TRIAC

  • @soovui
    @soovui 4 года назад

    hello, I am having trouble using LED driver TRIAC Trailing Edge Driver, it flickers especially driving 2 Lamp.

  • @eleqbike
    @eleqbike 5 лет назад +1

    really helpful