Orange Pi One Pinout, Datasheet, Schematic [Ultimate Guide]

In this guide, you’ll find the Orange Pi One pinout diagram (the 40-pin GPIO header, with physical, Linux GPIO, and wiringOP numbers), its datasheet and schematic diagram, and every pin group explained with its default pins, the overlay that enables it, and the gotchas. Without further ado, let’s get right into it!

The Orange Pi One (often written Orange Pi 1) is a small (69 x 48mm) Linux board built around the Allwinner H3: a quad-core Cortex-A7 with 512MB or 1GB of DDR3, 10/100 Ethernet, HDMI, and no Wi-Fi. Its 40-pin header follows the Raspberry Pi layout, but the pins behind it are Allwinner pins, it’s 3.3v only, and it sits rotated 180° compared with a Pi. Don’t confuse it with the Orange Pi One Plus, which is a different board (Allwinner H6, Gigabit Ethernet) with a 26-pin header.


Orange Pi One Pinout Diagram

Here is a detailed Orange Pi One Pinout Diagram with colored labels and legends to help you easily identify the functionalities that each pin can perform. Each pin of the 40-pin GPIO header shows its physical pin number, the Allwinner H3 port name (PA12 style), the Linux GPIO number, the wiringOP (wPi) number, the UART, I2C, and SPI functions you can turn on with overlays, and the resistors fitted on the board. This Orange Pi One H3 GPIO pinout is the same on the 512MB and 1GB boards.

Orange Pi One pinout diagram of the 40-pin GPIO header with Allwinner H3 GPIO names, Linux GPIO numbers, wiringOP numbers, UART, SPI and I2C pin functions
40-pin GPIO header (board v1.1)

Read it from the grey strip in the middle: odd pins (1, 3, 5…) are the left column, which is the row along the board edge, and even pins (2, 4, 6…) are the right column, the inner row. On the board, pin 1 is at the end of the header next to the DC jack and the microSD slot, marked with a small ▲ on the silkscreen, and pins 39/40 are at the USB-A end. The small square next to a port name means the pin is 3.3v only, the brown “ON BOARD” boxes are the I2C pull-up resistors, and the numbered badges point to the notes at the bottom of the diagram.

Orange Pi One 40-Pin Header Pin Table

Click to expand the full pin table (40 pins)
PinNameLinux #wPiFunctions
13.3V––3.3v power
25V––5v power
3PA12120I2C0_SDA, DI_RX
45V––5v power
5PA11111I2C0_SCL, DI_TX
6GND––Ground
7PA662GPIO (SIM_PWREN); no PWM on the H3
8PA13133UART3_TX, SPI1_CS
9GND––Ground
10PA14144UART3_RX, SPI1_CLK
11PA115UART2_RX, JTAG_CK
12PD141106GPIO (1-Wire default pin)
13PA007UART2_TX, JTAG_MS
14GND––Ground
15PA338UART2_CTS, JTAG_DI
16PC4689GPIO (NAND_CE0)
173.3V––3.3v power
18PC77110GPIO (NAND_RB1)
19PC06411SPI0_MOSI, NAND_WE
20GND––Ground
21PC16512SPI0_MISO, NAND_ALE
22PA2213UART2_RTS, JTAG_DO
23PC26614SPI0_CLK, NAND_CLE
24PC36715SPI0_CS0, NAND_CE1
25GND––Ground
26PA212116GPIO (PCM0_DIN, SIM_VPPPP)
27PA191917I2C1_SDA, PCM0_CLK
28PA181818I2C1_SCL, PCM0_SYNC
29PA7719GPIO (SIM_CLK)
30GND––Ground
31PA8820GPIO (SIM_DATA)
32PG820021UART1_RTS
33PA9922GPIO (SIM_RST)
34GND––Ground
35PA101023GPIO (SIM_DET)
36PG920124UART1_CTS
37PA202025GPIO (PCM0_DOUT, SIM_VPPEN)
38PG619826UART1_TX
39GND––Ground
40PG719927UART1_RX

Orange Pi One vs Raspberry Pi GPIO Header (Rotated 180°)

The Orange Pi One’s 40 pins carry the same power and ground pins as a Raspberry Pi header, and the I2C (pins 3/5), UART (pins 8/10), and SPI (pins 19/21/23/24) buses sit in the same places. But the header is turned 180°: on a Raspberry Pi (and on the Orange Pi PC), the odd pins are the inner row, while on the Orange Pi One they’re on the board edge. Pin numbers still match pin for pin, so jumper wires counted by pin number work, but a Pi HAT or a keyed ribbon cable plugged in the right way round points away from the board instead of over it. Count from the ▲ on the silkscreen, never from the board corner you’re used to on a Pi.

Note: The Raspberry Pi’s BCM GPIO numbers don’t apply to the Orange Pi One. “GPIO17” in a Pi tutorial means physical pin 11, which is PA1 (Linux 1, wPi 5) here. Translate by physical pin number with the table above.

Buy an Orange Pi One: If you don’t have one yet, you can get the board from Amazon or from Orange Pi’s official store on AliExpress. Add a 5v / 2A power supply with the 4.0 x 1.7mm DC plug, because the micro-USB port can’t power this board.

Download Orange Pi One Pinout Diagram (Full Resolution)

The Orange Pi One 40-pin GPIO header pinout diagram (physical, Linux GPIO, and wiringOP numbers) in full resolution (5120 px), in one ZIP file.


Orange Pi One Datasheet

The Orange Pi One is built around the Allwinner H3 system-on-chip. Orange Pi doesn’t publish a separate board datasheet: the user manual holds the specs and the 40-pin tables, and the H3 datasheet holds the pin functions and electrical limits. Here are the official documents, which Orange Pi hosts on Google Drive and links from its Orange Pi One service and support page:

DocumentVersion / DateWhat You’ll Use It ForLink
Allwinner H3 DatasheetRevision 1.2, 23 Apr 2015 (614 pages)Pin multiplexing (Table 3-2: every function of every port and the reset pull states), absolute maximum ratings (Table 9-1), operating conditionsPDF
Orange Pi One Schematic (ORANGE_PI-ONE-V1_1)v1.1, Dec 2015 / Feb 2016 (15 sheets)The 40-pin header, I2C pull-ups, LEDs, SW4 and the debug UART (sheet 15), the power circuits (sheet 7), the CPU pins (sheet 6)PDF
Orange Pi One User Manual2021 edition (127 pages)Specs, the 40-pin table (3.19), gpio readall and wiringOP (3.20), the I2C, SPI, and UART overlays (3.21), LEDs (3.5), the debug UART (2.7), and the power button (3.26)PDF
Orange Pi One Product PageLiveHardware specification and Orange Pi’s pin pictureWeb
wiringOPGitHub (live)Orange Pi’s GPIO library, the wPi pin map, and gpio readallGitHub

