How to Setup and Program ESP32 Microcontroller- Complete Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ค. 2024
  • Let’s learn how to Setup and Program ESP32 Microcontroller using Arduino IDE. We’ll connect ESP32 Dev Kit with computer using USB cable. And then install ESP32 board support in Arduino software. This will let us select ESP32 WROOM Microcontroller in Arduino IDE. Finally, we’ll upload Arduino program to blink LED. The ESP32 board has built-in LED connected to IO2 Pin.
    [SUPPORT]
    ►► Try the world's most trusted PCB design software, Altium Designer with 365, for free and 25% off your purchase: www.altium.com/yt/binaryupdates
    ►► Free search engine for the best quality components from Octopart: octopart.com/
    [RESOURCES]
    ►► Need Help? To Learn Embedded Systems: courses.binaryupdates.com
    ►► Software Packages: dl.espressif.com/dl/package_e...
    ►► Install ESP32 Boards: raw.githubusercontent.com/esp...
    [TIMESTAMPS]
    00:00 Introduction
    00:20 ESP-32 Introduction
    00:40 Connect ESP32 Module
    01:30 Add support of ESP32 Boards
    03:14 Install ESP32 Board in Arduino
    05.16 Program and Upload Code
    05:49 LED Blinking of ESP32 Module
    06:55 Change delay of LED blink
    07:52 outro
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @Lilith_212
    @Lilith_212 11 หลายเดือนก่อน +4

    Thank you so much you absolutely saved my grade! I could not get my ESP32 to connect no matter what I tried and this was the only video that went in depth enough to help me solve the problem.

    • @BINARYUPDATES
      @BINARYUPDATES  11 หลายเดือนก่อน +2

      Hi Lena, I'm glad to know finally you can program your ESP32 Development Board. I'll be posting more videos about ESP32 programming and projects. Thanks for your wonderful words. Good luck and best wishes!

  • @jwmcneelyIII
    @jwmcneelyIII 5 หลายเดือนก่อน +5

    This is very helpful. It sure would be nice if you would copy those urls and paste them into the description so we could copy and paste them instead of trying to read them in the video stream. The resolution is not so great.

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

    Thank you very much for this tutorial !

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

      Hi Aamed, Glad it was helpful!
      Hope I'll get time this year to make more videos on ESP32 Microcontroller programming. Wish you good luck and best wishes!

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

    Super. Explained from scratch. Thanks.😊

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

    Thanks bro !! So much for this vedio.

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

    Thanks for the tutorial. Was wondering if you have a video having an input pin configured and an output as well. Like for an example, if you press a button, LED will turn on.

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

      I'll surely making Switch as an input and LED as an output. So that LED will be controlled from button switch connected to ESP8266 NodeMCU. Thanks for suggestions!

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

      @@BINARYUPDATES thank you for noticing my comment. Looking forward to your video..

  • @aryanreddybanda3030
    @aryanreddybanda3030 7 หลายเดือนก่อน

    bro I can't find the the second url link anywhere

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

    I really like your video, thank you so much, I will check your others videos! :)

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

      Hi Maria, Glad you like them
      Best wishes!

  • @baresaint
    @baresaint 12 วันที่ผ่านมา

    So good! Thanks. You helped me a lot.

    • @BINARYUPDATES
      @BINARYUPDATES  11 วันที่ผ่านมา

      Hi Baresaint, Glad to hear it!

  • @iCore7Gaming
    @iCore7Gaming 3 หลายเดือนก่อน +1

    good one, but you missed a huge part about installing the driver for the USB chip. only took me 10 mins to fix that but all good.

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

    Thanks brother. it helped me a lot. ♥♥

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

      Glad to hear that this ESP32 Programming lesson was useful to you. Best wishes!

  • @Shash_Lyricals-zx3ki
    @Shash_Lyricals-zx3ki หลายเดือนก่อน

    bro mine esp32 board is of type ch9102x driver, it's not showing port in the arduino ide...please help me out

  • @nickmosca3346
    @nickmosca3346 7 หลายเดือนก่อน +7

    It does not show my port I have just purchased a new esp32

    • @BINARYUPDATES
      @BINARYUPDATES  7 หลายเดือนก่อน +7

      Hi Nick, please check drivers are installed properly. Usually, ESP32 comes with CP2102 USB driver chips from Silicon labs. Once you install drivers and use quality Micro USB Cable then you'll find COM port number in device manager. Good luck and best wishes!

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

    the voltage out of usb ports are 5v , is it safe to connect esp32 with it ? wouldnt it damage the esp32 ??

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

      Yes, its safe to connect ESP32 board using USB port because its had LDO on the board as a voltage regulator.

  • @qwertywil
    @qwertywil 3 หลายเดือนก่อน

    3:34
    I have problems failing to install the esp32 board manager, is there alternative methods to install esp32 manager?

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

      have you solved the problem?
      i am facing the same issue

  • @Halal_broh
    @Halal_broh วันที่ผ่านมา

    this program is alread head into its example its a not complete video as per caption mentioned, i want to know that how i can upload my own program in Aruduino????????????

  • @cgyh68748
    @cgyh68748 3 หลายเดือนก่อน

    helped me

    • @BINARYUPDATES
      @BINARYUPDATES  3 หลายเดือนก่อน

      I'm glad you find this ESP32 tutorial useful. Thank you!

  • @Trippytimo
    @Trippytimo 5 หลายเดือนก่อน +1

    hey whats that white board with holes called? Please answer

    • @smxrcm1079
      @smxrcm1079 5 หลายเดือนก่อน +2

      breadboard

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

    esp32 wroom , error compiling to board . Which board should i select? I selected wroom development

    • @BINARYUPDATES
      @BINARYUPDATES  4 หลายเดือนก่อน

      Hi, Select "ESP32 Dev Module" as a board under Tools section of top menu bar in Arduino IDE. I hope this may help. Best wishes!

  • @Adhil_.Muhammad
    @Adhil_.Muhammad 10 หลายเดือนก่อน +1

    Bro i have issue after uploading there is no light blinking in led application and when serial monitor it is show so many command like spi flas boot like

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

      Hi Adhil, it seems to me your ESP32 Microcontroller is not been programmed properly. May it has some issue with flash. Try to press and hold Flash button for 10 second and again reupload the code and see if it works. I hope you may find this useful. Good luck and best wishes!

    • @Adhil_.Muhammad
      @Adhil_.Muhammad 9 หลายเดือนก่อน

      @@BINARYUPDATES bro that is not issue I solved out when I select board node mcu 32 s instead of esp32 board in board manager

  • @tahayaseen1020
    @tahayaseen1020 5 หลายเดือนก่อน +1

    where is the link to download esep32

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

    i got i working for first time lol.
    i watched other tutorial they are asking to connect resistors(hell of connections to do) and that never worked.
    as beginner, this is straight forward no complicated connections.
    its like my first python code(print("Hello world"))
    Thank you soooo much.

  • @masidurrahaman2296
    @masidurrahaman2296 3 หลายเดือนก่อน +2

    Where is the link??

  • @kanikaadhikari6747
    @kanikaadhikari6747 4 หลายเดือนก่อน

    I am a Mac M1 user. I already installed the boards and port but Please tell me how to install the esp32 driver.
    I face "Failed uploading: uploading error: exit status 2" this issue.
    Please tell me how can I fix this

    • @BINARYUPDATES
      @BINARYUPDATES  4 หลายเดือนก่อน

      Hi Kanika, just search for "download CP2102 drivers for Mac M1". And you'll find download link online. Most of ESP32 board uses CP2102 as a USB to TTL converter chip. So installing drivers for this chip will let your device detect by laptop. I'm not frequent user of MAC but I'm sure this may help you. Good luck and best wishes!

    • @kanikaadhikari6747
      @kanikaadhikari6747 4 หลายเดือนก่อน

      @@BINARYUPDATES Thanks sir. Sir another problem i am facing is that the serial monitor is displaying only the special characters. If i want to display a normal comment, its not working. I chane the baund 9600, and try others but still not working.

  • @keerthu374
    @keerthu374 6 หลายเดือนก่อน +1

    Can i do these processor for esp-32 wroom -32D

    • @BINARYUPDATES
      @BINARYUPDATES  6 หลายเดือนก่อน

      Hi Keerthu, yes it will work with ESP32 WROOM 32D module as well.
      Good luck and best wishes!

  • @axriticmusic3473
    @axriticmusic3473 4 หลายเดือนก่อน

    Help me...
    After uploading wifi code in ESP32, it shows symbolic language in monitor settings....
    Help me

    • @BINARYUPDATES
      @BINARYUPDATES  4 หลายเดือนก่อน

      Please make sure the serial baud rate is properly setup in ESP32 code as well as in Serial monitor of Arduino. Also, make sure SSID and password is correctly mentioned in code without any typo mistake. I hope this may help. Good luck and best wishes!

  • @anishstechlab7323
    @anishstechlab7323 6 หลายเดือนก่อน

    sir URL link please?

  • @mulukyushamdi2500
    @mulukyushamdi2500 4 หลายเดือนก่อน

    Hello im just programing my esp32 but always says sketch uses 237109 bytes (18%) of program storage space. Maximum is 1310720 bytes. Global variable use 21048 bytes (6%) of dynamic memory, leaving 306632 bytes for local variables. Maximum is 327680, how to fix it

    • @darokahn1025
      @darokahn1025 หลายเดือนก่อน +1

      This is not an error, just info. It's giving you some stats on your code and how much memory it uses on the board.

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

      @@darokahn1025 yeah i just forgot to transfer to my esp LOL.

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

    UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=32,mInterval=0. Problem 😢😢

  • @Harshavardhan15970
    @Harshavardhan15970 9 หลายเดือนก่อน +1

    I think surviving in software engineer is little bit easier than core field 😭 share your thoughts bro

    • @BINARYUPDATES
      @BINARYUPDATES  9 หลายเดือนก่อน +1

      Hi Coolbro, its difficult to say as it depends on person to person. But career is more stable in core especially embedded software, in case if you're working in product base company. This is just my personal opinion. Best wishes!

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

      @@BINARYUPDATES I have 6yrs careergap, I m from ece background, some of the institutes in bangalore claim definetly you will get placed as fresher we provide 100% placements and knowledge is imp than gap, will companies hire careergap candidates if knowledge is good? Share ur honest feedback

  • @SHIVAMG543
    @SHIVAMG543 4 หลายเดือนก่อน

    Please help 😢😢UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=32,mInterval=0

  • @iddddd900
    @iddddd900 11 หลายเดือนก่อน +1

    hello , why there's no port shown ??😢

    • @BINARYUPDATES
      @BINARYUPDATES  11 หลายเดือนก่อน +2

      Its because you need to install drivers for ESP32 Module in your laptop. Also make sure to use quality USB cable while connecting to PC. I've dedicated video to fic driver issue for NodeMCU on my channel which may be useful to resolve this issue. Good luck and best wishes!

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

    My laptop isnt able to detect the board. It is a new esp32.

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

      There is no new COM port showing. Is it the usb cable?

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

      Hi Akarsh, it possible. Try good quality USB cable between your ESP32 board and laptop. Also make sure, drivers are installed properly. I have made separate video on the same. Good luck and best wishes!

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

    i cant select port help me

    • @jeremiaskotchinski2073
      @jeremiaskotchinski2073 25 วันที่ผ่านมา

      There are cables where only the power line is plugged in (Charge only) Are you sure yours is a data cable?

  • @user-cg9qt8lf9i
    @user-cg9qt8lf9i 4 หลายเดือนก่อน

    bro for me it's not showing the port

    • @BINARYUPDATES
      @BINARYUPDATES  3 หลายเดือนก่อน

      Please make sure the cable you're using is quality and support data and power both. Also make sure if drivers are installed properly. I hope this may help. Good luck and best wishes!

  • @anandindnr
    @anandindnr 16 วันที่ผ่านมา

    Hello
    Thanks for the video and it was very helpful
    Three additions from me
    1. Use a good USB cable or the WROOM32 may not get detected
    2. Use the correct USB driver for your board - mine was Silabs CP2102 hence installed the latest universal driver from SILABS site here
    3. I did not require to press the Boot button for making it work in write mode
    Thanks again
    Note - I could not add links to the download as Google for some reason blocks it

    • @BINARYUPDATES
      @BINARYUPDATES  11 วันที่ผ่านมา

      Hi Anand, thank you so much for adding more points. Best wishes!

  • @lgilson91
    @lgilson91 11 หลายเดือนก่อน

    Does this work for all esp32 variants

    • @BINARYUPDATES
      @BINARYUPDATES  11 หลายเดือนก่อน

      Yes, it does work with most ESP32 variants in market
      Best wishes!