

The Raspberry Pi 5, manufactured by Raspberry, 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 significant improvements in processing power, graphics performance, and connectivity. The Raspberry Pi 5 is ideal for educational purposes, prototyping, IoT projects, and hobbyist applications. Its versatility makes it suitable for tasks such as programming, media playback, home automation, and more.








| Specification | Details |
|---|---|
| Processor | Quad-core ARM Cortex-A76, 2.4 GHz |
| GPU | VideoCore VII, supporting 4K video playback and OpenGL ES 3.1 |
| RAM Options | 4GB, 8GB, or 16GB LPDDR4X |
| Storage | MicroSD card slot, support for external USB 3.0 storage |
| Connectivity | Dual-band Wi-Fi 6, Bluetooth 5.2, Gigabit Ethernet |
| USB Ports | 2x USB 3.0, 2x USB 2.0 |
| Display Outputs | 2x micro-HDMI ports, supporting up to 4K@60Hz |
| GPIO Pins | 40-pin GPIO header, backward compatible with previous Raspberry Pi models |
| Power Supply | USB-C, 5V/5A |
| Dimensions | 85.6mm x 56.5mm x 17mm |
| Operating System | Raspberry Pi OS (Linux-based), supports other Linux distributions |
The Raspberry Pi 5 features a 40-pin GPIO header, which is backward compatible with earlier 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 documentation.
Powering the Raspberry Pi 5:
Connecting Peripherals:
Using GPIO Pins:
Networking:
Booting the Raspberry Pi 5:
Below is an example of how to blink an LED using the Raspberry Pi 5 and Python:
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?
What operating systems are supported?
How do I update the firmware?
sudo apt update && sudo apt full-upgrade
Can I power the Raspberry Pi 5 via GPIO pins?
This concludes the documentation for the Raspberry Pi 5. For further details, refer to the official Raspberry Pi website.