This is an old revision of the document!


Orange Pi Zero

Orange Pi Zero

Naranja Pi Cero

The Orange Pi Zero is a Linux compatible computer with high speed GPIO.

GPIO

The board has a Raspberry Pi compatible GPIO header with 26 pins, an Orange Pi0 specific header with 13 pins and serial port.

Whilst the GPIO is compatible with the RPi notice the orientation.

5V         USB LAN      GND    PA10 26   25 GND
GND                     RX     PA13 24   23 PA14
USB-DM2                 TX     PA02 22   21 PA16
USB-DP2                        GND  20   19 PA15
USB-DM3                        PA18 18   17 3V3
USB-DP3                        PA19 16   15 PA03
LINEOUTR                       GND  14   13 PA00
LINEOUTL                       PA07 12   11 PA01
TV-OUT                         PG07 10   09 GND
MIC-BIAS                       PG06 08   07 PA06
MIN1P                          GND  06   05 PA11
MIN1N                          5V   04   03 PA12
IR-TX      POWER               5V   02   01 3V3

This is the relationship between the OPi0 IO, H2+/H3 I/O, the Linux sysfs interface and alternate pin function.

Pin H2+/H3 I/O sysfs Alt
3 PA12 12 SDA
5 PA11 11 SCK
7 PA6 6 PWM
8 PG6 198 TxD
10 PG7 199 RxD
11 PA1 1 RxD
12 PA7 7
13 PA0 0 TxD
15 PA3 3 CTS
16 PA16 16 SDA
18 PA18 18 SCK
19 PA15 15 MOSI
21 PA16 16 MISO
22 PA2 2 RTS
23 PA14 14 CLK
24 PA13 13 CS
26 PA10 N/A

Pickle Microchip PIC ICSP

Along with USB serial we can use the OPi0 GPIOs to program PICMicros using Pickle Microchip PIC ICSP.

At this time only the GPIO bit-bang driver for Linux may be utilised on the OPi0.

Low Voltage Programming with VPP at 3V3

Low voltage ICSP at 3V3 can be performed directly from the OPi0 GPIOs.

The following connections refer to the OPi0 GPIO header. Ensure that power is only ever applied from GPIO 3V3 on PIN 1 and never 5V.

Single common data I/O connection (GPIO bit-bang driver)

 OPi0 H2+/H3                       PICMicro       GPIO header     .pickle
 ===========                       ========       ===========     =======

 3V3-------------------------------VDD--+         PIN 1
                                        |
 GND-------------------------------VSS  R1        PIN 9
                                        |
 PA12-----------R3-470R------------VPP--+         PIN 3           VPP=12

 PA11-----------R4-470R------------PGC            PIN 5           PGC=11

 PA06-----------R5-470R------------PGD            PIN 7           PGD=6

 PA01-----------R6-470R------------PGM--R2-+      PIN 11          PGM=1
                                           |
                                          ///
(R1) 10K !MCLR pull-up
(R2) 10K where appropriate (PGM is not present on all devices).
(R3..R6) 470R.

Resources

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies