









| Specification | Details |
|---|---|
| Processor | Quad-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz |
| RAM Options | 2GB, 4GB, or 8GB LPDDR4 |
| Storage | MicroSD card slot (supports booting and storage) |
| USB Ports | 2 × USB 3.0, 2 × USB 2.0 |
| HDMI Ports | 2 × Micro HDMI (supports up to 4K resolution) |
| Networking | Gigabit Ethernet, 802.11ac Wi-Fi, Bluetooth 5.0 |
| GPIO Pins | 40-pin header (3.3V logic, supports I2C, SPI, UART, and more) |
| Power Supply | 5V/3A via USB-C or GPIO header |
| Dimensions | 85.6mm × 56.5mm × 17mm |
| Operating System | Raspberry Pi OS (Linux-based), supports other OS like Ubuntu and Windows IoT |
The Raspberry Pi features a 40-pin GPIO (General Purpose Input/Output) header. Below is a simplified pinout table:
| 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 (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.
Setting Up the Raspberry Pi:
Using GPIO Pins: The GPIO pins can be used to interface with sensors, LEDs, motors, and other electronic components. Below is an example of controlling an LED using 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 when the program is interrupted GPIO.cleanup()
- **Important Considerations:**
- Always ensure the Raspberry Pi is powered off before connecting or disconnecting hardware to avoid damage.
- Use resistors when connecting LEDs or other components to GPIO pins to limit current and prevent damage.
- Avoid exceeding the voltage and current ratings of the GPIO pins (3.3V logic, max 16mA per pin).
Problem: Raspberry Pi does not boot.
Problem: GPIO pins are not working as expected.
Problem: Overheating during operation.
Problem: Cannot connect to Wi-Fi.
FAQ: Can I power the Raspberry Pi through the GPIO header?
FAQ: What is the maximum resolution supported by the Raspberry Pi?
By following this documentation, users can effectively set up and utilize the Raspberry Pi for a variety of projects.