How to control LED lights with

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2019
  • I'm a streamer on Twitch and I make Arduino projects and robots. Most of my projects are controlled by Twitch chat.
    This project I take USB powered LED lights and replace the power switch with a digital relay to control the lights via a NodeMcu ESP8266 MCU (Micro Controller). The lights are activated by commands in Twitch chat and Stream Elements notification. There is a brief code description in the video but if you extra questions, there is also a discord / discord
    Catch me live on Wednesday and Sunday nights (9PM EST) / noycebru
    Twitter and Tiktok are @noycebru
    example code for IRC
    github.com/noycebru/Twitch-ch...
    working on switching things to mqtt, node red and pubsub.
    More projects are available on my GitHub
    How to program an ESP8266 for first-time use: www.instructables.com/id/Node...
    Exact NodeMCU ESP8266 is here: www.amazon.com/dp/B01IK9GEQG/...
    Digital relays: www.amazon.com/dp/B06XHJ2PBJ/...
    Jumper wires: www.amazon.com/dp/B01EV70C78/...
    Thank you for watching!
  • ИгрыИгры

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

  • @brobotix8534
    @brobotix8534 4 года назад +3

    Great quick run through. I appreciate all your content and keep pushing yourself.

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

      thank you for all the help!

  • @milespopiela3440
    @milespopiela3440 4 года назад +3

    Hey man, I really appreciate your video. Super easy to follow and I learned something new~

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

      thats awesome to hear, thank you!

  • @irish7931
    @irish7931 4 года назад +8

    I'm still waiting for the inevitability of you building a robot that takes over our society. But in the meantime, these videos are amazing and informative! Love the things you're doing!

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

      hahaha, i promise to make only friendly bots.

  • @Tito31688
    @Tito31688 4 года назад +3

    I love the different things you do with technology. I aspire to be skilled like you

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

      thank you! you got this! i hope your programming is going well

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

    Very nice idea! Thank you

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

    short & simple = noyce 👌

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

      thank you, I try to spare folks the 10 minute intro with techno music, lol

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

    Very cool!

  • @CrazyOldGamerLive
    @CrazyOldGamerLive 3 года назад +1

    I for one welcome our robot overlords.

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

    Thank you for this knowledge. I have future project to do with this kind of execution... but wanting to engage it from RUclips chat (or maybe I can try out with Twitch first). I don't know if I can tweak it from your code... because I need to control 4 dc motors with 4 relay separately. I'm not a programmer or engineer. Wish me luck.

  • @SlyKrooper
    @SlyKrooper 2 года назад +2

    Great video! I was wondering if you know how to get the relay to turn on with just cheers as the way to trigger it. right now ive removed the .nick at the end and am just looking for Cheer100, which does work, but it also means that people can just type cheer100 and it would still go off. is there a way to look for specific emotes like the one used for bits? love the video and keep up the great work!

    • @SlyKrooper
      @SlyKrooper 2 года назад +4

      Just updating this so if anybodys looking for an answer later down the road I hope this helps! instead of changing anything in the actual code, you can just go to streamelements under chat bot and under modules on streamelements website and click chat alerts to be on. once you do that you can modify the chat alerts to show different amounts in chat. once thats done you can change the indexOf to whatever you set the massage to in streamelements and the .nick to streamelements like he has it in the tutorial. Hope this helps someone!

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

    Li-berries!

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

    that is awesome 😍! just what i was looking for!!!! but what if i dont have a wifi and only hard wired. are there also arduino's with wired connection? or do i miss a part?

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

      I'm sure there are ways to. unfortunately I only know how to do it on an esp8266

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

      @@noycebru thnx! ill try through usb and see if that will work!

  • @ChefGeeky
    @ChefGeeky 4 года назад +2

    So I bought a set of RGB wifi strips and I was thinking of connecting them to twitch, a lot of people recommended Lumia Stream but that only works with predetermined lights, do you think something like this could work? (without the arduino par)

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

      that's out of my wheelhouse unfortunately, I havent used RGB wifi strips before. you're going to need a microchip like the esp8266 to act as a controller for the strip and to connect the strip to your twitch chat. you don't have to use arduino, you can use C or C++.

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

      You ever find anything to make this work? I'm in the same kinda boat now. I have my esp8266 and a hundred foot or so of ws2812b LEDs....

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

    hey, is that still working? The video is 3 years old and maybe there are changes in technical aspects. Do you know if it's still the correct way to do this? I wanna give it a try.

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

    I've trying for a couple hours, I made a bot in C# before but with arduino I just can't get it to work, it said it connected but the send message function doesn't seem to work and sometimes it will spam the serial monitor with connecting to channel and then connected and ready to rock repeating seemingly infinitely. would you happen to have any idea what could cause this? do I need to register it on dev.twitch?

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

      no need to register it on twitch.dev. If it keeps connecting and looping your chip might be resetting.

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

      @@noycebru sometimes it does connect normally but then it just does nothing I am working on a dirct copy of the original project code with a sendMessage every time it connects but it doesn't work even if I use the credentials on my working chatbot

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

      I havent tried this with a chatbot account, just my main twitch account. so in the credentials area I have my main account listed twice.

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

      @@noycebru I'll try that and let you know if that works. The code is very similar so I'll try not to be too optimistic haha.
      And thank you so much for the fast responses I really appreciate it a lot.

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

      no problem I hope it works for you soon. ive tested that code recently and i verified it works. there is a link to the noycebru discord in the info panel if you want to chat with a bunch of makers and engineers, too!

  • @Wesley5n1p35
    @Wesley5n1p35 11 месяцев назад

    I heard they switched the API and now these integrations dont work, is that true? Great projects btw

    • @NETBotic
      @NETBotic 4 месяца назад

      The bot will still connect, but doesn't seem to be able to read the chat.

  • @alejopinto997
    @alejopinto997 3 года назад +1

    can you just leave the arduino connected to the pc via USB and skip the wifi module?

    • @noycebru
      @noycebru  3 года назад +1

      sure thing. if you dont need wifi you could probably use something like an arduino pro micro

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

      @@noycebru thank you very much for the reply. I'll inform myself about and maybe come back to give an update :)

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

    so i can connect, i get in my chat "ready to go boss" but i do not seem to be able to get follower of subscriber back from my channel
    i don't understand it correctly i think i am using the streamelements bot now so i did not have to change that. if anyone knows :( i have 1week to finish this and the discord doesnt work anymore :/ )

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

    hi bro
    how to join your discord channel ?