Program NODEMCU Dev Kit using the Arduino IDE - WiFi Web LED's WS2812 - Introduction Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 มี.ค. 2024
  • A quick Intro and Tutorial on how to program the NodeMCU Dev Kit using the Arduino IDE. We will use the WiFi capabilities of the NodeMCU to control a WS2812 RGB PixelStick using a Web Page.
    Address to install the NodeMCU board in the Arduino IDE :
    arduino.esp8266.com/stable/pac...
    PIxelStickBUS NodeMCU Library:
    github.com/Makuna/NeoPixelBus
    Html Color picker: www.w3schools.com/colors/color...
    You can find more information about our tutorials on our website: brainy-bits.com/tutorials
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @hermanhermitz9101
    @hermanhermitz9101 6 ปีที่แล้ว +2

    There are many nodemcu tutorials on TH-cam, but most of them only discuss how to blink an LED without utilizing any of the wifi features. This is the only tutorial that covers just the right materials. In 15 minutes it covers how to connect to an access point, create a web page, and do simple things with the nodemcu that you can later build things on. Thanks Brainy-Bits for this great tutorial.

    • @BrainybitsCanada
      @BrainybitsCanada  6 ปีที่แล้ว

      Always great to hear that the videos are somewhat interesting and useful to others, thanks for the comment and watching!

  • @LONGWIND40
    @LONGWIND40 2 ปีที่แล้ว

    I like being able to type the code in myself. So it was helpful that I was able to screenshot, print, and type out each line. It works perfectly. Now I need to change commands and create an EMDR light bar for my wifes' practice. Thank you for giving more reasons than just WLED to use the 8266.

  • @SingenDrake81
    @SingenDrake81 6 ปีที่แล้ว +1

    You have a clear tutorial method with high quality production - I really hope you get back to ESP8266 tutorials soon.

    • @BrainybitsCanada
      @BrainybitsCanada  6 ปีที่แล้ว

      I will try to think about something cool to make using the ESP8266 in a future tutorial. Thanks for your comment and for watching!

  • @WideVisionMetalFab
    @WideVisionMetalFab 7 ปีที่แล้ว +1

    I haven't looked into these boards yet, so thanks for the introduction!

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว +1

      It's good to know about options, different projects require different things, so the NodeMCU might be something useful. Love the Integrated WiFi of course, will probably start using it more in future tutorials, stay tuned! Thanks for watching!

  • @jxsingvogel
    @jxsingvogel 5 ปีที่แล้ว +1

    This is a great and simple tutorial. Just what I was looking for. Thanks for sharing your knowledge.

    • @BrainybitsCanada
      @BrainybitsCanada  5 ปีที่แล้ว

      Thanks for watching, great to hear it helped, cheers!

  • @702Jnw
    @702Jnw 2 ปีที่แล้ว

    Thank you for the easy to understanding and follow tutorial.

  • @yuchoy1
    @yuchoy1 6 ปีที่แล้ว

    Excellent demo! Great video! Well done! Thanks for sharing :-)

  • @saharazen
    @saharazen 5 ปีที่แล้ว +2

    Very, very helpful, and inspiring. Thanks.

    • @BrainybitsCanada
      @BrainybitsCanada  5 ปีที่แล้ว

      Thanks for your comment and for watching!

  • @barryblack1411
    @barryblack1411 7 ปีที่แล้ว

    Great video Ivan. You made it look pretty easy!

  • @dangerousbrian45
    @dangerousbrian45 6 ปีที่แล้ว +1

    The sketch uploaded ok but in the serial monitor it says WIFI connected and and gives ip address and web server started and just repeats this.
    If I try to connect by putting in the ip address in a browser it says not found.
    Any help would be much appreciated.

  • @donaldklopper
    @donaldklopper 7 ปีที่แล้ว +1

    Nice tutorial... thank you!

  • @thefailingstudent
    @thefailingstudent 6 ปีที่แล้ว

    Thank you for this. I have a nodemcu, cant wait to get it working. sub'd

  • @HoozeBead
    @HoozeBead 7 ปีที่แล้ว

    Subscribed! Thank you for that video. it helped me a lot!

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว

      Always great to hear the videos are helping others! Thanks for the sub and for watching.

  • @somakantamajumder5408
    @somakantamajumder5408 2 ปีที่แล้ว

    Can u audio synchronization programming with this circuit

  • @SatishSharma-ff5ug
    @SatishSharma-ff5ug 6 ปีที่แล้ว

    Thank you very much for such a great video

  • @AwesomeSmiley87
    @AwesomeSmiley87 6 ปีที่แล้ว

    Just a quick question, since I am not so good in HTML coding. How do I display different values in the webbrowser? Is it as simple as:
    client.println(" " + [someValue] + " "); ?

  • @sickvic3909
    @sickvic3909 6 ปีที่แล้ว

    Simple tute for my simple mind :)

  • @trebeisLOL
    @trebeisLOL 7 ปีที่แล้ว

    Would I be able to use the NodeMCU to create a wificontrolled kettle? I would want to use a web page where I can enter a temperature and have the kettle heat up the water untill it reached that temperature using a thermometer. Thanks in advance

  • @pkvs79979
    @pkvs79979 6 ปีที่แล้ว

    SUSCRIBED! Thanks, your tutorial help me a lot :D

  • @clarkso65
    @clarkso65 5 ปีที่แล้ว

    Thanks for the great video!!!

    • @BrainybitsCanada
      @BrainybitsCanada  5 ปีที่แล้ว

      Always great to hear that the video are helping, thanks for watching!

  • @kiranghatge4301
    @kiranghatge4301 2 ปีที่แล้ว

    How can I address based on the led group.... like group one with led 2,6,12,40...... group two 64,22,23

  • @Duncanwg7
    @Duncanwg7 3 ปีที่แล้ว

    What causes the time out error for packet headers, esptool.py?

  • @howiec7021
    @howiec7021 7 ปีที่แล้ว

    Hello, i am having a huge problem to connect to the URL given to me. sometimes it works and sometimes not, it often disconnect and have to reconnect, do u know why ?

  • @deepikaagrawal7976
    @deepikaagrawal7976 6 ปีที่แล้ว

    i need a link for the zip file for this library

  • @mohamedelghazouly6564
    @mohamedelghazouly6564 6 ปีที่แล้ว

    HTML code confused me. Is it possible to put html&css with C code? or we create a web page and then connect it with arduino as certain way!

  • @goofyguy9
    @goofyguy9 7 ปีที่แล้ว +1

    The pictures of the pinouts on your web site show RX as D9. It really confused me that you used pin 2. I changed my code to D9 and it works fine.

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว +2

      Hi, yes the nodemcu pinout is kinda weird when using the Arduino IDE to program it. I should have used the D9 instead of 2 in the code. They will both work but using D9 makes more sense. Thanks for pointing that out, I will use it that way in future tutorials. Thanks for watching!

  • @mba2ceo
    @mba2ceo 6 ปีที่แล้ว

    this is BEST vid :) PLZ show how to get pin inputs

  • @maggireddy5709
    @maggireddy5709 4 ปีที่แล้ว

    hey !!
    how can i stream video ??

  • @angidaniel
    @angidaniel 4 ปีที่แล้ว

    the code uploaded perfectly but the monitor is not showing ip address...what should I do?

  • @divyagowda5530
    @divyagowda5530 6 ปีที่แล้ว

    hi this will not showing port selection options what was the problem I have

  • @marcosantoniooliveiradasil401
    @marcosantoniooliveiradasil401 6 ปีที่แล้ว

    eu não consigo usar o display e o sensor se comunicarem, alguma ajuda?

  • @sunpeter8260
    @sunpeter8260 4 ปีที่แล้ว

    Thank you! I tried to run this on a D1 Mini. The monitor said I should connect to 192.168.1.xx, which I did accordingly; the web browser reported page not found; but I can see the said server page with my mobile, though nothing happened when I touched the buttons. I reset and tried again and the same happened. Was this caused by the D1 Mini and not NodeMCU board? (I used GPIO2 for the connection)

  • @bascelik91
    @bascelik91 7 ปีที่แล้ว

    Is it possible to put all html code in just one line? I guess that browser can renderit.

    • @kishpawar
      @kishpawar 6 ปีที่แล้ว

      you will have to type the new lines like "
      " for the brwoser to differentiate statements. printlnt does the job for yyou

  • @lionconvoy8622
    @lionconvoy8622 7 ปีที่แล้ว

    I have problems with my nodemcu, it cannot connect to wifi . My SSID and password are correct :/

  • @TutocarloCV
    @TutocarloCV 6 ปีที่แล้ว

    nice

  • @mba2ceo
    @mba2ceo 6 ปีที่แล้ว

    please show this in c++ console program

  • @philsaudio6mm
    @philsaudio6mm 5 ปีที่แล้ว

    Searching all the links provided, I can not find the code he is using. Boy or Boy would it be great if he had a link that when clicked the code came up. Instead he points us into the endless pit of Adafruit or Git HUB where I can not find anything that resembles his code.

    • @BrainybitsCanada
      @BrainybitsCanada  5 ปีที่แล้ว

      You can find the information about this tutorial on my website here: www.brainy-bits.com/wifi-projects-using-the-nodemcu-dev-board/ Hope that helps and thank you for watching!

  • @mathewsvapinglounge8810
    @mathewsvapinglounge8810 6 ปีที่แล้ว

    Klasse !! 3 Daumen hoch und abboniert !

  • @olivertrevellyan9789
    @olivertrevellyan9789 5 ปีที่แล้ว

    this is awesome although i would like to be able to control it with an app on my iphone.

    • @cw4608
      @cw4608 3 ปีที่แล้ว

      Oliver Trevellyan maybe Blynk?

  • @vivekparmar1361
    @vivekparmar1361 6 ปีที่แล้ว

    Arduino: 1.8.5 (Windows 10), Board: "Arduino Uno WiFi"
    Build options changed, rebuilding all
    C:\Users\admin\Downloads\SHAREit\Redmi Note 3\file\RFG_2K17_Code\RFG_2K17_Code.ino:12:25: fatal error: ESP8266WiFi.h: No such file or directory
    #include
    ^
    compilation terminated.
    exit status 1
    Error compiling for board Arduino Uno WiFi.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    error so in program compaling how to sloved

  • @RoSi4You
    @RoSi4You 7 ปีที่แล้ว

    Hi, great example!
    The problem is, that I can't connect my MCU to wifi at all... All I have is just dots ....... (and yes, I filled my SSID and password correctly)
    Do you have any idea why please?

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว

      FIrst thing make sure you are connecting to a 2.4GHz wifi router since the esp8266 module only supports that. Next make sure your SSID and Password is written the exact same way (upper and lower case). Next maybe bring the MCU closer to the router to make sure it can get the signal... Let me know how that turns out...

    • @RoSi4You
      @RoSi4You 7 ปีที่แล้ว

      Thank you for your reply.
      I only wish to have 5GHz router, so it's 2.4GHz I am sure. SSID and password I checked 50 times and made sure that it's exactly as it should be (lover - upper case and also tried simpler SSID and password (all lowercase(8 characters long))). I also tried a distance ranging from 10 meters down to few centimeters with no luck. I am coming to conclusion that my MCU might be faulty(?). Everything else works. Blink, even WS2812 LEDs directly (with no Wifi control).

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว

      One thing maybe you can try: Add this in the code
      WiFi.setOutputPower(0);
      WiFi.begin(ssid, password);
      Let me know...

    • @RoSi4You
      @RoSi4You 7 ปีที่แล้ว

      Will try tomorrow (I am at work now) and let you know. Thank You for now :)

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว

      Last thing :) Upload this code to check if it scans WiFi correctly:
      github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiScan/WiFiScan.ino

  • @gruneranfanger6947
    @gruneranfanger6947 7 ปีที่แล้ว

    Good Job. Is the code available?

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว +2

      You can find the code, schematic and more information on most of our Tutorial on our website here: brainy-bits.com/tutorials Thanks for watching btw :)

  • @Darryl.Harris
    @Darryl.Harris 4 ปีที่แล้ว

    much thx. noob here....