Raspberry Pi: Pi, Pico and Compute Module Pinouts
Single-board computers, microcontroller boards and Compute Modules from Raspberry Pi Ltd.
Cambridge-based Raspberry Pi Ltd builds single-board computers that were originally meant for computer science lessons and now run in workshops, schools and industrial machines. Every full-size model since the Raspberry Pi B+ has the same 40-pin GPIO header. That is why HATs and projects from the Pi 3 usually fit the Pi 4 and Pi 5 unchanged; new on the Pi 5 are the in-house RP1 I/O chip and connectors for a fan, a battery and PCIe.
In 2021 the Pico added a microcontroller board built around the in-house RP2040, and the Pico W adds Wi-Fi and Bluetooth. Unlike the full-size Pi, the Pico runs without an operating system and is programmed in C/C++ or MicroPython; its peripherals can be routed flexibly to almost any GPIO. The Compute Modules package the technology of the full-size Pi as a plug-in module for custom carrier boards and industrial devices.
The table lists the views, pin count and interfaces of every board. Note that the GPIOs of all Raspberry Pi boards run at 3.3 V and are not 5 V tolerant.
Overview from the pinout data
| Part | Package | Pins | Supply | Interfaces |
|---|---|---|---|---|
| Raspberry Pi 5 | Header | 40 | VCC 1, 2, 4GND 6, 9, 14 | 1-WireI2CJTAGPWMSPIUART |
| Raspberry Pi 4 Model B | Header | 40 | VCC 1, 2, 4GND 6, 9, 14 | 1-WireI2CJTAGPWMSPIUART |
| Raspberry Pi Pico (RP2040) | Board | 40 | VCC 40GND 3, 8, 13 | ADCI2CSPIUART |
| Raspberry Pi Pico W (Wi-Fi & Bluetooth) | Board | 43 | VCC 40GND 3, 8, 13 | ADCI2CPWMSPISWDUART |
| Raspberry Pi Compute Module 5 (CM5 / CM5Lite) | Board | 100 | VCC 76, 77, 79GND 1, 2, 7 | I2C |
| Raspberry Pi Compute Module 4 (CM4 / CM4Lite) | Board | 100 | VCC 77, 79, 81GND 1, 2, 7 | I2C |
| Raspberry Pi Compute Module 4S (CM4S) | Board | 200 | VCC 179, 191, 192GND 1, 7, 8 | I2C |
| Raspberry Pi Compute Module 3+ (CM3+ / CM3 / CM1) | Board | 200 | VCC 179, 183, 184GND 1, 7, 8 | I2C |
| Raspberry Pi Compute Module Zero (CM0 / CM0Lite) | Board | 132 | VCC 67, 68GND 1, 4, 7 | I2C |
All parts (9)
Raspberry Pi 5
Latest single-board computer featuring a 2.4 GHz 64-bit quad-core ARM Cortex-A76 processor (Broadcom BCM2712), dual micro-HDMI, Gigabit Ethernet, USB 3.0, PCIe 2.0 x1, and 40-pin GPIO header.
Raspberry Pi 4 Model B
Popular single-board computer featuring a 1.5 GHz 64-bit quad-core ARM Cortex-A72 processor (Broadcom BCM2711), dual 4K micro-HDMI, Gigabit Ethernet, USB 3.0, and 40-pin GPIO header.
Raspberry Pi Pico (RP2040)
High-performance microcontroller board built around the Raspberry Pi RP2040 dual-core ARM Cortex-M0+ processor at 133 MHz with 2MB QSPI flash, 26 multifunction GPIOs, 3 ADCs, and Programmable I/O (PIO).
Raspberry Pi Pico W (Wi-Fi & Bluetooth)
High-performance wireless microcontroller board built around the RP2040 dual-core ARM Cortex-M0+ processor and an Infineon CYW43439 wireless chip supporting 2.4GHz 802.11n Wi-Fi 4 and Bluetooth 5.2 (BLE). Features 26 multifunction GPIOs, 3 ADC channels, 2MB onboard flash, and 8 Programmable I/O (PIO) state machines.
Raspberry Pi Compute Module 5 (CM5 / CM5Lite)
High-performance System-on-Module powered by Broadcom BCM2712 quad-core Cortex-A76 @ 2.4GHz and RP1 I/O controller, up to 16GB LPDDR4x-4267, optional eMMC, PCIe Gen2 x1, Gigabit Ethernet, dual 4Kp60 HDMI, dual 4-lane MIPI, dual USB 3.0 via two 100-pin Hirose DF40 connectors.
Raspberry Pi Compute Module 4 (CM4 / CM4Lite)
System-on-Module powered by Broadcom BCM2711 quad-core Cortex-A72 @ 1.5GHz, up to 8GB LPDDR4, optional eMMC, PCIe Gen2 x1, Gigabit Ethernet, dual HDMI 4Kp60, via two 100-pin Hirose DF40 board-to-board connectors.
Raspberry Pi Compute Module 4S (CM4S)
Drop-in upgrade for CM1/CM3/CM3+ SODIMM carrier boards featuring the Raspberry Pi 4 BCM2711 quad-core Cortex-A72 @ 1.5GHz processor, up to 8GB LPDDR4-3200 SDRAM, and eMMC in the 200-pin SODIMM form factor.
Raspberry Pi Compute Module 3+ (CM3+ / CM3 / CM1)
Standard DDR2-SODIMM 200-pin System on Module powered by Broadcom BCM2837B0 64-bit quad-core Cortex-A53 @ 1.2GHz, 1GB LPDDR2 RAM, and optional 8GB/16GB/32GB eMMC Flash (or Lite). Pin-compatible with CM1 and CM3.
Raspberry Pi Compute Module Zero (CM0 / CM0Lite)
Compact 39mm x 33mm System-on-Module based on Raspberry Pi Zero 2 W with RP3A0 SiP (quad-core 64-bit BCM2837 @ 1GHz, 512MB LPDDR2, optional 8GB/16GB eMMC or Lite) featuring 132 castellated edge pins at 1mm pitch.