The Arduino and Raspberry Pi are both useful for robotics projects but have some important differences. Read about them and complete the table using the + sign to show if each statement refers to Arduino, Raspberry Pi or both. Fill the other gaps with the - sign.
Arduino. An Arduino is a microcontroller, which is like a simple computer but which runs and loops a single program that you have written on a PC. This program is compiled and downloaded to the microcontroller as machine code. The Arduino is well suited to low-level robot control and has features like analogue-to-digital conversion for connecting analogue sensors. It uses a programming language based on C.
Raspberry Pi. A Raspberry Pi \(RPi\) is just like a normal PC and so is more versatile than an Arduino but lacks features like analogue-to-digital conversion. The RPi runs a Linux operating system \(usually Raspian\). You can connect a keyboard, mouse and monitor to the RPi, along with peripherals like a camera – very useful for robotics. Python is the language that is used with the Raspberry Pi.
| Arduino | Raspberry Pi | Both | |
|---|---|---|---|
| It cannot be used without a proper computer. | |||
| Its usage is dependent on a programming language. | |||
| It can be used to write the program straightaway. | |||
| It can be supplemented with input devices. | |||
| It can be supplemented with additional sensors. |