AC Light Dimmer || DIY or Buy || Phase Angle Control Tutorial

  Рет қаралды 248,184

GreatScott!

GreatScott!

Күн бұрын

Пікірлер: 545
@andrew2004sydney
@andrew2004sydney 5 жыл бұрын
Great video! I made this in 1992 with an EPROM based micro controlling 8 of these in parallel and accepting dimming values from the serial port. I programmed it all in ASM and every iteration of the development code took 40 minutes in the UV light to erase the EPROM. I also made the PCB by hand with a Dalo pen and drill. Good times!
@unbekannternutzer8506
@unbekannternutzer8506 5 жыл бұрын
You mentioned not using a capacitive dropper due to insulating issues. However the copper-fill on your board brings the mains too close to the low voltage side. The arcover distance is too low I would say. Many PSU PCBs do not feature any copper fill due to this reason.
@greatscottlab
@greatscottlab 5 жыл бұрын
Possible, that is also why Buy wins in the end. I am not a PCB design engineer. That shines through sometimes.
@unbekannternutzer8506
@unbekannternutzer8506 5 жыл бұрын
@@greatscottlab it still is a great design idea
@bashaaksema94
@bashaaksema94 5 жыл бұрын
That is not true many pcbs do have a copper fill but they always seperate the mains and output fron eachother and ofcourse use optocouplers. Look up diodegonewild for this
@TheBigBadButler
@TheBigBadButler 5 жыл бұрын
​@@greatscottlab Looking at the way this channel is heading - soldering batteries, creating making mood lights, making dimmers - you should maybe get in touch with people who do 240V PCBs. 240 Volts aren't much of a problem if you consider a few safety rules, like 6mm spacings. Maybe watch a few of BigClive's Videos, too, he always nags about unsafe electronics devices and shows why safe devices are safe. But I guess you already know him... It's not about nagging, more about the fact that I'm gonna build what you show here.
@unbekannternutzer8506
@unbekannternutzer8506 5 жыл бұрын
@@bashaaksema94 yeah that's correct. As long as you keep no copper distance between traces and maybe even make adequate cutouts everything is fine
@pieceofpotato7883
@pieceofpotato7883 5 жыл бұрын
someone need to give this guy a quality highlighter... i mean it's in every single video!
@greatscottlab
@greatscottlab 5 жыл бұрын
You don't like my highlighter?
@wi_zeus6798
@wi_zeus6798 5 жыл бұрын
It's actually a high quality German made highlighter but the ink of the other pens if probably water soluble.
@ftaloYT
@ftaloYT 5 жыл бұрын
@@greatscottlab I think he thought that the highlighter was wetting the paper too much
@walid0the0dilaw
@walid0the0dilaw 5 жыл бұрын
フタロ - P then the paper is probably the problem. High quality paper resists wetting.
@echobravo5488
@echobravo5488 5 жыл бұрын
GreatScott! I like it! It’s like one of your trademarks!
@toolazyforausername363
@toolazyforausername363 5 жыл бұрын
I've been with channel since 100k subscribers, and your content just gets greater and greater with every video. I used to not know anything about electronics, but now i'm starting to take apart printers, and reuse all the components, and I now have the knowledge of arduino programming. Thank you.
@victoryfirst2878
@victoryfirst2878 Жыл бұрын
I learn so much from your videos Sir. What gets me is the poor quality of purchased dimmers on the marketplace. When I was in school the teacher always stressed making a circuit that produces a pure SINE WAVE. This was the era of incandescent bulbs, halogen bulbs. Since the controlled item is much simpler electrically and electronically, there is less of a need for excessive circuits. Now with the fancy items one can buy complicated dimmers are just part of the scenery. There has to be a way to make a simple and bulletproof bulb dimmer a DIY can make . I look forward to see what you come up with in the future Sir. Nice work too fella. vf
@szerocools
@szerocools 5 жыл бұрын
i never get tired of your "stay creative, and i will see you next time!"
@Gurux13
@Gurux13 5 жыл бұрын
One more benefit of the BUY version is that it doesn't require power and can be used as a light switch, while the DIY version needs mains voltage. In fact, that might make a good video - how to draw current in series with a load, it has a lot of variations to it. Also, the trace separation is soo narrow. I have one PCB that is pretty much the same thing, with a termoresistor and an LED display, but I had to go with big trace spacing and also clean the board very well. All in all, I hate dealing with mains voltages :)
@tristaaaaan3473
@tristaaaaan3473 5 жыл бұрын
only $2 but $18 shipping cost :D
@varunatik632
@varunatik632 4 жыл бұрын
I was looking for this down here XD
@WillianMai
@WillianMai 5 жыл бұрын
I've just rung the bell of your channel, your videos are quite high quality.. We can clearly see there is an effort put on quality! and not just entertainment such as other channels. Great work!
@l_szabi
@l_szabi 5 жыл бұрын
11:30 "while the buy version obviously have to follow safety standards" *_proceeds to buy from ebay_*
@wunderwaffeyt4077
@wunderwaffeyt4077 4 жыл бұрын
1:58 GreatScott!: "in German or phase angle control" English Captions: "in German or face anger control" I obviously laughed at that point
@georgekot6377
@georgekot6377 5 жыл бұрын
The only thing that truly amazes me is how this channel does not have 10.000.000 subscribers yet ! Keep up the good work.
@wi_zeus6798
@wi_zeus6798 5 жыл бұрын
Filling the ground plane in this case doesn't make very much sense since you have galvanic isolated between the high and low voltage portions of the circuit. The filled plane reduces the isolation distance unnecessarily. My biggest concern would be the potentiometer otherwise the case is enough protection. A partial fill would have been better.
@NightmareQueenJune
@NightmareQueenJune 5 жыл бұрын
I never understood the reason behind a ground plane. Maybe for interfearence reduction in highly sensitive circuits or when DIYing PCBs with a CNC. But even when etching it makes no sense. Ferric cloride is so cheap that being able to etch more PCBs with the same solution was never a valid argument for me.
@therealchayd
@therealchayd 5 жыл бұрын
I'm glad someone mentioned this!
@shuashuashua1
@shuashuashua1 5 жыл бұрын
@@NightmareQueenJune Ground planes are just like You said to supress EMI and in most driver IC's, transistors, diodes etc for heat dissipation. For some data traces You can calculate capacity between data line and ground plane to get lowpass filter but I never used it in practice.
@TheParamotorGuy
@TheParamotorGuy 5 жыл бұрын
I use ground planes for impedance matching on RF circuits and sometimes for ease of use in DC grounding. For low-frequency circuits such as this, the ground plane should have been avoided.
@ninaddeshmukh654
@ninaddeshmukh654 5 жыл бұрын
My phone rings a notification Me hoping a boring notification New video from GREAT SCOTT where are my headphones
@greatscottlab
@greatscottlab 5 жыл бұрын
I like that :-)
@ninaddeshmukh654
@ninaddeshmukh654 5 жыл бұрын
GreatScott! thank you so much I very much appreciate that this is my 3rd comment you replied 😁
@euvo_sound
@euvo_sound 5 жыл бұрын
@@ninaddeshmukh654 I ilke the comment
@ninaddeshmukh654
@ninaddeshmukh654 5 жыл бұрын
Jacob#5332 Romero than you I very much appreciate that
@euvo_sound
@euvo_sound 5 жыл бұрын
@@ninaddeshmukh654 Thanks!
@Cahrdek
@Cahrdek 5 жыл бұрын
PHASENANSCHNITTSKONTROLLE ... jawohl
@FufsowyFufs
@FufsowyFufs 5 жыл бұрын
Tbh DIY version is better due to its customizability. You could easily add sensors, replace the microcontroller for something with mode features or make it a multiple channel dimmer. I once wanted to make a this kind of dimmer for my bedroom lights and have Wi-Fi capability on it, but couldn't find a commercial product with a good price. Making it by myself was the only option, but up to now I couldn't find much information on it. Thanks Scott!
@owaisy_sehrayi
@owaisy_sehrayi 5 жыл бұрын
the warning At starting this guy gave seems to be a joke for Electroboom viewers😂😂😂
@greatscottlab
@greatscottlab 5 жыл бұрын
Well, partly. Mains voltage is dangerous and people should be aware of it.
@zacharypike6408
@zacharypike6408 5 жыл бұрын
i had a stroke while trying to read this
@owaisy_sehrayi
@owaisy_sehrayi 5 жыл бұрын
obviously sir...
@geetanshgautam
@geetanshgautam 5 жыл бұрын
I was about to comment that too
@Patrik2166
@Patrik2166 5 жыл бұрын
@Jaakko Jylhä You came from electroBoom? Then you know it is not necessary the current but the amount of time you're exposed to it what kills you and not necessarily the voltage. Wow I almost learned the definition he came up with xD
@frarugi87
@frarugi87 5 жыл бұрын
Just some piece of advice for when you have to deal with mains voltage. 1) you did not respect clearance and creepage distances. The mains traces are too close to each other and to the low voltage part. I think clearance should be in the range of 3mm, and in the points where you are close to this you should make a slot in the pcb to increase the creepage 2) as others have said, don't use a ground plane in the mains voltage. You are reducing the insulation. 3) in your pcb, clearly separate the mains voltage area and the low voltage area, and possibly use a slot there to further increase the creepage. So draw a line, then put all mains components on one side, all low voltage on the other, and the connecting (hi-link, optocouplers) across. Avoid what you did here between the optocouplers Thank you for all your videos :)
@vijayendirangiridharan6113
@vijayendirangiridharan6113 5 жыл бұрын
"STAY CREATIVE AND I WILL SEE YOU NEXT TIME" ...this line has a separate fan base!!!!!!
@TechBuild
@TechBuild 5 жыл бұрын
So true!
@fredrickrari9338
@fredrickrari9338 5 жыл бұрын
Very true
@kodydeville3850
@kodydeville3850 5 жыл бұрын
I am new to this electronic stuff so I am 16 and I just take components off of random circuitboards from broken thing I can find. What does a coil do i found a random core "or what ever it is called" and it didnt have any wire around it. I tried to wrap wire around it and hooked it up to something I didnt get a circuit, nothing happened can anyone tell me what I did wrong
@spike4850
@spike4850 5 жыл бұрын
Kody Deville more information needed, what were you trying to achieve? Try asking on Arduino forums or reddit
@kodydeville3850
@kodydeville3850 5 жыл бұрын
@@spike4850 like I said I am new like verry new to this can u start like I depth with what an ardwino does and how I can find them on old circuit boards
@amalbabu4003
@amalbabu4003 5 жыл бұрын
2$ for pcb and 18$ for shipping .definitely buy option wins.!!!!
@schweizzz
@schweizzz 5 жыл бұрын
It's so expensive because he chose "fast shipping" without it's about 7$ if I remember correctly
@imnota
@imnota 5 жыл бұрын
Yeah jlcpcb tries to make you think they're cheap but they rip you off on the shipping.
@JanCiger
@JanCiger 5 жыл бұрын
@@imnota If you consider DHL delivery from China in 3 working days (because that's what those 18 EUR is for) being "ripped off", I think you need a serious dose of reality, mate. They do offer a much cheaper (but also slower) shipping option if you don't like to be "ripped off". Or move to Shenzen, then you won't have to pay for shipping in the first place ... Just for kicks, try to price a similar board, with 3 day delivery, from someone like EuroCircuits or some other non-Chinese PCB fab and you will see how much you have been "ripped off" by JLCPCB. Just beware of the sticker shock ...
@imnota
@imnota 5 жыл бұрын
@@JanCiger Bro, don't try to tell me about shipping prices, I know the value of different companies with different origins and destinations. I've ordered lots of stuff on internet over the years so I know the prices. And let me tell you I've paid less shipping for a whole fucking 3d printer by dhl from china to Belgium in like 5 days. YOU really need a dose of reality if you think 18 euros to ship a really tiny package from china is normal. I don't disagree that jlcpcb is cheaper than other places, but they're trying to look even cheaper by putting real low prices and high shipping prices. And they shouldn't do that, that's clickbait, and their products are already at an interesting price points so they really don't need to cheat.
@ahmedelwan9129
@ahmedelwan9129 5 жыл бұрын
2$ for 10 pcbs
@HobkinBoi
@HobkinBoi 5 жыл бұрын
I think with a better design of the PCB, and with an ESP8266, you could make a wifi controlled dimmer. Then have something like a rotary encoder for local brightness control. A central Raspberry Pi could be used for automation as well.
@gelisob
@gelisob 5 жыл бұрын
I was also thinking, adding esp-12f module would bring in a great benefit over the Buy versions, because you can then connect dimmer to many smarthome systems. (homeassistant)
@masonp7258
@masonp7258 5 жыл бұрын
Another thing the potentiometer does in these circuits is reduce the power to the load, assuming the circuits were designed for maximum power transfer when the voltage is in phase. Great video I enjoy this channel I think they should show more examples like this in engineering classes
@Patrik2166
@Patrik2166 5 жыл бұрын
You should learn how to design a board for AC applications. That's the only problem stopping the DIY option. Unless you're experienced it should be a good project. You just have to keep it in mind that you work with AC and unless you screw it up good then house starts on fire.
@thewhitefalcon8539
@thewhitefalcon8539 5 жыл бұрын
Seems to me like it's the same as low voltage, it's just worse if you screw up. Engineers for the power grid call 240V low voltage :P
@petrickoliveira1351
@petrickoliveira1351 3 жыл бұрын
well, it's been 2 years, but can you send me any docs, videos or tips for AC PCBs?
@cobaltdragon_5678
@cobaltdragon_5678 5 жыл бұрын
Congrats for the 1 million subs you deserve it ! Any planned video or project about this ? Love your videos ! A old subscriber from Swiss
@OneEyedWheeler
@OneEyedWheeler 3 жыл бұрын
Thanks! I thought maybe I don't have enough confidence to do this and hope it doesn't electrocute anybody in the house. Your conclusion confirmed it for me- would be good fun but seems better to buy a factory made dimmer.
@MrBlade2021
@MrBlade2021 5 жыл бұрын
JLPCB is a really great company. I've used them for over a year now and have not received a single defective product yet!
@xXELevenXx1
@xXELevenXx1 5 жыл бұрын
I am realy looking forward how you deal with the flickering led bowl and try also make a circuit it without with a microcontroller
@mmdnaderi7183
@mmdnaderi7183 5 жыл бұрын
Here we go again another great project from Greatscott!
@greatscottlab
@greatscottlab 5 жыл бұрын
Thanks :-)
@phinok.m.628
@phinok.m.628 5 жыл бұрын
Since most mains power LED lights have a fairly high capacitance on the input, dimmable ones usually work better with phasenabschnitt. So if you're gonna use a ATtiny anyway you might as well use mosfet based circuit to control the AC since you can turn it off whenever you want during each half wave, you don't need a specific minimum latching current etc. For low power applications like these, mosfets while being more complicated to control AC with definitely have a lot of advantages over triacs.
@innovation4u336
@innovation4u336 5 жыл бұрын
You are best teacher in world. I always wait for your next video. Nice work keep up.
@deltaray3
@deltaray3 5 жыл бұрын
You should see if a highlighter marker company wants to sponsor a video. 😁
@dnyaneshvarsalve
@dnyaneshvarsalve 4 жыл бұрын
I was always wondering why diac is used with triac. Cleared now. Thank you
@anindyamitra5091
@anindyamitra5091 5 жыл бұрын
Well, you have done a great job! I might say DIY is the winner but there is no point for not using a capacitive dropper for the 5v supply, because the circuit will still be associated with mains and so the entire PCB should be isolated anyway.
@dmkays
@dmkays 4 жыл бұрын
I like the way you can go from an idea to a very professional looking pub board in such a short time. I can use my Laserjet printer and hi-gloss paper to print and etch a board but where I cut the board and drill my holes doesn't look that good, and I can't silkscreen. I look forward to designing my first pcb and having the board made professionally.
@IzzJohnny
@IzzJohnny 5 жыл бұрын
I would recommend trying to make a trailing edge dimmer using a mosfet instead. You have more control over the waveform using mosfet instead of triac, less audible buzzing, less inrush current, and more friendly to LED lamp circuits when making it trailing edge.
@WR3slo
@WR3slo 5 жыл бұрын
At 4:15 it is a bit misleading that ON is written on the first part of the period where the lamp is OFF. But the explanation is correct, and on the graph 10s later it is more clear that is the tON.
@rossmckenzie1854
@rossmckenzie1854 5 жыл бұрын
Atmel/Microchip recommend a 100nF cap placed directly across the Vcc/Gnd pins of the ATTiny85.
@VoidHalo
@VoidHalo 5 жыл бұрын
That's just the bypass cap. You should include such a cap on every single digital component as close to the VCC and ground pins as you can to reduce parasitic inductance. They're not absolutely necessary. Your circuit will probably still work without them, but it improves stability and levels out fluctuations in the power supply.
@proyectosledar
@proyectosledar 5 жыл бұрын
Hi, trailing edge dimmer for the next video. Cheers
@juancarloslinaje5297
@juancarloslinaje5297 5 жыл бұрын
Me too! ( Deseamos todos que nuestra cantante favorita nos dedique la misma cancion!) 🤪😄
@brzydka_i_bestia
@brzydka_i_bestia 5 жыл бұрын
I would say a nice 3D printed case/wall mount would bring the safety aspect up, but not everyone nas a 3D printer. Another thing to worry about is the possibility of microcontroller crashing due to interference making your light suddenly come on at full brightness, or turn completely off. Also why do you need a bootloader on the ATTiny, if not only you program it via ISP, but you also program it only once. Bootloader (especially the default arduino one) only takes up space and delays the startup of your program.
@anycatdessai
@anycatdessai 5 жыл бұрын
For the umpteenth time you deliver info exactly on what I wanted to work on. Thanks a lot.
@greatscottlab
@greatscottlab 5 жыл бұрын
You're welcome :-)
@anycatdessai
@anycatdessai 5 жыл бұрын
We have these AC motors on ceiling fans in India. Can we run those on these circuits to control the speed? Will the current flow and heating be too much to handle?
@elmardus
@elmardus 5 жыл бұрын
@@anycatdessai Motors cannot be dimmed since a motor is an inductive load, which will destroy the dimmer. These dimmers are only suitable for resistive AC loads.
@damani662
@damani662 5 жыл бұрын
Thanks scott, because of you now i took diploma in Mechatronic and maybe after that i will go to German under German Malaysia Institute further study
@julian23561
@julian23561 5 жыл бұрын
I'll just watch this, be amazed, get inspired, and end up not doing it anyway. Still a cool project, GreatScott!
@greatscottlab
@greatscottlab 5 жыл бұрын
Well,....it is something.
@ziomalZparafii
@ziomalZparafii 3 жыл бұрын
I wonder why switching on in the middle of the sine is better than switching on at zero crossing and then cut off in the middle of the sine? I would assume soft on should be nicer to the load than just high impact at full voltage? I miss such explanation in all those videos about phase angle control. Thanks
@antoineroquentin2297
@antoineroquentin2297 5 жыл бұрын
adding a bit of noise suppression is recommended. the transients produce a lot of harmonics.
@arvand26
@arvand26 2 жыл бұрын
Your DIY version is WINNER
@jovintony7120
@jovintony7120 5 жыл бұрын
I found a AC PAC unit and i had a problem with it this video help me to debug that devices thank you GreatScott
@kokachifans6646
@kokachifans6646 5 жыл бұрын
Dude! Your videos are so interesting!!
@greatscottlab
@greatscottlab 5 жыл бұрын
Thanks mate :-)
@zhirayrshirinyan2370
@zhirayrshirinyan2370 3 жыл бұрын
Hey 👋, thanks very much vor the videos, this is great one, Im planing to build one myself, but the fact that you've written safety in RED got me thinking 🤔. Just wanted to ask are you planning to make a video about DIY safety features, like voltage spikes handlers, noise suspension etc? Thanks in advance
@Ians2910
@Ians2910 4 жыл бұрын
Hi!! Nice video!! I didn't understand why this circuit is not safe. You've said that you wouldn't use the capacitive dropper circuit for safety reasons, and then used an IC to solve this problem. Then, why is it unsafe if you aren't using a dropper circuit?
@ganopterygon
@ganopterygon 5 жыл бұрын
Excellent video just one suggestion, those last copper planes break safety, you should not have them due to clearance and creepage distances standards for a given voltage, altitude and polution degree, by having them you defeats the purpose of the isolated power supply you are using :)
@nevius.x
@nevius.x 5 жыл бұрын
You should try making one of those laser projectors that you see in clubs, using hdd actuators as galvos or something. Its a really challenging project
@alfblack2
@alfblack2 5 жыл бұрын
so love this DIY or Buy series.
@asdomega
@asdomega 5 жыл бұрын
Thanks for your summary "buy due to safety" !
@djaberkharoubi3825
@djaberkharoubi3825 5 жыл бұрын
Hi, thank you so much for this great explanation Just a simple question, this circuit that you just built, is it suitable to use with an inductive load, like a vibratory feeder?
@ElijahEchekwu
@ElijahEchekwu 5 жыл бұрын
Cool !! am a big fan GREAT SCOTT!!
@sirmiro2
@sirmiro2 5 жыл бұрын
Thank you! I think I've been nagging about this for years now, so thank you so much for taking the time to do this!! =D
@jonmayer
@jonmayer 5 жыл бұрын
I was hoping for something different. Guess I'll have to wait for the future video. I hope you can demonstrate a good trailing edge dimming circuit.
@whitefields5595
@whitefields5595 5 жыл бұрын
Please do a trailing edge dimmer as these are more difficult but avoid the high voltage turn on
@tiborklein5349
@tiborklein5349 5 жыл бұрын
custom PCB: $2 shipping: $18 OOF Maybe you could make your own PCBs at home and make a video about it?
@imnota
@imnota 5 жыл бұрын
Hell nah, he's sponsored by jlcpcb, he gets more than enough money to refund every time he gets ripped off by his own sponsor lmao. Ps: Nice profile pic, Robbie's a great youtuber.
@tiborklein5349
@tiborklein5349 5 жыл бұрын
@@imnota Oh shit, you're right. And it's nice to see a fellow Committed Crew member on a channel that has nothing to do with cars. What other car channels do you watch?
@greatscottlab
@greatscottlab 5 жыл бұрын
I paid for both. The PCBs and the shipping.
@tiborklein5349
@tiborklein5349 5 жыл бұрын
@@greatscottlab Thank you for ignoring my question and replying to someone else instead. It feels good.
@imnota
@imnota 5 жыл бұрын
@@greatscottlab Yeah, but jlcpcb pays you to give them a shout out, so not really.
@MegaMohsina
@MegaMohsina 5 жыл бұрын
thank you for your educative video! if I may ask why R2 and R3 have to be equal at scheme in 8:03 ? and why they have to be 47k?
@ejonesss
@ejonesss 5 жыл бұрын
as long as you have the board properly enclosed in plastic enclosure you should not have any safety issues? you would need to design a knob stem that insures you can not come into contact with the metal threaded part of the pot control. maybe a deeper enclosure and a pot control stem extension (you see this on some older tv monitors from the 60s to 80s to ensure the user cant come in contact with the high voltage parts such as the flyback transformer, multiplier and screen and focus boards if an arc or short to the low voltage parts is made i would think the fuse would blow and the dimmer would be blown
@DenshiMoe
@DenshiMoe 5 жыл бұрын
One thing I like about the DIY route is that I could give it wireless IOT potential and make dumb dimmable lights into smarter ones!
@jancoow
@jancoow 5 жыл бұрын
I'm just working on exactly the same project. I've made pretty much the same PCB specs, however with a far better zero cross circuit. I was hoping you could explain how do proper filtering of the triac output to illuminate voltage spikes. But you didn't mention it at all :(. Also this doesn't show the best way to dim LED bulbs. You could do far better dimming with trailing edge dimming instead of leading edge. I was hoping you would explain that to, because that's what I learned from my project so far after I destroyed a few led bulbs...
@greatscottlab
@greatscottlab 5 жыл бұрын
Wait for the follow up video :-)
@ferihun8858
@ferihun8858 5 жыл бұрын
I've made something similar but my design is for 12V LED strips. If you're interested I can maybe send you my project files or even a few PCBs. About your PCB design: it's quite good but I'd not use ground plate around the mains traces for obvious reasons.
@ElijahEchekwu
@ElijahEchekwu 5 жыл бұрын
Great video, I saw a AC dimmer using a triad, diac , capacitor, and a 100k pot
@BaronVonBiffo
@BaronVonBiffo 5 жыл бұрын
Triad? Obviously a Chinese import. ;)
@ElijahEchekwu
@ElijahEchekwu 5 жыл бұрын
@@BaronVonBiffo sorry I meant triac
@tonpilzosterhase
@tonpilzosterhase 5 жыл бұрын
Brilliant video! What about explaining a switch mode power supply? I think that could be an interesting topic!
@subhabratabasu266
@subhabratabasu266 2 жыл бұрын
Can we do the dimming job without any microcontroller Like using any timer ic which will provide the pulse for turning on the triac after every zero crossing
@FreeCircuitLab
@FreeCircuitLab 5 жыл бұрын
Sir! Actually I want to know Why you have chosen such a complex method of dimming? There is much more simpler analogue controller... Although in India the fan dimmers have same circuit as diac-triac system , costs around one USD and works flawlessly... So what's the advantage of your complex circuit?
@ritvarsrizikovs7117
@ritvarsrizikovs7117 5 жыл бұрын
This is nice until You dimm active loads. Lets try some inductive loads (Fans and motors). For correct dimmer work You need to add shiffer circuits after optocoupler and also after triac. Nice PCB by the way. My latest finding for cheap uC in such of projects are STM32F051 - just 0.63€ in china. Most advanced feature in my point of view is 12bit ADC and DAC wich makes it perfect for some analog processing. I have made the same circuit some time ago with my CNC machine but for 8 channels, and understand that it was big mistake without sniffer circuit on load sides. Actually comercial solution wins only in one case - if You want to adjust power with You hand. But if You want to use some analog signal (Like 0...10V or 4...20mA) - then Your way works much better (Just need to replace potentiometer to analog input and it works.). Keep going - I love Your videos.
@TrungTran-hw7ws
@TrungTran-hw7ws 5 жыл бұрын
Do we need a filter like a capacitor & a inductor for the Hi-Link power supply? Thanks for your attention
@greatscottlab
@greatscottlab 5 жыл бұрын
Always a good idea to add a bit of filtering. But it should also work without it.
@TrungTran-hw7ws
@TrungTran-hw7ws 5 жыл бұрын
Agree, also we need to minimize the PCB size so the filter my be neglect. Excellent video sir.
@elmardus
@elmardus 5 жыл бұрын
@@TrungTran-hw7ws These power supply modules contain internal capacitors. However, the ATtiny should have a 100nF ceramic capacitor placed close to the microcontroller, between the VCC pin and GND. Keep in mind that if you try to replicate a project like this, to read about isolation distance with high voltage. A groundplane should not be used close to the AC terminals and all signals should be suffficently isolated from the mains.
@TrungTran-hw7ws
@TrungTran-hw7ws 5 жыл бұрын
@@elmardus In a nutshell, are u trying to say about clearance and creepage? Sorry, still try to learning these things.
@elmardus
@elmardus 5 жыл бұрын
​@@TrungTran-hw7ws ​ Yes exactly! It is quite common to have insulation slots cut out to prevent creepage, for example by cutting a small slot below the optocoupler. Do you have any PCB design experience? If not, then please DO NOT start with a project like this. Working with mains can be incredibly dangerous if you are not experienced. There are countless good beginner project (tutorials) available online which are powered by lower voltages and are much safer to get experience before starting on higher voltages.
@ArnyminerZ
@ArnyminerZ 5 жыл бұрын
Can you make an AC power meter?? With an Arduino, or even an ESP8266-ESP32. That would be cool!
@sdk2586
@sdk2586 5 жыл бұрын
Since the output contains harmonics but at the same time harmonics also help in heating process and work effectively.
@fahadkhan463
@fahadkhan463 5 жыл бұрын
Very informational! I was just wondering have you made the next video on LED flickering? Thanks in advance.
@stickz9871
@stickz9871 5 жыл бұрын
Ive been waiting for this!
@abeditani8293
@abeditani8293 5 жыл бұрын
Great Scott ! Your great in DIY 👍 . I will try to do this project as a test for small motor 220v AC/DC 30w and see .
@kamlakarkadam9073
@kamlakarkadam9073 5 жыл бұрын
hello greatscott i am an electronics and telecommunication engineer and i just graduated last year. I had basic electronics subject in my curriculum but I want increase my knowledge upto your level.So what i can do so that i can understand and create my own pcb like you do?.Thank you and as your name you are great !
@fmjkevlar
@fmjkevlar 5 жыл бұрын
Great video... a part of me was hoping you would touch on Leading and Trailing edge dimmimg 😁
@feronimus7723
@feronimus7723 5 жыл бұрын
"The safety aspects of my version are terrible". I would really like a bit more informations about that statement. Why its terrible, what are the reasons? I mean the hole decision making between buy or diy was set on that sentence alone with little or no informations for the amateurs out there, like myself! Great video btw!
@greatscottlab
@greatscottlab 5 жыл бұрын
Look through the comments. Biggest problem is the space between mains voltage and the lower voltage. I am not a PCB design engineer. Sorry.
@feronimus7723
@feronimus7723 5 жыл бұрын
@@greatscottlab Thank you for the answer. Now i got the problem!
@aiton.
@aiton. 5 жыл бұрын
Hey Scott, can you do a movie of how we power on a monitor screen with presence sensor? I have a PC display fixed in a high height and can't press the power on and power off... Many thanks!
@vidrogic1499
@vidrogic1499 5 жыл бұрын
I use old vacuum cleaner speed control for dimming my lights at home. They are awesome because they have nominal power of over 2000W. Only problem is that they need to be conected betwen live and neutral from wall and live and neutral from lightbulb. Would be cool if I could transform such citruit into the one conecting in series with the load.
@Amir-kz6yq
@Amir-kz6yq 5 жыл бұрын
I just noticed that both Electronoobs and GreatScott talked about triac and thyristor today
@ompandya9240
@ompandya9240 5 жыл бұрын
Correct
@arduinoexplorer5437
@arduinoexplorer5437 5 жыл бұрын
You finally started designing pcbs. It is not safe to have copper pour near the mains input . Only fill the MCU side with copper pour.
@sairfan06
@sairfan06 5 жыл бұрын
a small question for you, why do you not use smd oven for soldering? my general perception is its quite simple to use. thanks
@GandhiTheDerg
@GandhiTheDerg Жыл бұрын
zero = 1 Mathematicians: Wait, you were not supposed to do that! Great video as always, i really enjoy them!
@D-Khaz
@D-Khaz 5 жыл бұрын
Can you make a video on trailing edge dimmers? They are supposedly a more complex circuit to build but have a much better compatibility range for LEDs.
@greatscottlab
@greatscottlab 5 жыл бұрын
Watch the follow up video about the LED light bulbs.
@D-Khaz
@D-Khaz 5 жыл бұрын
@@greatscottlab Awesome!!!
@JasonWho
@JasonWho 5 жыл бұрын
GreatScott! Looking forward to that one, smart dimmers and 3-way smart switches (no dimmers yet) are very expensive still, yet seem so simple inside.
@D-Khaz
@D-Khaz 5 жыл бұрын
@@JasonWho Agreed. I'd suggest using an ESP8266 instead/with TINY85 to give it remote control
@JasonWho
@JasonWho 5 жыл бұрын
@Dmitriy the way things are going, ESP32s are becoming the new standard. Capacitive sensor pin, deep sleep, Bluetooth presence monitoring, lots more pins to play with on top of the WiFi ability...once the community gets the hang of ESP-NOW we won’t even need access points to communicate.
@ejbuendia
@ejbuendia 5 жыл бұрын
Hello @Greatscott! I wonder if you can make 220V UPS for a wifi router. The power supply is pluged-in and if the power loses it will automatically switch to battery source with the device(router) prevents shutting down. Thanks.
@TheFlyingKiwiNZ
@TheFlyingKiwiNZ 5 жыл бұрын
Great video thanks! I'm searching for a dimmer that uses a PWM input instead of a potentiometer, but capable of dimming AC LED lights with zero flickering. I want to make a module with an ESP32 to control dimming my ceiling LED lights with Alexa. Is it possible to hack a 'bought' LED dimmer to accept PWM? It would be great if you could do a video on this please! Thanks
@anomymous7400
@anomymous7400 5 жыл бұрын
When will you be making a video on why certain LEDs flicker?
@greatscottlab
@greatscottlab 5 жыл бұрын
In a few weeks.
@anomymous7400
@anomymous7400 5 жыл бұрын
@@greatscottlab cant wait!!
@jonny11bonk
@jonny11bonk 5 жыл бұрын
Hi! I have an idea for the next video/topic ! Diy or Buy: 3D Pen! I tried to make one by myself, and it failed while heating. Can you try to make one using arduino, display and bluetooth? (BT to comtrol the Temp. From the app.)👌😊 Thank you, for making us happy! 😍
5 жыл бұрын
Great video! But there is any way to change the potentiometer to a digital component? Because I would like to dimmer my lights with my Arduino board, without a potentiometer. There is a way to simulate a potentiometer with digital components? Thank you for your video =]
@greatscottlab
@greatscottlab 5 жыл бұрын
There are digital potentiometers, or you add push buttons to increase/decrease the input value. There are tons of possibilities.
@Amanullah-dx5uy
@Amanullah-dx5uy 5 жыл бұрын
Electroboom should feel proud of startup warning ? right or nah?
@kruemmelbande5078
@kruemmelbande5078 5 жыл бұрын
Ok...
@electronic7979
@electronic7979 5 жыл бұрын
Very good 👍
@sdlion7287
@sdlion7287 5 жыл бұрын
It's seems that both analog and digital versions are equivalent on the final result. The reason the digital could control better the LED light bulbs is just that it can go further down on the turn on signal interval? (that LED light bulbs are only dimmable with the upper range of net energy delivered, since they need a minimum power to even work). If that's true, then a faster clock on the uC could work even better?
@sensiblewheels
@sensiblewheels 5 жыл бұрын
I need to know as well!
@mohamedosama597
@mohamedosama597 5 жыл бұрын
Hey i want learn about transistor working .Because I will not check transistor output wave like ac or dc.
@_BlackSpectrum
@_BlackSpectrum 5 жыл бұрын
I had an LED and old fan regulator I connected both of them in series , it dimmed quite well but at lowest setting of my fan regulator it flickered too much and last two setting had almost same brightness and regulated five levels.
@VoidHalo
@VoidHalo 5 жыл бұрын
A lot of speed regulators will use half wave rectification for the half speed setting. It only lets the positive side of the AC wave through while blocking the negative side. The result is the fan or bulb only gets half the power, but the 60/50hz frequency is also cut in half, or if you use it to dim the light, the light will flicker at 30/25hz instead of 60/50. You can flatten out the wave form by putting a few hundred uF of capacitors on it to act as a filter. I can't speak for ones with multiple speed settings, though. You can see an interactive demo of this on www.falstad.com/circuit/e-rectify.html
@ЕвграфЕвлампиевич
@ЕвграфЕвлампиевич 5 жыл бұрын
Hello man, great video! Can you, please tell me what solder you use and at what temperature. Thanks in advance!
@electronique_et_creation
@electronique_et_creation 5 жыл бұрын
Great video, thank you.
@akhurash
@akhurash 5 жыл бұрын
I tried a dimmer with an dimable LED light but my bulb goes bad after few months of use... Maybe I should try a different dimmer. Very cool project.
@pieceofpotato7883
@pieceofpotato7883 5 жыл бұрын
wtf this video was uploaded 10 min ago but ur comment were 2 days ago
@pion10
@pion10 5 жыл бұрын
Patreon
@akhurash
@akhurash 5 жыл бұрын
@@Basement-Science I use the same LED bulbs on a different room with just a on/off switch and they have been working well over a year. I'm thinking I don't really need this dimmer and just switching it for a standard on/off switch.
@rahulmaurya9762
@rahulmaurya9762 5 жыл бұрын
I think the snubber circuit would help the flickering problem
@NaudioElectronics
@NaudioElectronics 5 жыл бұрын
Take off the ground plane around the mains tracks and add some cutouts.
Solid State Relay || DIY or Buy
10:21
GreatScott!
Рет қаралды 1,3 МЛН
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
How to make a Softstarter and why it is sometimes mandatory to use!
10:31
Every Home needs this Upgrade! (Night-Time Stairs)
13:03
GreatScott!
Рет қаралды 460 М.
After Starship explosion SpaceX works on GIANT secret!
20:35
What about it!?
Рет қаралды 63 М.
TRIAC AC Dimmer Circuit - How to dim AC Power for Motors and More
11:00
AC Dimmer Circuit Using Phase Angle Control
8:03
element14 presents
Рет қаралды 14 М.
Function/Waveform Generator || DIY or Buy
11:01
GreatScott!
Рет қаралды 395 М.
The Tragic Decline Of Firefox...What Happened?
12:34
Logically Answered
Рет қаралды 180 М.
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН