MakerLab
Raspberry PiRaspberry Pi Zero WH

Raspberry Pi Zero WH: Tiny Powerhouse for Connected Projects

The Raspberry Pi Zero WH is an ultra-compact, low-cost single-board computer with built-in Wi-Fi and Bluetooth, ideal for embedded projects requiring wireless connectivity.

Raspberry Pi Zero WH

The Raspberry Pi Zero WH is a stripped-down, incredibly small iteration of the popular Raspberry Pi single-board computer. It retains the core functionality of its predecessors but in a significantly reduced form factor and at a much lower price point. This version, the 'WH', specifically denotes the inclusion of pre-soldered headers (H) and wireless connectivity (W), making it immediately accessible for makers and hobbyists without requiring additional soldering or USB Wi-Fi dongles.

At its heart, the Raspberry Pi Zero WH is powered by the Broadcom BCM2835 system-on-a-chip (SoC). This chip features a single-core 1GHz ARM11 processor, which, while modest by today's standards, is sufficient for many embedded tasks, especially those involving IoT, sensor data logging, or simple control applications. It's important to distinguish the Zero WH from the original Zero and Zero W; the WH adds the convenience of a pre-installed 40-pin GPIO header, which is a significant upgrade for ease of use, especially for beginners.

Positioned as an entry-level, ultra-low-cost option, the Zero WH is perfect for projects where space and power consumption are critical, and where wireless communication is a must. It's an excellent choice for students learning about Linux-based embedded systems, makers building compact IoT devices, or engineers prototyping small-scale wireless sensor networks. Its small size and low power draw make it suitable for battery-powered applications or for integration into tight enclosures where a full-sized Raspberry Pi would be impractical.

Watch

Related video, embedded from YouTube.

Specifications

Microcontroller / SoCBroadcom BCM2835
Architecture32-bit ARMv6
Clock speed1 GHz
Flash / StorageMicroSD card slot (card not included)
RAM / SRAM512MB LPDDR2 SDRAM
Operating voltage3.3V
Digital I/O pins17 GPIO (General Purpose Input/Output)
Analog / ADCโ€”
PWMSoftware PWM available on GPIO pins
Connectivity802.11b/g/n Wi-Fi, Bluetooth 4.1 (BLE)
USB1x Micro USB OTG port (for data), 1x Micro USB power port
Power input5V via Micro USB connector (minimum 1.2A recommended)
Dimensions65mm x 30mm x 5mm

Pinout & pin functions

PinFunction
3V3Power output (3.3V)
GNDGround
GPIO2Data I/O (I2C SDA)
GPIO3Data I/O (I2C SCL)
GPIO4Data I/O
GPIO17Data I/O
GPIO18Data I/O (PWM0)
GPIO27Data I/O
GPIO22Data I/O
GPIO5Data I/O
GPIO6Data I/O
GPIO12Data I/O (PWM0)
GPIO13Data I/O (PWM1)
GPIO19Data I/O (PWM0)
GPIO16Data I/O
GPIO26Data I/O
GPIO7Data I/O (SPI MOSI)
GNDGround
GPIO8Data I/O (SPI MISO)
GPIO9Data I/O (SPI SCLK)
GPIO10Data I/O (SPI CS)
GPIO11Data I/O
GNDGround
GPIO14Data I/O (UART TX)
GPIO15Data I/O (UART RX)
GNDGround
RUNSystem reset (active low)
GNDGround
ID_SDI2C EEPROM data
ID_SCI2C EEPROM clock

Wiring & circuit basics

Powering the Raspberry Pi Zero WH is straightforward, primarily done through its dedicated Micro USB power port. It requires a stable 5V supply, and a current rating of at least 1.2A is recommended to ensure reliable operation, especially when using peripherals. Avoid using lower-rated power supplies, as this can lead to instability and unexpected shutdowns. The board itself operates at 3.3V logic levels for its GPIO pins. Connecting 5V devices directly to the GPIO pins can damage the Pi Zero WH. Always use level shifters or voltage dividers when interfacing with 5V components.

