How to Upgrade ESP-01 Module Firmware and test AT Commands

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ค. 2024
  • Let’s learn how to upgrade ESP-01 Module Firmware and test AT Commands. We’ll compare both ESP-01 and ESP-01S Module. The process to flash latest firmware uses ESP Programming Adaptor. This is the easiest way to program ESP8266 ESP-01 Module. In the end, we’ll connect ESP-01 module to internet Wi-Fi using AT Commands and serial terminal software.
    [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/
    ►► Learn about Altium 365, the electronics product design platform that unites PCB design, MCAD, data management, and teamwork: www.altium.com/altium-365
    ►► Need Help? To Learn Embedded Systems: courses.binaryupdates.com
    [RESOURCES]
    ►► Downloads: github.com/binaryupdates/esp0...
    [TIMESTAMPS]
    00:00 Introduction
    00:09 Types of ESP-01 Modules
    01:34 ESP Programming Adaptor
    02:28 Programming Mode
    03:36 ESP8266 Flash Downloader
    04:54 Reset after programming
    06:48 Test AT Commands
    08:46 Connect ESP-01 with Wi-Fi
    12:50 Test HTTP Webserver on ESP-01

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

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

    Brilliant. Well presented and just what I was looking for. Thanks!

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

      Hi Csakip, Glad it was helpful!

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

    HARİKA anlatıyorsunuz.Emeklerin için çok teşekkür ederim

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

    Thank you so much! The most clear instructions in the Internet so far. Couldn't flash my ESP, struggled for several days until you helped, now it works

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

      Hi Anis
      Glad it helped!
      Best wishes!

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

      @@BINARYUPDATES Hey, I really need your help. I need to send data from Arduino Uno to ESP-01 through serial monitor. However, in the internet I only found a way to send data from ESP to Arduino, but not in opposite direction. I want to make a telegram bot on ESP. Arduino Uno, in turn, should obtain data from sensors and send them to ESP, that's why I need this connection. Then ESP should process obtained data and send it via telegram to the user. I really, really need this to make somehow, please help. Thanks in advance!

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

      Clear? you gotta be kidding

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

    Thank you Very much Sir
    Your explanation helped alott

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

      Hi Omkar, I'm glad to know this ESP-01 video lesson helped you!
      Good luck and best wishes!

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

    MUCHISIMAS GRACIAS SOS EL MEJOR SOY DE ARGENTINA. ME CANSE DE VER TUTORIALES QUE EXPLICAN A MEDIA. LA VERDAD QUE VOY A RECOMENDAR TU CANAL. YA QUE A PESAR DE ESTAR EN INGLES , SE ENTIENDE Y HACES TODO PASO A PASO. NUEVAMENTE MUCHAS GRACIAS . GENIO

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

    Can you help me know where to learn isp programming, wish to use it for personal home and office area safety devices.

  • @HakkiOgrt
    @HakkiOgrt 9 วันที่ผ่านมา +1

    Thnx , subbed

    • @BINARYUPDATES
      @BINARYUPDATES  9 วันที่ผ่านมา +1

      Hi HakkiOgrt, thanks for the sub!

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

    The ESP-01 has 0.5 MByte flash (= 4MBit, flash IC: 25F04)
    The ESP-01s has 1 MByte flash (=8 MBit, flash IC: 25F08). Some ESP-01 have 1 MByte too.
    There are also ESP-01s with 4MByte flash (=32 MBit, flash IC 25F32).

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

    Broo you is hero. very thanks 💖💖💖💖💖💖

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

      Thank you so much!
      Best wishes!

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

    Looks like I can't use ArduinoIDE to send AT commands, but works well with CoolTerm.
    Awesome video, thanks a ton!

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

      I'm Glad it helped with your ESP-01 WiFi module. Thanks!

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

    Omg, this video it’s so cool, they rescued me.
    Thank you so much

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

      Hi Sebastian
      I'm so glad to know you found ESP-01 Module Firmware video useful
      Good luck and best wishes

  • @-MrDontCare-
    @-MrDontCare- ปีที่แล้ว

    Thank you for this video, worked like a charm.

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

      Hi MrDontCare, you're welcome!
      I'm happy your ESP-01 module is working...Enjoy friend!

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

    Thank you so much

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

      You're most welcome! I hope you've enjoyed this ESP-01 firmware update video. Thanks!

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

      @@BINARYUPDATES if ill done to do this can this esp-01s can connect to my project system to database?

  • @Home-Artisan
    @Home-Artisan ปีที่แล้ว

    Thank you. finally I got it after a couple of days of stretches , take a bow

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

      Hi, I'm happy to know your ESP-01 module is working. I remember feelings when I tried for first time. I'll be publishing more video in future around ESP-01S or ESP8266 Microcontroller.
      Good luck and best wishes!

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

    VERY USEFUL,well presented thank you so much man
    also i upload this firmware using arduino when you upload using arduino after upload make sure to disconnet gpi0 from gnd and reset the esp like in this video and start using at commands
    thanks

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

    this was so helpful, thank you

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

      Glad ESP-01 lesson was helpful for you!
      Thanks

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

    Can we add more then one wifi login details with logic?

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

    It worked for me to send the AT commands, however I'm using a diferent usb adapter it has only the places needed to plug the esp 01 to it, should I use jumpers in every pin instead?

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

      Hi KaraSub, sure you can use jumper wire instead or switch to soldered on ESP-01 module adapter. It will be bit tricky though. Good luck and best wishes!

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

    Thank you for the tutorial :)

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

    Hi! I followed everything correctly but it says failed to connect

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

    HI i wanna configure one esp01 as hotspot and another one as its client through stm32 discovery board with IAR! how can I do that and how could I test the AT COMMANDS ON IAR

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

      Hi Azza
      You can configure one ESP-01 Module as a webserver and communicate STM32 Discovery board as a client via another ESP-01. You can write embedded c program in IAR to communicate ESP-01 and STM32 over Serial UART. I mean by using serial communication you can fire AT commands from ESP-01 to make STM32 as a client. I hope this can help.
      Good luck and best wishes!

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

    Digging through lots info at various forums, I was able to get the esptool to work on my Mac. However all the instructions required me to flash multiple files. Flashing was fine but the ESP01 didn't respond to AT commands properly after flash. Then I found your video and there was only one file to flash. Heck, I have nothing to lose, why not trying...voila, the flashing completed and it responded to AT commands properly. Thanks.

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

      Great, I'm happy to know your ESP-01 is responding to AT commands.
      Thanks and best wishes!

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

    Is the next video (building the web server) available yet? if so, link please. I am terrible navigating through Utube.

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

      Hi Roger, the webserver in station mode running on ESP-01 Module is on the list. it'll be released soon. If its urgent you can use my NodeMCU ESP8266 webserver code (on my channel). And upload in ESP-01 Module and it will work. The program is absolutely same. I hope this will help you quickly otherwise I'm anyways making video in next week. Thanks for your patience

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

    I want to ask, I have 2 esp01 last year I try to connect to wifi can connect, but this year I try to connect and wifi scan can't connect, I use wifi example on arduino ide. Can upgrade firmware can fix this problem?

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

      Hey Wahyu, Yes consider update the firmware on ESP-01 Module. It'll fix issue. Good luck and best wishes!

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

    Bro thank you very much......
    bcz i bought a new ESP-01 and got its basic firmware deleted and i am unable to do anything its just showing error i thought its gone , literally there were very very less video on "ESP- 01" ...
    So thanks for this video
    it literally helped me a lot

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

      Hi Ravi
      Glad I could help with your ESP-01 Module
      Best wishes!

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

    I successfully upgraded the firmware and tested the AT commands.
    Now I'm connecting it to Arduino Uno R3 with this setting:
    vcc - 3.3v
    gnd - ground
    tx - tx(1)
    rx - rx(0) with voltage divider 1k & 2k
    reset - 3.3v (with 10k resistor)
    en(ch_pd) - 3.3v (using the same 10k resistor from reset)
    I upload empty sketch to Arduino and able to execute AT command through Serial Monitor.
    In the future, I'm going to do a project using Arduino and ESP8266(esp-01)
    Should I keep the same wiring configuration?
    Should I cross wire the TX & RX like tx to rx and rx to tx?

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

      Great, I suggest using Software Serial Library and use any pin as Tx, Rx on Arduino Uno R3 to connect with ESP-01 Module. You'll find plenty of online blogs and videos online on this. Good luck and best wishes!

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

    Hii, when i let baudrate 115200 the system cannot ready but system ready when baudrate 9600 can i know why

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

      This means your ESP-01S Module is running ESP-01 firmware which uses 9600 baud rate. In my opinion, you can reflash new firmware or carry on using module with 9600 baud. It doesn't make much difference for application development as long as we don't modify firmware or bootloader in ESP microcontroller. I hope this may help you. Good luck and best wishes!

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

    BRO thanks i tried every thing only u had the gold
    Thanks

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

      Thanks Bro! I'm happy you found this ESP-01 Module video useful. Good luck and best wishes!

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

    my MCU is NodeMCU 1.0 when i tried to flash it said fail to connect... you have some idea about this ?

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

      Hi, please try to use other micro USB cable and make sure the cable will be of good quality which support data transfer as well as power. usually, this happen because of usb cable couldn't not support data as they only means for powering or charging. I hope this may resolve your issue. Good luck and best wishes!

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

    Thanks. Can you please share how to connect this to some of the free app like Magic Home, Smart Life, Cadio etc. ?

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

      Hi Sarathi, thank you so much! I'll be making more video in next month to connect ESP-01 module to different cloud platforms. I think those video series may be interesting for you. Thank you for your input and suggestions. I'll soon create those tutorial lessons. Have a beautiful day!

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

      @@BINARYUPDATES Thanks ! It will great if you please share a video to connect to Smart Life app.

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

    Excellent presentation.

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

      Hi Planker, thanks for watching! I hope it answers most of question related to ESP-01 Module. Have a good day!

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

    Is there any way to update the firmware version? The one on the github is from 2016

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

      This version seems to be lacking of lots of commands, for example AT+CMD? wich should give a list of all AT commands availabe

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

      Hi, if you want to try latest version of ESP-01 firmware then it will be found on official website of Espressif systems. I am not sure if they still update firmware regularly. In my opinion since this ESP-01 module is very old need to check from Espressif. I hope this may help. Thanks and best wishes!

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

    Great video finally abled to flash the firmware and make the at commands run. Still waiting on the webserver video tho, is it out by any chance?

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

      Hi Aditya, I'm happy to know your ESP-01 is working now. I'll be publish webserver on ESP-01 lesson in next few weeks. Sorry for delay, as I was very busy last months. But soon you'll find lot many videos published around programming ESP-01 microcontroller. Thanks for support. Good luck and best wishes!

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

    do you know if this bin can work for esp-07?

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

      Hi Andres, sorry
      I've not yet tried ESP-07

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

      @@BINARYUPDATES well ive tried, and it works by the moment. I havent tried wifi function yet, but blink is estable. Im not shure if it was a firmware or a power supply problem. But thanks, I hope this firmware works, even though is the only one i found compatible with 1MB flash memory.

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

      @@BINARYUPDATES WIFI WORKS!!!! in STA and AP modes!!!! I LOVE U jajaja

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

    i use esp01s with usb adaptador ch340 and this msg
    AT
    ERROR
    why???

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

      Hi Eliasdomingues, please make sure first your ESP-01S is running latest Firmware. If so then confirm baud rate settings. And also test with other modules in case you feel something is unusual. Often, cheaper modules or adaptor may have board defects of missing component or soldering defects etc. but in rare circumstances. I hope this may help you. Good luck and best wishes!

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

    i get this error in the logs when i try to flash the binary on my ESP01
    Exception in thread Thread-1:
    Traceback (most recent call last):
    File "threading.pyo", line 810, in __bootstrap_inner
    File "esp8266_flasher.py", line 19, in run
    File "downloader.pyo", line 54, in __init__
    File "serial\serialwin32.pyo", line 38, in __init__
    File "serial\serialutil.pyo", line 282, in __init__
    File "serial\serialwin32.pyo", line 82, in open
    File "serial\serialwin32.pyo", line 202, in _reconfigurePort
    ValueError: Cannot configure port, some setting was wrong. Original message: WindowsError(31, 'A device attached to the system is not functioning.')
    what am i doing wrong? i am following your directions, please help!

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

      HiNaifjan, Looks like ESP-01 is not getting into programming mode so it failed to upload firmware. Just make sure the sequence to short pins before updating firmware process. Its clear from your input that issue is with programming ESp-01 Module. Also make sure connection is stable during the process. Good luck and best wishes!

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

    Do we have the latest firmware release?

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

      Yes, you can check the GitHub link in the video description. I have provided latest ESP-01 firmware with necessary software to download for this ESP-01 Module tutorial. Wish you good luck and best wishes!

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

    como controlo os pinos de GPIO do esp-01 com os comandos AT?

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

    You are best, i have been searching for so long time what serial terminal to use, what firmware is good and a firmware installer, You explained everything. Thankyou, you're videos are best

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

      Hi Maxim, thank you so much for such a nice words. I'll me making more videos on ESP-01 module programming. I'm planning to covers topics like controlling devices, monitoring sensors, running webserver and MQTT etc. I hope you'd love to watch them in future. Thanks and have a wonderful day!

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

      @@BINARYUPDATES Nice, I look forward to see them. If possible can you cover in some video how to connect esp01 through websockets to something lite grbl or regular Arduino board. Or how to connect to esp-01 from another network if possible. Best regards Maxim

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

      @maximperederii838, sure there will be video coming where I'll connect Arduino to wifi using ESP-01 module. I'll be covering range of topics like HTTP webserver, websocket and MQTT server connection using ESP-01

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

      HOW MUCH DO YOU GET PAID TO FLATTER THIS GUY

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

    why when I enter AT+WEBSERVER=1,80,25 , I get error.?

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

      Hi, I used AT+CIPSERVER command to set the TCP Server and Port on ESP-01 Module. I think you can try that first and then if it create webserver and access then investigate further. Good luck and best wishes!

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

    Can i know how connect esp 01 to wifi

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

      Hi, as shown in this video lesson, use AT commands with ESP-01 firmware. The AT commands will let you connect ESP-01 Module to connect to WiFi router at home. there are command to configure wifi on esp-01. Good luck and best wishes!

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

    it was great.. thank you for detailed step by step guide and sharing the files used... I couldn't find the next part for web app, please help me with share the link...

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

      Hi, thank you so much! I will be making Webserver on ESP-01 Module video in this month. Will update the description and also let you know as it publish. Thanks for your patience. Have a good day!

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

    IF ONLY YOU SPOKE CLEARLY AND SLOWER I COULD FOLLOW YOU

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

    First comment