ESP8266 OTA (Over-the-Air) Firmware Updates using AsyncElegantOTA Arduino Library.

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • Get 10 PCBs at just $5 from my favorite PCB manufacturer - www.pcbway.com/
    Project Page: electronicsinn...
    In this video, we are going to see how to enable an OTA Firmware updating feature to the esp8266 module using the asyncElegantOTA Arduino library. also, we will walk through how to add this OTA feature to the existing NodeMCU-esp8266 projects and what are the important things you need to consider while adding this feature to the existing projects.
    What is OTA programming in ESP8266?
    A fantastic feature of any WiFi-enabled microcontroller is the ability to update its firmware wirelessly. This is known as Over-The-Air (OTA) firmware update.
    The ESP8266 OTA programming allows updating/uploading a new program to ESP8266 using Wi-Fi instead of a physical connection of the NodeMCU-ESP8266 to a computer via USB.
    OTA functionality is extremely useful in case of no physical access to the ESP8266 module. It helps to reduce the amount of time spent on updating each ESP module at the time of maintenance. One important feature of OTA is that one central location can send an update to multiple ESPs sharing the same network.
    The only disadvantage is that you have to add an extra code for OTA with every sketch you upload so that you’re able to use OTA in the next update otherwise you can't.
    There are so many ways to enable an OTA Firmware updating feature to the esp8266 module, but I felt this AsyncElegantOTA Arduino library is the simplest way. I will explain to you why this is the simplest way in the next few minutes.
    We will use the AsyncElegantOTA Arduino library to enable an OTA Firmware updating feature to the NodeMCU-esp8266 module.
    First of all, I would like to appreciate and thank Ayush Sharma the author of this library for his brilliant work.
    AsyncElegantOTA provides a beautiful interface to upload Over-the-Air updates to ESP Modules with precise status and progress displayed over UI.
    This Library shows the current upload progress of your OTA and once finished, it will display the status of your OTA. This Version of the Library uses AsyncWebServer. we have to use ".bin" files of firmware while uploading to the esp8266.
    #OTA #ESP8266 #AsysncelegantOTA
    =================================================
    Subscribe to Electronics Innovation
    bit.ly/Electron...
    Visit Electronics Innovation.com for more Tutorials, Tips, Projects, and How It Works videos:
    electronicsinno...
    Follow us on Instagram: / electronicsinnovation
    Like my page on Facebook: / electroniczinnovation
    ~-~~-~~~-~~-~
    Please watch: "I AM IRON MAN | DIY Arc Reactor"
    • how to make iron man a...
    ~-~~-~~~-~~-~

Комментарии • 22

  • @ratbagley
    @ratbagley Год назад +1

    Your audio is echoey. Combine it with your accent, it makes it difficult for me to understand even with headphones. Thanks for the content, I'll try to get through it.

  • @ambroribo6079
    @ambroribo6079 7 месяцев назад

    I am not able to load sketches at the second time. I can upload a simple sketch that works with Alexa just for one time . More on your video I do not understand how you correct this bug. Please explain it better . Thanks

  • @Shin_Geegee
    @Shin_Geegee 5 месяцев назад

    can you use different network? not local network?

  • @nemesx_
    @nemesx_ Год назад

    Ok i will enestaal. Fram arduino dat cam and my prajekt is kampleted

  • @neeldesai3517
    @neeldesai3517 3 года назад +1

    Sir I am trying to build a smart weighing scale in which I want to send the data from my loadcell using Esp32 on my Dynamo db in aws please guide me with the same

  • @NiceEyeballs
    @NiceEyeballs 8 месяцев назад

    Why can't the interface include the necessary lines of code in our new code in the bin file while it updates it firmware so next time the Elegant OTA can be used again

  • @pcmobiletechnicalsolutions8504
    @pcmobiletechnicalsolutions8504 2 года назад

    very slow uploading. and not complete upload stuck on 30%

  • @team69ch0tu9
    @team69ch0tu9 2 года назад

    Hey, can I update 100+ esp8266 devices at the same time ? Sitting in another end of the world

  • @wali7862
    @wali7862 10 месяцев назад

    Can this work when you are not connected to the same wifi network

  • @beavisgood
    @beavisgood Год назад

    Hi friend! Thank you for this video, it's really useful for me.
    Please explain me what difference between AsyncWebServer and WebServer?
    Thank you.

  • @lasercut_lab
    @lasercut_lab 3 года назад

    Good day. I really like your activity. But I cannot open the site where you leave the source files. Can you post them in the telegram channel?

  • @lasercut_lab
    @lasercut_lab 3 года назад

    Good day. I really like your activity. But I cannot open the site where you leave the source files. Can you post them in the telegram channel?

  • @srknyxl
    @srknyxl Год назад

    Can i do this over GSM module?

  • @soniyakhan9707
    @soniyakhan9707 3 года назад

    Kya aap lora communication setup bna sakte ho loca wireless camera Recording without internet or wifi

  • @Mohamm-ed
    @Mohamm-ed 3 года назад

    Thanks very much for sharing. Can I get the sensor data also wireless over the air?

  • @anshulgupta9893
    @anshulgupta9893 3 года назад

    This is great... but where we will mentioned the main programe code????

    • @electronicsinnovation
      @electronicsinnovation  3 года назад

      You can add main code as usual.
      But make sure you have added 3 asyncelegantota lines.

  • @SRFDriver
    @SRFDriver Год назад +1

    Is there a way to update firmware over a cellular network rather than by wifi?

  • @keen2461
    @keen2461 2 года назад

    Very difficult to understand what the person is saying. I don't understand why they (indians) don't bother to try to pronounce English properly.

    • @electronicsinnovation
      @electronicsinnovation  2 года назад +2

      I also don't understand why these English people don't understand simple mathematics, programming, electronics.
      But always see videos made by Indians to learn and complain about our English and pronounciation.
      By the way do you speak Hindi, Telugu???
      Do you even know a single word in these languages.
      You should be happy that we are learning English and try teaching you mathematics, programming, electronics in your language.

    • @sanisivasankar8577
      @sanisivasankar8577 2 года назад

      I think, getting awareness on fundamental is more important. 🤣🤣🤣