

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, robotics, IoT systems, media centers, and more. Its small form factor and robust performance 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 (compatible with previous Raspberry Pi models) |
| Storage | MicroSD card slot, USB boot support |
| Power Supply | 5V/3A via USB-C |
| Dimensions | 85.6mm × 56.5mm × 17mm |
The Raspberry Pi 4B features a 40-pin GPIO header. Below is a summary of the pin configuration:
| Pin Number | Pin Name | Function | Voltage Level |
|---|---|---|---|
| 1 | 3.3V Power | Power Supply | 3.3V |
| 2 | 5V Power | Power Supply | 5V |
| 3 | GPIO2 (SDA1) | I2C Data | 3.3V |
| 4 | 5V Power | Power Supply | 5V |
| 5 | GPIO3 (SCL1) | I2C Clock | 3.3V |
| 6 | Ground | Ground | 0V |
| 7 | GPIO4 | General Purpose I/O | 3.3V |
| 8 | GPIO14 (TXD) | UART Transmit | 3.3V |
| 9 | Ground | Ground | 0V |
| 10 | GPIO15 (RXD) | UART Receive | 3.3V |
| ... | ... | ... | ... |
For a complete GPIO pinout, refer to the official Raspberry Pi documentation.
The Raspberry Pi 4B can control an LED using its GPIO pins. Below is an example Python script:
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 does not boot:
Overheating:
No display on the monitor:
GPIO pins not working:
Can I power the Raspberry Pi 4B via USB ports? No, the Raspberry Pi 4B requires a dedicated 5V/3A USB-C power supply.
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, it can function as a basic desktop computer.
Is the Raspberry Pi 4B backward compatible with older models? Yes, the GPIO header is compatible with previous Raspberry Pi models.