The EASY Guide To Over-The-Air (OTA) Updates With ArduinoOTA

  Переглядів 15,628

Programming Electronics Academy

Programming Electronics Academy

8 місяців тому

🤩 Check out this Free Arduino Course 👇
bit.ly/get_Arduino_skills
**Get the code, transcript, challenges, etc for this lesson on our website**
bit.ly/45mNbFD
Want to learn more? Check out our courses!
bit.ly/45FyhKe
_/\\\\\\\\\\\\\_____\\\\\\\\\\\\\\\_____/\\\\\\\\\___
\/\\\/////////\\\_\___\\\///////////_______/\\\\\\\\\\\\\_
\/\\\_______\/\\\__\/\\\____________/\\\/////////\\\
\/\\\\\\\\\\\\\/___\/\\\\\\\\\\\_____\/\\\_______\/\\\
\/\\\/////////_______\/\\\///////________\/\\\\\\\\\\\\\\\
\/\\\_____________\/\\\______________\/\\\/////////\\\
\/\\\_____________\/\\\______________\/\\\_______\/\\\
\/\\\_____________\/\\\\\\\\\\\\\\\____\/\\\_______\/\\\
\///_______________\///////////////_________\///________\///_
We designed this circuit board for beginners!
Kit-On-A-Shield: amzn.to/3lfWClU
FOLLOW US ELSEWHERE
---------------------------------------------------
Facebook: / programmingelectronics...
Twitter: / progelecacademy
Website: www.programmingelectronics.com/
**About Us:**
This Arduino lesson was created by Programming Electronics Academy. We are an online education company who seeks to help people learn about electronics and programming through the ubiquitous Arduino development board.
**We have no affiliation whatsoever with Arduino LLC, other than we think they are cool.**