Which document do I need? The H3 datasheet for what each pin can do and its electrical limits, the schematic for what the board wires to each pin, and the user manual for the overlay lines and the device names. The manual’s spec table still says 512MB, while the product page and Orange Pi’s store now list a 1GB version too; the board, the header, and the pinout are the same on both.


Orange Pi One Schematic

Orange Pi publishes the full Orange Pi One schematic (v1.1, 15 sheets). The carousel below shows the three sheets that matter when you wire the board: the CPU sheet with every GPIO ball, the power sheet, and the “Ext Port” sheet with the 40-pin header, the LEDs, the button, and the debug port. Click a page to view it full screen.

Orange Pi One schematic page 1: CPU: Allwinner H3 GPIO balls with their pin functions, PL3 key, PL6 CPU voltage select, PL10 and PA15 LEDs (v1.1)
Page 1 of 3 · CPU & GPIO (Sheet 6)
Orange Pi One schematic page 2: POWER: DC jack J1, 1N5819 diode, AMS1117 3.3v, SY8113B CPU core, SY8008B DRAM and AVCC, SY8089A 1.2v system rail (v1.1)
Page 2 of 3 · Power (Sheet 7)
Orange Pi One schematic page 3: Ext Port: 40-pin header CON3, I2C pull-ups R151 to R154, LEDs, keys and debug UART J3 (v1.1)
Page 3 of 3 · Ext Port: 40-Pin Header, LEDs & Debug (Sheet 15)
Page 1 of 4

Official source: the Orange Pi One schematic (PDF), ORANGE_PI-ONE-V1_1, from Orange Pi’s support page. Here’s what to look at:

  • Power input (sheet 7): the 5v barrel jack J1 feeds the DCIN-5V net, and that net goes straight to header pins 2 and 4, with no fuse. The TVS diode footprint next to the jack (ESD1) is marked NC (not fitted), so there’s no reverse-polarity or over-voltage protection either. A 1N5819 Schottky diode (D36) then makes VCC-5V for the USB port, HDMI, and the smaller regulators. The micro-USB OTG port isn’t wired into this path at all, which is why it can’t power the board.
  • No PMIC, just discrete regulators (sheet 7): an AMS1117-3.3 linear regulator makes the main 3.3v rail (VCC-IO, labelled 3.3v / 1A), switched on through the Q1 P-MOSFET. Header pins 1 and 17 (VCC3V3-EXT) hang off this rail, together with the SoC I/O, the Ethernet PHY, and the SD card. Two SY8008B bucks make the DRAM voltage and the 3.3v analog/RTC rail, and an SY8089A makes the 1.2v system rail.
  • GPIO-switched CPU core voltage (sheet 7): a SY8113B buck, fed straight from DCIN-5V, powers the CPU cores. Its feedback divider is switched by the CPUX-VSET line from PL6 through the BSN20 MOSFET Q5, so the core runs at 1.1v or 1.3v. Linux picks the higher voltage for the faster clock steps. It’s a two-step regulator, not a real PMIC, which is part of why the H3 boards run warm.
  • 40-pin header CON3 (sheet 15): every GPIO goes straight to the H3, with no level shifter and no series resistor. The only parts on the header lines are four 2kΩ pull-ups to VCC3V3-EXT: R151/R152 on TWI0 (pins 3/5) and R153/R154 on TWI1 (pins 27/28). The sheet labels pin 7 “PWM1”, but the H3 datasheet gives PA6 no PWM function.
  • LEDs (sheet 15): PWR-LED (PL10) drives D7 and STATUS-LED (PA15) drives D8, both active high through 2kΩ resistors. The net labels call D7 “LED-R” and D8 “LED-G”, but Orange Pi’s manual and the mainline Linux device tree both say PL10 is the green LED and PA15 is the red one, and that’s what the board shows.
  • Key (sheet 15): the side button SW4 sits on PL3 (the RECOVERY net) with a 47kΩ pull-up, active low. The UBOOT key drawn next to it isn’t fitted.
  • Debug UART J3 (sheet 15): a 3-pin header with pin 1 = GND (square pad), pin 2 = RX (PA5, UART0 RX, through a BSS138 MOSFET level shifter with a 10kΩ pull-up), and pin 3 = TX (PA4, through a 0Ω resistor). It’s UART0, the Linux console, at 3.3v.

Note: Skip sheet 3 (POWER TREE) and sheet 4 (GPIO ASSIGNMENT) of the PDF: they still list regulators and pin uses from an earlier Orange Pi design (an RT9050, a SY8106A, a Wi-Fi supply) that the Orange Pi One doesn’t have. The POWER sheet (7) and the Ext Port sheet (15) show what’s really on the board.


Orange Pi One Specs

Here are the Orange Pi One specifications, with the board-level details that matter when you wire it:

Orange Pi One single-board computer (Allwinner H3, board v1.1, top view)

Get an Orange Pi One: the official Orange Pi board is the one I recommend. Grab it from Amazon or AliExpress.

FeatureOrange Pi One
SoCAllwinner H3, 4x Cortex-A7, rated up to 1.2GHz (mainline Linux tops out at 1.008GHz unless you add a higher CPU clock overlay)
GPUMali-400 MP2
RAM512MB or 1GB DDR3 (shared with the GPU)
StoragemicroSD slot only (Orange Pi lists up to 32GB), no eMMC, no SPI flash
Ethernet10/100Mbps RJ45 (the H3’s internal PHY)
WirelessNone (no Wi-Fi, no Bluetooth)
USB1x USB 2.0 Type-A host, 1x micro-USB OTG (data only, not a power input)
VideoHDMI out; CSI camera connector on the bottom side
GPIO header40-pin (2×20, 2.54mm, fitted), 28 GPIOs, 3.3v logic, not 5v tolerant
Other headers3-pin debug UART J3 (UART0, 115200 baud)
Keys / LEDsSW4 power key (PL3); green LED (PL10), red LED (PA15)
Power input5v / 2A through the DC barrel jack (4.0 x 1.7mm), or 5v into header pins 2/4
3.3v regulatorAMS1117-3.3 linear regulator (3.3v / 1A on the schematic), shared with the whole board
BootmicroSD only
Size / weight69 x 48mm, 27g

