Control Arduino with WebSockets (wirelessly control RGB-Led) and Johnny-Five

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

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

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

    This is amazingly helpful for a project I am working on. Thank you!

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

    Where is the arduino code?

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

    Hmm... RGB only updates color when pin: red, blue, green values are adjusted manually in code, no response for webpage.. Any idea of common culprits, which might hinder communication between the webpage and the Arduino's response? Several hours and I'm still unable to replicate the results of this vid... any help greatly appreciated.

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

      with websockets you can transmit two way messages. Sending and receiving messages from the server side is same as the client side. So you can use same client side code on the server side to transmit data to client.

  • @sebamacchia
    @sebamacchia 6 лет назад

    i will try this, thanks 4 share, please more arduino+web tutorials

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

    Hi, this is a nice tutorial but i have a issue whit the code, TypeError: Class constructor Board cannot be invoked without 'new', can you help me whit that?

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

      const { Board, Led } = require("johnny-five");
      const board = new Board();
      board.on("ready", () => ... )
      Hope this helps people in the future ;)

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

    Master thank you! Its works 100%