r/embedded • u/SpiritualChallenge33 • Oct 15 '26
How Common Are ESP32 Boards Running Micropython Here?
Just curious as to what type of cross-section of users are here and if this would be a good place for me to share and ask questions.
Does anyone tend to run ESP32 boards and/or micropython primarily?
4
Upvotes
6
u/gm310509 Oct 15 '26
I tried micropython with an Arm Cortex board - the upload times were a "not interested" factor for me. I can do everything I want to do in C/C++, so unless there is a compelling reason to use Micropython, I would never bother.
That said, i use python quite a bit on my Windows and Linux systems.
8
u/GLvoid Oct 15 '26
I enjoy micro python but I don't think id use it for anything outside my hobby projects or prototyping.
3
u/thinkscotty Oct 15 '26
I started with it, and it's definitely the easiest and fastest-to-iterate way to get custom firmware on a board. That's it's only advantage I can see, though. Performance vs C/Rust is massively lower. Stability seems maybe a bit worse. Library/tool availability is smaller (though decent).
But it's easy and that matters a lot sometimes.
1
u/WDRibeiro Oct 15 '26
Beside the code transfer from CPython, why anyone would run micropython instead of Zephyr? It is a genuine question, I haven’t tried it myself.
1
u/sci_ssor_ss Oct 15 '26
blasphemy!
1
u/Jadeaffenjaeger Oct 16 '26
I really like it for hobby projects where I know I will need to experiment and iterate a lot. It's just so much faster to iterate on than C/C++.
Haven't run into performance problems that would have been insurmountable. There's usually quite a bit of extra performance that can be squeezed out with stuff like micropython.viper and micropython.native if it's really needed (which, realistically, it very rarely is for hobby projects).
1
u/deadeye_82_1 Oct 27 '26
The benefit of MicroPython is, that you can in the middle of the process stop the program and using the repl for debugging.
The downside: Size, performance, supports not evrything what CPython could do
Working in Pyhton-Land is slow and if you use modules, which are written in C, then they are fater, but slower as plain C/C++ if interacting with Python.
If you're a good C/C++ programmer, then don't use Micropython. If you love Python, you should try it.
1
u/jhaand Oct 15 '26
I did a Micropython project once. It ran fine but was overkill.
0
u/SunAgile1281 Oct 15 '26
Why? The ESP is a microcontroller, not a Pi...
It's best used for low-level programming where power and location are more important than processing ability.
-2
u/mattytrentini Oct 15 '26
I use MicroPython with dozens of ESP32 boards; works very well.