Raspberry Pi 400 Pinout

Raspberry Pi 400 pinout for the keyboard computer's GPIO header and its physical pin numbering.

Main pinout

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.

100%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
PinMCU pinTypesNotes
PowerPhysical contact 1. Power supply 3.3 V.
PowerPhysical contact 2. Power supply 5 V.
GPIOI2CSPIUARTPhysical pin 3. BCM2, 3.3 V digital I/O.
PowerPhysical contact 4. Power supply 5 V.
GPIOI2CSPIUARTPhysical pin 5. BCM3, 3.3 V digital I/O.
GNDPhysical contact 6. Common ground (0 V).
GPIOI2CSPIUARTPhysical pin 7. BCM4, 3.3 V digital I/O.
GPIOSPIUARTPhysical pin 8. BCM14, 3.3 V digital I/O.
GNDPhysical contact 9. Common ground (0 V).
GPIOSPIUARTPhysical pin 10. BCM15, 3.3 V digital I/O.
GPIOSPIUARTPhysical pin 11. BCM17, 3.3 V digital I/O.
GPIOSPIPWMPCMPhysical pin 12. BCM18, 3.3 V digital I/O.
GPIOSPIPhysical pin 13. BCM27, 3.3 V digital I/O.
GNDPhysical contact 14. Common ground (0 V).
GPIOI2CPhysical pin 15. BCM22, 3.3 V digital I/O.
GPIOI2CPhysical pin 16. BCM23, 3.3 V digital I/O.
PowerPhysical contact 17. Power supply 3.3 V.
GPIOSPIPhysical pin 18. BCM24, 3.3 V digital I/O.
GPIOI2CSPIUARTPhysical pin 19. BCM10, 3.3 V digital I/O.
GNDPhysical contact 20. Common ground (0 V).
GPIOI2CSPIUARTPhysical pin 21. BCM9, 3.3 V digital I/O.
GPIOSPIPhysical pin 22. BCM25, 3.3 V digital I/O.
GPIOI2CSPIUARTPhysical pin 23. BCM11, 3.3 V digital I/O.
GPIOI2CSPIUARTPhysical pin 24. BCM8, 3.3 V digital I/O.
GNDPhysical contact 25. Common ground (0 V).
GPIOI2CSPIUARTPhysical pin 26. BCM7, 3.3 V digital I/O.
GPIOI2CSPIUARTPhysical contact 27, GPIO0. Identification data line HAT.
GPIOI2CSPIUARTPhysical pin 28, GPIO1. Clock line for HAT identification.
GPIOI2CSPIUARTPhysical pin 29. BCM5, 3.3 V digital I/O.
GNDPhysical contact 30. Common ground (0 V).
GPIOI2CSPIUARTPhysical pin 31. BCM6, 3.3 V digital I/O.
GPIOI2CSPIUARTPWMPhysical pin 32. BCM12, 3.3 V digital I/O.
GPIOI2CSPIUARTPWMPhysical pin 33. BCM13, 3.3 V digital I/O.
GNDPhysical contact 34. Common ground (0 V).
GPIOSPIPWMPCMPhysical pin 35. BCM19, 3.3 V digital I/O.
GPIOSPIUARTPhysical pin 36. BCM16, 3.3 V digital I/O.
GPIOSPIPhysical pin 37. BCM26, 3.3 V digital I/O.
GPIOSPIPCMPhysical pin 38. BCM20, 3.3 V digital I/O.
GNDPhysical contact 39. Common ground (0 V).
GPIOSPIPCMPhysical 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.

ChipRoleManufacturerNotesLink
Raspberry Pi 400Product SheetRaspberry PiEquipment, photography and external connectors.Datasheet
Raspberry Pi 400Official guide, 4.ª editionRaspberry PiPhysical orientation on the computer-keyboard, p. 20.Datasheet
GPIOOfficial PinoutRaspberry PiPhysical pin numbers, GPIO, power and ground.Datasheet
Raspberry Pi 400Product and purchaseRaspberry PiAccess to distributors from the manufacturer's website.Datasheet
BCM2711ARM PeripheralsRaspberry PiTable 94, GPIO0–GPIO27 and selectors ALT0–ALT5.Datasheet
Raspberry Pi 400Connector photoRaspberry PiOriginal detail of the header and brands PIN1 and PIN40.Datasheet

Board notes

Guidance on equipment
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.