Orange Pi One Specifications Summary

  • The Orange Pi One has a 40-pin GPIO header in the Raspberry Pi layout, rotated 180° (odd pins on the board edge), plus a separate 3-pin debug UART.
  • It has 28 GPIOs on the header, all 3.3v and not 5v tolerant, wired straight to the H3. The H3’s absolute maximum is ±40mA per pin, and Allwinner publishes no total budget, so keep each pin to a few mA.
  • Pins 3, 5, 27, and 28 have 2kΩ pull-ups to 3.3v (I2C0 and I2C1), so they idle high.
  • Power pins: 5v on pins 2 and 4 (straight from the DC jack), 3.3v on pins 1 and 17, and 8 GND pins (6, 9, 14, 20, 25, 30, 34, 39).
  • There are no analog inputs: add an external I2C or SPI ADC.
  • UART: 3 on the header. UART3 is on pin 8 (TX) and pin 10 (RX), UART2 on 13/11, and UART1 on 38/40.
  • I2C: 2 buses, I2C0 (pins 3/5) and I2C1 (pins 27/28).
  • SPI: SPI0 on pins 19, 21, 23, and 24 (CS0) → /dev/spidev0.0.
  • PWM: no hardware PWM on the 40-pin header. The H3’s only PWM output (PA5) is the debug UART’s RX pin.
  • Orange Pi’s Linux 5.4 images ship with I2C, SPI, and UART off: add them to overlays= and reboot.
  • Power: 5v / 2A through the DC jack only. The micro-USB port can’t power the board.
  • It boots from microSD only.

Orange Pi One H3 Peripherals vs the 40-Pin Header

PeripheralOn the HeaderOverlayLinux Device / Notes
GPIO28 pinsAlways available/dev/gpiochip0 (PA, PC, PD, PG); edge interrupts on PA and PG pins only
UART3: UART1, UART2, UART3uart1, uart2, uart3/dev/ttyS1, ttyS2, ttyS3; RTS/CTS on UART1 and UART2 only
I2C2: I2C0, I2C1i2c0, i2c1/dev/i2c-0, /dev/i2c-1 (2kΩ pull-ups on the board)
SPI1: SPI0 (CS0)spi-spidev + param_spidev_spi_bus=0/dev/spidev0.0; SPI1 can’t be used (PA15 is the red LED)
PWMNone on the headerpwm (PA5 only)PWM0 is the debug UART’s RX pin, so you lose the console
1-WirePin 12 (PD14) by defaultw1-gpio/sys/bus/w1/devices; move it with param_w1_pin
I2S / PCMPartial (PCM0 pins 26, 27, 28, 37)–Pins 27/28 are I2C1 with pull-ups, so I2S isn’t practical
ADCNone–The H3 has no general-purpose ADC
Debug UART (UART0)3-pin J3 headerAlways on/dev/ttyS0, the Linux console

Orange Pi One Quick Pin Selection Guide

Use CaseRecommended PinsWhy
Serial port / UARTPins 8 (TX) / 10 (RX), UART3The Raspberry Pi’s UART position, /dev/ttyS3
UART with RTS/CTSPins 38 / 40 + 32 / 36, UART1/dev/ttyS1, the only full UART on the header that leaves the JTAG pins alone
I2C sensors and displaysPins 3 (SDA) / 5 (SCL), I2C02kΩ pull-ups on the board, /dev/i2c-0
A second I2C busPins 27 (SDA) / 28 (SCL), I2C1Pull-ups on the board too, /dev/i2c-1
SPI devicePins 19, 21, 23 + CS0 pin 24SPI0, the only usable SPI bus
1-Wire (DS18B20)Pin 12 (PD14), or pin 7 with param_w1_pin=PA6The w1-gpio overlay default; add a 4.7kΩ pull-up
LED or relayPin 7 (PA6), 29, 31, 33, 35, or 37Free PA pins with no pull-up and no bus function
Button with an interruptPin 7, 11, 13, 15, 22, 26, 29, 31, 33, 35, or 37Only ports PA and PG have edge interrupts
Hardware PWMPA5 on the debug header (middle pin)The only PWM pin; costs you the serial console
Analog inputNone on the boardAdd an I2C or SPI ADC

Orange Pi One Pins to Use With Caution

PinReasonWhat to Do
Pins 3, 5, 27, 282kΩ pull-ups to 3.3v on the boardThey idle high as GPIOs; use them for active-low signals or leave them for I2C
Pin 7 (PA6)Labelled PWM1, but the H3 has no PWM on PA6Use it as a plain GPIO
Pins 16, 18, 24 (PC4, PC7, PC3)Internal pull-up on at reset, no interrupts on port CExpect them to read high until your code sets them
Pin 12 (PD14)Default pin of the w1-gpio overlay, no interrupts on port DFine as an output; pick a PA pin for interrupt inputs
Pins 11, 13, 15, 22Also the H3’s JTAG pins (and UART2)Fine as GPIO or UART2 in Linux
Pins 2, 4 (5v)DC-jack 5v, no fuse and no reverse protectionNever feed them and the DC jack at the same time; check polarity twice
Pins 1, 17 (3.3v)Shared with the board’s AMS1117 3.3v railLight loads only
Any GPIONot 5v tolerantLevel-shift 5v signals

Orange Pi One Pins Functions

Only 28 of the 40 pins of the Orange Pi One GPIO header are GPIO pins; the rest are power and ground. The pins are divided into the following groups based on the hardware functionality they’re used for.

Most pins can do two jobs, and each job is turned on with its own overlay in the boot environment file: /boot/orangepiEnv.txt on Orange Pi’s own images and /boot/armbianEnv.txt on Armbian. Both use the same overlay names on this board (Orange Pi’s Linux 5.4 images are built on Armbian). Pick the overlays first, so no two of them claim the same pin. We’ll discuss each pin group in the following sections one by one in more detail.


Orange Pi One Power Pins

The Orange Pi One 40-pin header has two 5v pins (2 and 4), two 3.3v pins (1 and 17), and eight GND pins (6, 9, 14, 20, 25, 30, 34, and 39). They’re highlighted in red and black in the pinout diagram.

Orange Pi One power pins (5v pins 2 and 4, 3.3v pins 1 and 17, GND pins 6, 9, 14, 20, 25, 30, 34, 39)

PinNameFunctionNotes
1, 173.3V3.3v outputVCC3V3-EXT, from the board’s AMS1117 3.3v rail (shared with the SoC I/O, Ethernet PHY, and SD card)
2, 45V5v output or inputDCIN-5V, wired straight to the DC jack: no fuse, no diode, no reverse protection
6, 9, 14, 20, 25, 30, 34, 39GNDGroundCommon ground for everything you connect

Powering the Orange Pi One: the board takes 5v / 2A through its DC barrel jack (4.0 x 1.7mm, centre positive). The micro-USB OTG port can’t power it: it isn’t connected to the power input at all, which Orange Pi’s manual says plainly and which catches out everyone who tries a phone charger first. A USB-to-DC barrel cable from a good 5v / 2A USB supply is the easy fix.

