Mastering Push Buttons with WLED: A Step-by-Step Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 42

  • @ivangutowski
    @ivangutowski 4 หลายเดือนก่อน +5

    DUDDEEEEE,,, I did not know buttons had default controls, that's incredible, button 1 does exactly what I wanted, thank you sooo much !

    • @mybritishcomputerguy
      @mybritishcomputerguy  3 หลายเดือนก่อน

      My pleasure friend, I'm glad it was able to help you.

  • @Mattdad1959
    @Mattdad1959 4 หลายเดือนก่อน +2

    Just started playing with wled/esp32 and your presentation is the best I’ve come across so far. Liked and subscribed…..and downloaded for future reference…..

    • @mybritishcomputerguy
      @mybritishcomputerguy  4 หลายเดือนก่อน +1

      Many thanks, I appreciate the kind words

    • @Theguyiron
      @Theguyiron 4 หลายเดือนก่อน +1

      Yeah! I did the same liked and subed bc this is soo good

  • @VinceCutting
    @VinceCutting 3 หลายเดือนก่อน +2

    Very cool. Love learning new WLED abilities. Need to get me some buttons and play with this now!

    • @mybritishcomputerguy
      @mybritishcomputerguy  3 หลายเดือนก่อน

      Lol, there is a link to some inexpensive ones in the description, thank for dropping a comment!

  • @tweebs1
    @tweebs1 6 วันที่ผ่านมา

    Light-switch dimmer functionality? I've been trying to use WLED for the control of a single white LED driven with PWM and a MOSFET. Ideally, I'd like two buttons, high and low. Touch the high button (with light off) and the light comes on at 100% brightness, hold the high button and it dims from 100% to 0% in about 3 seconds, depending on when you release the button. Touch the low button (with the light off) and the light comes on at 2% brightness, hold the high button and it increases from 2% to 100% depending on when you release the button. Short press (0.5s) either high or low when the LED is on, toggles it off. Hold either high/low (with light on) and the light will dim/brighten until released. Most dimmer I have work similarly and you have to turn it on full or to the last unknown setting before dimming it, but sometime I don't want 100% first thing in the dark morning. I have a lot of ESP based dimmers running Tasmota but couldn't figure out a way to provide this functionality. I think this might be possible with API commands but haven't figure it out. Using a ESP32 with Touch buttons seems to work well enough, no need for physical buttons. Maybe overkill to use WLED but I use it for all other LED projects. Thanks for the video.

  • @RND-USA
    @RND-USA 2 หลายเดือนก่อน +2

    Fantastic video! Thank you so much for making it and breaking down the code meanings … you saved me from a lot of headaches just now. 😂

  • @Theguyiron
    @Theguyiron 4 หลายเดือนก่อน +1

    Thank u sooo much i have the best idea....

  • @geraldloiacono8538
    @geraldloiacono8538 15 วันที่ผ่านมา +1

    Thanks!

    • @mybritishcomputerguy
      @mybritishcomputerguy  15 วันที่ผ่านมา

      Thank you so much for the superchat, that means a lot.

  • @tsilikasp
    @tsilikasp หลายเดือนก่อน +3

    Fantastic!! Is it possible to control virtually those buttons using a smart switch on the wall?

    • @mybritishcomputerguy
      @mybritishcomputerguy  หลายเดือนก่อน

      That's a really good question, WLED does support remote controls, maybe one could be programmed?

    • @spookyolive
      @spookyolive หลายเดือนก่อน +1

      take a look at home assistant. i think wled was originally made to work with it.

    • @realista182
      @realista182 12 วันที่ผ่านมา

      i think yes if you use "switch" setting instead of button, but i am not sure. because to have 2 or 3 presses with a switch baybe is odd. BUT you can use a smart switch (wifi or zigbee) with which has INCHING setting (off automatically after it is turned on for a specified period), setted for example to go off after 0.5 or 1sec on, it will act like a push button, as magic!
      and you could do a scene (macro) for example in tuya/ewelink where you turn on/off/on/off etc in sequence, to act like double press, or even long press. and that scene if you have alexa/gHome can be seen there, and with voice you can activate it.

  • @HoangAnOfficial80
    @HoangAnOfficial80 3 หลายเดือนก่อน +1

    So Great

  • @clellbritt3434
    @clellbritt3434 4 หลายเดือนก่อน +2

    I've been following Dr. ZZZ for sometime and he has yet to explain this. thanks for going over it. I am looking to create some custom car light effects and wasn't sure how the buttons would work. I do have 1 question: How does the ESP32 handle power on/off? Will I just be frying boards if I had the setup wired to the ignition and not directly to the battery? Great tutorial and explanation.

    • @mybritishcomputerguy
      @mybritishcomputerguy  4 หลายเดือนก่อน

      Sorry it took me a bit to get back to you. As far as your ignition setup is concerned. To be able to hook up a board to your ignition system. You would need a buck convertor to drop the voltage down from whatever your ignition system runs at (typically 12vdc) to 5vdc. That way when you power up the board it doesn't fry.

  • @PYROWORKSTV
    @PYROWORKSTV หลายเดือนก่อน +1

    Is there a way to override the current preset with a different preset as long as the button is pushed?

  • @Xavier_Everwhere
    @Xavier_Everwhere 27 วันที่ผ่านมา +1

    Thanx, I was Searching for this video all along

  • @Wolves_Hero
    @Wolves_Hero หลายเดือนก่อน +2

    I think good idea button 3 level brightness white & other button for RGB thing for bed side lamp 3D printer.
    Bit hard setup make 3 level brightness off > 1 > 2 > 3 > off > 1 > 2 > 3 like my bed side lamp.
    I got crappy bed side lamps with 3 level brightness don't have RGB effects.

  • @Solipsfilm
    @Solipsfilm 3 หลายเดือนก่อน +1

    Awesome, thanks for the video! I want to do something similar with a light switch in my house (6 meters away from the esp32 module) would this method work with a longer cable running to the switch you think?

    • @mybritishcomputerguy
      @mybritishcomputerguy  3 หลายเดือนก่อน

      Thanks, and that's a great question, I've not tried doing a longer run on a switch wire, give it a try with some wire before installing it and give it a try!

  • @Basnak
    @Basnak 3 หลายเดือนก่อน

    hi, nice video, can i have a question how can i afford to control independently 2 segments of led strip with 2 push butons-brightness only what API command write to segment preset?

  • @johnmcclung2101
    @johnmcclung2101 3 หลายเดือนก่อน

    Awesome! Is it possible to program this to do something like a turn signal with an underglow? For example, if I use my left or right turn signals, make just a certain section and color flash with the cars signal. Thank you for the video.

  • @PavelnePavel
    @PavelnePavel 4 หลายเดือนก่อน +1

    Добрый день. Подскажите, пожалуйста, а можно ли создавать условия для пресетов? Например, если нажата кнопка 1, включить один пресет, если кнопка не нажата - включить другой пресет. Спасибо

    • @mybritishcomputerguy
      @mybritishcomputerguy  3 หลายเดือนก่อน

      It is, you just assign a preset as the default option when the controller is powered on.

  • @ExcitingCreations
    @ExcitingCreations 2 หลายเดือนก่อน

    Excellent video and really helpful, keep it up! I have a question. I'd like to use a push button to control some SK6812 for desk backlight. Thanks to this video I can easily use the button to also toggle the leds on/off, I am trying to decide whether to also add a toggle switch that handles power for both the leds and the board. Should I just use a single button and keep the board running 24/7?

    • @mybritishcomputerguy
      @mybritishcomputerguy  23 วันที่ผ่านมา

      I would, that way you could physically disconnect the power from the board

  • @FVA1505
    @FVA1505 2 หลายเดือนก่อน +1

    Hello. I really want to make room lighting. Can I stop the effect? ​​I want to turn on the light and see the effect of rushing fire and play of colors and then I want the whole strip to turn on in one color and light up my room. Maybe you can help me with something, I will be very grateful! Thank you!

    • @RND-USA
      @RND-USA 2 หลายเดือนก่อน

      Did you figure it out yet? I imagine that you would make the effects you want as presets, then make a playlist of the presets. From there, may need to make a new transitions preset (as he does in this video) and use the API code box to make a code based list of your playlists. Also there’s a youtuber who specializes in led flame effects on here. I can’t remember his name but he’ll show up if you search.

    • @mybritishcomputerguy
      @mybritishcomputerguy  23 วันที่ผ่านมา

      You can do this, you can create a playlist of effects in WLED. I kind of cover this in my video that talks about animations on your led matrix. It's pretty straightforward. If I get a chance I will try and do a short How To video for everyone on it sometime soon. Thanks for your question.

  • @Devoidv3
    @Devoidv3 3 หลายเดือนก่อน +1

    Are you familliar with the D1 Mini? I put a button connecting ground and pin 4 but after i assign it in the macro it doesnt do anything (i switch to gpio 4 because 3 didnt do anyhting either, also I have it set as button 1)

    • @mybritishcomputerguy
      @mybritishcomputerguy  3 หลายเดือนก่อน

      What version of WLED are you using? I would try using a different GPIO

  • @AlfredMirabelle
    @AlfredMirabelle 2 หลายเดือนก่อน +1

    Jones Carol Rodriguez Shirley Martin Gary

  • @RumiRukaiya-g8j
    @RumiRukaiya-g8j 2 หลายเดือนก่อน +1

    Moore Dorothy Martinez Jason Robinson Karen

  • @coartneycarroll6666
    @coartneycarroll6666 2 หลายเดือนก่อน +1

    Gonzalez Kenneth Hall Elizabeth Hernandez Dorothy

  • @oo-ns5yw
    @oo-ns5yw 12 วันที่ผ่านมา +1

    Thanks!

    • @mybritishcomputerguy
      @mybritishcomputerguy  12 วันที่ผ่านมา

      Thank you so much for the super chat, that was very kind of you, it couldn't have come at a better time. You rock!