Comment Re:Why? (Score 1) 29
Why are we running python on microcontrollers, exactly? It's the wrong thing in production, so why is it the right thing for education? Training upcoming engineers to use the right thing for the job is pretty fundamental; running an interpreted language on bare-metal hardware flies in the face of building that intuition.
Today's microcontrollers may be more powerful than you realize. It's not just the 8-bit processors running at 2MHz anymore. An ESP32 is a dual core processor running at 200 or 400MHz. They don't run a high level OS (just FreeRTOS).
And the RPi Zeros are really powerful 32-bit ARM or RISC-V processors running at several hundred MHz as well.
Python is perfectly fine for these processors. And you might think it's overkill, but so what? Most of these tasks are one-offs. Perhaps someone doing a bit of cosplay wants to have some lights on their costume, or drive an LCD. You expect them to contract out someone to do the software which is likely just displaying a bunch of graphics or cycling some LEDs?
Heck, some things in the maker world have become ubiquitous - like a CYD. It stands for "Cheap Yellow Display" because it's a stupidly cheap 2" LCD (in a yellow frame) that can be hooked up to a ESP32 board and with a few libraries you're drawing graphics on it with a total spend of under $10. One off projects.
The high end microcontrollers are pushing out the old 8-bit AVRs and PICs (which mainly hang around for legacy use nowadays), and the RPi Zero ones RP3050 and 2050 processors are pushing down the ceiling of 16-bit and even 32-bit ARM microcontrollers.
Heck, you mourn the day because it's easier to blink an LED with a 3 cent Chinese microcontroller than it is using "traditional" methods (e.g., a 555).