

The Raspberry Pi 5, manufactured by Raspi (Part ID: 5), is a compact and affordable single-board computer (SBC) designed for a wide range of applications. It is the latest iteration in the Raspberry Pi series, offering improved processing power, enhanced graphics capabilities, and versatile connectivity options. The Raspberry Pi 5 is ideal for education, prototyping, hobbyist projects, and advanced IoT applications. Its small form factor and robust performance make it a popular choice for both beginners and experienced developers.








| Specification | Details |
|---|---|
| Processor | Quad-core ARM Cortex-A76, 2.4 GHz |
| GPU | VideoCore VII, supporting 4K video output at 60 fps |
| RAM Options | 4 GB, 8 GB, or 16 GB LPDDR4X |
| Storage | MicroSD card slot, PCIe Gen 3 x1 for NVMe SSD |
| Connectivity | Dual-band Wi-Fi 6, Bluetooth 5.2, Gigabit Ethernet |
| USB Ports | 2 × USB 3.0, 2 × USB 2.0 |
| GPIO Pins | 40-pin header, backward-compatible with previous Raspberry Pi models |
| Display Interfaces | 2 × micro-HDMI ports (4Kp60 supported) |
| Camera Interfaces | 2 × MIPI CSI connectors |
| Power Supply | USB-C, 5V/5A |
| Dimensions | 85.6 mm × 56.5 mm × 18 mm |
| Operating System Support | Raspberry Pi OS (32-bit and 64-bit), Ubuntu, and other Linux distributions |
The Raspberry Pi 5 features a 40-pin GPIO header, which is backward-compatible with previous Raspberry Pi models. Below is the pinout configuration:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | 3.3V Power | 3.3V power supply |
| 2 | 5V Power | 5V power supply |
| 3 | GPIO 2 (SDA1) | I2C Data |
| 4 | 5V Power | 5V power supply |
| 5 | GPIO 3 (SCL1) | I2C Clock |
| 6 | Ground | Ground |
| 7 | GPIO 4 | General-purpose I/O |
| 8 | GPIO 14 (TXD) | UART Transmit |
| 9 | Ground | Ground |
| 10 | GPIO 15 (RXD) | UART Receive |
| ... | ... | ... |
| 39 | Ground | Ground |
| 40 | GPIO 21 | General-purpose I/O |
For the full GPIO pinout, refer to the official Raspberry Pi 5 documentation.
Powering the Raspberry Pi 5:
Connecting Peripherals:
Using GPIO Pins:
Networking:
Storage Expansion:
The Raspberry Pi 5 can control an LED using its GPIO pins. Below is an example Python script using the RPi.GPIO library:
import RPi.GPIO as GPIO import time
GPIO.setmode(GPIO.BCM)
LED_PIN = 18
GPIO.setup(LED_PIN, GPIO.OUT)
try: while True: GPIO.output(LED_PIN, GPIO.HIGH) # Turn the LED on time.sleep(1) # Wait for 1 second GPIO.output(LED_PIN, GPIO.LOW) # Turn the LED off time.sleep(1) # Wait for 1 second except KeyboardInterrupt: # Clean up GPIO settings on exit GPIO.cleanup()
---
The Raspberry Pi 5 does not boot:
Overheating:
No display output:
GPIO pins not working:
Can I use older Raspberry Pi accessories with the Raspberry Pi 5? Yes, most accessories like cases, power supplies, and HATs are compatible, but verify specifications for compatibility.
What operating systems are supported? The Raspberry Pi 5 supports Raspberry Pi OS, Ubuntu, and other Linux distributions.
Does the Raspberry Pi 5 support dual displays? Yes, it supports dual 4K displays via the two micro-HDMI ports.
Can I power the Raspberry Pi 5 via GPIO pins? Yes, but it is not recommended unless you are experienced, as incorrect wiring can damage the board.
This concludes the documentation for the Raspberry Pi 5. For further details, refer to the official Raspi website or community forums.