OrangePi R1

Orange Pi R1 #

Orange Pi R1

Hardware Specification #

FeatureDescription
CPUARM Cortex-A7 Quad-Core
GPUARM Mali400 MP2
Memory256mb DDR3
StorageMicroSD Slot,SPI Flash( 16MB)
NetworkingRealtek RTL8189FTV, IEEE 802.11 b/g/n Onboard Ethernet 10/100Mbps 100M/10M Ethernet RJ45(RTL8152B)
Video OutputsCVBS via Pinheader
USB1x USB 2.0 Host, 1x USB OTG 2.0, 2xUSB 2.0 over Pinheader
Debug UART3pins Debug UART
GPIOGPIO1 26 pins
Power SourceMicroUSB (OTG)
LEDPower LED, Status LED
Dimension46*60mm

Product’s Life Cycle #

ParameterStatus
Production status:In Production
Expected EOL:Not available
Mainline Support:Partial

Supported Operating Systems: #

  • Armbian linux, different Debian or Ubuntu flavours to pick, active develpment
  • Zeroshell Routing and Bridging Firewall Solutions
  • Openwrt Project is a Linux operating system targeting embedded devices

Support Matrix:

ProjectUpstream SupportDownstream SupportNot Supported
Linux KernelYesYes
U-BootYesYes
YoctoX
BuildrootX

Defconfigs/Device Tree:

Linux Mainline Device Tree : sun8i-h2-plus-orangepi-r1.dts

U-Boot defconfig: orangepi_r1_defconfig

Buildroot defconfig: orangepi_r1_defconfig

GPIO #

The Orange Pi R1 has 2 Rows of GPIOs a 2x13 row and a 1x13 row.

The numbers on the board are not the numbers that you will be able to use in your program.

There is a formula that will help you to get the GPIO number when you have the pin number:

(Position of letter in alphabet - 1) * 32 + Pin number

For example, port PB12 would map to GPIO 44:

(2 - 1) * 32 + 12 = 44

Expansion headers #

1. 13 Pin Header #

PinDescription
15V
2GND
3USB-DM2 (combined to the pin #4, 5V and GND, this makes a USB port)
4USB-DP2
5USB-DM3 (combined to the pin #6, 5V and GND, this makes a USB port)
6USB-DP3
7LINEOUTR (audio output Right side)
8LINEOUTL (audio output Left side)
9TV-OUT (The default mode is PAL, with 720x576 resolution)
10MIC-BIAS
11MIC1P
12MIC1N
13CIR-RX (Infrared input)

2. 26 Pin Header #

PinDescriptionPinDescription
13.3 V25V
3PB21 TWI2-SDA / TWI0_SDA / PA12 / GPIO1245V
5PB20 TWI2-SCK / TWI0_SCK / PA11 / GPIO116GND
7PI3 PWM1 / PA06 / GPIO68PH0 UART3_TX / UART1_TX / PG06 / GPIO198
9GND10PH1 UART3_RX / UART1_RX / PG07 / GPIO199
11PI19 UART2_RX / PA01 / GPIO112PH2 / SIM_CLK / PA_EINT7 / PA07 / GPIO7
13PI18 UART2_TX / PA00 / GPIO014GND
15PI17 UART2_CTS / PA03 / GPIO316PH20 CAN_TX / TWI1-SDA / PA19 / GPIO19
173.3 V18PH21 CAN_RX / TWI1-SCK / PA18 / GPIO18
19PI12 SPI0_MOSI / PA15 / GPIO1520GND
21PI13 SPI0_MISO / PA16 / GPIO1622PI16 UART2_RTS / UART2_RTS / PA02 / GPIO2
23PI11 SPI0_CLK / PA14 / GPIO1424PI10 SPI0_CS0 / SPI1_CS / PA13 / GPIO13
25GND26PI14 SPI0_CS1 / SIM_DET/PA_EINT10 / PA10 / GPIO10

Sofware library support and variants #

#