Skip to content

Orange Pi Zero 3 pinout and wiring examples

Published · By NOQ team

What each pin on the Orange Pi Zero 3 headers carries, and how we wire the disk, light, switch and clock module in NOQ Purser.

3D pinout

Find the pin by turning the board

A 3D model of the Orange Pi Zero 3 v1.2. Tap a pin or pick it from the list; the pins Purser uses are labelled (with the clock module also 1, 3, 5 and 25). Pin names come from the official manual.

Drag to rotate · Scroll or pinch · Tap a pin

5VExpansion · Pin 1 · Power in/outPurser · Disk 5 V

Orange Pi hardware manual · Audio outputs per the §3.15 schematic: 7 = R, 8 = L.

The Orange Pi Zero 3 (v1.2) has two pin headers and a three-pin serial (UART) header. Pin names come from the board's official manual 1; the disk, light and switch wiring is verified on our own NOQ Purser box 2. Pin 1 is the square solder pad on both headers 2.

26-pin header

PinSignalPadIn Purser
13.3V (Power output)—Clock 3.3 V
25V (Power in/out)—LED 5 V
3I²C3 SDAPH5Clock SDA
45V (Power in/out)—Disk 5 V (extra)
5I²C3 SCK / SCLPH4Clock SCL
6GND—LED GND
7GPIOPC9—
8UART5 TXPH2—
9GND—Disk GND (extra)
10UART5 RXPH3—
11GPIOPC6—
12GPIOPC11Maintenance switch
13GPIOPC5—
14GND—Switch GND
15GPIOPC8—
16GPIOPC15—
173.3V (Power output)——
18GPIOPC14—
19SPI1 MOSIPH7LED data
20GND——
21SPI1 MISOPH8—
22GPIOPC7—
23SPI1 CLKPH6—
24SPI1 CSPH9—
25GND—Clock GND
26GPIOPC10—
Source: Orange Pi Zero 3 user manual (v1.3)1 · NOQ Purser · open.noq.works2

13-pin expansion header

PinSignalPadIn Purser
15V (Power in/out)—Disk 5 V
2GND—Disk GND
3USB2 D− (USB 2.0 data minus)—Disk D−
4USB2 D+ (USB 2.0 data plus)—Disk D+
5USB3 D− (USB 2.0 data minus, third port)——
6USB3 D+ (USB 2.0 data plus, third port)——
7LINEOUT R (Right audio out)——
8LINEOUT L (Left audio out)——
9TV OUT (Composite video out)——
10GPIOPC1—
11GPIOPI16—
12GPIOPI6—
13IR RX (Infrared receiver)——
Source: Orange Pi Zero 3 user manual (v1.3)1 · NOQ Purser · open.noq.works2

UART header

PinSignalPadIn Purser
1GND——
2RX (Board serial input · 3.3 V TTL)——
3TX (Board serial output · 3.3 V TTL)——
Source: Orange Pi Zero 3 user manual (v1.3)1

The UART pins are 3.3 V TTL; use a 3.3 V USB-to-TTL adapter 1.

Wiring example: NOQ Purser

Pin numbers come from the official Orange Pi Zero 3 v1.2 pinout. The disk wires, the light and the switch are verified on our own box. Pin 1 is the square solder pad on both headers. 2

WireGoes toNote
Disk · red 113-pin header, pin 1 (5 V)Power for the bridge board
Disk · black 113-pin header, pin 2 (GND)—
Disk · white (D−)13-pin header, pin 3 (USB2 D−)Keep the data wires short and close together
Disk · green (D+)13-pin header, pin 4 (USB2 D+)—
Disk · red 226-pin header, pin 4 (5 V)Extra supply, so the disk current is not carried by a single pin
Disk · black 226-pin header, pin 9 (GND)—
LED · 5 V26-pin header, pin 2 (5 V)—
LED · GND26-pin header, pin 6 (GND)—
LED · DIN26-pin header, pin 19 (MOSI)The stick's input end; DOUT stays free
Switch · lead 126-pin header, pin 12 (PC11)—
Switch · lead 226-pin header, pin 14 (GND)Contact closed means maintenance on
Clock · VCC26-pin header, pin 1 (3.3 V)Not 5 V; the module pulls I²C up to this voltage
Clock · SDA26-pin header, pin 3 (I²C3 SDA, PH5)—
Clock · SCL26-pin header, pin 5 (I²C3 SCL, PH4)—
Clock · GND26-pin header, pin 25 (GND)Pin 9 carries the disk's extra ground; 20 works too
Source: NOQ Purser · open.noq.works2

In order

  1. Take out the bridge board — Open the housing of the USB-SATA cable, take out the board and desolder the USB cable. Four solder pads for USB remain on the board. 2
  2. Wire the disk — Solder the four wires to the first four pins of the 13-pin header and the extra supply pair to the 26-pin header. The disk runs at USB 2.0 speed; enough for a nightly backup. 2
  3. Wire the light — Solder the stick's 5 V, GND and DIN. Data travels on one wire. Without a level shifter the stick needs a diode, a capacitor and a DIN resistor; see the LED card below. 2
  4. Wire the switch — Solder the two leads of the switch to pin 12 and pin 14. No external resistor is planned; the board's internal pull-up will be used. 2
  5. Wire the clock module (optional) — VCC to pin 1, SDA to pin 3, SCL to pin 5, GND to pin 25. 32K and SQW stay free. The box finds the module at address 0x68 itself; it takes its first time from the phone while pairing and keeps it without a network afterwards (about a minute of drift a year). 2
  6. Measure before powering — Check with a multimeter that there is no short between 5 V and GND. The undersides of the bare boards and the soldered ends must not touch each other. 2
  7. Power from the adapter — Plug the board into a 5 V 3 A adapter, not into a computer. 2

Note: Armbian's newest trunk build did not boot on this board; the stable release (6.12 kernel) did. The Purser image is built on the stable release. 2

Cookie preferences