

The Raspberry Pi 5 is a compact, affordable single-board computer designed for a wide range of applications. It supports various programming languages, making it an ideal choice for beginners and professionals alike. With its powerful processing capabilities and versatile GPIO pins, the Raspberry Pi 5 is perfect for projects in electronics, robotics, IoT, and more. Its small form factor and affordability make it accessible for hobbyists, educators, and developers.








The Raspberry Pi 5 offers significant improvements over its predecessors, with enhanced performance and connectivity options. Below are the key technical details:
| Feature | Specification |
|---|---|
| Processor | Quad-core ARM Cortex-A76 @ 2.4 GHz |
| GPU | VideoCore VII |
| RAM | 4GB or 8GB LPDDR4X |
| Storage | MicroSD card slot, eMMC module support |
| Connectivity | Gigabit Ethernet, Wi-Fi 6, Bluetooth 5.2 |
| USB Ports | 2x USB 3.0, 2x USB 2.0 |
| GPIO Pins | 40-pin header |
| Display Output | 2x micro-HDMI (4K@60Hz) |
| Power Supply | USB-C (5V/5A recommended) |
| Dimensions | 85.6mm x 56.5mm x 17mm |
The Raspberry Pi 5 features a 40-pin GPIO header for interfacing with external components. Below is the pinout:
| Pin Number | Function | Description |
|---|---|---|
| 1 | 3.3V Power | Power supply (3.3V) |
| 2 | 5V Power | Power supply (5V) |
| 3 | GPIO2 (SDA1) | I2C Data Line |
| 4 | 5V Power | Power supply (5V) |
| 5 | GPIO3 (SCL1) | I2C Clock Line |
| 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 the full GPIO pinout, refer to the official Raspberry Pi documentation.
Below is an example of how to blink an LED connected to GPIO pin 17 using Python:
import RPi.GPIO as GPIO import time
GPIO.setmode(GPIO.BCM) # Use Broadcom pin numbering GPIO.setup(17, GPIO.OUT) # Set GPIO 17 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()
blink.py on your Raspberry Pi.python3 blink.py.The Raspberry Pi does not boot:
No display on the monitor:
GPIO pins not working:
sudo rpi-update.By following this documentation, you can effectively utilize the Raspberry Pi 5 for a variety of projects and applications.