# Raspberry Pi Zero W (pre-soldered header): specs and pinout

> Raspberry Pi Zero W board with a 1 GHz single-core CPU, 512 MB RAM, 802.11 b/g/n Wi-Fi and Bluetooth 4.1.

[HTML version](https://soldr.ai/docs/boards/raspberry-pi-zero-w)

[Docs](https://soldr.ai/docs) / [Boards](https://soldr.ai/docs/boards)

Raspberry Pi Zero W board with a 1 GHz single-core CPU, 512 MB RAM, 802.11 b/g/n Wi-Fi and Bluetooth 4.1.

Every value cites its sourceOfficial pinout

[Buy on Compoden](https://compoden.com/products/raspberry-pi-zero-w-pre-soldered-header-compoden)

## Specs

| Spec | Value | Source |
|---|---|---|
| CPU | 1 GHz single-core CPU | source Specification list (product brief) |
| RAM | 512 MB | source Specification list (product brief) |
| Wireless LAN | 802.11 b/g/n | source Specification list (product brief) |
| Bluetooth | Bluetooth 4.1 and Bluetooth Low Energy (BLE) | source Specification list (product brief) |
| Video and USB ports | Mini HDMI and USB On-The-Go ports | source Specification list (product brief) |
| Header | HAT-compatible 40-pin header | source Specification list (product brief) |
| Camera connector | CSI camera connector (Zero camera cable required) | source Specification list and getting started (product brief) |
| Header connector | 40-pin header, schematic reference J8 (marked DNI on the bare board; fitted on this pre-soldered version) | source Schematic page 1, J8 |
| I2C pull-ups on GPIO2 and GPIO3 | 1.8K, 1% resistors to 3V3 (R23, R24) | source Schematic page 1, GPIO block |

## Power

| | Value | Source |
|---|---|---|
| Supply | Micro USB power (voltage not stated in the brief) | source Specification list (product brief) |

## Pinout

Pin names and numbers are copied from the J8 connector on the official Raspberry Pi Zero W reduced schematic (page 1). The schematic marks J8 as DNI (not fitted) because the standard Zero W ships without the header; this listing is the pre-soldered version, so the header is fitted. Alternate names in brackets are the schematic&#x27;s own labels. The schematic does not state 5 V tolerance of the GPIO pins, so none is claimed.

| Pin | Function | Voltage | Notes | Source |
|---|---|---|---|---|
| pin 1: 3V3 | 3.3 V power | 3.3 V | | source Schematic page 1, connector J8, pin 1 |
| pin 2: 5V | 5 V power | 5 V | | source Schematic page 1, connector J8, pin 2 |
| pin 3: GPIO2 | GPIO2 (SDA1) | | Schematic shows a 1.8K 1% resistor (R23/R24) from 3V3 on this line | source Schematic page 1, connector J8, pin 3 |
| pin 4: 5V | 5 V power | 5 V | | source Schematic page 1, connector J8, pin 4 |
| pin 5: GPIO3 | GPIO3 (SCL1) | | Schematic shows a 1.8K 1% resistor (R23/R24) from 3V3 on this line | source Schematic page 1, connector J8, pin 5 |
| pin 6: GND | Ground | | | source Schematic page 1, connector J8, pin 6 |
| pin 7: GPIO4 | GPIO4 (GPIO_GCLK) | | | source Schematic page 1, connector J8, pin 7 |
| pin 8: GPIO14 | GPIO14 (TXD0) | | | source Schematic page 1, connector J8, pin 8 |
| pin 9: GND | Ground | | | source Schematic page 1, connector J8, pin 9 |
| pin 10: GPIO15 | GPIO15 (RXD0) | | | source Schematic page 1, connector J8, pin 10 |
| pin 11: GPIO17 | GPIO17 (GPIO_GEN0) | | | source Schematic page 1, connector J8, pin 11 |
| pin 12: GPIO18 | GPIO18 (GPIO_GEN1) | | | source Schematic page 1, connector J8, pin 12 |
| pin 13: GPIO27 | GPIO27 (GPIO_GEN2) | | | source Schematic page 1, connector J8, pin 13 |
| pin 14: GND | Ground | | | source Schematic page 1, connector J8, pin 14 |
| pin 15: GPIO22 | GPIO22 (GPIO_GEN3) | | | source Schematic page 1, connector J8, pin 15 |
| pin 16: GPIO23 | GPIO23 (GPIO_GEN4) | | | source Schematic page 1, connector J8, pin 16 |
| pin 17: 3V3 | 3.3 V power | 3.3 V | | source Schematic page 1, connector J8, pin 17 |
| pin 18: GPIO24 | GPIO24 (GPIO_GEN5) | | | source Schematic page 1, connector J8, pin 18 |
| pin 19: GPIO10 | GPIO10 (SPI_MOSI) | | | source Schematic page 1, connector J8, pin 19 |
| pin 20: GND | Ground | | | source Schematic page 1, connector J8, pin 20 |
| pin 21: GPIO9 | GPIO9 (SPI_MISO) | | | source Schematic page 1, connector J8, pin 21 |
| pin 22: GPIO25 | GPIO25 (GPIO_GEN6) | | | source Schematic page 1, connector J8, pin 22 |
| pin 23: GPIO11 | GPIO11 (SPI_SCLK) | | | source Schematic page 1, connector J8, pin 23 |
| pin 24: GPIO8 | GPIO8 (SPI_CE0_N) | | | source Schematic page 1, connector J8, pin 24 |
| pin 25: GND | Ground | | | source Schematic page 1, connector J8, pin 25 |
| pin 26: GPIO7 | GPIO7 (SPI_CE1_N) | | | source Schematic page 1, connector J8, pin 26 |
| pin 27: ID_SD | ID_SD | | Reserved for the ID EEPROM interface; schematic says do not use for anything other than attaching an I2C ID EEPROM, and leave unconnected if not required | source Schematic page 1, connector J8, pin 27 |
| pin 28: ID_SC | ID_SC | | Reserved for the ID EEPROM interface; schematic says do not use for anything other than attaching an I2C ID EEPROM, and leave unconnected if not required | source Schematic page 1, connector J8, pin 28 |
| pin 29: GPIO5 | GPIO5 | | | source Schematic page 1, connector J8, pin 29 |
| pin 30: GND | Ground | | | source Schematic page 1, connector J8, pin 30 |
| pin 31: GPIO6 | GPIO6 | | | source Schematic page 1, connector J8, pin 31 |
| pin 32: GPIO12 | GPIO12 | | | source Schematic page 1, connector J8, pin 32 |
| pin 33: GPIO13 | GPIO13 | | | source Schematic page 1, connector J8, pin 33 |
| pin 34: GND | Ground | | | source Schematic page 1, connector J8, pin 34 |
| pin 35: GPIO19 | GPIO19 | | | source Schematic page 1, connector J8, pin 35 |
| pin 36: GPIO16 | GPIO16 | | | source Schematic page 1, connector J8, pin 36 |
| pin 37: GPIO26 | GPIO26 | | | source Schematic page 1, connector J8, pin 37 |
| pin 38: GPIO20 | GPIO20 | | | source Schematic page 1, connector J8, pin 38 |
| pin 39: GND | Ground | | | source Schematic page 1, connector J8, pin 39 |
| pin 40: GPIO21 | GPIO21 | | | source Schematic page 1, connector J8, pin 40 |

## Build with it
Project ideas for the Raspberry Pi Zero W (pre-soldered header). Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

- [Room temperature and humidity logger](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20room%20temperature%20and%20humidity%20logger%20with%20a%20Raspberry%20Pi%20Zero%20W%20and%20a%20DHT22%20sensor): The DHT22 module is a digital sensor, so it needs no analog input (the Zero W header has no ADC pin). Use the sensor&#x27;s own datasheet for supply and wiring.
- [Pi status display](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20small%20status%20display%20that%20shows%20the%20IP%20address%20and%20CPU%20load%20with%20a%20Raspberry%20Pi%20Zero%20W%20and%20a%200.96%20inch%20OLED): The OLED talks I2C on header pins 3 (SDA1) and 5 (SCL1), which already have 1.8K pull-ups to 3V3 on the board. Power it from pin 1 (3V3) and a ground pin.
- [Wi-Fi connected indicator lights](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20set%20of%20indicator%20LEDs%20driven%20by%20a%20Raspberry%20Pi%20Zero%20W%20that%20show%20whether%20the%20Wi-Fi%20link%20and%20a%20script%20are%20running): Each LED goes from a GPIO pin through a series resistor to ground on the breadboard. Learning project for GPIO output; the Zero W has built-in Wi-Fi so no extra module is needed.

## Common mistakes

- Using a standard camera cable: the brief says the Zero needs a special camera cable ([source](https://www.farnell.com/datasheets/3626548.pdf))
- Using a full-size HDMI cable: the board has a Mini HDMI port ([source](https://www.farnell.com/datasheets/3626548.pdf))
- Using pins 27 and 28 (ID_SD, ID_SC) as normal GPIO: the schematic says they are for an ID EEPROM only and to leave them unconnected otherwise (source: [link](https://datasheets.raspberrypi.com/rpizero/raspberry-pi-zero-w-reduced-schematics.pdf), page 1 note)

## Not covered by the official source

- Power input voltage and typical current are not stated in the product brief.
- 5 V tolerance of GPIO pins and per-pin current limits are not stated in the schematic or brief: not claimed.
- Brief specs are from the a hosted copy of the product brief.

## Sources

- [link](https://datasheets.raspberrypi.com/rpizero/raspberry-pi-zero-w-reduced-schematics.pdf) (Raspberry Pi Zero W reduced schematics, RPI-ZERO-W, (c) Raspberry Pi 2015)
- [link](https://www.farnell.com/datasheets/3626548.pdf) (Raspberry Pi Zero W product brief)
