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

Поділитися
Вставка
  • Опубліковано 3 кві 2021
  • Get 10 PCBs at just $5 from my favorite PCB manufacturer - www.pcbway.com/
    Project Page: electronicsinnovation.com/esp...
    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/ElectronicsInnovation
    Visit Electronics Innovation.com for more Tutorials, Tips, Projects, and How It Works videos:
    electronicsinnovation.com/
    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

  • @Mohamm-ed
    @Mohamm-ed 3 роки тому

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

  • @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

  • @srknyxl
    @srknyxl 11 місяців тому

    Can i do this over GSM module?

  • @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.

  • @Shin_Geegee
    @Shin_Geegee 3 місяці тому

    can you use different network? not local network?

  • @NiceEyeballs
    @NiceEyeballs 6 місяців тому

    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

  • @soniyakhan9707
    @soniyakhan9707 3 роки тому

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

  • @wali7862
    @wali7862 8 місяців тому

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

  • @ambroribo6079
    @ambroribo6079 5 місяців тому

    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

  • @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?

  • @SRFDriver
    @SRFDriver Рік тому +1

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

  • @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.

  • @team69ch0tu9
    @team69ch0tu9 2 роки тому

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

  • @nemesx_
    @nemesx_ 11 місяців тому

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

  • @pcmobiletechnicalsolutions8504
    @pcmobiletechnicalsolutions8504 2 роки тому

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

  • @ratbagley
    @ratbagley 10 місяців тому +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.

  • @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. 🤣🤣🤣

  • @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?