Raspberry Pi
745 words · 4 min read · 3 sources
The Raspberry Pi is a small, inexpensive computer that runs a full Linux operating system and has a row of pins for wiring to sensors and motors — in robotics it is the brain that sees, thinks and talks to the network.
A Raspberry Pi is a complete computer on one small board. It runs Linux like a desktop machine does, so it can handle cameras, maps and networking — and it has a row of pins along one edge so it can also be wired to robot hardware. What it cannot do is keep perfect time on those pins, because Linux is always deciding which program runs next.
🤯 Raspberry Pi also makes a microcontroller: the RP2350 chip on the Pico 2 lets you choose between two dual-core processors on the same piece of silicon — Arm Cortex-M33 or Hazard3 RISC-V — both running at 150 MHz.
🎯 Quick challenge
You are building a mobile robot that must run camera-based navigation and also hold a set of servos at steady angles. What is the usual arrangement?
The Raspberry Pi is a small, inexpensive computer that runs a full Linux operating system and carries a row of pins along one edge for wiring to sensors and motors. In a robot it plays the part of the brain: the piece that reads a camera, works out where it is, decides what to do next, and talks to the network.
It is a single-board computer — everything a desktop machine has, on one board the size of a playing card.
What makes it a computer rather than a chip
The flagship model, the Raspberry Pi 5, is built on a Broadcom BCM2712: four 64-bit Arm Cortex-A76 cores at 2.4 GHz, with 512 kB of L2 cache per core and 2 MB shared L3, paired with LPDDR4X memory sold in 1, 2, 4, 8 and 16 GB versions. Alongside it sits RP1, Raspberry Pi's own input/output controller, which drives two USB 3.0 ports at full 5 Gbps plus two USB 2.0 ports, Gigabit Ethernet, dual-band Wi-Fi and Bluetooth 5.0.
For robotics the interesting connectors are the standard 40-pin header, two four-lane MIPI transceivers that can each take a camera or a display, and a single-lane PCIe 2.0 interface for fast storage or accelerators through an adapter board. With that much memory and a real operating system you can install ROS 2, OpenCV and Python machine-learning libraries the ordinary way, and write your robot code in Python or C++.
The models worth knowing
| Board | Processor | Clock | Memory | Runs |
|---|---|---|---|---|
| Raspberry Pi 5 | Quad-core Arm Cortex-A76 (BCM2712) | 2.4 GHz | 1–16 GB LPDDR4X | Linux |
| Raspberry Pi Zero 2 W | Quad-core Arm Cortex-A53 (RP3A0) | 1 GHz | 512 MB | Linux |
| Raspberry Pi Pico 2 | Dual Arm Cortex-M33 or dual Hazard3 RISC-V (RP2350) | 150 MHz | 520 kB SRAM, 4 MB flash | A single program, no OS |
The Zero 2 W is the one for small, weight-sensitive robots: the same four-core idea at 1 GHz with 512 MB of memory, on a board 65 mm × 30 mm, with 2.4 GHz Wi-Fi and Bluetooth 4.2. Its 40-pin header footprint ships unpopulated, so either solder it or buy the version with headers already on.
The Pico 2 is in the table for a reason: it is from the same company but it is not a computer. It is a microcontroller, and the contrast is the most useful thing on this page.
What a Pi cannot do
Linux is a general-purpose operating system. It is always choosing which of many processes gets the processor next, which means the exact instant a pin changes state is not guaranteed. For most work that does not matter — a millisecond late is invisible in a navigation loop. It matters enormously when you are generating the pulse train that tells a servo its angle, or timing an echo in microseconds. Those jobs want a chip with nothing else to do, which is what an Arduino or a Pico is: one program, on bare metal, with hardware timers that keep their beat regardless of what the code is doing.
So the standard robot architecture is two brains. The Pi handles vision, maps, planning and networking. A microcontroller sits between it and the motors, taking commands over serial or I2C and turning them into exact signals. Nothing is lost by splitting it that way, and a great deal of twitching is avoided.
Common questions
Can I run a whole robot on a Raspberry Pi alone?
Yes, if nothing on it needs precise timing — a camera robot that drives through a motor controller board, for example. Add servos, encoders or stepper motors and you will want a microcontroller doing that layer.
Which model should a beginner buy for robotics?
A current full-size Pi with at least 4 GB of memory if you intend to run ROS 2 or computer vision, because both are memory-hungry. A Zero 2 W is the better pick when size, weight or power budget rules the design.
Is the Raspberry Pi Pico a small Raspberry Pi?
No. It shares the brand and the toolchain, but it is a microcontroller board with no operating system — closer in behaviour to an Arduino than to a Pi.
Next: the course path
Five free courses, from zero to your own robot design
Short videos with a quiz after each one, a final activity and a certificate per course.
See the course path →Plain English. Free. Unsubscribe in one click.
Keep going
Single-board computer
A single-board computer is a full computer — processor, RAM, storage, and ports — built onto a single circuit …
ConceptEmbedded system
An embedded system is a computer built into a device to perform one specific job — invisible to the user but e…
ConceptROS2
Robot Operating System 2 — the DDS-based middleware that runs nearly every modern research and commercial robo…
Last updated · 2026-11-08
Spotted something off? Report an error →