How to work with a Real Time Operating System and is it any good? (FreeRTOS, ESP32)
Using a real operating system to simplify programming with the Arduino IDE. Is this possible and how? Let’s have a closer look!
Operating systems were invented to simplify our lives. But, because they need a lot of resources, they only run on reasonable computers like the Raspberry Pi or a PC. Right? Wrong. Nowadays, we also get operating systems running on our small MCUs. Particularly interesting in this respect is the ESP32 because it has enough power and memory to accommodate such an additional burden. And the best: It already runs a version of FreeRTOS with all our Arduino sketches, and it is easier than you think. Is this useful?
I am a proud Patreon of @GreatScott!, @ElectroBOOM , @Electronoobs , @EEVblog , and others. No Docker, No Microsoft Teams, Zoom
Links:
FreeRTOS deep dive: https://youtu.be/F321087yYy4
Parallel tasks without RTOS: https://youtu.be/v8KXa5uRavg
ESP32 Dev. Board used for Prototyping: https://s.click.aliexpress.com/e/_ANHrBc
ESP32 Prog: https://s.click.aliexpress.com/e/_AougSs or https://amzn.to/3tjrsL4
Logic Analyzer 16ch (clone) : https://s.click.aliexpress.com/e/_9R3ZMZ
Logic Analyzer 8ch (clone) : https://s.click.aliexpress.com/e/_APm5bP
The links above usually are affiliate links that support the channel (no additional cost for you).
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
My Patreon Page: https://www.patreon.com/AndreasSpiess
Discord: https://discord.gg/JfgDSa8
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission of your purchases to buy new stuff for the channel
My Amazon.com shop: https://www.amazon.com/shop/andreasspiess
For Banggood https://bit.ly/2jAQEf4
For AliExpress: http://bit.ly/2B0yTLL
For Amazon.de: http://amzn.to/2r0ZCYI
For Amazon UK: http://amzn.to/2mxBaJf
For ebay.com: http://ebay.to/2DuYXBp
https://www.facebook.com/profile.php?id=100013947273409
https://twitter.com/spiessa
https://www.instructables.com/member/Andreas%20Spiess/
Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#no#midroll#ads
source
FreeRTOS is pretty awesome. It's particularly great with arduino on esp32 because they already run it so no extra setup needed.
The only disappointment is that outside of some fairly painful looking workarounds you can't get faster than 1000 hz
wifi doesnt "always" work on an esp32…if you get below 70Kb free memory…then wifi screws up..and can crash the esp32.. (ive had major issues getting FABGL running with wifi and vga out..im down to 30Kb!)..even with PSRAM enabled.. if theres not enough main memory wifi will screw up… either not connect.. or crash the esp32
Very nice! Thank you for this video.
just in time, i have to do some homework using freertos in an esp32
Was waiting for something like this .
Thank you
I'm here delirious after my second covid shot, wishing I were more coherent to understand all of this. Thanks, Andreas! A topic I've always wondered about.
You know, the Apollo's LEM had a sophisticated RTOS
great stuff Andreas, thanks a lot. But at 20:41 there was a blocked resource in the spellchecker, it seems 😉 Thanks a lot for diving into such not obvious topics!
Have you used an Arduino String in a FreeRTOS queue structure? Is it safe to do this? I have found with other queues that using a String in a queue structure causes heap fragmentation and hence a memory leak, so I avoid using them in this situation.
Thanks for another great video, Andreas! I have a project which is sitting around for over a year now, which is built on ESP32 and needs to perform several tasks separate from eachother. I got some great ideas on how to accomplish this in a better when than it is managed now.
viagra 25mg price – sildenafil 25mg for sale order viagra 50mg online
purchase ondansetron generic – zofran canada valacyclovir 500mg cheap
order finasteride 5mg without prescription – ciprofloxacin sale cheap ciprofloxacin