Orange Pi Introduction
What is Orange Pi PC2?
It’s an open-source single-board computer. It can run Android 5.1, Ubuntu, Debian, Raspberry Pi Image. It uses the All-winner H5 Soc, and has 1GB DDR3 SDRAM.
What can I do with Orange Pi PC2?
You can use it to build...
- A computer
- A wireless server
- Games
- Music and sounds
- HD video
- A speaker
- Android
- Scratch
- ......
- Pretty much anything else, because Orange Pi PC2 is open source
Whom is it for?
Orange Pi PC2 is for anyone who wants to create with technology– not just consuming. It's a simple, fun, useful tool and you can use it to take control of the world around you.
Hardware specification of Orange Pi PC2
Hardware specification
| |
CPU | H5 High Performance Quad-core 64-bit Cortex-A53 |
GPU |
|
Memory (SDRAM) | 1GB DDR3 (shared with GPU) |
On-board Storage | TF card (Max. 32GB) /Emmc slot/NOR flash(2MB) |
On-board Network | 10/100/1000M Ethernet RJ45 |
Video Input |
A CSI input connector Camera: |
Audio Input | MIC |
Video Outputs |
Supports HDMI output with HDCP Supports HDMI CEC |
Audio Output | 3.5 mm Jack and HDMI |
Power Source | DC input, USB OTG input don't supply power |
USB 2.0 Ports | Three USB 2.0 HOST, one USB 2.0 OTG |
Button | Power Button(SW4) |
Low-level peripherals | 40 Pins Header,compatible with Raspberry Pi B+ |
GPIO(1x3) pin | UART, ground. |
LED | Power led & Status led |
Key | Power, IR input |
Supported OS | Android Lubuntu, Debian, Raspberry Pi Image |
Interface definition
| |
Product size | 85mm × 56mm |
Weight | 63g |
Orange Pi™ is a trademark of the Shenzhen Xunlong Software CO., Limited
|
Top view
Bottom view
Interface instructions
GPIO Specifications
A 40-pin GPIO interface on the Orange Pi PC2 is the same as Model A and Model B of Raspberry Pi. The picture below is GPIO pin define of Orange Pi PC2.
OrangePi(H5) | ||
CON3-P01 | VCC-3V3 | |
CON3-P02 | VCC-5V | |
CON3-P03 | TWI0-SDA | PA12 |
CON3-P04 | VCC-5V | |
CON3-P05 | TWI0-SCK | PA11 |
CON3-P06 | GND | |
CON3-P07 | PWM1 | PA6 |
CON3-P08 | UART3_TX | PA13 |
CON3-P09 | GND | |
CON3-P10 | UART3_RX | PA14 |
CON3-P11 | UART2_RX | PA1 |
CON3-P12 | PD14 | PD14 |
CON3-P13 | UART2_TX | PA2 |
CON3-P14 | GND | |
CON3-P15 | UART2_CTS | PA3 |
CON3-P16 | PC4 | PC4 |
CON3-P17 | VCC-3V3 | |
CON3-P18 | CAN_RX | PC7 |
CON3-P19 | SPI0_MOSI | PC0 |
CON3-P20 | GND | |
CON3-P21 | SPI0_MISO | PC1 |
CON3-P22 | UART2_RTS | PA2 |
CON3-P23 | SPI0_CLK | PC2 |
CON3-P24 | SPI0_CS0 | PC3 |
CON3-P25 | GND | |
CON3-P26 | PA21 | PA21 |
CON3-P27 | TWI1-SDA | PA19 |
CON3-P28 | TWI1-SCK | PA18 |
CON3-P29 | PA7 | PA7 |
CON3-P30 | GND | |
CON3-P31 | PA8 | PA8 |
CON3-P32 | UART1_RTS | PG8 |
CON3-P33 | PA9 | PA9 |
CON3-P34 | GND | |
CON3-P35 | PA10 | PA10 |
CON3-P36 | UART1_CTS | PG9 |
CON3-P37 | PA20 | PA20 |
CON3-P38 | UART1_TX | PG6 |
CON3-P39 | GND | |
CON3-P40 | UART1_RX | PG7 |
Specification of CSI Camera Connector
The CSI Camera Connector is a 24-pin FPC connector which can connect external camera module with proper signal pin mappings. The pin of CIS connector can be defined as follows. The connector marked with "CON 1" on the Orange Pi PC2 is camera connector.
Orange Pi PC2-CSI
CON1-P01 | NC | |
CON1-P02 | GND | |
CON1-P03 | TWI2-SDA | PE13 |
CON1-P04 | VCC-CSI | |
CON1-P05 | TWI2-SCK | PE12 |
CON1-P06 | CSI-RESET# | PE15 |
CON1-P07 | CSI-VSYNC | PE3 |
CON1-P08 | CSI-STBY-EN | PE15 |
CON1-P09 | CSI-HSYNC | PE2 |
CON1-P10 | VDD1V8-CSI | |
CON1-P11 | VCC-CSI | |
CON1-P12 | CSI-D7 | PE11 |
CON1-P13 | CSI-MCLK | PE1 |
CON1-P14 | CSI-D6 | PE10 |
CON1-P15 | GND | |
CON1-P16 | CSI-D5 | PE9 |
CON1-P17 | CSI-PCLK | PE0 |
CON1-P18 | CSI-D4 | PE8 |
CON1-P19 | CSI-D0 | PE4 |
CON1-P20 | CSI-D3 | PE7 |
CON1-P21 | CSI-D1 | PE5 |
CON1-P22 | CSI-D2 | PE6 |
CON1-P23 | GND | |
CON1-P24 | AFVCC-CSI |
Using Method Introduction
Follow these steps, you can configure and run your Orange Pi in a very short period of time. Boot your Orange Pi need to complete the following steps.
Step 1: Prepare Accessories Needed
You need at least some accessories like the following if it is your first time to use the Orange Pi.
No. | Items | Requirements and Instructions |
---|---|---|
1 | TF card | 8GB min.; class 10. Branded TF cards would be reference which are much more reliable. |
2 | HDMI to HDMI
cable or HDMI to DVI cable|| HDMI to HDMI cable is used to connect HD TV or HD monitor | |
3 | AV video cable | A standard AV video cable can be used to connect stimulated monitor if a HDMI monitor is unavailable. |
4 | Keyboard and mouse | Any keyboard and mouse with USB port is applicable; Keyboard and mouse are
high-power, so a USB concentrator is required. |
5 | Ethernet cable/USB WiFi(Optional) | Network is optional, It makes more convenient to mount and upgrade software in your Orange
Pi PC. |
6 | DC power adapter | 5V/2V min. high qualified power adapter, OTG can not used a power supply. |
7 | Audio cable (Optional) | You can select an audio cable with 3.5mm jack to feel stereo audio. |
200px200px|
TF card
200px200px|
DC power adapter
Step 2: Prepare a TF Card for Booting
In order to use Orange Pi normally, you must install the operating system into TF card first.
1)Write Linux into TF Card Based on Windows Platform
a.Inserting the TF card into the computer, the capacity of the card must be bigger than the operating system, usually requires 8GB or bigger.
b.Formatting the TF card.
i Download tools for formatting TF card, such as TF Formatter, it could be downloaded from:
https://www.sdcard.org/downloads/formatter_4/eula_windows/
ii Unzip the downloaded files, and run setup.exe
iii In the options settings select the "format" button for quick formatting. "Format size adjustment" select "(ON)"
iv Make sure the inserted TF card disk are in accordance with the chosen disk.
v Click the "Format" button.
c.Download the operating system image file from the download page, the page address is as following:
http://www.orangepi.online/downloadresources
d.Unzip the downloaded file (in addition to the Android system, this method can be used to burn to write, the Android system need another burn, the following will introduce)
e.Right click to download the file, select "Unzip file" to write image to TF card
i Download tools to write image,such as Win32 Diskimager, here is the download page:
http://sourceforge.net/projects/win32diskimager/files/Archive/
ii Select the image file path that has been unzipped.
iii Click "Write" button and wait for the image to write.
iv After the image is written, click "Exit" button.
2)Write Linux into TF card based on Linux platform?
a.Inserting the TF card into the computer, the capacity of the card must be larger than the operating system image, usually requires 4GB or greater capacity.
b.Formatting the TF card.
i Run fdisk –l order to make sure TF disk.
ii Run umount /dev/sdxx to uninstall all partitions of TF Card.
iii Run sudo fdisk /dev/sdx order. Use o command to delete all
partitions of TF Card, and then us n order to add a new partition, finally use
w command to save and exit.
iv Run sudo mkfs.vfat /dev/sdx1 command to format the TF card partition set up last step to FAT32 form(according to your TF card disk to replacex). Or you could skip this step since command in Linux will format TF card automatic.
c.Download the OS image from download page
http://www.orangepi.online/`downloadresources
d.Unzip and right click the downloaded file, select " Unzip file"
e.Write image to TF card
i Run sudo fdisk –l order to make sure the TF card disk
ii make sure the image file hash key is the same as download page mention(optional). It will output sha1sum [path]/[imagename], which should be same as the image paye "SHA-1"
iii Run umount /dev/sdxx order to uninstall all partitions in TF Card
iv Run sudo dd bs=4M if=[path]/[imagename] of=/dev/sdx to write down image file. Wait for the image to write. If it cannot work at 4M, then replace a 1M which takes more time. You can run sudo pkill –USR1 –n –x dd order to monitoring procedure.
3)Use PhoenixCard tool to write Android image into TF card
It is impossible for Android image to be written into TF card by using
dd command under Linux or using Win32 Diskimager under Windows. Here
PhoenixCard tool is applicable for Android image writing.
a.Download the Android OS image and PhoenixCard tool. Download PhoenixCard from here:
https://drive.google.com/file/d/0B_VynIqhAcB7NTg2UkRDdHRWX2s/ edit?usp=sharing
Download Android OS image from here:
http://www.orangepi.online/downloadresources/
b.Format the TF card
c.Please make sure the inserted TF card is in accordance with the chosen TF card, click "restore" button for TF card formatting.
d.Click "OK" button after successfully formatted the TF card to normal.
e.Burn the Android OS image into your TF card. Please pay attention to the following with red marks.
f.Click "Burn" button for writing to TF card and wait for it finish
g.Click "Exit" button after burn Android image to TF card successfully.
4)Write Armbian Image into TF Card
a.Insert TF card into computer, please note that the TF card capacity must bigger than the operating system image, usually need to be 8GB or bigger.
b.Download the OS image file from the download page: http://www.armbian.com/download/
c.Write the image into TF card.
i. Download image writing tool such as Rufus, the download page: https://rufus.akeo.ie/
ii. Select the image file path that has been unzipped
iii. Click "start" button and wait for the image to write.
iv. After the image is written, click "close" button
Step 3: Boot your Orange Pi
1)Hardware Connection Sketch Map