Main pinout
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
The original Zero WH has a factory-soldered 40-pin male HAT header on the Zero W V1.1 PCB. The component-side photo places microSD at the top and the camera connector at the bottom.
Pin index
Quickly scan every header pin, port name, supported function and usage note.
| Pin | MCU pin | Types | Notes |
|---|---|---|---|
| Power | J8 physical pin 1. Regulated 3.3 V output from U3. | |
| Power | J8 physical pin 2. 5 V rail shared with the PWR IN micro-USB input. | |
| GPIOI2C | J8 physical pin 3. BCM2835 GPIO2, 3.3 V digital input or output. | |
| Power | J8 physical pin 4. 5 V rail shared with the PWR IN micro-USB input. | |
| GPIOI2C | J8 physical pin 5. BCM2835 GPIO3, 3.3 V digital input or output. | |
| GND | J8 physical pin 6. Common ground return. | |
| GPIO | J8 physical pin 7. BCM2835 GPIO4, 3.3 V digital input or output. | |
| GPIOUART | J8 physical pin 8. BCM2835 GPIO14, 3.3 V digital input or output. | |
| GND | J8 physical pin 9. Common ground return. | |
| GPIOUART | J8 physical pin 10. BCM2835 GPIO15, 3.3 V digital input or output. | |
| GPIOSPIUART | J8 physical pin 11. BCM2835 GPIO17, 3.3 V digital input or output. | |
| GPIOSPIPWMPCM | J8 physical pin 12. BCM2835 GPIO18, 3.3 V digital input or output. | |
| GPIOSD | J8 physical pin 13. BCM2835 GPIO27, 3.3 V digital input or output. | |
| GND | J8 physical pin 14. Common ground return. | |
| GPIOSD | J8 physical pin 15. BCM2835 GPIO22, 3.3 V digital input or output. | |
| GPIOSD | J8 physical pin 16. BCM2835 GPIO23, 3.3 V digital input or output. | |
| Power | J8 physical pin 17. Regulated 3.3 V output from U3. | |
| GPIOSD | J8 physical pin 18. BCM2835 GPIO24, 3.3 V digital input or output. | |
| GPIOSPI | J8 physical pin 19. BCM2835 GPIO10, 3.3 V digital input or output. | |
| GND | J8 physical pin 20. Common ground return. | |
| GPIOSPI | J8 physical pin 21. BCM2835 GPIO9, 3.3 V digital input or output. | |
| GPIOSD | J8 physical pin 22. BCM2835 GPIO25, 3.3 V digital input or output. | |
| GPIOSPI | J8 physical pin 23. BCM2835 GPIO11, 3.3 V digital input or output. | |
| GPIOSPI | J8 physical pin 24. BCM2835 GPIO8, 3.3 V digital input or output. | |
| GND | J8 physical pin 25. Common ground return. | |
| GPIOSPI | J8 physical pin 26. BCM2835 GPIO7, 3.3 V digital input or output. | |
| GPIOI2C | J8 physical pin 27. ID_SD, the HAT identification EEPROM data line. | |
| GPIOI2C | J8 physical pin 28. ID_SC, the HAT identification EEPROM clock line. | |
| GPIO | J8 physical pin 29. BCM2835 GPIO5, 3.3 V digital input or output. | |
| GND | J8 physical pin 30. Common ground return. | |
| GPIO | J8 physical pin 31. BCM2835 GPIO6, 3.3 V digital input or output. | |
| GPIOPWM | J8 physical pin 32. BCM2835 GPIO12, 3.3 V digital input or output. | |
| GPIOPWM | J8 physical pin 33. BCM2835 GPIO13, 3.3 V digital input or output. | |
| GND | J8 physical pin 34. Common ground return. | |
| GPIOSPIPWMPCM | J8 physical pin 35. BCM2835 GPIO19, 3.3 V digital input or output. | |
| GPIOSPIUART | J8 physical pin 36. BCM2835 GPIO16, 3.3 V digital input or output. | |
| GPIOSD | J8 physical pin 37. BCM2835 GPIO26, 3.3 V digital input or output. | |
| GPIOSPIPCM | J8 physical pin 38. BCM2835 GPIO20, 3.3 V digital input or output. | |
| GND | J8 physical pin 39. Common ground return. | |
| GPIOSPIPCM | J8 physical pin 40. BCM2835 GPIO21, 3.3 V digital input or output. |
References
Manufacturer references and technical documentation.
| Chip | Role | Manufacturer | Notes | Link |
|---|---|---|---|---|
Raspberry Pi Zero WH | Board documentation | Raspberry Pi | Zero WH model, connectors and factory-fitted header. | Datasheet |
RPI-ZERO-W V1.1 | Reduced schematic | Raspberry Pi | Shared PCB. J8 is fitted on SKU SC0065. | Datasheet |
Zero W / WH | Mechanical drawing | Raspberry Pi | RP-008367 board outline, mounting centres and connector locations. | Datasheet |
Raspberry Pi Zero WH | Front and solder-side photographs | Adafruit | Product 3708. Photographs cropped, isolated and rotated for this pinout. | Datasheet |
BCM2835 | ARM peripherals | Broadcom / Raspberry Pi | GPIO alternate function table, section 6.2. | Datasheet |
BCM2835 | ALT0–ALT5 names | Raspberry Pi | The BCM2835 table in raspi-gpio. | Datasheet |
J8 | Physical numbering and GPIO limits | Raspberry Pi | 40-pin layout, 3.3 V logic and HAT ID reservation. | Datasheet |
Raspberry Pi Zero WH | Rear PCB revision marking | teranisi | Photographic comparison of the Zero W and factory-header Zero WH. | Datasheet |