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
  • Наука та технологія

КОМЕНТАРІ • 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....

  • @yunusece786
    @yunusece786 4 роки тому +2

    Let you explain SW value in code why using SW code

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

  • @germas369
    @germas369 4 роки тому +1

    Terrible so much wasted power. Switch ON on zero cross!!!

  • @avengers851
    @avengers851 2 роки тому +1

    can anyone tell which background music is this?

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

  • @avengers851
    @avengers851 2 роки тому +1

    can anyone tell which background did he use?

  • @pawankumar-xv9lu
    @pawankumar-xv9lu 3 роки тому +1

    What is SW pin in the code?

  • @sameersrivastava6105
    @sameersrivastava6105 5 років тому +4

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

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

  • @zolution2839
    @zolution2839 4 роки тому +3

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

  • @eval1035
    @eval1035 3 роки тому +1

    does it works with 12 volts AC,?

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

  • @dilipdhande9096
    @dilipdhande9096 4 роки тому +1

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

  • @howtomake1446
    @howtomake1446 2 роки тому +1

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

  • @kiranshashiny
    @kiranshashiny 4 роки тому +1

    Can I replace the optocoupler you have shown with EL817 ?

  • @md.shahadatakbar3265
    @md.shahadatakbar3265 4 роки тому +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..

  • @frankchang436
    @frankchang436 5 років тому +1

    i will not use Arduino to make AC dimmer. It wast my effort and cost.

  • @pramodjalgaonkar1221
    @pramodjalgaonkar1221 Рік тому

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

  • @johnmungandi4413
    @johnmungandi4413 4 роки тому +1

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

  • @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 25 днів тому

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

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

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

  • @dpelectronics5688
    @dpelectronics5688 2 роки тому

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

  • @kumark.k
    @kumark.k 4 місяці тому

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

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

  • @sto2779
    @sto2779 Рік тому +1

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

  • @badrisound
    @badrisound 2 роки тому

    I inspired your video but in my case my lamp is 50% glow

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

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

  • @fatmainka5243
    @fatmainka5243 2 роки тому

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

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

  • @tokitahmid6641
    @tokitahmid6641 3 роки тому

    How Much Max Load Handle This Circuit ?

  • @mdabdulawal588
    @mdabdulawal588 5 місяців тому

    Can i use this ckt 12 to 24 ac voltage controll

  • @dharmendravishwakarma5806
    @dharmendravishwakarma5806 4 роки тому +1

    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

    • @sovitsingh4158
      @sovitsingh4158 3 роки тому

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

  • @pcmobiletechnicalsolutions8504
    @pcmobiletechnicalsolutions8504 3 роки тому

    sir i need some help can you help?

  • @kshaunishborkar8971
    @kshaunishborkar8971 Рік тому

    what is the max wattage of load bulb can i connect

  • @devilvortex1
    @devilvortex1 Рік тому

    you put attachinterrupt in loop() function.

  • @prateekbhardwaj6720
    @prateekbhardwaj6720 2 роки тому

    Can i use pc817 instead of mct2e

  • @MrJdeb79
    @MrJdeb79 3 роки тому

    It sounds like pwm but with ac

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

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

  • @ex_09_vikrantneve55
    @ex_09_vikrantneve55 5 років тому +1

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

  • @rozrabiak2
    @rozrabiak2 3 роки тому

    Delay on interrupt??? Never!

  • @eleqbike
    @eleqbike 5 років тому +1

    really helpful

  • @DellanyKahfi
    @DellanyKahfi 5 років тому

    Is this configuration would work with AC dimmable Led?

  • @TaitumLaroque
    @TaitumLaroque 3 роки тому

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

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

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

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

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

  • @technolabcreation
    @technolabcreation 5 років тому

    Very good explanation

  • @electronicsideas1361
    @electronicsideas1361 11 місяців тому

    PLEASE GIVE ME CONNETIO DIA TO UNO

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

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

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

  • @mubashirshafie5487
    @mubashirshafie5487 3 роки тому

    why you put 0 in pin value?(( attachInterrupt(0, acon, FALLING);))

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

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

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

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

  • @RAVIKUMAR-3282
    @RAVIKUMAR-3282 8 місяців тому

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

  • @electronicsideas1361
    @electronicsideas1361 Рік тому

    can not find circuit dia

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

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

  • @AmazingMJ07
    @AmazingMJ07 5 років тому +1

    I am waiting for this video ♥
    Nice

  • @amgu6596
    @amgu6596 5 років тому

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

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

  • @SonuSingh-yz5dx
    @SonuSingh-yz5dx 4 роки тому

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

  • @alonuwu
    @alonuwu 9 місяців тому

    Great video!

  • @lirobot688
    @lirobot688 3 роки тому

    your web site is not work. but why ? i need code and circuit .

    • @techiesms
      @techiesms  3 роки тому

      techiesms.com domain is not working
      Just change it to techiesms.in

  • @ptksax
    @ptksax 4 роки тому

    i tried doing it , but the hardware keeps connecting and disconnecting in blynk app

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

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

  • @dp71017
    @dp71017 3 роки тому

    Can this same device be used for controlling ceiling fan ?

  • @davudnbdherrera1
    @davudnbdherrera1 3 роки тому

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

  • @supravatdas7689
    @supravatdas7689 4 роки тому

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

  • @huseyinoba7404
    @huseyinoba7404 3 роки тому

    Where is code?

  • @electronicsideas1361
    @electronicsideas1361 Рік тому

    not working

  • @sparshsinghg
    @sparshsinghg 5 років тому

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

  • @vendhans2294
    @vendhans2294 4 роки тому

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

  • @ebenezernicepost
    @ebenezernicepost 5 років тому

    Nice one but it involved too much components especially The Arduino mega

  • @F_Tandel
    @F_Tandel 4 роки тому

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

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

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

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

  • @KIRIKTECH
    @KIRIKTECH 5 років тому

    nyc video

  • @perceptrongaming4290
    @perceptrongaming4290 4 роки тому

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

  • @seaofcuriosity
    @seaofcuriosity 5 років тому +1

    Can this be used in fans.

  • @josephpatrickbjacob8787
    @josephpatrickbjacob8787 3 роки тому

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

  • @soovui
    @soovui 4 роки тому

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

  • @CreativeDesk
    @CreativeDesk 4 роки тому

    can use this circuit to fan

  • @vamsikrishna5391
    @vamsikrishna5391 4 роки тому

    Can u share ur Arduino code plz

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

  • @aarthimahendra6477
    @aarthimahendra6477 3 роки тому

    Bro which bulb did you use?

  • @sameermfaroor9856
    @sameermfaroor9856 3 роки тому

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

  • @attaki1117
    @attaki1117 3 роки тому

    Brilliant thank you so much

  • @sto2779
    @sto2779 4 роки тому

    I enjoyed the soundtrack more than the video... :)

  • @vishalgaurav4411
    @vishalgaurav4411 5 років тому

    How mans watts can this handle ?

  • @nibaron_13
    @nibaron_13 4 роки тому

    very well description