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! - Наука
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!
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.
FULL BRIDGE RECTIFIER !!!! ......., Thanks electroboom for this stuck in my head.
BOOM! -Taras Kul
Saw many videos related to this topic, and this is the one that made me understand, great explanation, oscilloscope and edition!
I have been searching for this video for too long, because i didn't know how to use a Triac. Thanks!
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.
Great explanation! I got a little nervous when you were pointing at the high voltage components with a metal screwdriver.
awesome !! great video as always :) this is the video for which i was waiting for. keep it up my friend
This channel needs more subscribers! Great tutorial paired with common sense.
Hudson Chamberlain thank you so much!
Great pedagogy! instructive video indeed. And your accent adds an awesome exotism to the whole ;)
Thanks for making such kind of video, Today I have learned how to control AC voltage
congratulations another beautiful tutorial
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.
i just gonna fall in love with you when you say FULL BRIDGE RECTIFIER :D
Excellent video.it was useful to me.thank you so much.
Great explanation Electroboomnoobs
Really Nice finally i understood how to make dimming controller device
Fantastic work, man! Really, really nice! 😀
been waited for this , great !!!
Such a good tutorial. You could be the professor
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!
That were too good... Sir... Thanks for this video
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!
Nice video and good explanation, thanks for share
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!
Thanks for the video. I want to ask why have you added a delay after making the PIN3 HIGH.
Maaan ! a lot of knowledge , thank you so much !!
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?
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!
I ve enjoyed a lot
Keep going bro
very nice project also presentation. thanks
When u connected the mains voltage to ur oscilloscope, u didnt connect the GND cable? Or did u had an isolation transformer?
Great tutorial!!!One question, what about the loads above 200 Watt, what changes do I need ???
Great job sir, nice project
could you help me.? i meet the problem with delaymicroseconds which it work only 2300 ms after zero crossing detection. thanks in advance
Thank you, I now understand trials.
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).
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 ..
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!
Nice and knowledge full video bro thanks dear
Is it safe to connect dso directly to mains as the ground will b common for dso source and ac supply.??
Shall I change any specification if my AC voltage change to 110V ?
(BTW the link of the full bridge rectifier is invalid)
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
Nice one. This part was needed for a project of mine. Thanks alot.
BTW whats up with the banana?
When you measure the AC Voltage on the bulb contacts, will it always be 220v but duty cycle will vary from 1-100%?
Can we connect celling fan without using extra protection circuit because coils are making negative voltage and it will damage the TRIC and DIAC
The current in Spain has 230V AC. That's why you have 227-229V on the osciloscope.
where the oscilloscope probe is connected so that it can be displayed on the screen? apakah di mosfet atau di output dimmer?
great work Dude...
i like him . because he give answer of our comments
good project
Good project for smart home.
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
hello, nice video and explanation, is there a way to use micro / millis instead of microdelay? thanks
Hi nice job, what about solid state relè? Does it work with pwm for soft start?
very very awesome
working
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!
Perfect idea. 😀
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?
Please tell me sir what I am using ic moc 3021 in the project plz tell me.
if I want it to work as AUTO soft starter without variable resistance what would I change in the circuit?
Excellent dear
wow this is what i'm looking for thanks.
sir.
can i control speed of my AC ceiling fan by using that Schematic and code (Bluetooth) ?
How are you probing AC mains without the big bad BOOM?!! Can you please explain.
Hello Electronoobs, any procedure step for designing the app or any AIA code provided?
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
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?
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
Can i use this method to control a 3kw heating element?
Can we regulate ceiling fan via above mentioned circuit?
Can anyone tell which full wave bridge rectifier is used? Link for ebay is not working.
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 ?
this is really helpful...... i tell you that!
I tried both of your project of given codes but there is no output. Pls help me give the program of to projects
Hello sir
Please help me
Can i use moc3052 instead of moc3051
And
Can i use EL814 instead of EL817
Please answer me
Hice el mismo circuito, pero en vez del optoacoplador+diac+triac use un ssr, pero no funcionó, alguna idea del Porque ?
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
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????
Hello, is it possible to buy something like that? I only need about 80W
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!!!
Hi, I watched the video. I have a question, what value did you pass to arduino when you created the app?
well explained.....
Is it possible to do this with just an arduino, triac and a TDA1024 ?
HI ELECTRONOOB, nice work you had there. What can I substitute for GBJ1506?
Can i use it to control 1000W nichrome heating element?
sir. please make a video tutorial about.. how i control my bed room light and speed control my fan
Supper video i love it
What sense has variable last_CH1_state in your code, when it is always zero? I see no sense. Am I right?
Yeah! It works, thanks
Is it wise to connect ac voltage to breadboard ?
Great Sir
What's wattage of all resistor for this project specially 47k resistor ?
Puede funcionar con un motor de los típicos de ventilacion para cuarto de baño.¿
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
Are you able to dim a LED lamp with that circuit?
Hello, How much Current does it at max gives?
Who dislike this awesome video ??!!
15watt 220v panel led dimmer adjustable circuit ....good idea .all people waiting
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.
Daniel Roibert true and now I regret I didn't said that in the video! Thanks and keep up!