NODEMCU - Getting started with Arduino core 1. GPIO & Network Access

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ค. 2024
  • Node MCU can be best used by installing ARDUINO CORE on to it.Coding can be done with ARDUINO IDE itself.
    Arduino core Boards Manager link :
    arduino.esp8266.com/stable/pac...
    Code examples Download :
    www.alselectro.com/files/NODEM...
    www.alselectro.com/esp8266-nod...
  • แนวปฏิบัติและการใช้ชีวิต

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

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

    This video is clear, concise and easy to follow for the absolute beginner. Thanks for putting in the time and effort. This is what I needed to finally start running the board after weeks of it lying unused because I didn't know what to do with it.

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

    Hi
    Does the board can execute the sketch if it s unplugged form the pc an plugged with a dc adapter ?

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

    Wonderful introduction. In a very simple way you have taught. Thank you.

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

    Thank you so much for your video!! Without it I wouldn't be able to put my master degree project to work!

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

    Is is mandatory to select or write a sketch ?
    Can we just upload the module with a latest Firmware without any sketch ? Is it possible in the Arduino IDE ??
    Please answer..

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

    This is very nice session. On the spot and informative. No irritating background music and cheap animation. Keep producing good contents. Thanks !!

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

    Excellent !!! Sir Neat and Clean everyone can understand keep it up I saw many of video but I couldn't understand well but by watching your video I got

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

    thank you sir for the wonderful introduction of nodeMCU.

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

    sir, thank you very much for the clear explanation. I have a question, what should I do to make the ESP8266 having a static IP address? Thank you very much.

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

    Thanks for your work on this tutorial. Everything worked fine for me except for my typing errors!!!!

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

    Thanks for the info and video.
    Since these boards are usually 3.3 volts I don't think you need the resistor for the LED?

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

    Is there a way to read/write GPIO with code from a PC html file in browser or C++ console program ?

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

    Thank you for your video.
    I typed your code and uploaded to NodeMcu and also witnessed the serial monitor but it can not show the name of nearby SSIDs. Can you help me to solve it?

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

    Very good All the important stuff to see when starting with esp8266.

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

    My Esp8266 is not being recognized by my computer nor does it have any LEDs on. Is my board defective?

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

    Sir, how can I change the transmitting channel and transmitting power of the nodeMCU? Also need tutorial how to set It as AP?

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

    Just getting started with Arduino and ESP8266 12E and found your excellent video (I don't have anyone to help me).
    It was pretty exciting to see my ESP8266 log into my home WiFi, and just thought I'd like to thank you for posting this video.
    Eventually I want to control things through the web-browser, so I will look around to see what you have.
    Anyway, thank-you very much!

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

    When i open up my serial port of arduino and talk to nodemcu using AT command, it doesnt work. But when i upload the arduino program using to arduino and talk to nodemcu using AT command it works. How come? Stuck at this problem.

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

    Thank you Sir for creating such an informative tutorial...your explanations are very clear and easy to understand.

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

    Sir You are just master in embedded and IOT I always follow you like a god.
    Everything is just to the point and perfect!!
    If I ever get a chance to meet you surely I will.

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

    Thanks for your ESP8266. I uploaded to ESP8266, ssid is always "ESP_24B12C", it is'nt correct. why?

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

    allo Sit .Thank you for this tutorial. When the WiFi is now connected what can I use it for. What can I do now. Do you have some examples I can follow
    Regards

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

    Bro i want to connect a hard drive with this esp8266 or esp32 and use them as a server through which i can access my hard drive data wirelessly is that possible in any way??

  • @RameshKumar-iu6fl
    @RameshKumar-iu6fl 6 ปีที่แล้ว

    hello sir, Its really great of your video about 8266 ,keep on updating .........

  • @AJ-ti3du
    @AJ-ti3du 6 ปีที่แล้ว

    I I did the initial blink sketch successfully according to your exact instructions and code with my NodeMCU board, but I could not connect to WiFi Network access with your appropriate code. Please, let me how I can avoid getting this error:
    "ets Jan 8 2013,rst cause:2, boot mode:(1,7)
    ets Jan 8 2013,rst cause:4, boot mode:(1,7)
    wdt reset"
    Thank you for a very professional presentation of your video.

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

    Great video ... I am having some library issues like "class NTPClient' has no member named 'getFormattedDate'; did you mean 'getFormattedTime'?" I am working on a LCD clock with Nodemcu. Please help me out. Thanks

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

    Excelllent video, wish they taught all these in college

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

    Well doing sir thank you for doing these wonderful videos

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

    I'm needing help with connection. the program uploads with no errors but when i open the serial monitor and reset the node, all i get printed is backwards question marks.
    what am i doing wrong?

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

      Check your baud rates for serial monitor. Wrong baud rates will show weird question marks. Hope this helps.

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

    hi sir
    can i use this for RGB LEDS

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

    This video is very informational. Thank you.

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

    Thank you so much for your help!!!

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

    Sir everything works fine but while uploading code it shows "Fatal error"

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

    A good explanation, I actually understood what you were talking about, I wish I'd found this video sooner!

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

    my mcu esp 8266 node can't turn on, the indicator light isn't on, can it be fixed? thnks

  • @spiworkshop9416
    @spiworkshop9416 ปีที่แล้ว

    Great vedio thanks ,how to use AT COMMANDS with NODEMCU

  • @user-ez2ze8dr1n
    @user-ez2ze8dr1n 5 ปีที่แล้ว +1

    When I try to connect to WIfi after a succesful upload of the code, my serial monitor doesn't show anything, what would be the problem? Can someone help me out?

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

      Reset your nodeMcu, it will show up. And also check ur baud rate similar to the one u put in your code.

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

    hi Sir, I follow your video but I found with the problem that error, do you have any workaround for it? thanks in advance
    warning: espcomm_sync failed
    error: espcomm_open failed
    error: espcomm_upload_mem failed
    error: espcomm_upload_mem failed

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

    I want to know about number of analog input pins in NODEMCU. PLEASE HELP

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

      Erv Howe thank you for your kind reply. Do you have any suggestion for taking input from more than two analog sensor?

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

    Just for people's info, CS340 also works in windows 10.

  • @zakirjaufer2951
    @zakirjaufer2951 4 ปีที่แล้ว +1

    For those who got the Leaving... Hard resetting via RTS pin message, try keeping your serial monitor open while uploading the sketch. Hope it works.

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

      i tried doing that nd i am still getting this everytime i upload
      esptool.py v2.7
      Serial port COM3
      Connecting....
      Chip is ESP8266EX
      Features: WiFi
      Crystal is 26MHz
      MAC: ec:fa:bc:a8:3c:e8
      Uploading stub...
      Running stub...
      Stub running...
      Manufacturer: 68
      Device: 4016
      Detected flash size: 4MB
      Hard resetting via RTS pin...
      esptool.py v2.7
      Serial port COM3
      Connecting....
      Chip is ESP8266EX
      Features: WiFi
      Crystal is 26MHz
      MAC: ec:fa:bc:a8:3c:e8
      Uploading stub...
      Running stub...
      Stub running...
      Configuring flash size...
      Auto-detected Flash size: 4MB
      Compressed 261168 bytes to 190754...
      Writing at 0x00000000... (8 %)
      Writing at 0x00004000... (16 %)
      Writing at 0x00008000... (25 %)
      Writing at 0x0000c000... (33 %)
      Writing at 0x00010000... (41 %)
      Writing at 0x00014000... (50 %)
      Writing at 0x00018000... (58 %)
      Writing at 0x0001c000... (66 %)
      Writing at 0x00020000... (75 %)
      Writing at 0x00024000... (83 %)
      Writing at 0x00028000... (91 %)
      Writing at 0x0002c000... (100 %)
      Wrote 261168 bytes (190754 compressed) at 0x00000000 in 17.1 seconds (effective 122.4 kbit/s)...
      Hash of data verified.
      Leaving...
      Hard resetting via RTS pin...

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

      @@ambicatandle2541 Mine also is now doing the same but the circuit still functions properly. Sometimes I'll need to press the reset button but the circuit will work fine

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

    In my location (and this is probably true for many users) there are several access points only marginally within reach, and running WiFi.scanNetworks() twice produces inconsistent results, such that with the code as written the number of SSIDs returned by the first call may not match the number of SSIDs listed after the second.
    This code - which calls WiFi.scanNetworks() only once - produces more consistent results...
    ...
    Serial.print ("Nearby networks found :");
    int n = WiFi.scanNetworks();
    Serial.println(n);
    Serial.println( "List of surrounding Network SSIDs....");
    for (int i = 0; i < n; i++)
    Serial.println(WiFi.SSID(i));
    ...
    It may be that running the code repeatedly reports a different number of SSIDs each time, but at least the displayed number found will be the same as the number of SSIDs listed.

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

    very nice

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

    Leaving.....
    Hard resetting via rts pin
    Why is this showing sir...please reply

    • @yeechia
      @yeechia 4 ปีที่แล้ว +1

      I've got the same problem when I've installed NodeMCU 0.9 at first. Changed it to v1.0 and it fixed the problem. Still shows 'Hard resetting via RTS pin, but the LED is blinking as it should.

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

    sir link copy hota hai magar paste nahi hota hai help me

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

    tnx alot

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

    Very nice expand , subscribe 👍👍👍👍

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

    NodeMCU can take 5V, please refer to datasheet from the vendor, some pointers here.
    hackaday.io/page/2024-esp8266-is-5v-tolerant-after-all
    I have a working design where Nodemcu is reading a TX from Arduino UNO which drives in 5V for LOGIC HIGH without any converters in between