5V pins: pins 2 and 4 are the DC jack’s 5v net itself, so they give you whatever your supply delivers, before the board’s 1N5819 diode. You can power 5v modules from them. They also work the other way: a regulated 5v supply on pin 2 or 4 (and GND on pin 6) runs the board without the barrel jack. Orange Pi doesn’t document that, and there’s nothing on this net to protect the board, so a reversed connector or a supply above 5.5v goes straight into the CPU regulator.

3.3V pins: a 3.3v output for sensors and logic chips. The AMS1117 behind it is a linear regulator rated around 1A, and it already powers the SoC’s I/O, the Ethernet PHY, and the SD card, so keep the header load to a few hundred mA at most and give motors, LED strips, and other heavy loads their own supply.

Note: Weak power is the number one cause of “random reboots”, SD card corruption, and boards that won’t boot on the H3 Orange Pis. Use a real 5v / 2A supply with a short, thick cable, add a heatsink on the H3, and never feed the 5v pins while the DC jack is plugged in. If you power the Orange Pi One from pins 2/4, double-check the polarity before you switch on.

Never forget to connect the ground of every circuit to the Orange Pi One’s GND (common ground). External sensors and modules need the same ground line as the board to communicate with it properly.


Orange Pi One GPIO Pins

The Orange Pi One has 28 GPIO pins on its 40-pin header, and every one of them is a 3.3v pin that is not 5v tolerant. Each one can be an input or an output, or be switched to an alternate function (UART, I2C, or SPI) with an overlay.

Orange Pi One GPIO pins (28 GPIOs on the 40-pin header, from PA12 on pin 3 to PG7 on pin 40)

ParameterOrange Pi One GPIO
Logic level3.3v (H3 VCC-IO, 3.0v to 3.6v)
5v tolerantNo, on every pin
Absolute max current±40mA per pin (H3 datasheet Table 9-1), no published total; keep it to a few mA
WiringDirectly to the H3 (no level shifters, no series resistors)
On-board pull-ups2kΩ to 3.3v on pins 3, 5, 27, and 28
Reset stateFloating, except PC3, PC4, and PC7 (pins 24, 16, 18), which start with the internal pull-up on
Internal pull-up / pull-downYes, on every GPIO, set from software
InterruptsEdge events on the PA and PG pins only (not on PC0–PC7 or PD14)
Free pins (no bus function)Pins 7, 12, 16, 18, 26, 29, 31, 33, 35, 37

Because nothing sits between the header and the SoC, the Orange Pi One GPIOs behave like a microcontroller’s pins: the internal pull resistors work, and so do outputs that drive an LED through a 330Ω–1kΩ resistor. The exceptions are the four I2C pins (3, 5, 27, 28): their 2kΩ pull-ups win against any internal pull-down, so they read high when nothing drives them. And if you need an interrupt (a button, a coin counter, an encoder), use a pin on port PA or PG, because ports PC and PD have no external interrupt lines on the H3.

Orange Pi One GPIO Numbering: Physical vs Linux GPIO vs wiringOP

Every GPIO on the Orange Pi One has four names, and each tool wants a different one. Take physical pin 7 as an example:

NumberingPin 7 IsUsed By
Physical7Counting pins on the header (1–40)
Allwinner port namePA6The schematic, the H3 datasheet, the device tree, overlay parameters (param_w1_pin=PA6)
Linux GPIO number6sysfs (/sys/class/gpio) and libgpiod, where it’s gpiochip0, line 6
wiringOP (wPi)2wiringOP C functions and the gpio command

The Linux number comes from the port name: bank × 32 + pin, where A = 0, B = 1, C = 2, D = 3, and so on. PA6 is 0 × 32 + 6 = 6, PC4 (pin 16) is 2 × 32 + 4 = 68, PD14 (pin 12) is 3 × 32 + 14 = 110, and PG9 (pin 36) is 6 × 32 + 9 = 201. The L port counts as bank 11, so the green LED’s PL10 is 362. In libgpiod, ports PA to PG are gpiochip0 and the line offset is the same Linux number; the PL port is its own controller ( gpiochip1), and no header pin uses it. Run gpiodetect once to confirm the chip names on your image.

Install wiringOP from Orange Pi’s GitHub (Orange Pi’s manual builds it the same way), then gpio readall prints every pin with its physical, wPi, and port numbers. The table header says OrangePiH3, which is normal: wiringOP uses one H3 map for the One, the PC, and their siblings.

Orange Pi One GPIO Code Example (C/C++ and Python)

Here’s the same job in both languages: blink an LED on pin 7 (PA6), a free pin with no pull-up. Wire the LED’s anode to pin 7 through a 330Ω resistor, and its cathode to GND on pin 9. Both use the libgpiod v2 API (gpiochip0, line 6): install libgpiod-dev on a release that packages v2 (a current Armbian, Debian 13, or Ubuntu 24.04) and pip install gpiod for the Python bindings.

C/C++ (libgpiod v2)

Python (gpiod v2)

Note: libgpiod v2 needs a Linux 5.10 or newer kernel. Orange Pi’s own Orange Pi One images run Linux 5.4 (and the older 3.4), so on those use the libgpiod v1 tools and API, or wiringOP: in C that’s wiringPiSetup(), pinMode(2, OUTPUT), and digitalWrite(2, HIGH) for pin 7. A current Armbian image runs the code above as it is.

Note: The Orange Pi One’s GPIOs are not 5v tolerant, and there’s nothing between the header and the SoC to protect them. 5v on a header pin can damage the H3 for good. To connect 5v logic (an Arduino’s TX pin, a 5v sensor output, a coin acceptor’s signal), use a level shifter, a resistor divider, or an optocoupler.


Orange Pi One Analog Input Pins (ADC)

The Orange Pi One has no analog input pins. The H3 has no general-purpose ADC on the header (its only analog inputs are the audio codec and the key-ADC, and neither reaches the 40 pins). To read a potentiometer or an analog sensor, add an external ADC such as an ADS1115 (16-bit, I2C) on pins 3/5, or an MCP3008 (10-bit, SPI) on SPI0. Power the ADC from 3.3v, so its digital lines stay at the board’s logic level.


Orange Pi One UART Pins

The Orange Pi One has 3 UARTs on its 40-pin header: UART3 on pin 8 (TX) and pin 10 (RX), UART2 on pin 13 (TX) and pin 11 (RX), and UART1 on pin 38 (TX) and pin 40 (RX). Each one is off by default and is turned on with its overlay.

Orange Pi One Default UART Pins: PA13 (UART3 TX, pin 8) and PA14 (UART3 RX, pin 10), the same position as the Raspberry Pi’s serial port.

Orange Pi One UART pins (UART3 on pins 8 and 10, UART2 on 13 and 11, UART1 on 38 and 40)

