

The Raspberry Pi Model B Revision 2, manufactured by Raspberry Pi Ltd, is a small, affordable single-board computer designed for a wide range of applications. It features a 700 MHz ARM processor, 512 MB of RAM, and multiple USB ports, making it an excellent choice for DIY projects, educational purposes, and prototyping. Its compact size and versatility have made it a popular tool among hobbyists, students, and professionals alike.








The following table outlines the key technical details of the Raspberry Pi Model B Revision 2:
| Specification | Details |
|---|---|
| Processor | 700 MHz ARM1176JZF-S (ARMv6 architecture) |
| RAM | 512 MB SDRAM |
| USB Ports | 2 x USB 2.0 |
| Ethernet | 10/100 Mbps Ethernet port |
| GPIO Pins | 26-pin GPIO header (17 GPIO pins available) |
| Video Output | HDMI and composite video |
| Audio Output | 3.5 mm audio jack and HDMI |
| Storage | SD card slot for booting and storage |
| Power Supply | 5V micro-USB (recommended 700 mA or higher) |
| Dimensions | 85.6 mm x 56.5 mm x 21 mm |
| Weight | 45 g |
The Raspberry Pi Model B Revision 2 features a 26-pin GPIO header. Below is the pinout:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | 3.3V | 3.3V Power |
| 2 | 5V | 5V Power |
| 3 | GPIO 2 (SDA1) | I2C Data |
| 4 | 5V | 5V Power |
| 5 | GPIO 3 (SCL1) | I2C Clock |
| 6 | Ground | Ground |
| 7 | GPIO 4 | General Purpose I/O |
| 8 | GPIO 14 (TXD) | UART Transmit |
| 9 | Ground | Ground |
| 10 | GPIO 15 (RXD) | UART Receive |
| 11 | GPIO 17 | General Purpose I/O |
| 12 | GPIO 18 | PWM Output |
| 13 | GPIO 27 | General Purpose I/O |
| 14 | Ground | Ground |
| 15 | GPIO 22 | General Purpose I/O |
| 16 | GPIO 23 | General Purpose I/O |
| 17 | 3.3V | 3.3V Power |
| 18 | GPIO 24 | General Purpose I/O |
| 19 | GPIO 10 (MOSI) | SPI MOSI |
| 20 | Ground | Ground |
| 21 | GPIO 9 (MISO) | SPI MISO |
| 22 | GPIO 25 | General Purpose I/O |
| 23 | GPIO 11 (SCLK) | SPI Clock |
| 24 | GPIO 8 (CE0) | SPI Chip Enable 0 |
| 25 | Ground | Ground |
| 26 | GPIO 7 (CE1) | SPI Chip Enable 1 |
Powering the Raspberry Pi:
Connecting Peripherals:
Using GPIO Pins:
Networking:
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()
The Raspberry Pi does not boot:
No video output on the monitor:
config.txt file on the SD card to force HDMI output if necessary.GPIO pins not working:
Overheating:
Can I power the Raspberry Pi via GPIO pins?
Yes, you can power the Raspberry Pi by supplying 5V to the 5V GPIO pin and connecting ground to a GND pin. However, this bypasses the onboard voltage protection, so proceed with caution.
What operating systems are compatible with the Raspberry Pi Model B Revision 2?
The Raspberry Pi supports various operating systems, including Raspbian (now Raspberry Pi OS), Ubuntu, and other lightweight Linux distributions.
Can I use the Raspberry Pi Model B Revision 2 for modern applications?
While it is suitable for basic tasks, its limited processing power and RAM may not handle resource-intensive applications effectively. For such tasks, consider newer Raspberry Pi models.