Raspberry Pi 4 Model B
Pinout
- 3.3V1Type · Power
- 5V2Type · Power
- GPIO2 (SDA1)3Type · Signal
- 5V4Type · Power
- GPIO3 (SCL1)5Type · Signal
- GND6Type · Ground
- GPIO4 (GPCLK0)7Type · Signal
- GPIO14 (TXD0)8Type · Signal
- GND9Type · Ground
- GPIO15 (RXD0)10Type · Signal
- GPIO1711Type · GPIO
- GPIO18 (PCM_CLK)12Type · Signal
- GPIO2713Type · GPIO
- GND14Type · Ground
- GPIO2215Type · GPIO
- GPIO2316Type · GPIO
- 3.3V17Type · Power
- GPIO2418Type · GPIO
- GPIO10 (MOSI)19Type · Signal
- GND20Type · Ground
- GPIO9 (MISO)21Type · Signal
- GPIO2522Type · GPIO
- GPIO11 (SCLK)23Type · Signal
- GPIO8 (CE0)24Type · Signal
- GND25Type · Ground
- GPIO7 (CE1)26Type · Signal
- GPIO0 (ID_SD)27Type · Signal
- GPIO1 (ID_SC)28Type · Signal
- GPIO529Type · GPIO
- GND30Type · Ground
- GPIO631Type · GPIO
- GPIO12 (PWM0)32Type · Signal
- GPIO13 (PWM1)33Type · Signal
- GND34Type · Ground
- GPIO19 (PCM_FS)35Type · Signal
- GPIO1636Type · GPIO
- GPIO2637Type · GPIO
- GPIO20 (PCM_DIN)38Type · Signal
- GND39Type · Ground
- GPIO21 (PCM_DOUT)40Type · Signal
| Pin | Position | Type |
|---|---|---|
| 3.3V | 1 | Power |
| 5V | 2 | Power |
| GPIO2 (SDA1) | 3 | Signal |
| 5V | 4 | Power |
| GPIO3 (SCL1) | 5 | Signal |
| GND | 6 | Ground |
| GPIO4 (GPCLK0) | 7 | Signal |
| GPIO14 (TXD0) | 8 | Signal |
| GND | 9 | Ground |
| GPIO15 (RXD0) | 10 | Signal |
| GPIO17 | 11 | GPIO |
| GPIO18 (PCM_CLK) | 12 | Signal |
| GPIO27 | 13 | GPIO |
| GND | 14 | Ground |
| GPIO22 | 15 | GPIO |
| GPIO23 | 16 | GPIO |
| 3.3V | 17 | Power |
| GPIO24 | 18 | GPIO |
| GPIO10 (MOSI) | 19 | Signal |
| GND | 20 | Ground |
| GPIO9 (MISO) | 21 | Signal |
| GPIO25 | 22 | GPIO |
| GPIO11 (SCLK) | 23 | Signal |
| GPIO8 (CE0) | 24 | Signal |
| GND | 25 | Ground |
| GPIO7 (CE1) | 26 | Signal |
| GPIO0 (ID_SD) | 27 | Signal |
| GPIO1 (ID_SC) | 28 | Signal |
| GPIO5 | 29 | GPIO |
| GND | 30 | Ground |
| GPIO6 | 31 | GPIO |
| GPIO12 (PWM0) | 32 | Signal |
| GPIO13 (PWM1) | 33 | Signal |
| GND | 34 | Ground |
| GPIO19 (PCM_FS) | 35 | Signal |
| GPIO16 | 36 | GPIO |
| GPIO26 | 37 | GPIO |
| GPIO20 (PCM_DIN) | 38 | Signal |
| GND | 39 | Ground |
| GPIO21 (PCM_DOUT) | 40 | Signal |
Pin details
40 connections- 3.3V1Power
- 5V2Power
- GPIO2 (SDA1)3Signal
- 5V4Power
- GPIO3 (SCL1)5Signal
- GND6Ground
- GPIO4 (GPCLK0)7Signal
- GPIO14 (TXD0)8Signal
- GND9Ground
- GPIO15 (RXD0)10Signal
- GPIO1711GPIO
- GPIO18 (PCM_CLK)12Signal
- GPIO2713GPIO
- GND14Ground
- GPIO2215GPIO
- GPIO2316GPIO
- 3.3V17Power
- GPIO2418GPIO
- GPIO10 (MOSI)19Signal
- GND20Ground
- GPIO9 (MISO)21Signal
- GPIO2522GPIO
- GPIO11 (SCLK)23Signal
- GPIO8 (CE0)24Signal
- GND25Ground
- GPIO7 (CE1)26Signal
- GPIO0 (ID_SD)27Signal
- GPIO1 (ID_SC)28Signal
- GPIO529GPIO
- GND30Ground
- GPIO631GPIO
- GPIO12 (PWM0)32Signal
- GPIO13 (PWM1)33Signal
- GND34Ground
- GPIO19 (PCM_FS)35Signal
- GPIO1636GPIO
- GPIO2637GPIO
- GPIO20 (PCM_DIN)38Signal
- GND39Ground
- GPIO21 (PCM_DOUT)40Signal
Start wiring
USB · Ethernet
Confirm the data interface matches your host board.
Module pins: 3.3V, 5V, GND, GPIO2 (SDA1), GPIO3 (SCL1), GPIO4 (GPCLK0), GPIO14 (TXD0), GPIO15 (RXD0). Schematik maps them to your board in the app.
SBCs
155 other optionsFull Linux or Windows on a board: Raspberry Pi 5 (8GB) to Zero 2 W, a wide range of Jetson Nano and Orin kits for CUDA vision work, x86 LattePandas — plus the coolers, antennas, and NVMe adapters keyed to each board generation.
4-Way Fast Charge Buck Module (Compatible with Raspberry Pi 4B & Jetson Nano) visual preview4-Way Fast Charge Buck Module (Compatible with Raspberry Pi 4B & Jetson Nano)
51W PoE Expansion Board for LattePanda IOTA (IEEE 802.3bt) visual preview51W PoE Expansion Board for LattePanda IOTA (IEEE 802.3bt)
7-inch Touch Display Kit for Raspberry Pi Zero visual preview7-inch Touch Display Kit for Raspberry Pi Zero
70-pin Hirose Receptacle Header for Intel Edison - 3mm Height visual preview70-pin Hirose Receptacle Header for Intel Edison - 3mm Height
Aluminum M.2 2280 SSD Heat Sink (Compatible with LattePanda Sigma) visual previewAluminum M.2 2280 SSD Heat Sink (Compatible with LattePanda Sigma)
Banana Pi DFR0326 Single-Board Computer visual previewBanana Pi DFR0326 Single-Board Computer
BeagleBone Black (BB Black) visual previewBeagleBone Black (BB Black)
CM4 Dual Gigabit Ethernet 5G/4G Base Board for Raspberry Pi CM4 visual previewCM4 Dual Gigabit Ethernet 5G/4G Base Board for Raspberry Pi CM4
CM4 to Pi 3B Adapter (B) for Raspberry Pi CM4 visual previewCM4 to Pi 3B Adapter (B) for Raspberry Pi CM4
CM4-DISP-BASE-5A: 5" Touch Screen Base for Raspberry Pi CM4 visual previewCM4-DISP-BASE-5A: 5" Touch Screen Base for Raspberry Pi CM4
CM4-ETH-RS485-BASE-B: Dual ETH + Quad Isolated RS485 for CM4 visual previewCM4-ETH-RS485-BASE-B: Dual ETH + Quad Isolated RS485 for CM4
CM4-IO-BASE-A + USB HDMI Adapter for Raspberry Pi CM4 visual previewCM4-IO-BASE-A + USB HDMI Adapter for Raspberry Pi CM4
Related groups
4 groups
UNIHIKER M10 - IoT Python SBC with Touchscreen visual previewUNIHIKER M10
Python-first Linux single-board computer with an integrated 2.8-inch touchscreen and exposed micro:bit-compatible, Gravity I2C/I/O, USB host and microSD interfaces.
Boards · Single-board computers · 1 parts
10 I/Os PLC Module - CPU Arduino Nano (Optoisolated Output) visual previewArduino
About 75 boards across every Arduino generation: 5V Uno/Mega/GIGA, 3.3V MKR and Portenta, plus DFRduino and Bluno compatibles. Confirm the voltage rail before stacking any shield.
Boards · Arduino boards · 77 parts
10 I/Os Relay Module - CPU ESP32 (Relay Output) visual previewESP32
Wi-Fi and Bluetooth on a single chip, in every shape from Espressif DevKitC to Adafruit Feathers with STEMMA QT, DFRobot FireBeetles tuned for battery life, and Seeed XIAOs under a thumbnail.
Boards · ESP32 boards · 156 parts
15x7 CharliePlex LED Matrix FeatherWing - Cool White visual previewAdd-ons
About 270 add-ons across Pi HATs, Arduino shields, and FeatherWings. The same function — motor control, PoE, display — usually ships once per host connector family. Get the host board right first.
Boards · HATs, Shields & add-ons · 270 parts