КОМЕНТАРІ: 66
@crissproduction
@crissproduction 8 місяців тому
Very informative - as always! Thank you
@programmingelectronics
@programmingelectronics 8 місяців тому
Thanks so much!
@sikuq
@sikuq 8 місяців тому
Excellt step-by-step video. Got me up and running on my Adafruit ESP32 Feather in no time. On my IDE 2.2.2, I don't need to restart the IDE. Thank you so much.
@programmingelectronics
@programmingelectronics 8 місяців тому
Glad it helped!
@fabianlam4992
@fabianlam4992 4 місяці тому
Clean and clear explanation. Thank you so much!!
@programmingelectronics
@programmingelectronics 4 місяці тому
Thanks!
@zeeshanafridi798
@zeeshanafridi798 8 місяців тому
Very well explained! and yea that troublshooting thing you explained is super helpful, I faced it numerous time. Thanks for making it super easy
@programmingelectronics
@programmingelectronics 8 місяців тому
Thanks Zeeshan! Nice write up on this article by the way!
@burhanuddinbhiwaniwala618
@burhanuddinbhiwaniwala618 8 місяців тому
Your contents are very very informative....but I love watching your videos coz u explain it so well nd even your voice Is amazing
@programmingelectronics
@programmingelectronics 8 місяців тому
Thank you so much 😀 - really appreciate the kind words!
@johneagle4384
@johneagle4384 8 місяців тому
Super! Thank you. Very interesting and useful at the same time.
@programmingelectronics
@programmingelectronics 8 місяців тому
Glad it was helpful! There is more functionality in that OTAlibrary than I dive into here, but hopefully I covered the basic enough.
@leelipinski4667
@leelipinski4667 8 місяців тому
Hey man. That was was amazing. I watched the 90 minute basic start up video first and came to this WiFi video as the Arduino copy board I bought is a Arduino WiFi board. So I thought this would be handy as my computer couldn't find any of my ports. Think its just the driver needs updating. Whilst that's updating I'm watching some more videos on my pad. Thanks for sharing 👍
@programmingelectronics
@programmingelectronics 8 місяців тому
I appreciate the feedback!
@christiane321
@christiane321 8 місяців тому
That is so COOL!
@programmingelectronics
@programmingelectronics 8 місяців тому
I agree!
@jrippon
@jrippon 6 місяців тому
Thanks for a great instructional video. I'm wanting to try using OTA on the WeMos D1 mini (ESP8266). I understand the principles are the same but other videos I've watch about it (admittedly all of them several years old) refer to installing Python on the PC. Do you know if this is something that's still required for OTA on the ESP8266? Thanks.
@KenRossPhotography
@KenRossPhotography 6 місяців тому
Thanks! That answered several questions I had 😊 Something else I came upon recently that's not OTA but sort of related; I saw where someone had created a web page with an "install" button to do the initial deployment of the complied binary to a computer-connected ESP32. I thought this was such a great way to make it low friction for non-tech folks to install projects onto a device and I was wondering if you had a video that walked someone through setting up a deployment option like that.
@programmingelectronics
@programmingelectronics 6 місяців тому
That sounds neat! I don't have any videos like that on the channel yet, but thanks for this content idea!
@wali7862
@wali7862 4 місяці тому
​@@programmingelectronicskindly make one 😊
@tonyhodgson6744
@tonyhodgson6744 Місяць тому
Hi, did you ever do a video that done OTA over cellular nedwork. ive got a sim7600e connected to my esp32 and would love an OTA over gprs cheers tony
@ernestoambroggio6334
@ernestoambroggio6334 3 місяці тому
Great job! can it be done without being connected to the same network? i.e authomatic firmware/code update from different places
@jonathanm9436
@jonathanm9436 8 місяців тому
Love your work man. And I really like having your face on the videos now too - you look at least as cool as your voice sounds! 😊😊 This OTA capability is fascinating. I've not used ESP32 yet, but you have piqued my interest so I'll be looking for any reason to replace my go-to Nano platform.
@programmingelectronics
@programmingelectronics 8 місяців тому
Thanks so much for watching! Arduino just came out with a Nano-ESP32 which I have been playing with some - they seem pretty nice so far.
@jonathanm9436
@jonathanm9436 8 місяців тому
@@programmingelectronics - nice to know. Thanks!
@Mr31Vince
@Mr31Vince 4 місяці тому
I use ArduinoOTA all the time with my esp32 projects and it works even better with PlatformIO rather than the Arduino IDE. ArduinoOTA also works in parallel with ESP Now comms, but needs a few tweaks to work correctly.
@programmingelectronics
@programmingelectronics 4 місяці тому
Thanks for passing this on!
@SONUKOL1
@SONUKOL1 8 місяців тому
You explain very simply and easily ota update, can you rebuild it and update ota from internet
@programmingelectronics
@programmingelectronics 8 місяців тому
I'm exploring this right now - hope to have a video with the basics on something like this soon.
@ElvinAsadov.
@ElvinAsadov. 5 місяців тому
just perfect no word
@programmingelectronics
@programmingelectronics 5 місяців тому
Thanks!
@HKGoldenMrA
@HKGoldenMrA 8 місяців тому
ArduinoOTA is super cool. I have a keyboard that can update the key mapping though bluetooth. Is it the same technique?
@programmingelectronics
@programmingelectronics 8 місяців тому
Great question! I'm not sure to be honest.
@mtraven23
@mtraven23 Місяць тому
does it keep that mapping after all power is lost? then at least some part is being flashed, probably not the whole esp32, just a specific partition. Which is what is actually happening here too, the flash is divided into partitions, 2 biggest are identical OTA0 OTA1. the new program is store, entirely on the other partition, before the flash happens..cause breaking connection during a flash is b...a...d.....bad! but your keyboard probably has another set of partitions for the mappings without having to disturb the main program memory .
@Ahmedhkad
@Ahmedhkad 8 місяців тому
All my projects had ardunio Ota, when you used once no usb cable again, but I wounder how many times I can upload codes, is there a limit to overwrite code?
@programmingelectronics
@programmingelectronics 8 місяців тому
Great question!! The limit would be no different then when using a USB cable since the update is happening on flash memory,
@tonyp4894
@tonyp4894 5 місяців тому
Great Tutorial. One Question. I have three ESP32 Cams in different locations. I noticed that the OTA program sets the ip address of the network port. I have tried changing that address, but it would not change the IP address. How can i set the OTA initial code so that it will update to the right camera, and not accidentally erase the code of another camera? Thanks, Tony
@Mr31Vince
@Mr31Vince 4 місяці тому
It's not the OTA that sets the IP address it's your router. The best way around this is to set a fixed IP address for each esp cam in the SetUp section of your Arduino code, then you can upload to each cam separately as required.
@Mr31Vince
@Mr31Vince 4 місяці тому
The computer you are uploading from can also be connected via ethernet rather than wifi to your router.
@programmingelectronics
@programmingelectronics 4 місяці тому
Thanks for adding that!
@mongolpunctro
@mongolpunctro 8 місяців тому
Is it possible to upload the code trough internet (from a different network)?
@programmingelectronics
@programmingelectronics 8 місяців тому
Great question! I am curious of the same - if I can find something that looks reasonably approachable I'll post it for sure!
@binisol7353
@binisol7353 Місяць тому
Great video but What if i was using Wifi Manager?
@IceCreams62
@IceCreams62 8 місяців тому
Hi. Why the OTA handle is not on setup ?
@programmingelectronics
@programmingelectronics 8 місяців тому
Great question! Since setup only runs once, the code that manages the actual OTA process wouldn't be able to run in the loop. At least that is my understanding.
@mr.bianchirider8126
@mr.bianchirider8126 8 місяців тому
I get the same problem of having to restart the Arduino IDE or even restart the PC. The ease of not having to retrieve the MCU a plug it in versus restarting the IDE/PC is incidental. It’s a minor bug and one day, hopefully, an Arduino Guru will fix it.
@sathviksathish1450
@sathviksathish1450 6 місяців тому
OTA is cool I am working on a project where WiFi network are diff how can i upload the updates via cloud to esp32
@larsniklassonhede3798
@larsniklassonhede3798 6 днів тому
In ESP-NOW it's a WiFidisconnect so I belive that is the problem to use OTA here. I don't know how to get around it.
@juanperezgarcia9963
@juanperezgarcia9963 6 місяців тому
Could you do ota updates over different networks through ethernet using arduino giga?
@nidhansudharsan3135
@nidhansudharsan3135 8 місяців тому
@programmingelectronics
@programmingelectronics 8 місяців тому
Thanks for watching!
@ngobduong8066
@ngobduong8066 15 днів тому
I have some problem while using OTA with ethernet w5500
@durairaj5747
@durairaj5747 5 місяців тому
so simple tutorial very useful but one doubt whats that password stuff while uploading the sketch which password should i need to enter in to that? please help me im struc there.
@tonyhodgson6744
@tonyhodgson6744 5 місяців тому
Hi, Got this working perfectly, thanks. now i need it to work over cellular network (4g). can anyone guide me to such a good guide as this one... cheers
@programmingelectronics
@programmingelectronics 5 місяців тому
I'll see if I can add one! Thanks for the recommendation!
@user-qd6cc3km3l
@user-qd6cc3km3l 5 місяців тому
Brilliant, thanks, look forward to seeing that. Ive got a sim7600e connected to my esp32....
@melvin-rh2gr
@melvin-rh2gr 4 місяці тому
Hi i am using ESP wroom 32 to test OTA technology. So i have uploaded the code, since i don't have any other battery source, i am powering up esp board with another laptop source but in my laptop it is not showing network port. What could be the problem??
@programmingelectronics
@programmingelectronics 4 місяці тому
Just to verify, both esp32 and the computer are connected to the same WiFI network? Can you verify that your ESP32 has connected (ie. are you printing out to your serial monitor that it has connected to the local WiFi?)
@melvin-rh2gr
@melvin-rh2gr 4 місяці тому
@@programmingelectronics yes both esp32 and laptop is connected to same network
@melvin-rh2gr
@melvin-rh2gr 4 місяці тому
This issue is solved. It was problem with the network, i tried connecting with another network. Now if i have to upload the code from distant place, what can be done(i.e. if i am not in the same network range) ?
@programmingelectronics
@programmingelectronics 4 місяці тому
@@melvin-rh2gr Yes, can be done, but requires some additional steps, I'll see if I can make a video about it.
@zlackbiro
@zlackbiro 4 місяці тому
Can we do OTA using GSM module? 😂 That would be savage...
@sabonimahmenna5920
@sabonimahmenna5920 3 місяці тому
now you should delete the other video , it cost me another esp32 cause i thaught something was wrong with my first one
@programmingelectronics
@programmingelectronics 3 місяці тому
Sorry about that!
@norberthartmann5075
@norberthartmann5075 3 місяці тому
nice stuff - but not stable....
#228 ESP32 Over the Air (OTA) Updates with ONE LINE are EASY!
23:26
Ralph S Bacon
Переглядів 27 тис.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Переглядів 195 тис.
Эффект Карбонаро и стеклянные пузыри 
01:01
История одного вокалиста
Переглядів 4,5 млн
Парковка Пошла Не По Плану 😨
00:12
Глеб Рандалайнен
Переглядів 12 млн
What is an automotive over-the-air update?
3:38
Autovista24
Переглядів 7 тис.
#332 ESP32  OTA tutorial with tricks (incl. OTA debugging)
10:17
Andreas Spiess
Переглядів 130 тис.
Over-The-Air (OTA) firmware update for the nRF91
14:00
Golioth
Переглядів 1,7 тис.
Firmware update over the air - insights and live demo
7:07
Bosch ConnectedWorld
Переглядів 22 тис.
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
Rachel De Barros
Переглядів 350 тис.
How to fix ArduinOTA issues
13:20
Csongor Varga
Переглядів 2,2 тис.
34  firmware update Remotely in esp32 (OTA with mDash)
10:11
void loop Robotech & Automation
Переглядів 4,8 тис.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 502 тис.
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
Zach of All Trades
Переглядів 10 тис.
Эффект Карбонаро и стеклянные пузыри 
01:01
История одного вокалиста
Переглядів 4,5 млн