Тёмный

How to add Over-the-Air updates to your MicroPython projects 

Kevin McAleer
Подписаться 31 тыс.
Просмотров 4,3 тыс.
50% 1

How to add Over-the-Air updates to your MicroPython projects, perfect for Raspberry Pi Pico W projects as well as ESP32 boards.
Join this channel to get access to perks:
/ @kevinmcaleer28
💁‍♂️ For more information on SMARS Robots, tutorials and more visit: www.smarsfan.com​
🎖To join the membership at 🥉bronze, 🥈silver or 🥇gold levels, head over to
www.smarsfan.com/membership
Join the list - action.smarsfan.com/join-the-...
☕️ Enjoy this video? Buy me a coffee! www.buymeacoffee.com/kevinmca...
📸 Follow me on Instagram - @kevinmcaleer / kevinmcaleer
🐦 Follow me on Twitter - @kevsmac / kevsmac
🙂📘 Join the Facebook group - Small Robots / smallrobots
👩‍💻 My Code on GitHub: www.github.com/kevinmcaleer
🎵 Music by Epidemic Sounds www.epidemicsound.com/referra...
#ota​ #MicroPython​ #Robotics
00:00 Introduction
00:19 OTA Updates
00:51 Step 1 - Getting the code
01:16 Step 2 - Adding the code to your projects
02:15 Step 3- Setting up Github
03:36 Step 4 - Test OTA works

Развлечения

Опубликовано:

 

3 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@kevinmcaleer28
@kevinmcaleer28 10 месяцев назад
Grab the code for this over on www.kevsrobots.com/blog/micropython-ota.html
@rickrandazzo
@rickrandazzo Месяц назад
ok - new subscriber. I plan to do something like this. I wish you would give a code walk-through. But your code is easy to follow. Thanks.
@mattkojetin8198
@mattkojetin8198 10 месяцев назад
Very useful, thank you!
@tech.valiant
@tech.valiant 10 месяцев назад
Definitely useful, thanks Kevin!
@tiagdvideo
@tiagdvideo 10 месяцев назад
Going to give this a go!
@xanderpixel281
@xanderpixel281 6 месяцев назад
Thank you, Kev.
@samidudigital2753
@samidudigital2753 5 месяцев назад
your videos are so well done , thanks a lot
@datguy2730
@datguy2730 10 месяцев назад
Thanks I was trying to figure out how to do OTA for an ESP32 kit device... Hopefully I can use this technique!
@Mr.FarePlay
@Mr.FarePlay 10 месяцев назад
Perfect ❤ thank you so much. I may need to adjust it to read the file list from the version.json file to fit my need 👍
@anthonyrussano
@anthonyrussano 8 месяцев назад
this is very cool sir, thank you
@zyroxiot9417
@zyroxiot9417 10 месяцев назад
Valeu Kevin, 👍🏼🇧🇷. Thanks Kevin.
@eminentbadge60
@eminentbadge60 10 месяцев назад
This is so coolllllll!!
@99dynasty
@99dynasty 7 месяцев назад
Would writing the OTA functionality directly in C using the Pico SDK be possible and more efficient? Would C make a noticeable difference in compute/power efficiency?
@pierre-yves_baloche
@pierre-yves_baloche 10 месяцев назад
Hi Kevin, Great project as always! I've created a PR to it as you could be using the commit id as the version instead of having to declare it in another file. Looking forward to hearing your thoughts on it 😅
@kevinmcaleer28
@kevinmcaleer28 10 месяцев назад
Oooh I'll check the PR! Thanks for contributing to this, I seriously appreciate it!
@HopWorksET
@HopWorksET 6 месяцев назад
Thank you! This will make updating my deployed projects so much easier to update!! I do have a question though... is there any support for private repositories, where it could use my github token? I noticed another OTA on github that does this, but not nearly as well explained as yours. Thanks for the contribution!
@cparker4486
@cparker4486 10 месяцев назад
What would be the ideal way to schedule this so an always-on device checked on a schedule?
@kevinmcaleer28
@kevinmcaleer28 10 месяцев назад
You could set a variable to the current time at boot, then grab the time in a loop to compare it with the boot time and if an amount of time has elapsed (say 24 hours), then check. Have this in your main event loop
@gumse666
@gumse666 7 месяцев назад
@@kevinmcaleer28 If your app already are connected to WiFi, can this interfere in any way?
@papalevies
@papalevies 10 месяцев назад
How is this OTA? Isn't the device still connected via USB when you run the update script?
@kevinmcaleer28
@kevinmcaleer28 10 месяцев назад
No, the script runs at startup (the main.py) so the code demo’s will connect to Wifi and pull the latest version if required.
@stevegale4215
@stevegale4215 10 месяцев назад
I will give this a go. I notice you hide your SSID and password, I am not suggesting you make it public but for this to be of any use to anyone, surely they would have to find your address and camp outside your house?
@kevinmcaleer28
@kevinmcaleer28 10 месяцев назад
The risk maybe low but the impact would be very high, so I’ll stick to keeping it secret!
@stevegale4215
@stevegale4215 10 месяцев назад
@@kevinmcaleer28 yes I just wanted to make sure I was not missing something, like it could be hacked remotely
Далее
Coding Projects That Got Me a Job in 2 Days
12:55
Просмотров 96 тыс.
Testing out the NEW Raspberry Pi Camera Module 3
9:40
Просмотров 297 тыс.
Как выходим с тройняшками 🙃
00:17
100 million nasib qilsin
00:18
Просмотров 645 тыс.
How to get started with LoRaWan
9:03
Просмотров 14 тыс.
How I Fixed My Parents Forgetfulness
12:48
Просмотров 3,4 тыс.
When Did Raspberry Pi become the villain?
21:54
Просмотров 1,4 млн
Managing files on the Pico with MicroPython
6:05
Просмотров 13 тыс.
До конца😂😂
0:20
Просмотров 2 млн