Raspberry Pi 5: What Changed Inside and How to Teach With It
The Pi 5 is a full Linux computer on a board the size of a credit card, with enough speed to run real services. Here is what actually changed and when it matters.
What is different inside the board
The processor is a Broadcom BCM2712 with four Cortex-A76 cores running at 2.4 GHz, against the Cortex-A72 cores of the Pi 4, and the VideoCore VII graphics unit adds Vulkan support. Memory options now run up to 8 GB of LPDDR4X, and dual 4Kp60 HDMI output replaces the earlier single 4Kp30 port.
The change students will feel first is the new RP1 southbridge. The Pi 4 moved its I/O off the main chip onto a separate controller, and the RP1 is that controller for the Pi 5. It brings its own PCIe 2.0 x1 connection, Gigabit Ethernet and USB, which is why the Pi 5 can attach an NVMe drive or a fast network device that the Pi 4 could not. Power is the other headline. The Pi 5 takes a 5.1 V, 5 A supply over USB-C, roughly 27 W, against the Pi 4's 5 V, 3 A. A stronger processor under load draws more current, and the extra headroom is what lets it run at speed without the voltage sag that used to cause throttling on marginal power supplies.
A Pi 5 is a computer, not a microcontroller
The distinction decides what a Pi is good for. A microcontroller such as an Arduino, an ESP32 or a Pico runs one program directly on the chip with no operating system, so every millisecond of timing is predictable. A Raspberry Pi boots a full Linux system with a filesystem, a package manager and dozens of background processes, which makes it brilliant at services, dashboards and anything that needs a network stack.
That same difference sets the limits. Linux on a Pi has no hard real-time guarantee, a microSD card wears out from constant writes, and a hung process needs a reboot. For a robot that must react to a sensor within a millisecond, keep the control loop on a microcontroller and let the Pi do the heavy lifting around it. The pairing is the interesting part for a classroom: a Pico on the front of the robot doing tight timing, and a Pi 5 behind it running Python, a database and a web dashboard. Students learn that professionals choose hardware by the timing requirement, not by habit.
Step by step
-
Set up the OS and make it safe to lose
Write the system image, enable the serial console, and turn the SD card read-only during lessons so a crashed Python script cannot brick the card for the next class.
-
Measure the real power draw
Measure idle and under-load current with a USB power meter. The difference is usually several watts, and it changes how you plan a battery-backed project.
-
Read an I2C sensor from Python
Read a temperature sensor over I2C with a short Python script. Seeing the same sensor value arrive in Python and in the Arduino simulator is a good moment for comparison.
-
Log a sensor stream to a database
Store a reading every second into SQLite and query it afterwards. This is the Pi's real strength: the storage and the querying are almost free.
-
Serve a dashboard on the local network
Run a small web server that plots the stored readings. Students can then open it on a phone and watch the data live.
-
Pair it with a microcontroller for timing
Connect a Pico over serial and have it do fast work while the Pi handles the data. The division of labour between the two is the most transferable idea in the guide.
What you'll need
| Item | Qty | Why |
|---|---|---|
| Raspberry Pi 5, 4 GB or 8 GB | 1 | 8 GB is the better buy if students will run more than one service; 4 GB is enough for a single dashboard. |
| Official 27 W USB-C power supply | 1 | The Pi 5 needs 5.1 V at 5 A. A phone charger will boot it and then throttle it under load. |
| microSD card, 32 GB, high endurance | 1 | High-endurance cards are rated for the constant write patterns that a logging project produces. |
| Micro-HDMI to HDMI adapter | 1 | The Pi 5's micro-HDMI port needs an adapter in almost every classroom. |
| Raspberry Pi Pico or Arduino Nano | 1 | The real-time half of the pair. It handles tight sensor timing while the Pi handles the data. |
| Breadboard and jumper wires | 1 set | For connecting I2C sensors and the serial link between the two boards. |
Practise it before you build it
Every step above has a matching circuit in the ThinkEdge Learn simulator. The simulator runs a real
Arduino sketch against a modified-nodal-analysis solver, so digitalWrite actually drives the
LED on screen and the readings change when you change the wiring — no hardware, no burnt components.
The Mega has 4 hardware serial ports (Serial, Serial1, Serial2, Serial3). That means you can talk to 4 different devices at the SAME time — like a GPS, a Bluetooth module, an XBee radio, and the USB. Use 3 of those ports to read 3 different sensors in parallel and stream their data to the Serial Monitor as a CSV row every second. This is the foundation of every real Arduino data logger.
A real Arduino project almost always involves a sensor + a way to see the data. The DHT11 reads temperature and humidity, and the Serial Monitor (the window in the Arduino IDE) shows the readings. The Nano is perfect for this because it plugs directly into a breadboard with no extra wiring for power — you can build a complete data logger in 5 minutes.
The HC-SR04 ultrasonic sensor measures distance by sending out a 40 kHz ping and timing how long the echo takes to come back. We trigger the ping with a digitalWrite, time the echo with pulseIn(), and convert the time to centimeters using the speed of sound. This is the same sensor used in car parking sensors and robot vacuums.
In factories, conveyor belts carry products past a sensor that counts them. A simple "break-beam" sensor (a light source + photodetector) registers each object as it passes. In this project, you'll simulate the conveyor with your hand: every time you press the button (mimicking a product passing the sensor), the counter increments and the LED blinks. Add a buzzer to beep once for every 10 items. This is the same logic as a people counter at a door, a coin counter at a bank, or a bottle counter on a bottling line.
The DHT11 is a small blue module that measures temperature (0-50°C) and humidity (20-90%). Inside it has a tiny microcontroller, a humidity sensor, and a thermistor. It speaks a custom one-wire protocol that the Adafruit DHT library decodes for you. You just call dht.readTemperature() and you get a number back.
Common questions
Is the Raspberry Pi 5 worth the extra cost over the Pi 4?
For a classroom doing dashboards, web servers or multiple services, yes, because the faster cores and the extra memory keep several programs running at once. For a single Python script that reads a sensor, the Pi 4 is still fine and second-hand prices reflect that.
What power supply does the Pi 5 need?
5.1 V at 5 A over USB-C, which is the official 27 W unit. It is the most common mistake with a new Pi 5, because older Pi 4 supplies are 5 V at 3 A and will cause random reboots or throttling rather than an obvious failure.
Can a Raspberry Pi replace an Arduino in a robot?
Not on its own, for control loops. Linux has no hard real-time guarantee, so a motor control loop can be interrupted by a background task. The standard approach is a microcontroller doing the timing-critical work and the Pi running the higher-level logic, talking over serial.
Related guides
Try the full simulator with your class
103 guided circuit projects, 21 lessons and an in-browser Arduino simulator. The first 15 projects are free, no account needed. NCERT Science mapping on 47 projects, with Arabic and English copy in the regional builds.