UARTTXRXRTS / CTSOverlayLinux Device
UART1Pin 38 (PG6)Pin 40 (PG7)Pin 32 (PG8) / pin 36 (PG9)uart1/dev/ttyS1
UART2Pin 13 (PA0)Pin 11 (PA1)Pin 22 (PA2) / pin 15 (PA3)uart2/dev/ttyS2
UART3Pin 8 (PA13)Pin 10 (PA14)Not available (PA15/PA16 are used on the board)uart3/dev/ttyS3

UART3 sits where the Raspberry Pi has its serial port, so it’s the natural first choice for wiring that came from a Pi project. UART1 is the only one with usable flow control and no shared function, and UART2 shares its pins with JTAG. RTS/CTS stay off unless you add param_uart1_rtscts=1 or param_uart2_rtscts=1. Armbian’s UART3 flow-control option would use PA15 and PA16, but on the Orange Pi One PA15 drives the red LED and PA16 is the audio mute line, so UART3 is TX/RX only. The Linux console (UART0) is on the separate 3-pin debug header, covered below.

Note: The UART naming: on the One, pins 8/10 are UART3 (/dev/ttyS3), not UART1 as on many other boards. Users regularly enable uart1, wire to pins 8/10, and see nothing. Match the overlay to the pins, cross the lines to your device (board TX to device RX), connect GND, and keep the device at 3.3v levels.

There are so many modules that we can interface with the Orange Pi One using the UART, which include: GPS receivers, USB-to-serial adapters, RS-485 transceivers (Modbus), LoRa and cellular modems, fingerprint sensors, microcontroller boards, and much more.


Orange Pi One I2C Pins

The Orange Pi One has 2 I2C buses on its header: I2C0 on pin 3 (SDA) and pin 5 (SCL), and I2C1 on pin 27 (SDA) and pin 28 (SCL). Both have 2kΩ pull-ups to 3.3v on the board, and each appears as /dev/i2c-N once its overlay is on.

Orange Pi One Default I2C Pins: PA12 (I2C0 SDA, pin 3) and PA11 (I2C0 SCL, pin 5), the same position as the main I2C bus on a Raspberry Pi.

Orange Pi One I2C pins (I2C0 SDA pin 3, SCL pin 5; I2C1 SDA pin 27, SCL pin 28)

I2C BusSDASCLPull-UpsOverlayLinux Device
I2C0Pin 3 (PA12)Pin 5 (PA11)R151 / R152, 2kΩi2c0/dev/i2c-0
I2C1Pin 27 (PA19)Pin 28 (PA18)R153 / R154, 2kΩi2c1/dev/i2c-1

Allwinner calls its I2C controllers TWI (Two-Wire Interface), which is why the schematic says TWI0-SDA. The board’s 2kΩ pull-ups are fairly strong, so you don’t need extra ones; a module with its own 10kΩ pull-ups works fine alongside them. Orange Pi’s manual maps the buses exactly this way (i2c0 → /dev/i2c-0, i2c1 → /dev/i2c-1), even though ls /dev/i2c* may list a few more nodes (HDMI and internal buses).

Note: Many I2C modules sold for Arduino pull SDA and SCL up to 5v. That puts 5v on header pins with no protection behind them. Power such a module from 3.3v if it supports it, remove its 5v pull-ups, or put a bidirectional I2C level shifter between them.

There are so many modules and sensors that we can interface with the Orange Pi One using the I2C bus, which include: RTC clocks (DS3231), OLED displays (SSD1306), character LCDs with a PCF8574 backpack, temperature and humidity sensors (BME280, SHT31), IMUs (MPU6050), ADCs (ADS1115), GPIO expanders (MCP23017), PWM drivers (PCA9685), and much more.


Orange Pi One SPI Pins

The Orange Pi One has 1 usable SPI bus on its header: SPI0 on pins 19 (MOSI), 21 (MISO), and 23 (CLK), with chip select CS0 on pin 24. Turn it on with the spi-spidev overlay and param_spidev_spi_bus=0, and it appears as /dev/spidev0.0.

Orange Pi One Default SPI0 Pins: PC0 (MOSI, pin 19), PC1 (MISO, pin 21), PC2 (CLK, pin 23), and PC3 (CS0, pin 24).

Orange Pi One SPI pins (SPI0 MOSI pin 19, MISO pin 21, CLK pin 23, CS0 pin 24)

SignalPinPortLinux #wPi
SPI0_MOSI19PC06411
SPI0_MISO21PC16512
SPI0_CLK23PC26614
SPI0_CS024PC36715

Unlike the Orange Pi Zero, the Orange Pi One has no SPI flash, so SPI0 is free for the header. SPI1 isn’t usable on this board: its MOSI and MISO (PA15, PA16) drive the red LED and the audio mute line, and only its CS and CLK reach pins 8 and 10 (where they share the pins with UART3). Pin 26 isn’t a second chip select like on a Raspberry Pi (it’s a plain GPIO, PA21), so for a second SPI device, toggle any free GPIO as its chip select. Test the bus with a jumper from pin 19 to pin 21 and spidev_test -v -D /dev/spidev0.0 (it’s in wiringOP’s examples folder).

There are so many modules that we can interface with the Orange Pi One using the SPI bus, which include: TFT and e-paper displays (the 3.5-inch SPI LCDs too), MCP3008 ADCs, MCP2515 CAN controllers, LoRa radios (SX127x), RFID readers (RC522), W5500 Ethernet modules, and much more.


Orange Pi One PWM Pins

The Orange Pi One has no hardware PWM on its 40-pin header. The H3’s only PWM output, PWM0 on PA5, is the RX pin of the debug UART (the middle pin of the 3-pin J3 header), so using it costs you the serial console.

Note: Pin 7 is a GPIO, not PWM1: the schematic labels pin 7 (PA6) “PWM1”, but the Allwinner H3 datasheet (Table 3-2) gives PA6 no PWM function, and neither does the Linux pin driver. Users who tried it report no signal on the pin. Treat pin 7 as a plain GPIO.

ChannelPinPortOverlayCost
PWM0Debug header J3, middle pin (RX)PA5pwmDisables UART0 and the serial console on ttyS0

To use it, add the pwm overlay. The console moves off UART0, so log in over SSH instead. The channel shows up as /sys/class/pwm/pwmchip0/pwm0. If you measure only a few hundred mV on PA5, the pin isn’t muxed to PWM yet: check that the overlay loaded in the boot log. A 50Hz signal with a 1.5ms pulse for a servo is:

Tip: For more PWM channels, or to keep the console, use a PCA9685 16-channel PWM driver on I2C0 (pins 3/5). For slow jobs like dimming an LED, software PWM on any GPIO (wiringOP’s softPwm) is fine, but it jitters too much for servos.

