The problem with dimming AC LED Light Bulbs || DIY Trailing Edge Dimmer

Поделиться
HTML-код
  • Опубликовано: 8 июн 2019
  • $2 PCB Prototype & 24 Hours Lead Time: jlcpcb.com/
    Previous video: • How to create the BEST...
    AC Light Dimmer DIY or Buy video: • AC Light Dimmer || DIY...
    Support me for more videos: / greatscott
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    EasyEDA project links: bit.ly/2WHUibn
    bit.ly/2WMFM2b
    More project information (schematic, code,.....) on Instructables: www.instructables.com/id/DIY-...
    Parts list (incomplete, see Instructables for more, affiliate links):
    Aliexpress:
    1 x ATtiny85: s.click.aliexpress.com/e/_dSJ...
    1x HI-Link 12V Power Supply: s.click.aliexpress.com/e/_Bfh...
    1x 1206 Resistor kit: s.click.aliexpress.com/e/_dZ3...
    1x 1206 Capacitor kit: s.click.aliexpress.com/e/_Bfg...
    Ebay:
    1 x ATtiny85: rover.ebay.com/rover/1/711-532...
    1x HI-Link 12V Power Supply: rover.ebay.com/rover/1/711-532...
    1x 1206 Resistor kit: rover.ebay.com/rover/1/711-532...
    1x 1206 Capacitor kit: rover.ebay.com/rover/1/711-532...
    In this video we will have a closer look at the electrical challenges AC LED light bulbs offer when it comes to dimming them. That means I will tell you a bit about how they are built and we will also determine the differences between leading edge and trailing edge dimmers. At the end I will then show you how to create a DIY trailing edge dimmer that you can even build at home for cheap. Let's get started!
    Thanks to JLCPCB for sponsoring this video
    Visit jlcpcb.com to get professional PCBs for low prices
    Music:
    2011 Lookalike by Bartlebeats
  • НаукаНаука

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

  • @xuNsh1ne
    @xuNsh1ne 5 лет назад +154

    8:23 Only 2$ plus 20$ shipping

    • @JoaoBarbosa1996
      @JoaoBarbosa1996 5 лет назад +20

      That's on the Fast Shipping option, I think it's UPS or one of those. The cheap china post is like 5€-7€ but you have to wait a month

    • @GRBtutorials
      @GRBtutorials 5 лет назад +4

      Maverick PT Still better to make your own...

    • @JoaoBarbosa1996
      @JoaoBarbosa1996 5 лет назад +19

      @@GRBtutorials For 8€? I doubt that you can achieve the quality at home when compared to JLCPCB. If you can wait, it's the best option by far

    • @GRBtutorials
      @GRBtutorials 5 лет назад +6

      Maverick PT Well, it’s not like I’m going to use them for production. For one or two PCBs, it’s usually cheaper, because you don’t need 10 of them for prototypes, and it’s much faster, which allows you to advance in your project. Not to mention what happens if you screw up... That happened to GreatScott! once, and he gave up on the DIY or Buy!

    • @JoaoBarbosa1996
      @JoaoBarbosa1996 5 лет назад +7

      @@GRBtutorials In that you're correct but I like to have a proper PCB on my final versions of my projects. It brings the overall quality up. Different tools for different ends right? PS: You can order just 5

  • @tobiasfellmann7692
    @tobiasfellmann7692 5 лет назад +70

    You make all this black magic in our daily life understandable. Thanks so much!

  • @MrTrollicus
    @MrTrollicus 5 лет назад +6

    This video's iteration of "and I will see you next time" was the most striking one so far.

  • @art58wong
    @art58wong Год назад +2

    Not many RUclips creators are worth subscribing but you are exceptional. The topics (at least to me) peak my interest and are well plus throughly explained. I always learn something practical.
    Keep inspiring.

  • @BoGifford
    @BoGifford 5 лет назад +6

    Thank you so much for this video, I have been waiting so long for a comprehensive video on this subject. Keep up the great work!

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

    There's absolutely no need to hit that notification bell my friend because I always know that you always upload videos on Sunday...
    Every Sunday evening I open RUclips app and voila there is your video on top of my feed.
    Now I've no connections with electronic/electronics but man I like watching your videos.
    Love from India... Keep up your great work GreatScott

  • @guatagel2454
    @guatagel2454 5 лет назад +18

    The ATTiny dimmer is an interesting project on itself. Thank you!

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

    Another great video Scott. This was an enjoyable watch. Thank you for showing a commercial version and your version.

  • @innovation4u336
    @innovation4u336 5 лет назад +6

    You are great teacher in the world.
    I always wait for your next video.
    Thanks sir.

  • @sang7873
    @sang7873 5 лет назад +23

    8:23 hahaha, when the shipping cost almost ten times than the product, very relatable.

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

      will try to do it at home and see the cost
      also if you order more you will pay same shipping ;)

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

      yes but its comparitvely cheaper than going to china;)

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

    I love that you are acheiving the same thing with a microcontroller and with discrete components. It's really interesting to see how to replicate a seemingly complex project with these discrete components.

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

    Great Scott! Finally a useful ad! Downloading “my measures” right now! Hope it’s half as good and useful as this channel’s content... Thanks for these videos! Very interesting and easily understood tidbits of EE. With plenty of details.

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

    i always wait for his last moment expression " and i wiiiiill seeeee youuu next timmmme " ... your videos are such a help, though a bit advanced to understand.

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

    Thank you for following up with this! Simply incredible!

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

    you go to so much effort in your videos, extremely professional and educational

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

    Thanks again Scott! Its very inspiring for my lab! I'll show this to my students!

  • @l2largo
    @l2largo 5 лет назад +134

    Hey Scott! Can you show us how works a Vacuum Fluorescent Displays? VFD, its a little bit old technology but looks still awesome ;)

    • @greatscottlab
      @greatscottlab  5 лет назад +75

      I can put it on my to do list.

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

      Here you go - ruclips.net/video/clUVEyi_YNM/видео.html

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

      I thought VFD meant Variable Frequency Drive. For 3 phase motors

  • @logicawe
    @logicawe 4 года назад +1

    Great Scott!! Another amazingly entertaining and educational video! Thank you for all the top notch quality content 😊

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

    The video we’ve been waiting for! Thank you!

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

    Beatifully made and informative video, as always!

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

    OH MY GOD! Great video with a nice ending (and I will see you next time), such big information can't get into my brain, they are all useful, thanks!

  • @RabterPlaying
    @RabterPlaying 5 лет назад +74

    Videovorschlag: DIY or BUY:
    Qi Charger (wireless charger)

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

      Would love to see this!!!

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

      Honestly, with the cheap prices of these chargers on eBay, Aliexpress, etc. it wouldn't be worth the hassle to get the windings just right. Not even considering the prices of the individual parts.

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

    After a long time . good to see you again

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

    This is the missing part of my project. Thanks great scott!!!

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

    i always get to learn many things from your channel!!

  • @3DLearningResources
    @3DLearningResources 4 года назад

    Thanks , your videos are always inspiration for me and thats why i need a help in choosing original 18650 vs fake.

  • @uniearesende
    @uniearesende 5 лет назад +18

    "... and i will see you next time!" LOL! gets better every video.

  • @coolfirefelix
    @coolfirefelix 5 лет назад +12

    Thanks GreatScott, I was researching on FL5150 and u made it.

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

      Me too, with ESP8266/32 will be perfect, no more ZC loop to care about

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

      @@youcefasb6293 Rolling average is easy to implement to filter out ZC

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

    Your voice is so calming. Great work, Great scot!

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

    Pretty fantastic job, dude!!! 😃

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

    This video answering my big question of RobotDyn AC dimmer stay flickering when setted up power in 5%. Thanks!

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

    Hi, nice video.
    Used a standard triac to dimm one 5W LED spot, never had issues with hold current.

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

    Das ist gut video, great explanation and illustration.

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

    Lots of things learnt from you sir...

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

    very enlightening as always

  • @johnwhitmore2531
    @johnwhitmore2531 5 лет назад +4

    The final circuit diagram has a connection from between the two N Channel MOSFETs to GND. That connection was not in the initial diagram at about 7:15 into the video. Does that circuit then not connect AC Live through the load to GND and AC Neutral straight to GND. Perhaps GND is not Earth which would imply Earth leakage and thus trip an RCD? I think that's how and RCD trips, if the current going into Live doesn't come out the Neutral it must be leaking to Earth and thus trips.
    I'm sure your circuit is probably correct, but why is it correct? Even if you're only connecting AC Live to the ground reference of your DC Circuit it still seems a bad idea? What am I missing?

    • @Infinion
      @Infinion 8 месяцев назад

      It's outlined in the FL5150 datasheet on how the different configurations work. Mainly, GND is a floating reference for the FL5150 so it can do things like measure voltage drop across the MOSFETS to monitor current limits and siphon energy for itself from the AC line to charge itself with a DC bias to neutral. If neutral wasn't available, they would have to use chassis ground. Neutral is also used as the zero-crossing reference to monitor when to switch. This circuit only switches the hot line. It doesn't do any control with neutral besides monitoring the zero crossing. When Great Scott attached two terminal blocks to connect two neutrals, that is purely for convenience so that he doesn't need to use an in-line crimp connector or solder and heat shrink to connect the load's neutral connection to the neutral coming from a power socket.

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

    your amazing GREATSCOTT👍👌

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

    I built some dimming circuits following the ideas in here, it all works but getting it certified to install in an actual house is a different matter.
    I ended up building a low voltage control module to work with a certified 0-10v dimmer such as Finder 15.11

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

    Great video, thank you for sharing this.

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

    Great video...learnt many things

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

    Great video, thanks for putting together. I like the pens you're using. Do you mind letting us know which ones are in the video? Thanks!

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

    New if only I could purchase a commercial version of the high quality leading edge/trailing edge dimmer you made.

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

    Incredible! JaguarTrials loves you Scott! Keep doing your thing and let us know if you need any Netflix or Hulu accounts for a giveaway to your subscribers!

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

    Very helpful video. I like it 👍

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

    Sir the video is realy nice and
    I realy enjoyed it
    So thanks for entertaning me

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

    I needed this video badly as I was trying this from your previous video ....and one thing I understood that I will stay from mains power

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

      If you're a maker, every maker has to go through a design that when connected to mains power, goes kaboom to become a real maker. It's like the coming of age for us.

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

    Excellent video! Thank you for share.
    I would like to know if you still using the IRF840 on the las PCB with de FL5150?

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

    Stay creative and I will seeeeeeeeeeeeeeeee youuuuuuuuuuu nextttttt time❤️❤️❤️

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

    Very interesting ! Thanks for sharing !

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

    Great video, thank you.

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

    Great Video, as usual Scott is a pro. Can you please tell me why you have 2 series potentiometers on the last design?

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

    Scott is very cool and a bit high voltage as well. 💥💥💥 💟

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

    Wow it's amazing

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

    Amazing skills!

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

    Awesome as always..

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

    Nice lesson
    Thanks for sharing :-)

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

    Interesting video! Will this circuit work as a speed controller for a universal AC/DC motor (such as a Dremel tool)? Thanks.

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

    Very Nice,
    This raise some questions though :
    -Why is there two mosfets and not only one ?
    -Why is the 12V power supply so big and how is it done in the commercial version which appear to be compact ?

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

    Great video as usual!! I was reading the FL5150 data sheet it says it can be controlled by a microprocessor with a logic signal, what exact type of signal would that be because I, couldn't get PWM to work as yet?? And I don't think that is what it means anyway.

  • @freakysuwin
    @freakysuwin 4 года назад +1

    Hey Mr. Scott! why is R5 connected to the DC GND and the Neutral of the AC in the trailing edge circuit?????? Dosn't that pulls AC current to that DC Ground

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

    Hey scott ! I'm watching ur videos. I want power wall and E-skating board PCB which brand will u recommend.

  • @tariqsahi7052
    @tariqsahi7052 5 лет назад +2

    Which type of dimmer is more suitable and power efficient for inductive load such as fans? Also is it possible to drive single phase ac motor as energy saving dc inverter motor?

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

    Great project ! I just ordered the PCBs. Any idea what's the max power could be driven ? I have a 40W LED lamp. It is fine ?

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

    Hi Love your video, and I'm with you on that ( it's just arrived but I can't wait to build it scenario), I've been there myself!
    Anyway I recently made my own dimmer but what I did was recitfy mains, step it down and ,P.W.M.
    Via a 4029 counter ended up with single push button control flipflop direction every alternate button push illumination levels remaining when I remove input, also has a back up battery, BUT BEWARE OF CONTACT BOUNCE use MAXIM'S switch debounce IC.
    Kind regards Warren

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

    Hi Scott very informative tutorial. Can you make a iot alexa dimmer control it will be very interesting and helpful

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

    Hey Scott, what about the power factor? Can we design a dimmer with a circuit correcting the power factor and the distortion of the signal?

  • @Allan-mf1he
    @Allan-mf1he 5 лет назад

    Nice thanks. How about adding up down push button design in you series of dimming AC LED bulbs?

  • @ivantregear3772
    @ivantregear3772 5 лет назад +2

    A video on programming PIC microcontrollers would be awesome, especially as there's so little on RUclips. Thanks!

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

      Hi Ivan. Did you ever visit the JAL Website, see: justanotherlanguage.org/ ?
      I even made an Arduino like board so that you do not need a programmer to program it. See: www.instructables.com/id/JALPIC-One-Development-Board/

  • @pmgodfrey
    @pmgodfrey 5 лет назад +2

    This is why I still use incandescent bulbs. I have over a dozen dimmers in my home controlling upwards of 60 bulbs. Over 40 are in the basement alone on six different switches. I tried numerous brands of LEDs over the years and they all have different cutoff voltages. Some will dim great while others on the circuit go out entirely or are brighter than the others. Back in 2016, I bought over 1,800 60 Watt bulbs which should last over 20 years.

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

      1800 bulbs? HAHAHA!! Awesome! How many do you still have today (march/23)?

    • @pmgodfrey
      @pmgodfrey Год назад +1

      @@talesmaschio -- Probably only down 40 or 50 by now. Still have close to what started with. Was a really stupid idea. Basically I heard they were "gonna ban the bulb" and I freaked out and overbought. ¯\_(ツ)_/¯

    • @talesmaschio
      @talesmaschio Год назад +1

      @@pmgodfrey I don’t see it as a stupid ideia. What impressed me at first was how many you bought at once. Anyway, you made a decision based on info you had at the time. Also, LED lights used to be very high quality, today most manufacturers make cost oriented pieces of crap which main function is to quickly turn into electronic waste. Your incandescent bulbs may consume a bit more energy but they show a much nicer color temperature and impose zero harmonic distortion to the electric grid. So, you’re not that wrong.

    • @pmgodfrey
      @pmgodfrey Год назад +1

      @@talesmaschio -- One of the biggest issues is how well they dim. Since most are built with low cost components, you can't expect much from a switch mode power supply, especially when they have such a wide operating voltage range. So they dim to a certain point and then some go out, others don't. Plus ones I've used in our rentals seem to be of horrible quality. They're they basic ones you find at any Home Depot. Might have just been a bad batch because I have had a few here and there that still work from 10 years ago.

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

    great work

  • @juniorjunior7179
    @juniorjunior7179 4 года назад +1

    Very good Congratulations. I am an electrician and one of the major problems I face when using dimmers with led lamps is when I turn on more than three lamps on the same circuit. For some unknown reason, grouping multiple light bulbs always causes unwanted flicker during dimming. Any ideas on what causes this problem?

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

    Thx GreatScott for guiding us about every electrical experiment
    Your Channel is the best.
    Like this comment if you agree
    peace

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

    When I use filament light bulbs which doesnt have driver just capacitive dropper I always wire a switches to have one with capacitor which dims the bulb. It’s especially useful when you want to make a lamp that just lights like very old bulbs.

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

    Very nice little ic for that use! How exactly does the Mosfet output stage not short to "ground"? The hit terminal would be shorted to ground every time the get turned on, right?

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

    You are a beautiful mind! 🤘🏼
    Is it possible to buy a smart dimmer that can have smart bulbs attached to it that will not cause flicker in let’s say a multi bulb chandelier?

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

    I used to have a homemade dimmable AC LED LIGHT. It consisted of a simple inductor to limit the AC current, then a bridge, cap, and the LEDs themselves. It worked well, although it was a bit bulky. (Would still have it, except that I tripped and dropped it and it broke)

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

    Love your videos.. but all examples show how to REPLACE an existing dimmer.. I can't replace mine.. what's the best way to convert from anti parallel scr to pwm?

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

    High scott tks for your explanation regarding your project. I bought one module SCR voltage regulator from internet and I will try to use it as a dimmer for LED lamp. Is it work or not. Need your help.

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

    Great video. Subscribed.

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

    Thank you, very nice

  • @100nec5
    @100nec5 5 лет назад

    Hi GreatScott! could you give us a link which gloves you use? Thank you and stay creative ;)

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

    Hey GreatScott could you build a analog voltmeter with LEDs? Like an SMD VM-1

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

    hey greatscott can you test if a speaker crossover can make more voltage on the speaker outputs 12 v first begin slowely with 5 v to 12v

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

    Interesting !! as usual . What about inductive loads like an AC FAN ? it would be Humming ?

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

    Thanks! Won't be using JLCPCB though.

  • @rahulvc7791
    @rahulvc7791 5 лет назад +2

    Thanks man

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

    Keep working hard on it

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

    Would these circuits work well with an AC Fan? The only thing I’d probably need to add is a snubber circuit or replace the triac with a snubberless one

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

    the german guy have nice videos. .thank you.

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

    Can you show us the dimming of ventilator motors (of few motor types)? Fits to the current season...

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

    If I'm reading the FL5150 datasheet correctly, it has a built in 5V linear regulator that is used between pin 3 & 4 to select TE vs LE dimming. I wonder if that regulator could power a small microcontroller like an Raspberry Pico? The FL5150 can be controlled with a 0-10V signal, which again I'm assuming we can pull off the VS pin connected to the 17V shunt regulator. All this means we can control this over WiFi

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

    I really appreciate your hard work and dedication to serve your knowledge with rest parts of your country.
    Dear I'm struggling with research of reliable AC dimmers. How can I use these both pcb with esp32 + alexa/Google Assistant? Please reply if you're reading my comment.

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

    Hey scott i just create a drimmer, using two half brige IGBT and a variable duty cicle n555 arrangement, swiching at 5khz.

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

    Very nice . Thanks.

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

    loved it.❤💓🤘

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

    Hi Scott, Just to clarify I would be using your squair boartd with FL5150 chip
    Thanks you kindly Kazem

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

    What software do u use to design and test your circuit boards before you make them?

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

    The capacitors you recommend don't seem to be rated for high voltage. C3 (4uF7) would be subject to upwards of 100V?

  • @gustavs845
    @gustavs845 4 года назад +5

    When you see the GreatScott intro:
    Ah shit, here we go again.

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

    Have you planned an electronics project with a finger print sensor?