When connecting external components, always ensure you are using the correct voltage. For example, to blink an LED, connect the LED's anode (longer leg) to a GPIO pin (e.g., GPIO17) through a current-limiting resistor (typically 220-330 ohms). Connect the LED's cathode (shorter leg) to a GND pin. This setup ensures the GPIO pin outputs 3.3V to turn on the LED, and the resistor protects both the LED and the Pi's GPIO.

For more complex sensors like an I2C device (e.g., a BME280 environmental sensor), you'll typically need to connect its VCC to a 3.3V pin on the Pi Zero WH, its GND to a GND pin, its SDA pin to the Pi's GPIO2 (I2C SDA), and its SCL pin to the Pi's GPIO3 (I2C SCL). Always consult the sensor's datasheet for specific wiring instructions and voltage requirements.

Programming & getting started

The Raspberry Pi Zero WH runs Raspberry Pi OS (formerly Raspbian), a Debian-based Linux distribution, making it a full-fledged computer. You can program it using standard Linux tools, scripting languages like Python, or by installing development environments directly on the Pi. For embedded development, Python with libraries like RPi.GPIO or gpiozero is a popular choice for controlling the GPIO pins. You can also use cross-compilation tools on a more powerful computer to build C/C++ applications.

To get started, flash Raspberry Pi OS onto a MicroSD card using a tool like Raspberry Pi Imager. Insert the card into the Pi Zero WH, connect power and a suitable display/keyboard (or set up headless access via SSH over Wi-Fi), and boot up. You can then open a terminal and install necessary libraries or start coding directly. For beginners, using Python with the gpiozero library offers a high-level, easy-to-understand API for interacting with the hardware.

Project ideas

Compact Weather StationBuild a small weather station that logs temperature, humidity, and pressure using an I2C sensor (like the BME280). It connects to GPIO2 (SDA) and GPIO3 (SCL) and uses Wi-Fi to send data to a cloud service. This project teaches I2C communication and basic IoT data transmission.
Wireless Motion DetectorCreate a battery-powered motion detector using a PIR sensor connected to a GPIO pin. The Pi Zero WH wakes up on motion detection, takes a picture using a CSI camera module, and uploads it via Wi-Fi. This project explores GPIO interrupts, camera interfacing, and wireless uploads.
Smart Mirror NodeUse the Pi Zero WH as a compact, wirelessly connected node for a larger smart mirror project. It can fetch and display weather, news, or calendar updates, communicating with a central server via Wi-Fi. This project focuses on network communication and data parsing.
Retro Gaming HandheldWith its small size and low power, the Pi Zero WH can be the brain of a miniature retro gaming console using a small screen and buttons connected to GPIO. This project involves setting up emulation software and mapping physical buttons to game controls.
Bluetooth Low Energy (BLE) BeaconConfigure the Pi Zero WH to act as a BLE beacon, broadcasting custom messages or sensor data. This is useful for location tracking, proximity marketing, or simple device discovery. This project dives into Bluetooth LE protocols and configuration.
Automated Plant Watering SystemConnect a soil moisture sensor and a small water pump to the Pi Zero WH. The system monitors soil moisture and activates the pump when needed, all controlled wirelessly. This project combines sensor reading, actuator control, and potentially remote monitoring via Wi-Fi.

Buying tips & gotchas

When purchasing a Raspberry Pi Zero WH, ensure you buy from reputable sources to avoid counterfeit or faulty units. The most common pitfalls include using an underpowered power supply, which leads to instability, or incorrectly wiring components due to the 3.3V logic level. Always double-check your connections. Accessories like a good quality MicroSD card (16GB or larger recommended), a suitable 5V power adapter (1.2A minimum), and a USB OTG adapter for connecting standard USB devices are essential. A small heatsink can also be beneficial for sustained heavy loads, though often not strictly necessary for typical Zero WH use cases.