Electronics > Microcontrollers
Quick ESP32 project - Arduino, ESP IDF, Micropython, Tasmota?
tooki:
--- Quote from: Geoff-AU on December 06, 2022, 10:33:29 am ---Arduino is fantastic for doing a simple job very easily.
Arduino (usually) sucks majorly trying to do 3 different jobs on the same microcontroller.
--- End quote ---
So… like basically any MCU?
Anyhow, are you familiar with TaskManagerIO? It’s a nifty little scheduling/event handling library for Arduino that runs on a bunch of board types. On the boards that “natively” run the Arduino libraries atop a RTOS (like ESP32 or RPi Pico), it leverages the underlying RTOS, otherwise it handles it on its own.
james_s:
I've been using Tasmota for a few years now, it's been great. Most of my applications are pretty vanilla but it's written using the Arduino framework and it's modular so it should be fairly easy to modify to suit your needs.
Geoff-AU:
--- Quote from: tooki on December 06, 2022, 06:04:34 pm ---So… like basically any MCU?
--- End quote ---
My point is, the Arduino ecosystem is great right up until you spend a bunch of time fighting with libraries because you've blown your timing budget. That's usually a very complex sketch though, and now that the SAMD21 and ESP32 processors are cheap and fast you can waste a lot of cycles on sinful programming shortcuts and still have enough headroom to be OK. Arduino lets you be lazy, and fast MCUs let you be even lazier.
Haven't seen TaskManagerIO specifically but there are a ton of schedulers out there that do similar jobs.
james_s:
--- Quote from: Geoff-AU on December 06, 2022, 11:45:20 pm ---My point is, the Arduino ecosystem is great right up until you spend a bunch of time fighting with libraries because you've blown your timing budget. That's usually a very complex sketch though, and now that the SAMD21 and ESP32 processors are cheap and fast you can waste a lot of cycles on sinful programming shortcuts and still have enough headroom to be OK. Arduino lets you be lazy, and fast MCUs let you be even lazier.
Haven't seen TaskManagerIO specifically but there are a ton of schedulers out there that do similar jobs.
--- End quote ---
Arduino has plenty of warts for sure, but "x is great right up until you spend a bunch of time fighting with y because you want to do z" can apply to virtually every embedded platform.
Warhawk:
Thank you everyone for follow up discussions. I read it and learn new things. :-+
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version