The expansion header is accessible from the rear of the Raspberry Pi 400. The overview keeps its usual orientation. The detail rotates the header so the numbers run from top to bottom. Physical pin numbers and BCM GPIO numbers are shown separately.
Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show alternative functions of the BCM2711
Pin index
Pin index
Quickly scan every header pin, port name, supported function and usage note.
40 visible
Pin
MCU pin
Types
Notes
Power
Physical contact 1. Power supply 3.3 V.
Power
Physical contact 2. Power supply 5 V.
GPIOI2CSPIUART
Physical pin 3. BCM2, 3.3 V digital I/O.
Power
Physical contact 4. Power supply 5 V.
GPIOI2CSPIUART
Physical pin 5. BCM3, 3.3 V digital I/O.
GND
Physical contact 6. Common ground (0 V).
GPIOI2CSPIUART
Physical pin 7. BCM4, 3.3 V digital I/O.
GPIOSPIUART
Physical pin 8. BCM14, 3.3 V digital I/O.
GND
Physical contact 9. Common ground (0 V).
GPIOSPIUART
Physical pin 10. BCM15, 3.3 V digital I/O.
GPIOSPIUART
Physical pin 11. BCM17, 3.3 V digital I/O.
GPIOSPIPWMPCM
Physical pin 12. BCM18, 3.3 V digital I/O.
GPIOSPI
Physical pin 13. BCM27, 3.3 V digital I/O.
GND
Physical contact 14. Common ground (0 V).
GPIOI2C
Physical pin 15. BCM22, 3.3 V digital I/O.
GPIOI2C
Physical pin 16. BCM23, 3.3 V digital I/O.
Power
Physical contact 17. Power supply 3.3 V.
GPIOSPI
Physical pin 18. BCM24, 3.3 V digital I/O.
GPIOI2CSPIUART
Physical pin 19. BCM10, 3.3 V digital I/O.
GND
Physical contact 20. Common ground (0 V).
GPIOI2CSPIUART
Physical pin 21. BCM9, 3.3 V digital I/O.
GPIOSPI
Physical pin 22. BCM25, 3.3 V digital I/O.
GPIOI2CSPIUART
Physical pin 23. BCM11, 3.3 V digital I/O.
GPIOI2CSPIUART
Physical pin 24. BCM8, 3.3 V digital I/O.
GND
Physical contact 25. Common ground (0 V).
GPIOI2CSPIUART
Physical pin 26. BCM7, 3.3 V digital I/O.
GPIOI2CSPIUART
Physical contact 27, GPIO0. Identification data line HAT.
GPIOI2CSPIUART
Physical pin 28, GPIO1. Clock line for HAT identification.
GPIOI2CSPIUART
Physical pin 29. BCM5, 3.3 V digital I/O.
GND
Physical contact 30. Common ground (0 V).
GPIOI2CSPIUART
Physical pin 31. BCM6, 3.3 V digital I/O.
GPIOI2CSPIUARTPWM
Physical pin 32. BCM12, 3.3 V digital I/O.
GPIOI2CSPIUARTPWM
Physical pin 33. BCM13, 3.3 V digital I/O.
GND
Physical contact 34. Common ground (0 V).
GPIOSPIPWMPCM
Physical pin 35. BCM19, 3.3 V digital I/O.
GPIOSPIUART
Physical pin 36. BCM16, 3.3 V digital I/O.
GPIOSPI
Physical pin 37. BCM26, 3.3 V digital I/O.
GPIOSPIPCM
Physical pin 38. BCM20, 3.3 V digital I/O.
GND
Physical contact 39. Common ground (0 V).
GPIOSPIPCM
Physical pin 40. BCM21, 3.3 V digital I/O.
Specifications
Model
Raspberry Pi 400 · 4 GB LPDDR4-3200
Documented review
1.0 · code c03130
Processor
Broadcom BCM2711 · 4 × Cortex-A72 a 1,8 GHz
Expansion
GPIO posterior angled · 2 × 20 · 2.54 mm pitch
Logic levels
GPIO of 3.3 V · two contacts of 3.3 V, two of 5 V and eight of ground
Power supply
USB-C · 5 V, 3 A recommended
Ports
microSD, two micro-HDMI, two USB 3.0, one USB 2.0 and Ethernet Gigabit
Radio
2.4/5 GHz Wi-Fi and Bluetooth 5.0 with BLE
References
Datasheets
Manufacturer references and technical documentation.
Look directly at the rear ports, with the keys up. PIN1 is the upper right, next to the microSD. PIN40 is the lower left.
Identification HAT
Physical contacts 27 and 28 are reserved for ID_SD and ID_SC.
Alternative functions
Advanced mode names correspond to the BCM2711 multiplexer. Each input indicates the ALT selector and the signal name in Table 94. The Raspberry Pi OS configuration determines the active interfaces.
Pictures
Raspberry Pi Ltd and Raspberry Pi Official Magazine. Overview of the product sheet and photographic expansion of the connector in its housing.