3 ms·
I'd say the difference between Arduino and RPi is far greater than the difference between RPi and vanilla PC. RPi is very much just a computer with couple GPIO
by zokier 11y ago
I'd say the difference between Arduino and RPi is far greater than the difference between RPi and vanilla PC.
RPi is very much just a computer with couple GPIO (general purpose input/output) pins exposed. RPi runs pretty much the same Linux as your PC would. Indeed RPi originally was designed to allow school pupils to have cheap access to Ubuntu and LibreOffice and whatnot, the maker community thing was kinda just a sideproduct of that. This class of devices are commonly called single-board computers.
Arduino on the other hand is designed to run your code on bare metal and typically does not involve operating system of any sort. That means that you got very direct access to the HW, and also that you generally have fairly solid hard realtime guarantees. Arduinos also have orders of magnitude less resources (memory/compute/storage) available than RPi but also consume order(s?) of magnitude less power. I'd call this class devboards.
One relatively important distinction between the two is that RPi class devices can be considered self-hosting in the sense that you can program the devices on the device itself without another computer, whereas Arduino development generally always requires a host computer that programs ("flashes") the device.