There are so many things that we can control with the Orange Pi One PWM output, which include: LED dimming (through a transistor), DC motor speed (through a driver), a servo motor, a buzzer, and much more.


Orange Pi One 1-Wire Pin (DS18B20)

The Orange Pi One’s 1-Wire bus is software-driven by the w1-gpio overlay, and its default pin is pin 12 (PD14), not pin 7 as on a Raspberry Pi. To use the Pi’s pin instead, add param_w1_pin=PA6. Either way, fit a 4.7kΩ pull-up from the data line to 3.3v (pin 1 or 17).

param_w1_pin_int_pullup=1 turns on the pin’s weak internal pull-up, which can work for one sensor on a short cable, but the external 4.7kΩ resistor is the reliable choice. If /sys/bus/w1/devices/ shows only the master and no 28-… sensor, check which pin the overlay used: wiring the sensor to pin 7 without the param_w1_pin line is the classic mistake.


Orange Pi One JTAG and Other Pin Functions

A few Orange Pi One pins carry extra H3 functions that you’ll see in the diagram’s OTHER column. None of them is needed for normal Linux work, but they explain the odd names in the datasheet and the schematic.

Orange Pi One other pin functions (JTAG on pins 11, 13, 15, 22; NAND, PCM0 and SIM signals on the free GPIOs)

FunctionPinsNotes
JTAG (CK, MS, DI, DO)11 (PA1), 13 (PA0), 15 (PA3), 22 (PA2)The same four pins as UART2 with RTS/CTS; JTAG is for SoC bring-up, not for Linux users
NAND flash signals16, 18, 19, 21, 23, 24 (PC0–PC4, PC7)The H3’s NAND controller pins; the board has no NAND, so they’re GPIOs and SPI0
PCM0 / I2S26 (DIN), 27 (CLK), 28 (SYNC), 37 (DOUT)All four lines reach the header, but CLK and SYNC carry the I2C1 pull-ups, so I2S isn’t practical
SIM card interface7, 29, 31, 33, 35 (PA6–PA10)Smart-card signals of the H3; use these pins as plain GPIOs

Orange Pi One Debug UART Pins

The Orange Pi One’s Linux console is on a separate 3-pin debug UART header (J3), not on the 40-pin header. It’s the H3’s UART0 at 3.3v, running at 115200 baud, 8N1.

Debug PinSignalSoC PinConnect To
1 (square pad)GND–Adapter GND
2 (middle)UART0 RX (board input, through a BSS138 level shifter)PA5Adapter TX
3UART0 TX (board output)PA4Adapter RX

Any 3.3v USB-UART adapter (CP2102, CH340, FT232R) works. Open it with picocom -b 115200 /dev/ttyUSB0 on Linux, or PuTTY at 115200 on Windows. It shows the U-Boot and kernel messages, which is the fastest way to see why an overlay failed or why the board won’t boot, and it gives you a login prompt on a headless board with no network yet. Leave the adapter’s VCC pin unconnected, and remember that the pwm overlay takes the RX pin away.


Orange Pi One On-Board Features

Besides the 40-pin header, the Orange Pi One has a few on-board features you’ll meet when you wire and debug it. The LEDs and the button are tied to GPIOs on the PL and PA ports, and none of them is on a header pin.

FeatureWhere / GPIOWhat It Does
Green LED (D7)PL10 (Linux 362), active highOff during U-Boot, on once Linux runs (the power LED). Mainline Linux calls it orangepi:green:pwr.
Red LED (D8)PA15 (Linux 15), active highOn during U-Boot, then off or flashing in Linux (the status LED). Mainline Linux calls it orangepi:red:status.
SW4 buttonSide of the board by the DC jack, PL3 (Linux 355), active low, 47kΩ pull-upOrange Pi calls it the power switch. On Orange Pi’s Linux 5.4 images a short press shuts the system down; to start again, unplug and replug the power. On Armbian it sends BTN_0 and does nothing by default.
Debug UART J33-pin header (GND, RX, TX)Linux console at 115200 baud (see above).
Reset / boot buttonsNone fittedPower-cycle the board to reset it. There’s no FEL button either.
CSI connectorBottom side, 24-pin FPCCamera input for Orange Pi’s 2MP camera module, mainly supported on the old Linux 3.4 images.
micro-USBUSB OTG portData only: a USB device (gadget) or host port in Linux, never a power input.

To use an LED as an “I’m alive” light for your own program, set its trigger to none and write 1 or 0 to its brightness file. Orange Pi’s Linux 3.4 images name them green_led and red_led instead, so run ls /sys/class/leds/ first.

Note: LED colours: the schematic’s net labels say the opposite (“LED-R” on PL10, “LED-G” on PA15), but Orange Pi’s manual, the mainline device tree, and the board itself agree: PL10 is green and PA15 is red. SW4 on Armbian: a tiny device tree overlay that sets linux,code = <116> (KEY_POWER) on the sw4 key node makes it a working power button there too.


Getting Started With Orange Pi One GPIO

Getting the Orange Pi One’s pins working takes three steps: install an OS, enable the overlays you need, and pick a GPIO library.

  1. Install an OS: flash an image to a microSD card (the board boots from microSD only). Orange Pi’s own Ubuntu and Debian images (Linux 5.4) follow the user manual step by step, while a current Armbian (or DietPi) image has a newer kernel that runs libgpiod v2. Log in over SSH or through the debug UART.
  2. Enable the interfaces: add the overlay names to the single overlays= line of the boot environment file (separated by spaces), plus any param_… lines they need, then reboot and check the /dev node. orangepi-config or armbian-config does the same from a menu.
  3. Pick a library: libgpiod for C/C++ and Python (gpiochip0 + Linux number), or wiringOP for Arduino-style C code and gpio readall. Use the Linux device nodes ( /dev/ttyS*, /dev/i2c-*, /dev/spidev0.0) for the buses.
InterfaceOverlay (orangepiEnv.txt / armbianEnv.txt)Linux Device / Tool
GPIO– (always on)/dev/gpiochip0 (libgpiod), gpio readall (wiringOP)
UART1 (pins 38/40)uart1 (param_uart1_rtscts=1 for pins 32/36)/dev/ttyS1
UART2 (pins 13/11)uart2 (param_uart2_rtscts=1 for pins 22/15)/dev/ttyS2
UART3 (pins 8/10)uart3/dev/ttyS3 (TX/RX only)
I2C0 (pins 3/5)i2c0/dev/i2c-0 (i2cdetect -y 0)
I2C1 (pins 27/28)i2c1/dev/i2c-1 (i2cdetect -y 1)
SPI0 (pins 19/21/23/24)spi-spidev + param_spidev_spi_bus=0/dev/spidev0.0
1-Wire (pin 12)w1-gpio (param_w1_pin=PA6 for pin 7)/sys/bus/w1/devices
PWM0 (PA5, debug RX)pwm/sys/class/pwm/pwmchip0 (console off)

