3 ms·
Ehh there are lots of cases where I'd rather have a microcontroller than a full OS. The biggest thing going for microcontrollers is that they aren't vulnerable
by dheera 6y ago
Ehh there are lots of cases where I'd rather have a microcontroller than a full OS.
The biggest thing going for microcontrollers is that they aren't vulnerable to file system corruption if you yank the plug on them, making them extremely useful for IoT devices like smart locks / lighting / air quality monitoring / appliances / electronics designed for use in the field where you don't want to sit around figuring out how to ssh in and type "sudo shutdown -h now" instead of just yanking the plug and get on with your day, which you can do safely with a microcontroller.
(Strictly speaking yes you could design an OS for the Pi Zero W that mounts in read-only mode and avoids this problem but it's a headache)
That said the Pi Pico doesn't look attractive to me; I usually use ESP32s for those projects these days.
- floatboth 6y agoIt's not hard to make a read-only OS image and use a full blown Unix for microcontroller tasks. It's actually easy. It's just silly because 1) high power usage, high overhead of everything and 2) lack of real-time guarantees usually.