Component guide · Beginner · 4 min read
Raspberry Pi 5 Guide

Setup, Power, Cooling and What It's For
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
The Raspberry Pi 5 is a credit-card-size Linux computer with a 2.4 GHz quad-core Arm CPU, 2 to 16 GB of RAM, dual 4K HDMI, PCIe for NVMe storage and 40 GPIO pins. It needs a 5 V 5 A (27 W) USB-C supply and a cooler for sustained loads. Choose it for projects that need a desktop, cameras, AI vision or a server; choose a Pico or ESP32 for simple sensors and motors.
Key specs at a glance
- CPU
- Broadcom BCM2712, 4x Cortex-A76 at 2.4 GHz
- RAM
- 2, 4, 8 or 16 GB LPDDR4X
- Video
- 2x micro HDMI, dual 4K60
- Storage
- microSD (SDR104) or NVMe SSD via PCIe 2.0 HAT
- USB
- 2x USB 3.0, 2x USB 2.0
- Network
- Gigabit Ethernet, Wi-Fi 5, Bluetooth 5.0
- GPIO
- 40-pin header, 3.3 V logic, RP1 I/O controller
- Power
- 5 V 5 A USB-C (27 W official PSU); 5 V 3 A limits USB to 600 mA
What is a Raspberry Pi 5 good for?
A Pi 5 runs a full Linux desktop, so it suits media centres, retro gaming, home servers (Home Assistant, Pi-hole, NAS), camera and computer-vision projects, kiosks and dashboards, and learning Python or Linux. It is overkill, and too slow to start, for simple sensor and motor jobs: there a Raspberry Pi Pico or ESP32 is cheaper and more responsive. Many builds pair the two: the Pi runs the software, the microcontroller handles real-time I/O.
Which Pi 5 should you buy?
| RAM | Good for |
|---|---|
| 2 GB | Headless servers, Pi-hole, lightweight automation |
| 4 GB | Desktop use, media centre, most projects |
| 8 GB | Browsing with many tabs, Docker stacks, light AI/vision |
| 16 GB | Local LLMs, heavy containers, development machine |
- 2 GB
- Headless servers, Pi-hole, lightweight automation
- 4 GB
- Desktop use, media centre, most projects
- 8 GB
- Browsing with many tabs, Docker stacks, light AI/vision
- 16 GB
- Local LLMs, heavy containers, development machine
Power supply and cooling
- Use the official 27 W USB-C supply or an equivalent that negotiates 5 V 5 A. On a standard 5 V 3 A phone charger the Pi boots but limits USB devices to 600 mA total, so SSDs and some webcams fail.
- Fit the Active Cooler (fan plus heatsink) or a case with a fan. The Pi 5 throttles at 85 °C; under sustained load without cooling it reaches that quickly.
- Add a CR2032 battery to the RTC header only if you need the clock to run without power; otherwise the Pi sets its time from the network.
First boot in five steps
- 1Install Raspberry Pi Imager on your computer and insert a microSD card (A2-rated, 32 GB or more) or prepare an NVMe drive with a PCIe HAT.
- 2Choose Raspberry Pi 5, then Raspberry Pi OS (64-bit). Use the settings gear to set the hostname, user, Wi-Fi and enable SSH.
- 3Write the card, insert it, connect HDMI (micro HDMI port nearest the USB-C), keyboard and mouse, then power.
- 4Run
sudo apt update && sudo apt full-upgradein a terminal. - 5Enable interfaces you need (I2C, SPI, camera) in
sudo raspi-config> Interface Options.
Using the GPIO pins
The 40-pin header is 3.3 V logic with 3.3 V and 5 V power pins. Each pin sources only a few milliamps, so drive LEDs with resistors and anything larger through a transistor or relay module. On the Pi 5 the pins are handled by the new RP1 chip, so older libraries such as RPi.GPIO and pigpio do not work; use gpiozero or lgpio instead. See the Raspberry Pi GPIO pinout.
from gpiozero import LED
from time import sleep
led = LED(17) # BCM GPIO 17 = physical pin 11, resistor in series
while True:
led.on(); sleep(0.5)
led.off(); sleep(0.5)Pi 5 vs Pi 4 vs Pi Zero 2 W vs Pico
| Pi 5 | Pi 4 | Pi Zero 2 W | Pico 2 | |
|---|---|---|---|---|
| CPU | 4x A76 2.4 GHz | 4x A72 1.8 GHz | 4x A53 1.0 GHz | 2x M33 150 MHz |
| RAM | 2 to 16 GB | 1 to 8 GB | 512 MB | 520 KB |
| OS | Linux | Linux | Linux | None (MicroPython/C) |
| Power | 5 V 5 A | 5 V 3 A | 5 V 1.5 A | Under 0.1 A |
| Best for | Desktop, AI, NVMe | Existing projects, media | Tiny Linux projects | Sensors, motors, real-time |
- CPU
- Pi 5:
- 4x A76 2.4 GHz
- Pi 4:
- 4x A72 1.8 GHz
- Pi Zero 2 W:
- 4x A53 1.0 GHz
- Pico 2:
- 2x M33 150 MHz
- RAM
- Pi 5:
- 2 to 16 GB
- Pi 4:
- 1 to 8 GB
- Pi Zero 2 W:
- 512 MB
- Pico 2:
- 520 KB
- OS
- Pi 5:
- Linux
- Pi 4:
- Linux
- Pi Zero 2 W:
- Linux
- Pico 2:
- None (MicroPython/C)
- Power
- Pi 5:
- 5 V 5 A
- Pi 4:
- 5 V 3 A
- Pi Zero 2 W:
- 5 V 1.5 A
- Pico 2:
- Under 0.1 A
- Best for
- Pi 5:
- Desktop, AI, NVMe
- Pi 4:
- Existing projects, media
- Pi Zero 2 W:
- Tiny Linux projects
- Pico 2:
- Sensors, motors, real-time
Try it: Power supply sizing calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Using a phone charger and then wondering why USB drives disconnect.
- Running without a cooler under load, which throttles the CPU.
- Using old GPIO libraries (RPi.GPIO, pigpio) that fail on the Pi 5's RP1 chip.
- Connecting 5 V signals to GPIO pins, which are 3.3 V only.
- Pulling the power without shutting down, which can corrupt the SD card.
Frequently asked questions
Does the Raspberry Pi 5 need a fan?
For light desktop use a heatsink case is enough, but under sustained load it throttles without active cooling. The official Active Cooler is inexpensive and recommended.
What power supply does the Raspberry Pi 5 need?
A 5 V 5 A USB-C supply with Power Delivery, such as the official 27 W unit. A 5 V 3 A supply works for the board but limits USB power.
Can the Raspberry Pi 5 boot from an SSD?
Yes, from an NVMe SSD on a PCIe M.2 HAT, or from a USB SSD. NVMe is much faster than microSD.
Raspberry Pi 5 or Pi 4: which should I buy?
The Pi 5 is two to three times faster and adds PCIe and better video. Buy the Pi 4 only if you need a lower-power board or a HAT that is not yet Pi 5 compatible.
Can a Raspberry Pi 5 control motors and sensors?
Yes, through its GPIO, I2C, SPI and UART, but it is not real-time. For precise timing or battery projects, add a Pico or ESP32 and let the Pi coordinate.
Parts for this guide
- ₹439View
Calculators
Terms in this guide
Projects that use it
Put this into practice: 3 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
- Raspberry Pi 5 product brief and datasheet (Raspberry Pi Ltd)
- Raspberry Pi documentation: power supply, cooling and GPIO (Raspberry Pi Ltd)
- gpiozero documentation
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