Armbian’s file also has an overlay_prefix=sun8i-h3 line: leave it as it is, because the overlays for the Orange Pi One are the generic H3 ones. If a bus still doesn’t show up after a reboot, watch the debug UART while it boots: U-Boot prints an “Applying kernel provided DT overlay sun8i-h3-…” line for every overlay it loads, and an error right after it if the name is wrong.


Orange Pi One for Piso WiFi: Coin Slot Wiring

The Orange Pi One is one of the most common boards inside Piso WiFi coin-operated hotspot machines, because it’s cheap, has Ethernet for the access point, and has plenty of GPIOs for the coin slot. A typical build uses a 12v supply for the coin acceptor, a 12v-to-5v buck converter (3A) into the Orange Pi One’s DC jack, and three GPIOs: the coin pulse input, a relay or MOSFET that switches the coin slot on and off, and an LED or lamp output.

SignalGood Pin ChoiceHow to Wire It
Coin pulse (COIN / SET)Pin 7 (PA6) or another PA/PG pinThrough an optocoupler (PC817) or a transistor, never straight from the 12v acceptor; use a PA/PG pin so the software can count pulses on interrupts
Coin slot power (relay / MOSFET)Pin 29, 31, 33, 35, or 37Drive a relay module or a logic-level MOSFET module; the GPIO only gives 3.3v at a few mA
LED / lampAny free PA pinThrough a transistor or MOSFET module for 12v lamps
AvoidPins 3, 5, 27, 28 (pull-ups), the bus pins you use, pins 2/4The I2C pull-ups make inputs read high, and the 5v pins are only for power

Each Piso WiFi software lets you set the coin, relay, and LED pins in its settings, some by physical pin number and some by Linux GPIO number (PA6 = 6), so match its numbering to the pin table above. The usual problems are a coin acceptor wired straight to a GPIO (12v destroys the H3 pin) and a buck converter set above 5.1v, which reaches the board through the DC jack with nothing to stop it.


Orange Pi One Common Problems & Fixes

Why doesn’t /dev/i2c-0, /dev/spidev0.0, or /dev/ttyS3 exist? On Orange Pi’s Linux 5.4 images (and on Armbian), the 40-pin I2C, SPI, and UART controllers are off by default. Add i2c0, spi-spidev (with param_spidev_spi_bus=0), or uart3 to the overlays= line, reboot, and check /dev again. The old Linux 3.4 images had them on by default.

I enabled uart1, but nothing comes out of pins 8/10. Why? Pins 8/10 are UART3 on the One. UART1 is on pins 38 (TX) and 40 (RX). Either move your wires or enable uart3.

Why is there no signal on pin 7 (PWM1)? Because PA6 has no PWM function on the H3, whatever the schematic label says. The only hardware PWM is PA5 on the debug header (overlay pwm, which turns off the console), or use a PCA9685 on I2C.

Why do pins 3, 5, 27, and 28 always read high? They have 2kΩ pull-ups to 3.3v on the board, for I2C. Use them for active-low signals, or pick pin 7, 29, 31, 33, 35, or 37 for an input that needs a pull-down.

My HAT or ribbon cable doesn’t line up. Why? The One’s header is rotated 180° compared with a Raspberry Pi: pin 1 (the ▲ on the silkscreen) is at the DC jack end, on the board edge row. Plug by pin 1, not by the board outline, and expect a Pi HAT to hang off the side of the board.

Can I power the Orange Pi One from micro-USB? No. The micro-USB OTG port isn’t connected to the power input. Use the DC barrel jack (5v / 2A, 4.0 x 1.7mm), or a regulated 5v supply on header pins 2/4.

My board reboots randomly or won’t boot. What can I do? Start with the power: a real 5v / 2A supply and a short, thick cable, measured at the board under load. Then add a heatsink, and try a fresh, good-quality microSD card (the board boots from nothing else).

The side button does nothing on Armbian. Why? Mainline Linux maps SW4 (PL3) to BTN_0, not to the power key. Orange Pi’s images shut down on a short press; on Armbian, an overlay that sets the key code to 116 (KEY_POWER) makes it work the same way.

Can I use Raspberry Pi tutorials and libraries? The power, I2C, UART, and SPI pins are in the same places, so the wiring often carries over (count by pin number), but the GPIO numbers don’t. RPi.GPIO and gpiozero won’t run; use libgpiod, wiringOP, or the Linux device nodes, and translate the Pi’s BCM numbers by physical pin.


Orange Pi One vs Orange Pi Zero, Orange Pi PC and Raspberry Pi 3B

The Orange Pi One, the Orange Pi Zero, and the Orange Pi PC share the same H3 chip family, so their pin functions match, but the headers and the boards around them differ. The Raspberry Pi 3B is the board the One was sold against.

FeatureOrange Pi OneOrange Pi ZeroOrange Pi PCRaspberry Pi 3B
SoC / CPUAllwinner H3, 4x Cortex-A7Allwinner H2+ (or H3), 4x Cortex-A7Allwinner H3, 4x Cortex-A7BCM2837, 4x Cortex-A53 @ 1.2GHz
RAM512MB / 1GB DDR3256MB / 512MB DDR31GB DDR31GB LPDDR2
GPIO header40-pin (rotated 180°)26-pin (+ 13-pin)40-pin40-pin
Ethernet100Mbps100Mbps100Mbps100Mbps
WirelessNoneWi-Fi 4 (XR819)NoneWi-Fi 4 + Bluetooth 4.1
USB host1x USB 2.01x USB 2.0 (+2 on the 13-pin)3x USB 2.04x USB 2.0
Video outHDMIComposite only (13-pin header)HDMI + AVHDMI + AV
Power inputDC jack, 5v / 2Amicro-USB, 5v / 2ADC jack, 5v / 2Amicro-USB, 5v / 2.5A
Size69 x 48mm48 x 46mm85 x 55mm85 x 56mm

Pick the Orange Pi One for a cheap wired node with HDMI and a full 40-pin header, such as a Piso WiFi controller, a print server, or a 3D-printer host. Pick the Orange Pi Zero when you want Wi-Fi in a smaller board, the Orange Pi PC for more USB ports and 1GB on every board, and the Raspberry Pi 3B for the best software support and documentation. For a 64-bit upgrade on the same Orange Pi pin conventions, look at the Orange Pi Zero 3 (26-pin header, Gigabit Ethernet), the Orange Pi Zero 2W (40-pin header, Wi-Fi 5), or the much faster Orange Pi 5.


