

The Raspberry Pi 5 Model B (8GB), manufactured by Raspberry Pi Ltd., is a compact and affordable single-board computer designed for a wide range of applications. It features a powerful ARM-based processor, enhanced graphics capabilities, and versatile connectivity options. With its improved performance and expanded memory, the Raspberry Pi 5 is ideal for tasks such as learning programming, building IoT devices, home automation, media centers, and even lightweight server applications.








| Specification | Details |
|---|---|
| Processor | Quad-core ARM Cortex-A76, 2.4 GHz |
| GPU | VideoCore VII, supports 4Kp60 H.265 decoding and dual 4K displays |
| RAM | 8GB LPDDR4X |
| Storage | MicroSD card slot, PCIe Gen 2 interface for SSDs |
| Connectivity | 2x USB 3.0, 2x USB 2.0, Gigabit Ethernet, Wi-Fi 6, Bluetooth 5.0 |
| GPIO | 40-pin GPIO header, backward-compatible with previous Raspberry Pi models |
| Power Supply | USB-C, 5V/5A |
| Video Output | 2x micro-HDMI ports, supports dual 4K displays |
| Audio | 3.5mm audio jack, HDMI audio, and I2S |
| Dimensions | 85.6mm x 56.5mm x 18mm |
The Raspberry Pi 5 features a 40-pin GPIO header, which is backward-compatible with previous Raspberry Pi models. Below is the pinout:
| Pin Number | Pin Name | Functionality |
|---|---|---|
| 1 | 3.3V Power | Power supply (3.3V) |
| 2 | 5V Power | Power supply (5V) |
| 3 | GPIO2 (SDA1) | I2C Data |
| 4 | 5V Power | Power supply (5V) |
| 5 | GPIO3 (SCL1) | I2C Clock |
| 6 | Ground | Ground |
| 7 | GPIO4 | General-purpose I/O |
| 8 | GPIO14 (TXD) | UART Transmit |
| 9 | Ground | Ground |
| 10 | GPIO15 (RXD) | UART Receive |
| ... | ... | ... |
| 39 | Ground | Ground |
| 40 | GPIO21 | General-purpose I/O |
For a complete GPIO pinout, refer to the official Raspberry Pi documentation.
Powering the Raspberry Pi 5:
Connecting Peripherals:
Using GPIO Pins:
Networking:
Storage Expansion:
The following example demonstrates how to blink an LED connected to GPIO17 using Python and the RPi.GPIO library.
import RPi.GPIO as GPIO import time
GPIO.setmode(GPIO.BCM) # Use Broadcom pin numbering GPIO.setup(17, GPIO.OUT) # Set GPIO17 as an output pin
try: while True: GPIO.output(17, GPIO.HIGH) # Turn on the LED time.sleep(1) # Wait for 1 second GPIO.output(17, GPIO.LOW) # Turn off the LED time.sleep(1) # Wait for 1 second except KeyboardInterrupt: # Clean up GPIO settings on exit GPIO.cleanup()
---
No Display Output:
Overheating:
Power Issues:
GPIO Not Working:
Q: Can I use older Raspberry Pi cases with the Raspberry Pi 5?
A: No, the Raspberry Pi 5 has a different layout and requires a case specifically designed for it.
Q: Does the Raspberry Pi 5 support dual monitors?
A: Yes, it supports dual 4K displays via its two micro-HDMI ports.
Q: Can I power the Raspberry Pi 5 via GPIO pins?
A: Yes, you can power it via the 5V and GND pins on the GPIO header, but this is not recommended unless you are experienced with electronics.
Q: What operating systems are compatible with the Raspberry Pi 5?
A: The Raspberry Pi 5 supports Raspberry Pi OS, Ubuntu, and other Linux-based distributions.
This concludes the documentation for the Raspberry Pi 5 Model B (8GB). For further details, refer to the official Raspberry Pi website or community forums.