Programming NodeMCU ESP8266 & ESP32 with Arduino IDE for beginners - Arduino programming 2021

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 มี.ค. 2021
  • In this Arduino programming tutorial, I have explained how to program NodeMCU ESP8266 & ESP32 with Arduino IDE for beginners. I have also discussed how to resolve the error compiling esp8266, esp32 timed out waiting for packet header error during the video.
    I have covered the following topic in this ESP32 Arduino programming tutorial video.
    00:27 Arduino IDE software download and Install
    01:01 Update the ESP8266 and ESP32 Preferences in Arduino IDE
    01:35 Install the ESP8266 and ESP32 board in Arduino IDE
    02:18 How to install libraries in Arduino IDE
    03:58 Programming NodeMCU ESP8266 with Arduino IDE
    06:31 Programming ESP32 with Arduino IDE
    07:56 How to resolve Error compiling ESP8266
    09:40 How to resolve a fatal error occurred failed to connect to esp32 timed out waiting for packet header
    ESP8266 and ESP32 preference URLs:
    dl.espressif.com/dl/package_e..., arduino.esp8266.com/stable/pac...
    Download Code for ESP32 WiFi check
    drive.google.com/file/d/1c6YQ...
    Download Code for NodeMCU ESP8266 WiFi check
    drive.google.com/file/d/1w65K...
    During the video, I have also explained how to check the NodeMCU or ESP32 connected with WiFi or not. Please watch the complete video, as I have covered Arduino IDE download to ESP error check, so after watching this video, you will not face any issue or error while programming the ESP32 or NodeMCU.
    So before making any NodeMCU or ESP32 projects please refer to this video.
    #arduinoprogramming #esp32 #nodemcu
    -------------------------------------------------------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more ESP32 projects: iotcircuithub.com/
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudycell/
    -------------------------------------------------------
    Other useful IoT projects:
    Latest NodeMCU projects playlist:
    • NodeMCU Projects
    Latest ESP32 projects playlist:
    • ESP32 Projects
    ESP32 Smart Home System with Amazon Alexa app & Manual Switches
    • ESP32 Smart Home Syste...
    WiFi Door Lock using ESP32 CAM & Blynk
    • WiFi Door Lock using E...
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @amritsinghmoyal
    @amritsinghmoyal 3 ปีที่แล้ว +1

    Kya bat h sir. Good...bdi jldi bna di video..

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

    Very helpful and clear

  • @casajorigel1046
    @casajorigel1046 3 ปีที่แล้ว +1

    Sir do you have esp32 with SSR TUTORIAL? SO THAT I CAN use it on AC aircon

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

    Which screen recorder your using for your pc please let me know please🙏🙏🙏...

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

    Very helpful. Thank you!

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

      Sukses selalu terima kasih semoga ilmunya berkah pak.. Salam

  • @mohankarunamurthy9739
    @mohankarunamurthy9739 3 ปีที่แล้ว +1

    Thank you sir. Let me check it in the project

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

    I am gonna try for it.

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

    It was a very very useful tutorial 👍👌

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

    For fatal error use pressed boot button for esp32
    Which button should be pressed in esp8266 whether flash or rst?

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

    Excellent;
    big like;

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

    Very nice 👍🏼

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

    Bro it's showing D1 is not declared in the scope but the code is crt

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

    What board to select for esp32 node mcu

  • @ParyasBatch
    @ParyasBatch 3 ปีที่แล้ว +1

    First view and like 🌹🌹🌷🌷🌺🌺

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

    Sir aap plz AUDRINO SKETCH code ke sath "bin" file bhi share Kiya kare

  • @Dr_Khanz
    @Dr_Khanz 3 ปีที่แล้ว +2

    💖❤️❤️

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

    Hi bro, node MCU not connected to my mobile hotspot what's problem

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

    Build Project on ESP8266 only which comes without USB to ttl and voltage regulator. Its very cheap and we can use separate USB to serial converter to program all modules.

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

    Nice one

  • @electronic7979
    @electronic7979 3 ปีที่แล้ว +2

    👍

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

    I have error when compiling :-error compiling for board doit esp32 devkitv1. And the right bottom showed none on port3. Please help.

  • @SE-EXTC-ETAnaghaZalke
    @SE-EXTC-ETAnaghaZalke 6 หลายเดือนก่อน

    "sinricPro.h- no such file or directory" I am getting this type of error. What I do ?

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

    when i add a library showing error,,,,,, request installzip failed with message:2 unknown: library is not vaild: missing header file "adafruit_mqtt_library master.h

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

    Hello sir
    Does these two board supports bluetooth and Wifi?

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

    How to delete esp32 previous programme

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

    Sir it showing only dotted lines sir eventhough my password to wifi is correct sir can you please help me sir

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

    How to use BlynkEsp8266.h library for esp32 dev module board

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

      Blynk has separate library for ESP32

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

    pls can you send me a link for esps board because anytime i put a URL to down
    load the version then it stops i dont know why can you help

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

      Please ensure laptop is connected with Internet.

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

      @@TechStudyCellbut anytime the download starts i use the same wifi network to do research on other site so idont know why

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

    ESP32 NOT AUTOMATICALLY CONNECTED TO WIFI AFTER DISCONNECT , NEED A RESTART TO RECONNECT HOW CAN I SOLVED, KINDLY HELP ME. WAITING FOR YOUR REPLAY

  • @bhimraokamble9931
    @bhimraokamble9931 3 ปีที่แล้ว +1

    Error compiling for board DOIT ESP32 DEVKIT V1
    sketch uses 1331753 bytes(101%) of program storage space. Maximum is 1310720 bytes.
    Global variables use 52492 bytes(16%) of dynamic memory, leaving 275188 bytes for local variables. Maximum is 327680.
    How to clear this type of error

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

      You have to use ESP32 DEVKIT V1 board. Select the proper board (DOIT ESP32 DEVKIT V1) then upload the code.

    • @SantoshKumar-sc6mr
      @SantoshKumar-sc6mr 3 ปีที่แล้ว

      I am also getting this problem sketch too big I have already see select ed right board

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

      Esp 32 and esp 8266 Arduino preferences
      th-cam.com/video/wEE9TSjRBZE/w-d-xo.html

  • @gokulvassanelango699
    @gokulvassanelango699 3 ปีที่แล้ว +1

    I have one doubt .if we use this ESP32 for 365 day throughout without off the hardware

    • @gokulvassanelango699
      @gokulvassanelango699 3 ปีที่แล้ว +1

      If we use 365 days without off the hardware it will work for throughout a year

  • @SantoshKumar-sc6mr
    @SantoshKumar-sc6mr 3 ปีที่แล้ว

    I am going to try this project
    But after doing all thing done when I use your code it shows the error sketch is too big
    Now what to do

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

    for your bluetooth,wifi and manual control automation video the code getting this error as text section exceeds

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

      Please use ESP32 board 1.0.3 version (old version)

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

    A fatal error occurred: Invalid head of packet (0x65)
    A fatal error occurred: Invalid head of packet (0x65)

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

    When compiling I'm Getting error saying port not selected please help

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

    Since error is coming while compulingt

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

      what error? You have to select the board then compile.

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

    I would to chat with you.

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

    Visual Studio Code with PlatformIO is verry better..

  • @sudhirphokne
    @sudhirphokne 3 ปีที่แล้ว +1

    Sketch uses 666682 bytes (50%) of program storage space. Maximum is 1310720 bytes.
    Global variables use 38660 bytes (11%) of dynamic memory, leaving 289020 bytes for local variables. Maximum is 327680 bytes.
    esptool.py v3.0-dev
    Serial port COM3
    Traceback (most recent call last):
    File "esptool.py", line 3682, in
    File "esptool.py", line 3675, in _main
    File "esptool.py", line 3329, in main
    File "esptool.py", line 263, in __init__
    File "site-packages\serial\__init__.py", line 88, in serial_for_url
    File "site-packages\serial\serialwin32.py", line 62, in open
    serial.serialutil.SerialException: could not open port 'COM3': WindowsError(59, 'An unexpected network error occurred.')
    Failed to execute script esptool
    the selected serial port Failed to execute script esptool
    does not exist or your board is not connected
    THIS IS MY ERROR CODE CAN YOU PLEASE HELP?
    THANK YOU

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

      First select the board. Then compile the code. Still if you get same error, then use different board.

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

      Me to getting same error on nodeMCU esp-32s can I get the solution please.or you drop your email here so that i can send you the screenshot.

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

      I have selected correct port and correct board then also I am getting this error