

The Raspberry Pi (commonly referred to as "Rasp") is a compact, affordable, and versatile single-board computer developed by the Raspberry Pi Foundation. It is widely used in educational, hobbyist, and professional projects due to its flexibility and ease of use. The Rasp is equipped with General Purpose Input/Output (GPIO) pins, making it ideal for hardware interfacing, robotics, Internet of Things (IoT) applications, and more. It supports various operating systems, including Raspberry Pi OS (formerly Raspbian), Ubuntu, and others.








Below are the key technical details for the Raspberry Pi:
| Feature | Details |
|---|---|
| Processor | Quad-core ARM Cortex-A series (varies by model) |
| RAM | 1GB, 2GB, 4GB, or 8GB LPDDR4 (depending on model) |
| Storage | MicroSD card slot for OS and data storage |
| Connectivity | Wi-Fi, Bluetooth, Ethernet (varies by model) |
| GPIO Pins | 40-pin header (3.3V logic) |
| Power Supply | 5V via USB-C (or micro-USB for older models), typically 2.5A to 3A required |
| Video Output | HDMI, micro-HDMI, or composite video (depending on model) |
| USB Ports | USB 2.0 and/or USB 3.0 (varies by model) |
| Audio | 3.5mm audio jack and HDMI audio output |
The Raspberry Pi features a 40-pin GPIO header. 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 (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 # Library for GPIO control import time # Library for time 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 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:
GPIO pins are not working:
Overheating:
No display output:
Can I power the Raspberry Pi via GPIO pins? Yes, you can power the Raspberry Pi via the 5V and Ground GPIO pins, but this bypasses the onboard voltage regulation and protection circuits. Use caution.
What operating systems are supported? The Raspberry Pi supports Raspberry Pi OS, Ubuntu, and other Linux-based distributions. Some models also support Windows IoT Core.
Can I use the Raspberry Pi for machine learning? Yes, the Raspberry Pi can run lightweight machine learning models, especially with hardware accelerators like the Google Coral USB Accelerator.
For additional support, refer to the official Raspberry Pi documentation or community forums.