Orange Pi One Pin Details

Here is every pin of the Orange Pi One 40-pin header in physical order, with its Allwinner H3 port name, Linux GPIO number, wiringOP number, functions, overlays, and what the board wires to it. Pin 1 is the ▲ end of the header next to the DC jack; odd pins are on the board edge, and even pins are on the inner row.

Click to expand the full pin table (40 pins)
PinNameLinux #wPiFunctionsOverlayOn-Board CircuitDescription
13.3V––3.3v power–VCC3V3-EXT3.3v output from the board’s AMS1117 3.3v rail; light loads only.
25V––5v power–DCIN-5V (DC jack, no fuse)The DC jack’s 5v, straight through: a 5v output, or a 5v input with no protection.
3PA12120I2C0_SDA, DI_RXi2c02kΩ pull-up to 3.3v (R151)I2C0 data (/dev/i2c-0); its 2kΩ pull-up makes it idle high as a GPIO.
45V––5v power–DCIN-5VSecond 5v pin, the same net as pin 2.
5PA11111I2C0_SCL, DI_TXi2c02kΩ pull-up to 3.3v (R152)I2C0 clock; idles high as a GPIO because of its 2kΩ pull-up.
6GND––Ground–GNDGround.
7PA662GPIO (SIM_PWREN); no PWM on the H3w1-gpio with param_w1_pin=PA6DirectA free GPIO. The schematic calls it PWM1, but the H3 has no PWM on PA6.
8PA13133UART3_TX, SPI1_CSuart3DirectUART3 transmit (/dev/ttyS3), in the Raspberry Pi’s TX position.
9GND––Ground–GNDGround.
10PA14144UART3_RX, SPI1_CLKuart3DirectUART3 receive (/dev/ttyS3), in the Raspberry Pi’s RX position.
11PA115UART2_RX, JTAG_CKuart2DirectUART2 receive (/dev/ttyS2), or a general-purpose pin.
12PD141106GPIO (1-Wire default pin)w1-gpio (default pin)DirectThe default 1-Wire pin of the w1-gpio overlay; a plain GPIO otherwise (no interrupts on port D).
13PA007UART2_TX, JTAG_MSuart2DirectUART2 transmit (/dev/ttyS2), or a general-purpose pin.
14GND––Ground–GNDGround.
15PA338UART2_CTS, JTAG_DIuart2 + param_uart2_rtscts=1DirectUART2 CTS when flow control is on, otherwise a general-purpose pin.
16PC4689GPIO (NAND_CE0)–Direct (internal pull-up on at reset)A plain GPIO that reads high after reset (internal pull-up); no interrupts on port C.
173.3V––3.3v power–VCC3V3-EXTSecond 3.3v output, the same rail as pin 1.
18PC77110GPIO (NAND_RB1)–Direct (internal pull-up on at reset)A plain GPIO that reads high after reset (internal pull-up); no interrupts on port C.
19PC06411SPI0_MOSI, NAND_WEspi-spidevDirectSPI0 MOSI (/dev/spidev0.0).
20GND––Ground–GNDGround.
21PC16512SPI0_MISO, NAND_ALEspi-spidevDirectSPI0 MISO.
22PA2213UART2_RTS, JTAG_DOuart2 + param_uart2_rtscts=1DirectUART2 RTS when flow control is on, otherwise a general-purpose pin.
23PC26614SPI0_CLK, NAND_CLEspi-spidevDirectSPI0 clock.
24PC36715SPI0_CS0, NAND_CE1spi-spidevDirect (internal pull-up on at reset)SPI0 chip select 0; high after reset, which suits an active-low CS.
25GND––Ground–GNDGround.
26PA212116GPIO (PCM0_DIN, SIM_VPPPP)–DirectA free GPIO (not a second SPI chip select like on a Raspberry Pi).
27PA191917I2C1_SDA, PCM0_CLKi2c12kΩ pull-up to 3.3v (R153)I2C1 data (/dev/i2c-1); idles high as a GPIO because of its 2kΩ pull-up.
28PA181818I2C1_SCL, PCM0_SYNCi2c12kΩ pull-up to 3.3v (R154)I2C1 clock; idles high as a GPIO because of its 2kΩ pull-up.
29PA7719GPIO (SIM_CLK)–DirectA free GPIO with interrupt support.
30GND––Ground–GNDGround.
31PA8820GPIO (SIM_DATA)–DirectA free GPIO with interrupt support.
32PG820021UART1_RTSuart1 + param_uart1_rtscts=1DirectUART1 RTS when flow control is on, otherwise a general-purpose pin.
33PA9922GPIO (SIM_RST)–DirectA free GPIO with interrupt support.
34GND––Ground–GNDGround.
35PA101023GPIO (SIM_DET)–DirectA free GPIO with interrupt support.
36PG920124UART1_CTSuart1 + param_uart1_rtscts=1DirectUART1 CTS when flow control is on, otherwise a general-purpose pin.
37PA202025GPIO (PCM0_DOUT, SIM_VPPEN)–DirectA free GPIO with interrupt support.
38PG619826UART1_TXuart1DirectUART1 transmit (/dev/ttyS1).
39GND––Ground–GNDGround.
40PG719927UART1_RXuart1DirectUART1 receive (/dev/ttyS1).

Wrap Up

To conclude this guide article, the Orange Pi One is a very solid entry-level Linux board when you need a cheap, wired, headless node, with a full 40-pin header for your hardware: 28 GPIOs, three UARTs, two I2C buses with pull-ups, and SPI0. Just remember the gotchas: every pin is 3.3v only, the header is rotated 180° compared with a Raspberry Pi, pin 7 isn’t a PWM pin, pins 8/10 are UART3, the buses stay off until you enable their overlays, and the board only takes power through the DC jack.

I hope you’ve found this guide helpful for your Orange Pi One project. For more boards, check out the Pinouts, Datasheets & Schematic Diagrams Library.

Share This Page With Your Network!
Join Our +25,000 Newsletter Subscribers!

Stay Updated With All New Content Releases. You Also Get Occasional FREE Coupon Codes For Courses & Other Stuff!

Photo of author
Author
Embedded systems engineer with several years of experience in embedded software and hardware design. I work as an embedded SW engineer in the Automotive & e-Mobility industry. However, I still do Hardware design and SW development for DSP, Control Systems, Robotics, AI/ML, and other fields I'm passionate about.
I love reading, writing, creating projects, and teaching. A reader by day and a writer by night, it's my lifestyle. I believe that the combination of brilliant minds, bold ideas, and a complete disregard for what is possible, can and will change the world! I will be there when it happens, will you?

Leave a Comment