Bluetooth TRIAC AC power control

Поделиться
HTML-код
  • Опубликовано: 31 мар 2018
  • Best & Fast Prototype ($2 for 10 PCBs): www.jlcpcb.com
    Thanks to JLCPCB for supporting this video.
    Learn how TRIAC work and how to control AC voltage. Detect the zero cross and synchronise the firing pulse with it. Use DIAC to control the gate of the TRIAC. Finally we add bluetooth connection adn dim an 220V AC light bulb.
    my Q&A page: electronoobs.com/eng_preguntas...
    Help me on Patreon : www.patreon.com/user?u=4854866
    Canal en Español: / electronoobs en español
    COUPONS
    ________________________________________________________
    TS50 50A Brushless Sensored: ESC www.gearbest.com/multi-rotor-...
    Surpass 3650 3900KV Motor + 60A ESC: www.gearbest.com/rc-car-parts...
    PRINTERS
    ________________________________________________________
    Anet A8 (19% discount): www.gearbest.com/3d-printers-...
    Creality CR10 mini: www.gearbest.com/3d-printers-...
    Coupon: "cr10mini3d"
    TEVO Tornado (US): www.gearbest.com/3d-printers-...
    Coupon: "Tornadous1"
    Creality CR10 (EU): www.gearbest.com/3d-printers-...
    Coupon: "cr10jk1"
    LINKS
    ________________________________________________________
    Tutorial webpage: www.electronoobs.com/eng_circu...
    Part list: www.electronoobs.com/eng_circu...
    Schematic (zero cross): www.electronoobs.com/eng_circu...
    Schematic (potentiometer): www.electronoobs.com/eng_circu...
    Scheamtic (Bluetooth): www.electronoobs.com/eng_circu...
    Code (potentiometer): www.electronoobs.com/eng_circu...
    Code (Bluetooth): www.electronoobs.com/eng_circu...
    App (android.apk): www.electronoobs.com/eng_circu...
    App(.aia): www.electronoobs.com/images/Ar...
    Please, like, share and subscribe in order to motivate me for moe videos like this one. Thank you!
  • НаукаНаука

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

  • @josefseibl2932
    @josefseibl2932 6 лет назад +4

    Thanks for the really great tutorial!
    I think your explanations are spot-on. You explain exactly what is necessary without going too much into basics or advanced stuff!

  • @extraace
    @extraace 6 лет назад +1

    Thanks, I finally have a good understanding oh how triacs work now. I've watched a lot of videos on them and mimicked the circuits but never fully understood. So simple.

  • @abrahammagnifico9538
    @abrahammagnifico9538 6 лет назад +42

    FULL BRIDGE RECTIFIER !!!! ......., Thanks electroboom for this stuck in my head.

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

    Saw many videos related to this topic, and this is the one that made me understand, great explanation, oscilloscope and edition!

  • @indritbreti4979
    @indritbreti4979 6 лет назад

    I have been searching for this video for too long, because i didn't know how to use a Triac. Thanks!

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

    Thanks bro, your videos help me alot. I am currently in college, once i graduate (hopefully in 8 months) ill make sure to fund you on patreon.

  • @ajumpa1
    @ajumpa1 6 лет назад +3

    Great explanation! I got a little nervous when you were pointing at the high voltage components with a metal screwdriver.

  • @kedarprabhudessai
    @kedarprabhudessai 6 лет назад +2

    awesome !! great video as always :) this is the video for which i was waiting for. keep it up my friend

  • @hc4633
    @hc4633 6 лет назад +1

    This channel needs more subscribers! Great tutorial paired with common sense.

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 лет назад

      Hudson Chamberlain thank you so much!

  • @joetke
    @joetke 6 лет назад +2

    Great pedagogy! instructive video indeed. And your accent adds an awesome exotism to the whole ;)

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

    Thanks for making such kind of video, Today I have learned how to control AC voltage

  • @mancio92M
    @mancio92M 6 лет назад +1

    congratulations another beautiful tutorial

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

    Love your way of clarifying the concepts behind your project. You mentioned briefly that you can use step down trans say 230/12 volt. Is that mean that if I provide 12 volt to your circuit all the components will function with NO CHANGE. of course I will use an LED as a load instead of the 220 volt lamp.

  • @mmdnaderi7183
    @mmdnaderi7183 5 лет назад +3

    i just gonna fall in love with you when you say FULL BRIDGE RECTIFIER :D

  • @electronic7979
    @electronic7979 6 лет назад +1

    Excellent video.it was useful to me.thank you so much.

  • @naderhany3639
    @naderhany3639 3 месяца назад

    Great explanation Electroboomnoobs

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

    Really Nice finally i understood how to make dimming controller device

  • @MCsCreations
    @MCsCreations 6 лет назад

    Fantastic work, man! Really, really nice! 😀

  • @SaliyaRuchiranga
    @SaliyaRuchiranga 6 лет назад +2

    been waited for this , great !!!

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

    Such a good tutorial. You could be the professor

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

    The banana is not for sale, it is to let you compare the sizes of the items near it. I think that is what he means when he says it is for scale. ¿Pero que sé yo? (but what do I know?) Good job, Electronoobs!

  • @ashu_ei
    @ashu_ei 6 лет назад +1

    That were too good... Sir... Thanks for this video

  • @DaSnipz
    @DaSnipz 6 лет назад +2

    I'm planning to use this for speed control of a regular air fan. But I'm guessing I should use a snubber network to deal with the noise of the inductive load, right?
    Excellent tutorial btw, keep it up!

  • @ScienceLab760
    @ScienceLab760 6 лет назад +1

    Nice video and good explanation, thanks for share

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

    one question:
    Did you connect the photocoupler to 220v? All I see is 220v going to the full bridge rectifier and then the photocoupler? Reading it's datasheets, the photocoupler accepts around 5-6V? Am I missing something here? The schematic shows like that too, just 220V, no step down converters or such.. thanks in advance!

  • @ShivamMishra-tf6cf
    @ShivamMishra-tf6cf 5 лет назад

    Thanks for the video. I want to ask why have you added a delay after making the PIN3 HIGH.

  • @hamzayaich96
    @hamzayaich96 6 лет назад

    Maaan ! a lot of knowledge , thank you so much !!

  • @pippiscariota
    @pippiscariota 6 лет назад +1

    Hi! Good job, i have a question: talking about soft start, if i use an ssr driving it in pwm, do you think it works?

  • @alejandrokruchowski8813
    @alejandrokruchowski8813 6 лет назад

    Excelente video! Una consulta, sería posible utilizar software serial para la comunicación bluetooth? Quiero implementar un control de velocidad comunicado por RS485 sería muy útil poder usar el puerto serie para debug y software serial para la comunicación 485. Muchas gracias!

  • @ElmousMed
    @ElmousMed 6 лет назад

    I ve enjoyed a lot
    Keep going bro

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

    very nice project also presentation. thanks

  • @Francirius
    @Francirius 6 лет назад

    When u connected the mains voltage to ur oscilloscope, u didnt connect the GND cable? Or did u had an isolation transformer?

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

    Great tutorial!!!One question, what about the loads above 200 Watt, what changes do I need ???

  • @MASAYEM-rs2ny
    @MASAYEM-rs2ny 4 года назад

    Great job sir, nice project

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

    could you help me.? i meet the problem with delaymicroseconds which it work only 2300 ms after zero crossing detection. thanks in advance

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

    Thank you, I now understand trials.

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

    Hi, I designed the same circuit but I am getting only positive pulses at output, the negative half is completely clipped. Can you please guide what the issue is. The output of MOC3020 provides pulses in both positive and negative halves at the output but as soon as I connect those with gate of TRIAC, only positive pulses are there. What would be the reason (I already have replaced all the components).

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

    I have a question !
    I'm doing a outdoor lighit system, with arduino, Pir sensor, Triac Bt139 e Moc3021p ... I'm with some difficultys. Can you help me please ?
    Before i was using a relay (5v), with a tiristor and a diodo, but the relay had me some problemas and i'm tryind this other way ..

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

    Might you help me!! I'm trying to do this project for my power electronics class! and then I built everything the same, the problem is that the focus remains blinking a lot, I control it with the application and in any position of the app slider the focus flashes, sometimes even the light goes down well. What will it be? In my country it is voltage 120, will that be why? another thing is that I am using the triac bta 12. Help!

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

    Nice and knowledge full video bro thanks dear

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

    Is it safe to connect dso directly to mains as the ground will b common for dso source and ac supply.??

  • @user-pk5bk2qb6i
    @user-pk5bk2qb6i 3 года назад

    Shall I change any specification if my AC voltage change to 110V ?
    (BTW the link of the full bridge rectifier is invalid)

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

    hello, i need a bit help. i am able to control brightness of light through bluetooth but the problem is that, how to add simple on/off program in the same code. actually, i am facing problem when i add some code for relay etc.
    for instance,
    if(variable== 'R')
    {
    pinmode(relay, high)
    }
    help will be appreciated. thanks

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

    Nice one. This part was needed for a project of mine. Thanks alot.
    BTW whats up with the banana?

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

    When you measure the AC Voltage on the bulb contacts, will it always be 220v but duty cycle will vary from 1-100%?

  • @er.jugalmandal7736
    @er.jugalmandal7736 6 лет назад

    Can we connect celling fan without using extra protection circuit because coils are making negative voltage and it will damage the TRIC and DIAC

  • @alfredonovoa8124
    @alfredonovoa8124 6 лет назад +2

    The current in Spain has 230V AC. That's why you have 227-229V on the osciloscope.

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

    where the oscilloscope probe is connected so that it can be displayed on the screen? apakah di mosfet atau di output dimmer?

  • @manishkumarsingh9958
    @manishkumarsingh9958 6 лет назад

    great work Dude...

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

    i like him . because he give answer of our comments

  • @armanhossain2491
    @armanhossain2491 6 лет назад +2

    good project

  • @ruslan.zhumabai
    @ruslan.zhumabai 3 года назад

    Good project for smart home.

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

    Hi. Thanks your videos. Once question. is it posible to control, adjust AC lamp dimmer or AC motor speed by potentiomter and NRF24? if yes. At Which can I be seen? Thanks

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

    hello, nice video and explanation, is there a way to use micro / millis instead of microdelay? thanks

  • @MrPinolatino
    @MrPinolatino 6 лет назад

    Hi nice job, what about solid state relè? Does it work with pwm for soft start?

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

    very very awesome
    working

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

    I made this circuit and I am controlling brightness with a potentiometer. The dimming works, but I am getting visible flickering in my bulb. Could you please help me with that??
    thanks!

  • @dzorzstops5136
    @dzorzstops5136 6 лет назад +1

    Perfect idea. 😀

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

    Hi, nice video, I have a dummy question, how do you connect your oscilloscope, how can I see the the trigger pulse and the lamp wave?

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

    Please tell me sir what I am using ic moc 3021 in the project plz tell me.

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

    if I want it to work as AUTO soft starter without variable resistance what would I change in the circuit?

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

    Excellent dear

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

    wow this is what i'm looking for thanks.

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

    sir.
    can i control speed of my AC ceiling fan by using that Schematic and code (Bluetooth) ?

  • @sidharthap
    @sidharthap 6 лет назад

    How are you probing AC mains without the big bad BOOM?!! Can you please explain.

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

    Hello Electronoobs, any procedure step for designing the app or any AIA code provided?

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

    I like the idea of using 817 opto coupler. Is it good to apply 220v at input of pc817 . I saw it in your schematic

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

    Hello, i tried this out, but it doesnt give me an output voltage. Do I need to connect a load to see if it works?

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

    Is frequency gets changed by using triac. Also can I use a bridge rectifier instead of bulb for variable DC power supply. Can i use digispark attiny 85 instead of arduino uno(i don't need bluetooth)Please reply it
    Thank you

  • @imbakebab
    @imbakebab 6 лет назад +1

    Can i use this method to control a 3kw heating element?

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

    Can we regulate ceiling fan via above mentioned circuit?

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

    Can anyone tell which full wave bridge rectifier is used? Link for ebay is not working.

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

    Hi, I guess it's surely possible but just to be sure. Can we use the same schematic just switching the arduino with an esp8266 to make the dimmer wifi controlled ?

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

    this is really helpful...... i tell you that!

  • @b.shashanksunny1927
    @b.shashanksunny1927 5 лет назад

    I tried both of your project of given codes but there is no output. Pls help me give the program of to projects

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

    Hello sir
    Please help me
    Can i use moc3052 instead of moc3051
    And
    Can i use EL814 instead of EL817
    Please answer me

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

    Hice el mismo circuito, pero en vez del optoacoplador+diac+triac use un ssr, pero no funcionó, alguna idea del Porque ?

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

    Hello friends, i really need the AC Dimmer for 24 V AC Load, can I use that design to drive it? or is it require another pcb desain? thankyoou

  • @6112oo6
    @6112oo6 5 лет назад

    HOW ABOUT IF I NEED TO USE 3 OR 4 ANALOG PWM OUTPUTS INSTEAD AND USE ALL OF THEM INDEPENDENTLY OR SEPARATELY, WHAT WOULD IT BE THE CODE FOR THAT????

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

    Hello, is it possible to buy something like that? I only need about 80W

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

    Hi, great video! Thank you! Sample and useful! Great! But I want to ask you for range of voltage after the full bridge rectifier?
    Or what is the max aloud voltage on input anode/cathode on EL187 optocopler?
    Regards!
    Great job, go ahead!!!

  • @bmsnmemory
    @bmsnmemory 6 лет назад

    Hi, I watched the video. I have a question, what value did you pass to arduino when you created the app?

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

    well explained.....

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

    Is it possible to do this with just an arduino, triac and a TDA1024 ?

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

    HI ELECTRONOOB, nice work you had there. What can I substitute for GBJ1506?

  • @Exotic_Chem_Lab
    @Exotic_Chem_Lab 6 лет назад +1

    Can i use it to control 1000W nichrome heating element?

  • @kidtronics8437
    @kidtronics8437 6 лет назад +1

    sir. please make a video tutorial about.. how i control my bed room light and speed control my fan

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

    Supper video i love it

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

    What sense has variable last_CH1_state in your code, when it is always zero? I see no sense. Am I right?

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

    Yeah! It works, thanks

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

    Is it wise to connect ac voltage to breadboard ?

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

    Great Sir

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

    What's wattage of all resistor for this project specially 47k resistor ?

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

    Puede funcionar con un motor de los típicos de ventilacion para cuarto de baño.¿

  • @Ne555N
    @Ne555N 6 лет назад +1

    VERY IMPORTANT SAFETY ADVICE!!
    In english here! En español abajo!
    Good circuit men I built something similar in the past. I need to clarify one point that is very important. Take care with inductive loads (motors, CFL...) especially with heavy ones!!, because triacs and also diacs have dv/dt specs, it means that if you change the voltage very fast the triac (or diac) can be damaged or even worse, destroyed :S. (When you switch ON/OFF a inductive load voltage spikes can happen). Also if you connect a heavy load (which demands a lot of current) there will be more power disipation on the triac/diac because Power = Voltage x Current, this means that the triac/diac can get very hot quicky and this will cause the destruction of the component. Check the datasheet of the component and put a good dissipator to prevent this ^^.
    As bonus! ^^ To prevent problems with heavy inductive loads you should use a snubber circuit. Designing a snubber circuit requires more knowledge in electronics but if you are interested I invite you to search in google snnuber circuit for diacs/triacs ^^.
    I hope you, people, understand my explanation :), I'm from Spain too :P. See you!! and have fun with safety electronics!! ;D.
    EN ESPAÑOL!!! para los hispanohablantes! ;)
    Buen circuito tío! construí algo similar en el pasado. Tengo que aclarar un punto muy importante cuidado con las cargas inductivas (motores, CFL...) especialmente con las "pesadas" (bobinas grandes tipo transformadores, motores grandes...) ya que los triacs, (tambien los diacs) poseen especificaciones dv/dt lo que significa que si se cambia el voltaje bruscamente (muy rápidamente) el triac/diac puede resultar dañado, o aun peor, destruido :S. (Cuando conectas/desconectas una carga inductiva se pueden producir estos cambios rápidos de voltaje de los que hablo). Ademas de esto, si se conecta una carga que demande mucha corriente (no tiene porque ser de tipo inductivo), habrá mas disipación de potencia ya que Potencia = Voltaje x Intensidad, lo que hará que el triac/diac se caliente muchísimo y esto puede causar su destrucción. Recomiendo mirar el datasheet, mirar que potencia soporta el componente, que intensidad y que voltaje ^^. También una buena idea es poner un buen disipador para prevenir estos incrementos de temperatura en el componente.
    Como bonus!! ^^ Para prevenir problemas con cargas inductivas "pesadas" convendría usar un circuito llamado snubber, es como una especie de filtro que evita picos de voltaje, pero para diseñar uno hace falta tener conocimientos mas avanzados de electrónica, os invito a buscar en google snubber circuits for triacs/diacs (circuitos snubber para triacs/diacs).
    Bueno después de todo este pedazo de comentario, espero que nadie se electrocute, se cargue la instalación eléctrica de su casa... jaja Disfrutad de la electrónica, si vais con cuidado nada malo pasara! un abrazo gente! ^^.
    Para el Autor del vídeo! me identifico contigo yo también estudio ingeniería Electrónica y ya estoy casi acabando tengo 24 años! jaja Un abrazo sigue así y cuidado que no se te electrocuten los subscriptores! jaja :P

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

    Are you able to dim a LED lamp with that circuit?

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

    Hello, How much Current does it at max gives?

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

    Who dislike this awesome video ??!!

  • @samhsavdr9647
    @samhsavdr9647 6 лет назад

    15watt 220v panel led dimmer adjustable circuit ....good idea .all people waiting

  • @danielroibert5631
    @danielroibert5631 6 лет назад +1

    Hello. thank-you for this video. But you absolutely have to explain how you connect your oscilloscope to the main 220V. Also how you mesure at the same time the input and output of the bridge rectifier :-) Without complète explanation some people’s will blow there oscilloscope or burn they house.

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 лет назад

      Daniel Roibert true and now I regret I didn't said that in the video! Thanks and keep up!