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
| Pin | Signal | Pad | In Purser |
|---|---|---|---|
| 1 | 3.3V (Power output) | — | Clock 3.3 V |
| 2 | 5V (Power in/out) | — | LED 5 V |
| 3 | I²C3 SDA | PH5 | Clock SDA |
| 4 | 5V (Power in/out) | — | Disk 5 V (extra) |
| 5 | I²C3 SCK / SCL | PH4 | Clock SCL |
| 6 | GND | — | LED GND |
| 7 | GPIO | PC9 | — |
| 8 | UART5 TX | PH2 | — |
| 9 | GND | — | Disk GND (extra) |
| 10 | UART5 RX | PH3 | — |
| 11 | GPIO | PC6 | — |
| 12 | GPIO | PC11 | Maintenance switch |
| 13 | GPIO | PC5 | — |
| 14 | GND | — | Switch GND |
| 15 | GPIO | PC8 | — |
| 16 | GPIO | PC15 | — |
| 17 | 3.3V (Power output) | — | — |
| 18 | GPIO | PC14 | — |
| 19 | SPI1 MOSI | PH7 | LED data |
| 20 | GND | — | — |
| 21 | SPI1 MISO | PH8 | — |
| 22 | GPIO | PC7 | — |
| 23 | SPI1 CLK | PH6 | — |
| 24 | SPI1 CS | PH9 | — |
| 25 | GND | — | Clock GND |
| 26 | GPIO | PC10 | — |
13-pin expansion header
| Pin | Signal | Pad | In Purser |
|---|---|---|---|
| 1 | 5V (Power in/out) | — | Disk 5 V |
| 2 | GND | — | Disk GND |
| 3 | USB2 D− (USB 2.0 data minus) | — | Disk D− |
| 4 | USB2 D+ (USB 2.0 data plus) | — | Disk D+ |
| 5 | USB3 D− (USB 2.0 data minus, third port) | — | — |
| 6 | USB3 D+ (USB 2.0 data plus, third port) | — | — |
| 7 | LINEOUT R (Right audio out) | — | — |
| 8 | LINEOUT L (Left audio out) | — | — |
| 9 | TV OUT (Composite video out) | — | — |
| 10 | GPIO | PC1 | — |
| 11 | GPIO | PI16 | — |
| 12 | GPIO | PI6 | — |
| 13 | IR RX (Infrared receiver) | — | — |
UART header
| Pin | Signal | Pad | In Purser |
|---|---|---|---|
| 1 | GND | — | — |
| 2 | RX (Board serial input · 3.3 V TTL) | — | — |
| 3 | TX (Board serial output · 3.3 V TTL) | — | — |
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
| Wire | Goes to | Note |
|---|---|---|
| Disk · red 1 | 13-pin header, pin 1 (5 V) | Power for the bridge board |
| Disk · black 1 | 13-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 2 | 26-pin header, pin 4 (5 V) | Extra supply, so the disk current is not carried by a single pin |
| Disk · black 2 | 26-pin header, pin 9 (GND) | — |
| LED · 5 V | 26-pin header, pin 2 (5 V) | — |
| LED · GND | 26-pin header, pin 6 (GND) | — |
| LED · DIN | 26-pin header, pin 19 (MOSI) | The stick's input end; DOUT stays free |
| Switch · lead 1 | 26-pin header, pin 12 (PC11) | — |
| Switch · lead 2 | 26-pin header, pin 14 (GND) | Contact closed means maintenance on |
| Clock · VCC | 26-pin header, pin 1 (3.3 V) | Not 5 V; the module pulls I²C up to this voltage |
| Clock · SDA | 26-pin header, pin 3 (I²C3 SDA, PH5) | — |
| Clock · SCL | 26-pin header, pin 5 (I²C3 SCL, PH4) | — |
| Clock · GND | 26-pin header, pin 25 (GND) | Pin 9 carries the disk's extra ground; 20 works too |
In order
- 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
- 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
- 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
- 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
- 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
- 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
- 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