The Raspberry Pi 2 Model B introduced a major architectural shift, replacing the single-core processor used in earlier models with a quad-core ARM CPU. Despite the internal changes, the 40-pin GPIO header remained identical to the previous B+ layout, allowing existing circuits and HATs to work without modification. This page provides the complete GPIO pinout to support accurate hardware connections.
Pi 2B GPIO Pinout
| Pin | Name / Function | Pin | Name / Function |
|---|---|---|---|
| 1 | 3.3V Power | 2 | 5V Power |
| 3 | GPIO2 (SDA1) | 4 | 5V Power |
| 5 | GPIO3 (SCL1) | 6 | Ground |
| 7 | GPIO4 | 8 | GPIO14 (TXD0) |
| 9 | Ground | 10 | GPIO15 (RXD0) |
| 11 | GPIO17 | 12 | GPIO18 (PCM_CLK / PWM0) |
| 13 | GPIO27 | 14 | Ground |
| 15 | GPIO22 | 16 | GPIO23 |
| 17 | 3.3V Power | 18 | GPIO24 |
| 19 | GPIO10 (MOSI) | 20 | Ground |
| 21 | GPIO9 (MISO) | 22 | GPIO25 |
| 23 | GPIO11 (SCLK) | 24 | GPIO8 (CE0) |
| 25 | Ground | 26 | GPIO7 (CE1) |
| 27 | ID_SD (I²C EEPROM) | 28 | ID_SC (I²C EEPROM) |
| 29 | GPIO5 | 30 | Ground |
| 31 | GPIO6 | 32 | GPIO12 (PWM0) |
| 33 | GPIO13 (PWM1) | 34 | Ground |
| 35 | GPIO19 (PCM_FS / SPI1 MISO) | 36 | GPIO16 |
| 37 | GPIO26 | 38 | GPIO20 (PCM_DIN / SPI1 MOSI) |
| 39 | Ground | 40 | GPIO21 (PCM_DOUT / SPI1 SCLK) |
Raspberry Pi 2B Specifications
Pi 2B delivered a massive performance jump with up to 6× faster processing and 1GB of RAM, doubling the memory of its predecessors.
| Feature | Specification | Key Detail |
|---|---|---|
| Processor | Quad-core ARM @ 900 MHz | v1.1 (32-bit) / v1.2 (64-bit) |
| GPU | Broadcom VideoCore IV | Supports 1080p video & OpenGL ES 2.0 |
| RAM | 1GB LPDDR2 | Shared with GPU |
| USB Ports | 4× USB 2.0 | Shared bandwidth across ports |
| Networking | 10/100 Ethernet | Connected via USB 2.0 bus |
| Wireless | None | Requires external USB adapter |
| Storage | MicroSD slot | Push-push card mechanism |
| Power Input | Micro-USB (5V / 2A) | 2.5A recommended with peripherals |
| GPIO Header | 40-pin standard layout | Full Raspberry Pi compatibility |
| Video Output | HDMI & 3.5mm TRRS | Composite video via 3.5mm jack |
| Dimensions | 85 × 56 mm | Standard Raspberry Pi form factor |
Compatibility
- HAT Support
- Powered via Micro-USB (5V / 2A recommended for stability)
- GPIO operates at 3.3V logic level
- No built-in ADC
- Not Breadboard Friendly
Helpful Resources
- Getting started with Raspberry pi 2B
- Download the datasheet: Official PDF
- Benchmark and review: article