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

  Рет қаралды 28,824

Programming Electronics Academy

Programming Electronics Academy

Күн бұрын

Пікірлер: 81
@Sikuq
@Sikuq Жыл бұрын
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 Жыл бұрын
Glad it helped!
@OFCIFR
@OFCIFR 6 ай бұрын
The title is not a lie, thank you so much, it's working perfect and needs just two lines of code, I'm mindblown
@programmingelectronics
@programmingelectronics 6 ай бұрын
Great!
@burhanuddinbhiwaniwala618
@burhanuddinbhiwaniwala618 Жыл бұрын
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 Жыл бұрын
Thank you so much 😀 - really appreciate the kind words!
@AntonySimkin
@AntonySimkin 3 ай бұрын
Man! You videos are very well made. Good quality, good narrating, nice content. You deserve more subscribers! No doubt!
@programmingelectronics
@programmingelectronics 3 ай бұрын
Thanks for the kind words!
@leelipinski4667
@leelipinski4667 Жыл бұрын
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 Жыл бұрын
I appreciate the feedback!
@zeeshanafridi798
@zeeshanafridi798 Жыл бұрын
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 Жыл бұрын
Thanks Zeeshan! Nice write up on this article by the way!
@crissproduction
@crissproduction Жыл бұрын
Very informative - as always! Thank you
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks so much!
@fabianlam4992
@fabianlam4992 Жыл бұрын
Clean and clear explanation. Thank you so much!!
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks!
@Mr31Vince
@Mr31Vince Жыл бұрын
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 Жыл бұрын
Thanks for passing this on!
@johneagle4384
@johneagle4384 Жыл бұрын
Super! Thank you. Very interesting and useful at the same time.
@programmingelectronics
@programmingelectronics Жыл бұрын
Glad it was helpful! There is more functionality in that OTAlibrary than I dive into here, but hopefully I covered the basic enough.
@jonathanm9436
@jonathanm9436 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@programmingelectronics - nice to know. Thanks!
@Ahmedhkad
@Ahmedhkad Жыл бұрын
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 Жыл бұрын
Great question!! The limit would be no different then when using a USB cable since the update is happening on flash memory,
@HKGoldenMrA
@HKGoldenMrA Жыл бұрын
ArduinoOTA is super cool. I have a keyboard that can update the key mapping though bluetooth. Is it the same technique?
@programmingelectronics
@programmingelectronics Жыл бұрын
Great question! I'm not sure to be honest.
@mtraven23
@mtraven23 9 ай бұрын
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 .
@SONUKOL1
@SONUKOL1 Жыл бұрын
You explain very simply and easily ota update, can you rebuild it and update ota from internet
@programmingelectronics
@programmingelectronics Жыл бұрын
I'm exploring this right now - hope to have a video with the basics on something like this soon.
@KenRossPhotography
@KenRossPhotography Жыл бұрын
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 Жыл бұрын
That sounds neat! I don't have any videos like that on the channel yet, but thanks for this content idea!
@wali7862
@wali7862 Жыл бұрын
​@@programmingelectronicskindly make one 😊
@MrI8igmac
@MrI8igmac 3 ай бұрын
Im working on a drone build, the hotkey boot is a real pain on my model. Nice video🎉
@programmingelectronics
@programmingelectronics 3 ай бұрын
Thanks for note!
@anyhumble946
@anyhumble946 3 ай бұрын
its cool when we have to program multiple esp boards, multiple time. (may be programming 30 esp based sensor nodes)
@christiane321
@christiane321 Жыл бұрын
That is so COOL!
@programmingelectronics
@programmingelectronics Жыл бұрын
I agree!
@Mr31Vince
@Mr31Vince Жыл бұрын
The computer you are uploading from can also be connected via ethernet rather than wifi to your router.
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks for adding that!
@ernestoambroggio6334
@ernestoambroggio6334 11 ай бұрын
Great job! can it be done without being connected to the same network? i.e authomatic firmware/code update from different places
@tonyhodgson6744
@tonyhodgson6744 9 ай бұрын
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
@melvin-rh2gr
@melvin-rh2gr 11 ай бұрын
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 11 ай бұрын
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 11 ай бұрын
@@programmingelectronics yes both esp32 and laptop is connected to same network
@melvin-rh2gr
@melvin-rh2gr 11 ай бұрын
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 11 ай бұрын
@@melvin-rh2gr Yes, can be done, but requires some additional steps, I'll see if I can make a video about it.
@dan_m320
@dan_m320 Жыл бұрын
Is it possible to upload the code trough internet (from a different network)?
@programmingelectronics
@programmingelectronics Жыл бұрын
Great question! I am curious of the same - if I can find something that looks reasonably approachable I'll post it for sure!
@jrippon
@jrippon Жыл бұрын
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.
@IceCreams62
@IceCreams62 Жыл бұрын
Hi. Why the OTA handle is not on setup ?
@programmingelectronics
@programmingelectronics Жыл бұрын
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 Жыл бұрын
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.
@larsniklassonhede3798
@larsniklassonhede3798 7 ай бұрын
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.
@tonyp4894
@tonyp4894 Жыл бұрын
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 Жыл бұрын
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.
@tonyhodgson6744
@tonyhodgson6744 Жыл бұрын
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 Жыл бұрын
I'll see if I can add one! Thanks for the recommendation!
@TonyHodgson-e9q
@TonyHodgson-e9q Жыл бұрын
Brilliant, thanks, look forward to seeing that. Ive got a sim7600e connected to my esp32....
@ElvinAsadov.
@ElvinAsadov. Жыл бұрын
just perfect no word
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks!
@ngobduong8066
@ngobduong8066 8 ай бұрын
I have some problem while using OTA with ethernet w5500
@sathviksathish1450
@sathviksathish1450 Жыл бұрын
OTA is cool I am working on a project where WiFi network are diff how can i upload the updates via cloud to esp32
@binisol7353
@binisol7353 8 ай бұрын
Great video but What if i was using Wifi Manager?
@James-mv9qx
@James-mv9qx Ай бұрын
Hey mate this is a superb video, straight to it with no fluff, gets a like and sub from me. Just wondering if you have much experience with AWS IoT ? There's a definite gap in videos for that on YT, could tap into a niche there!
@programmingelectronics
@programmingelectronics Ай бұрын
Thanks for the recommendation! I have used AWS for things like running up machine learning models, but have never used there IoT service... Is there a specific AWS IoT feature you are hoping to use?
@durairaj5747
@durairaj5747 Жыл бұрын
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.
@juanperezgarcia9963
@juanperezgarcia9963 Жыл бұрын
Could you do ota updates over different networks through ethernet using arduino giga?
@tharonerussianman
@tharonerussianman 4 ай бұрын
Unfortunately, it gives me an error requesting ipv6 for some reason
@AnotherCG
@AnotherCG Ай бұрын
Works
@skeldon66
@skeldon66 5 ай бұрын
Thanks
@programmingelectronics
@programmingelectronics 5 ай бұрын
I hope it helped!
@Websand64
@Websand64 9 күн бұрын
Why is it not possible when using an Arduino R4
@programmingelectronics
@programmingelectronics 9 күн бұрын
The Arduino R4 does have an ESP32 on board, but it uses a different primary processor and I am not sure the ESP32 OTS library works with it. However, with "Arduino Cloud", you can do OTA with the R4, here are some docs - best of luck! docs.arduino.cc/arduino-cloud/features/ota-getting-started/
@zlackbiro
@zlackbiro 11 ай бұрын
Can we do OTA using GSM module? 😂 That would be savage...
@nidhansudharsan3135
@nidhansudharsan3135 Жыл бұрын
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks for watching!
@sabonimahmenna5920
@sabonimahmenna5920 11 ай бұрын
now you should delete the other video , it cost me another esp32 cause i thaught something was wrong with my first one
@programmingelectronics
@programmingelectronics 11 ай бұрын
Sorry about that!
@norberthartmann5075
@norberthartmann5075 11 ай бұрын
nice stuff - but not stable....
#332 ESP32  OTA tutorial with tricks (incl. OTA debugging)
10:17
Andreas Spiess
Рет қаралды 137 М.
What is an automotive over-the-air update?
3:38
Autovista24
Рет қаралды 9 М.
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 6 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 11 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 15 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 50 МЛН
ESPNOW mix with #ESP32 and #ESP8266
25:37
Programming Electronics Academy
Рет қаралды 42 М.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 349 М.
#228 ESP32 Over the Air (OTA) Updates with ONE LINE are EASY!
23:26
Ralph S Bacon
Рет қаралды 29 М.
Arduino MASTERCLASS | Full Programming Workshop in 90 Minutes!
1:25:31
Programming Electronics Academy
Рет қаралды 2,7 МЛН
BitBastelei #394 - Flashen über WLAN: OTA mit ESP8266/ESP32
15:15
ESP32 OTA via HTTPS
6:10
Luca Dentella
Рет қаралды 55 М.
I never understood why you can't go faster than light - until now!
16:40
FloatHeadPhysics
Рет қаралды 4,6 МЛН
The ESP32 Wake-Up Call: Exploring External Triggers in Deep Sleep Mode (ext1)
26:32
Programming Electronics Academy
Рет қаралды 9 М.
Getting started with ESP32 Deep Sleep
13:36
Programming Electronics Academy
Рет қаралды 11 М.
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 6 МЛН