Expansion and reset pinout for the original Raspberry Pi 2 Model B v1.1 with BCM2836. The numbers beside the J8 labels are physical positions. GPIO names use Broadcom numbering.
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 alternate functions
Pin index
Pin index
Quickly scan every header pin, port name, supported function and usage note.
42 visible
Pin
MCU pin
Types
Notes
Power
J8 pin 1. 3V3 supply rail.
Power
J8 pin 2. 5V supply rail.
GPIOI2C
J8 pin 3. BCM2836 GPIO2, 3.3 V digital input/output.
Power
J8 pin 4. 5V supply rail.
GPIOI2C
J8 pin 5. BCM2836 GPIO3, 3.3 V digital input/output.
GND
J8 pin 6. Common 0 V return.
GPIO
J8 pin 7. BCM2836 GPIO4, 3.3 V digital input/output.
GPIOUART
J8 pin 8. BCM2836 GPIO14, 3.3 V digital input/output.
GND
J8 pin 9. Common 0 V return.
GPIOUART
J8 pin 10. BCM2836 GPIO15, 3.3 V digital input/output.
GPIOSPIUART
J8 pin 11. BCM2836 GPIO17, 3.3 V digital input/output.
GPIOSPIPWM
J8 pin 12. BCM2836 GPIO18, 3.3 V digital input/output.
GPIO
J8 pin 13. BCM2836 GPIO27, 3.3 V digital input/output.
GND
J8 pin 14. Common 0 V return.
GPIO
J8 pin 15. BCM2836 GPIO22, 3.3 V digital input/output.
GPIO
J8 pin 16. BCM2836 GPIO23, 3.3 V digital input/output.
Power
J8 pin 17. 3V3 supply rail.
GPIO
J8 pin 18. BCM2836 GPIO24, 3.3 V digital input/output.
GPIOSPI
J8 pin 19. BCM2836 GPIO10, 3.3 V digital input/output.
GND
J8 pin 20. Common 0 V return.
GPIOSPI
J8 pin 21. BCM2836 GPIO9, 3.3 V digital input/output.
GPIO
J8 pin 22. BCM2836 GPIO25, 3.3 V digital input/output.
GPIOSPI
J8 pin 23. BCM2836 GPIO11, 3.3 V digital input/output.
GPIOSPI
J8 pin 24. BCM2836 GPIO8, 3.3 V digital input/output.
GND
J8 pin 25. Common 0 V return.
GPIOSPI
J8 pin 26. BCM2836 GPIO7, 3.3 V digital input/output.
GPIOI2C
J8 pin 27, GPIO0. HAT identification EEPROM data.
GPIOI2C
J8 pin 28, GPIO1. HAT identification EEPROM clock.
GPIO
J8 pin 29. BCM2836 GPIO5, 3.3 V digital input/output.
GND
J8 pin 30. Common 0 V return.
GPIO
J8 pin 31. BCM2836 GPIO6, 3.3 V digital input/output.
GPIOPWM
J8 pin 32. BCM2836 GPIO12, 3.3 V digital input/output.
GPIOPWM
J8 pin 33. BCM2836 GPIO13, 3.3 V digital input/output.
GND
J8 pin 34. Common 0 V return.
GPIOSPIPWM
J8 pin 35. BCM2836 GPIO19, 3.3 V digital input/output.
GPIOSPIUART
J8 pin 36. BCM2836 GPIO16, 3.3 V digital input/output.
GPIO
J8 pin 37. BCM2836 GPIO26, 3.3 V digital input/output.
GPIOSPI
J8 pin 38. BCM2836 GPIO20, 3.3 V digital input/output.
GND
J8 pin 39. Common 0 V return.
GPIOSPI
J8 pin 40. BCM2836 GPIO21, 3.3 V digital input/output.
Control
Active-low processor reset. Momentarily connect to J2 pin 2 to reset.
GND
Ground return on the round pad of the unpopulated RUN footprint.
USB and Ethernet face down. J8 pin 1 is at the top of the inner row. The outer row starts with pins 2 and 4, both 5 V.
RUN
The square pad is the processor reset input. The round pad is ground. RUN is between the DISPLAY connector and J8.
Alternate functions
Select a GPIO for its mux settings. The diagram highlights serial interfaces, clock, PWM and JTAG. Pins 27 and 28 are reserved for the HAT EEPROM.
Components and sockets
U1 is the BCM2836 and U2 is the LAN9514 USB/Ethernet controller. J1 takes micro-USB power. J3 CAMERA and J4 DISPLAY accept 15-contact ribbons. J6 is HDMI, J7 is A/V, J10 is Ethernet, and J11/J12 are dual USB. J9 microSD and the LPDDR2 RAM are on the reverse.