Тёмный

Bluetooth TRIAC AC power control 

Electronoobs
Подписаться 584 тыс.
Просмотров 89 тыс.
50% 1

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.co...
Help me on Patreon : www.patreon.co...
Canal en Español: / electronoobs en español
COUPONS
________________________________________________________
TS50 50A Brushless Sensored: ESC www.gearbest.c...
Surpass 3650 3900KV Motor + 60A ESC: www.gearbest.c...
PRINTERS
________________________________________________________
Anet A8 (19% discount): www.gearbest.c...
Creality CR10 mini: www.gearbest.c...
Coupon: "cr10mini3d"
TEVO Tornado (US): www.gearbest.c...
Coupon: "Tornadous1"
Creality CR10 (EU): www.gearbest.c...
Coupon: "cr10jk1"
LINKS
________________________________________________________
Tutorial webpage: www.electronoob...
Part list: www.electronoob...
Schematic (zero cross): www.electronoob...
Schematic (potentiometer): www.electronoob...
Scheamtic (Bluetooth): www.electronoob...
Code (potentiometer): www.electronoob...
Code (Bluetooth): www.electronoob...
App (android.apk): www.electronoob...
App(.aia): www.electronoob...
Please, like, share and subscribe in order to motivate me for moe videos like this one. Thank you!

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 281   
@abrahammagnifico9538
@abrahammagnifico9538 6 лет назад
FULL BRIDGE RECTIFIER !!!! ......., Thanks electroboom for this stuck in my head.
@ManofCulture
@ManofCulture 6 лет назад
BOOM! -Taras Kul
@josefseibl2932
@josefseibl2932 6 лет назад
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 лет назад
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.
@indritbreti4979
@indritbreti4979 6 лет назад
I have been searching for this video for too long, because i didn't know how to use a Triac. Thanks!
@ajumpa1
@ajumpa1 6 лет назад
Great explanation! I got a little nervous when you were pointing at the high voltage components with a metal screwdriver.
@rongarza9488
@rongarza9488 6 лет назад
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!
@markharrisllb
@markharrisllb 2 года назад
Thank you, I now understand trials.
@usmanumer9871
@usmanumer9871 4 года назад
i like him . because he give answer of our comments
@joetke
@joetke 6 лет назад
Great pedagogy! instructive video indeed. And your accent adds an awesome exotism to the whole ;)
@Ne555N
@Ne555N 6 лет назад
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
@andreswanepoel4826
@andreswanepoel4826 3 года назад
Such a good tutorial. You could be the professor
@updateyourjob7014
@updateyourjob7014 4 года назад
Really Nice finally i understood how to make dimming controller device
@alfredonovoa8124
@alfredonovoa8124 6 лет назад
The current in Spain has 230V AC. That's why you have 227-229V on the osciloscope.
@kedarprabhudessai
@kedarprabhudessai 6 лет назад
awesome !! great video as always :) this is the video for which i was waiting for. keep it up my friend
@obaidullahsarker6221
@obaidullahsarker6221 Год назад
very nice project also presentation. thanks
@ashu_ei
@ashu_ei 6 лет назад
That were too good... Sir... Thanks for this video
@mancio92M
@mancio92M 6 лет назад
congratulations another beautiful tutorial
@danielroibert5631
@danielroibert5631 6 лет назад
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!
@samhsavdr9647
@samhsavdr9647 6 лет назад
15watt 220v panel led dimmer adjustable circuit ....good idea .all people waiting
@MCsCreations
@MCsCreations 6 лет назад
Fantastic work, man! Really, really nice! 😀
@imbakebab
@imbakebab 6 лет назад
Can i use this method to control a 3kw heating element?
@akibrahman1497
@akibrahman1497 3 года назад
Hello sir Please help me Can i use moc3052 instead of moc3051 And Can i use EL814 instead of EL817 Please answer me
@parijatpandey1061
@parijatpandey1061 4 года назад
hello everyone.. Great video brother.. i tried it and it came out good.. i just want to make some changes in functionality.. i want switch on the bulb with incrementing brightness but WITHOUT POTENTIOMETER. and WITHOUT THAT APP. i am new to coding ,can anyone help me out with that part ?
@DaSnipz
@DaSnipz 6 лет назад
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!
@nipusfreetution3458
@nipusfreetution3458 5 лет назад
Nice one. This part was needed for a project of mine. Thanks alot. BTW whats up with the banana?
@hobbytechnical1097
@hobbytechnical1097 4 года назад
Nice and knowledge full video bro thanks dear
@romycruz4498
@romycruz4498 3 года назад
wow this is what i'm looking for thanks.
@universityofelectronics2410
@universityofelectronics2410 2 года назад
Excellent dear
@armanhossain2491
@armanhossain2491 6 лет назад
good project
@Adrian-Carstea
@Adrian-Carstea 6 лет назад
Code is incomplete. Where is last_CH1_state declared?
@bernhardfraunhofer4933
@bernhardfraunhofer4933 6 лет назад
i have the same problem
@yasirshahzad3732
@yasirshahzad3732 6 лет назад
ISR(PCINT0_vect){ if(PINB & B00000001) detectado=1; }
@yasirshahzad3732
@yasirshahzad3732 6 лет назад
Haha this code was extra with no functionality in this code, just replace with the following, thanks
@SkjoyBd
@SkjoyBd 5 лет назад
@@yasirshahzad3732 I have same problem.Given code generating error.
@w.s.n.nemindara9510
@w.s.n.nemindara9510 3 месяца назад
Thank you for the content.. Can we use this for control devices that use more than 1000W.
@MASAYEM-rs2ny
@MASAYEM-rs2ny 4 года назад
Great job sir, nice project
@stonecold7945
@stonecold7945 6 лет назад
I am kind of new to this channel, but what's the banana for?
@ELECTRONOOBS
@ELECTRONOOBS 6 лет назад
Stone Cold7 banana for scale, of course!
@yasirshahzad3732
@yasirshahzad3732 6 лет назад
Hahah
@yasirshahzad3732
@yasirshahzad3732 6 лет назад
Stone Cold7 its for sale you can buy it
@stonecold7945
@stonecold7945 6 лет назад
Yasir Shahzad How much is it!
@zyghom
@zyghom 3 года назад
I am trying to do the same: 1- sleep between 0 to 10ms after zero detected 2- turn 1 the pin 3- sleep for 100us 4- turn off the pin but my fan is behaving like drunk - unstable I am not sure if this is fan issue or what While detecting edges, we shall see 2 times per Hertz, right? So 100 per second
@GRBtutorials
@GRBtutorials 6 лет назад
Actually, it's 230 V, not 220 V. This was changed a long time ago here in the EU, Russia and Ucrania. Check this (in Spanish): es.wikipedia.org/wiki/Electricidad_dom%C3%A9stica#Historia_de_tensiones_y_frecuencias. It might be 220 V if you're far away from the supply cables that go to your house (which are guaranteed to give 230 V ± 7%) because of the voltage drop. I confirmed this: if I turn on a high power device (like a radiator), the voltage drops. Sometimes the voltage goes to 210 V or less, and that's when my line-interactive UPS' relay clicks and steps up the voltage to 230 V. I wish all this was finally unified sometime and all countries used the same voltage, frequency and plug type! I'm working on a new plug type which I'll use in my smart plug (Kickstarter coming soon), but it'd be difficult to do something about the voltage or frequency (bulky transformer for voltage and maybe a matrix converter for frequency, easier said than done).
@ELECTRONOOBS
@ELECTRONOOBS 6 лет назад
Yes, that's true. Sorry. is 230V
@tech_queue
@tech_queue 5 лет назад
very very awesome working
@MuhammadMohsin-tm2pq
@MuhammadMohsin-tm2pq Год назад
kindly share its proteus simulation as well
@diazpty
@diazpty 4 года назад
Where do you connect the banana? Good job!
@dzorzstops5136
@dzorzstops5136 6 лет назад
Perfect idea. 😀
@doncollins6795
@doncollins6795 4 года назад
this is really helpful...... i tell you that!
@Exotic_Chem_Lab
@Exotic_Chem_Lab 6 лет назад
Can i use it to control 1000W nichrome heating element?
@debashisdas7557
@debashisdas7557 6 лет назад
Really nice tutorial.. And I have a question can u control more than one light bulb with this circui
@6112oo6
@6112oo6 5 лет назад
I NEED TO DO THE SAME THING, AND I NEED THE CODE FOR THAT!!! IF YOU HAVE ANY IDEA????
@chaliskpito8634
@chaliskpito8634 4 года назад
maybe it's late for an answer, it is possible to control several lamps, the idea is to create a delay management with an array, the delays must be distributed according to a decreasing (or increasing) sequence.
@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?
@ShivamMishra-tf6cf
@ShivamMishra-tf6cf 5 лет назад
Thanks for the video. I want to ask why have you added a delay after making the PIN3 HIGH.
@TechnoEveryday
@TechnoEveryday 2 года назад
🆒 Thank you so much for uploading this video. aia file link is not opening. Could you please fix it? Thanks a lot
@natanaelalfaputra_te_0559
@natanaelalfaputra_te_0559 Год назад
why duty ratio of PWM do not decrease and increase??
@englishinsambalpuri9364
@englishinsambalpuri9364 2 года назад
What's wattage of all resistor for this project specially 47k resistor ?
@tanviralam8073
@tanviralam8073 2 года назад
Is it wise to connect ac voltage to breadboard ?
@pippiscariota
@pippiscariota 6 лет назад
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?
@sayantanmaiti2513
@sayantanmaiti2513 6 лет назад
One question... You must be using interrupts when taking the output signal from the opto IC that goes into the UNO... but you are connecting that to pin 8 of UNO.. pin 8 is not an interrupt for atmel328... so how you are dealing that...are you just using just if else for that???
@ELECTRONOOBS
@ELECTRONOOBS 6 лет назад
Sayantan Maiti what do you mean? You can activate pin state change PCMSK |= (1
@sayantanmaiti2513
@sayantanmaiti2513 6 лет назад
Thanks for the info...I previously thought that only D2 and D3 are being used for interrupts ..
@saladino-3974
@saladino-3974 6 лет назад
Esperare el tutorial en español :)
@chaliskpito8634
@chaliskpito8634 4 года назад
hello, nice video and explanation, is there a way to use micro / millis instead of microdelay? thanks
@serjeelranjan8345
@serjeelranjan8345 6 лет назад
Why I always misspell your channel name😜 by the way you are great.
@ELECTRONOOBS
@ELECTRONOOBS 6 лет назад
Serjeel Ranjan which letter are you misspelling?
@serjeelranjan8345
@serjeelranjan8345 6 лет назад
You already know
@24242424h
@24242424h 5 лет назад
hey bro, can we use this circuit to vary the voltage being supplied on an AC induction motor? do you think it will damage the motor?
@caffeinatedinsanity2324
@caffeinatedinsanity2324 4 года назад
Not a good idea. AC motors generally rely on a clean sine wave (or sine wave pwm) to be driven, and chopping it with triacs isn't really going to give good results. My guess is you might have to build (or buy) you own VFD, especially if you want to control speed, since the frequency of the AC current needs to be modulated. Changing the voltage will affect the maximum torque
@RandomakerYT
@RandomakerYT 3 года назад
Not an induction motor. The only type of AC motor this will work for is a universal motor.
@NeerparajRai
@NeerparajRai 2 года назад
Is it safe to connect dso directly to mains as the ground will b common for dso source and ac supply.??
@cgowthamraja548
@cgowthamraja548 5 лет назад
it is better explanation but u also some of assembly code u write in ardino also u need to explain can u do that for me
@crouserhd297
@crouserhd297 3 года назад
Hello, is it possible to buy something like that? I only need about 80W
@madhukeshnp
@madhukeshnp 5 лет назад
well explained.....
@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%?
@sivabalanvkl
@sivabalanvkl 5 лет назад
Hi bro first of all thank for this job .i want to do same think using three phase can you guide me.
@ElectroIoT
@ElectroIoT 6 лет назад
Plz make video how to control with blyk and esp8266
@bilalqasim2555
@bilalqasim2555 3 года назад
Can anyone tell which full wave bridge rectifier is used? Link for ebay is not working.
@sparkigner908
@sparkigner908 6 лет назад
Supper video i love it
@princebanini
@princebanini 4 года назад
my gosh, am in love
@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?
@YogeshPuriLevitation
@YogeshPuriLevitation 5 лет назад
Great Sir
@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
@muhammedismail5857
@muhammedismail5857 5 лет назад
By using this method we ca controll speed of 600w universal motor
@sidharthap
@sidharthap 6 лет назад
How are you probing AC mains without the big bad BOOM?!! Can you please explain.
@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?
@DanChicheportiche
@DanChicheportiche 2 года назад
Hi I see a lot of poeple on the comments want to to use an ESP8266 or ESP32 and not Arduino Uno. How can we have 3,3v and not 5v at the output of optocopler ? Thanks
@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
@maliarif2023
@maliarif2023 5 лет назад
wonderful work electronoobs,can you please tell me the name of Android application?
@PhG1961
@PhG1961 6 лет назад
Great video ! What's the banana for ?
@ELECTRONOOBS
@ELECTRONOOBS 6 лет назад
Philip Gevaert for scale. Lol
@Pankaj98171
@Pankaj98171 4 года назад
i want to merge this with car controlling ...please help how to code
@rinoprihantoro155
@rinoprihantoro155 4 года назад
where the oscilloscope probe is connected so that it can be displayed on the screen? apakah di mosfet atau di output dimmer?
@michaparasol9892
@michaparasol9892 4 года назад
Why two resistors 47k insted 100k?
@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!
@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?
@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
@mhzxtal922
@mhzxtal922 5 лет назад
Hello Electronoobs, any procedure step for designing the app or any AIA code provided?
@MrPinolatino
@MrPinolatino 6 лет назад
Hi nice job, what about solid state relè? Does it work with pwm for soft start?
@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!
@barknozer3076
@barknozer3076 3 года назад
This is for current control am ı right?
@ashfalfuady4515
@ashfalfuady4515 3 года назад
how to control multiple of load?
@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!
@duongnguyenxuan5515
@duongnguyenxuan5515 Год назад
I don't know your data from phone transmit to HC-06, i need to define value from app
@EDISONSCIENCECORNER
@EDISONSCIENCECORNER 6 лет назад
Nice
@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
@carloscontreras7999
@carloscontreras7999 Год назад
Is there an update of the app?
@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).
@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????
@sapankotak3777
@sapankotak3777 5 лет назад
sir. can i control speed of my AC ceiling fan by using that Schematic and code (Bluetooth) ?
@nomiahmad5268
@nomiahmad5268 5 лет назад
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
@Tiwatz
@Tiwatz 5 лет назад
Is it possible to do this with just an arduino, triac and a TDA1024 ?
@konstantinostriotis7142
@konstantinostriotis7142 5 лет назад
Are you able to dim a LED lamp with that circuit?
@edgarmrueda
@edgarmrueda 3 года назад
Hice el mismo circuito, pero en vez del optoacoplador+diac+triac use un ssr, pero no funcionó, alguna idea del Porque ?
@tradingview5363
@tradingview5363 Год назад
can I use arduino uno?if I use do i need to change the pins
@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 ?
@bmsnmemory
@bmsnmemory 6 лет назад
Hi, I watched the video. I have a question, what value did you pass to arduino when you created the app?
Далее
Basic components #003 - TRIAC & Thyristor
7:54
Просмотров 80 тыс.
Как он понял?
00:13
Просмотров 129 тыс.
Triac drivers
3:46
Просмотров 82 тыс.
AC 220V Heater Temperature PID and TRIAC control
8:39
Просмотров 109 тыс.
AC Dimmer Circuit Using Phase Angle Control
8:03
Просмотров 12 тыс.
Why build an entire computer on breadboards?
28:43
Просмотров 3,1 млн
10 awesome application of capacitors in circuits
29:01
Просмотров 401 тыс.