

The Raspberry Pi 4B is a compact, affordable single-board computer designed for a wide range of applications. It features a powerful quad-core processor, up to 8GB of RAM, multiple USB ports, dual micro-HDMI outputs, and Ethernet connectivity. This versatile device is ideal for projects such as programming, media centers, IoT applications, robotics, and more. Its small form factor and robust capabilities make it a popular choice for both hobbyists and professionals.








| Specification | Details |
|---|---|
| Processor | Quad-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz |
| RAM Options | 2GB, 4GB, or 8GB LPDDR4 |
| USB Ports | 2 × USB 3.0, 2 × USB 2.0 |
| Video Output | 2 × micro-HDMI ports (up to 4K resolution) |
| Networking | Gigabit Ethernet, 802.11ac Wi-Fi, Bluetooth 5.0 |
| GPIO Pins | 40-pin GPIO header |
| Storage | MicroSD card slot, USB boot support |
| Power Supply | 5V/3A via USB-C |
| Dimensions | 85.6mm × 56.5mm × 17mm |
| Operating System Support | Raspberry Pi OS (formerly Raspbian), Ubuntu, and other Linux distros |
The Raspberry Pi 4B features a 40-pin GPIO header for interfacing with external components. Below is a summary of the pin configuration:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | 3.3V Power | 3.3V power supply |
| 2 | 5V Power | 5V power supply |
| 3 | GPIO2 (SDA1) | I2C Data |
| 4 | 5V Power | 5V power supply |
| 5 | GPIO3 (SCL1) | I2C Clock |
| 6 | Ground | Ground |
| 7 | GPIO4 | General-purpose I/O |
| 8 | GPIO14 (TXD0) | UART Transmit |
| 9 | Ground | Ground |
| 10 | GPIO15 (RXD0) | UART Receive |
| ... | ... | ... (Refer to official GPIO pinout) |
For the full GPIO pinout, refer to the official Raspberry Pi documentation.
RPi.GPIO or gpiozero to control the pins.Below is an example of how to blink an LED connected to GPIO pin 17 using Python:
import RPi.GPIO as GPIO # Import the GPIO library
import time # Import the time library for delays
LED_PIN = 17 # GPIO pin where the LED is connected
GPIO.setmode(GPIO.BCM) # Use Broadcom pin numbering GPIO.setup(LED_PIN, GPIO.OUT) # Set the LED pin as an output
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 does not boot:
Wi-Fi connectivity issues:
Overheating:
GPIO pins not working:
Can I power the Raspberry Pi 4B via USB ports? No, the Raspberry Pi 4B must be powered via the USB-C power input.
What is the maximum resolution supported by the Raspberry Pi 4B? The Raspberry Pi 4B supports dual 4K displays via its micro-HDMI ports.
Can I use the Raspberry Pi 4B as a desktop computer? Yes, with a suitable OS like Raspberry Pi OS, the Raspberry Pi 4B can function as a basic desktop computer.
How do I enable SSH on the Raspberry Pi?
Create an empty file named ssh (without any extension) in the boot partition of the microSD card before booting.
This concludes the documentation for the Raspberry Pi 4B. For further details, refer to the official Raspberry Pi website.