Changes

Jump to: navigation, search

Orange Pi One

21,345 bytes added, 11:12, 22 June 2022
创建页面,内容为“__TOC__ == '''Basic Features of Orange Pi One''' == <br> === '''What is Orange Pi One?''' === <br>  Orange Pi One is an open source single-board card computer, a…”
__TOC__
== '''Basic Features of Orange Pi One''' ==
<br>
=== '''What is Orange Pi One?''' ===
<br>
 Orange Pi One is an open source single-board card computer, a new generation of arm development board, it can run Android 4.4, Android 7.0, Ubuntu and Debian and other operating systems. Orange Pi One development board uses Allwinner H3 system-on-chip and has 512MB DDR3 memory<br>
<br>
=== '''Purpose of Orange Pi One''' ===
<br>
We can use it to build:<br>
<br>
* A computer
* A wireless network server
* Game console
* Music and sounds
* HD Video
* A speaker
* Android<br>
<br>
Pretty much anything else, because Orange Pi is open source.<br>
<br>
=== '''Who’s it for?''' ===
<br>
 Orange Pi development board is for anyone who wants to start creating with technology – not just consuming it. It's a simple, fun, useful tool that you can use to start taking control of the world around you.<br>
<br>
=== '''Hardware features of Orange Pi One''' ===
<br>
{| class="wikitable"
|-
|colspan=2| <div style="text-align:center;">'''Hardware specification'''</div>
|-
| CPU || Allwinner H3 ARM Cortex-A7 Quad Core
|-
| GPU||
Mali400MP2 GPU @600MHz<br>
Supports OpenGL ES 2.0
|-
| Memory (SDRAM)|| 512MB GB DDR3 (shared with GPU)
|-
| Onboard Storage|| TF card (Max. 32GB) / MMC card slot)
|-
| Onboard Network|| 10/100M Ethernet RJ45
|-
| video input|| A CSI input connector Camera
|-
| Video Outputs|| HDMI
|-
| Audio outputs|| HDMI
|-
| Power Source|| DC input, MicroUSB (OTG) cannot be used as power input
|-
| USB 2.0 port|| 1*USB 2.0 HOST, 1*USB 2.0 OTG
|-
| Low-level peripherals || 40 pin connector, compatible with Raspberry Pi
|-
| Debug serial port|| UART-TX,UART-RX,GND
|-
| LED|| Power led & Status led
|-
| Key|| Power (SW4)
|-
| Supported OS|| Android,Ubuntu,Debian
|-
|colspan=2|<div style="text-align:center;">'''Interface definition'''</div>
|-
| dimension|| 69mm×48mm
|-
| Weight|| 27g
|-
|colspan=2|<div style="text-align:center;">[[文件:Orange-pi-small-logo.png|30px|]]range Pi™ is a trademark of the Shenzhen Xunlong Software CO., Limited</div>
|}
<br>
=== '''The top and bottom views of Orange Pi One''' ===
<br>
'''Top View:'''<br>
<div>[[文件:Orange-pi-one-img1.png|500px|]]</div>
<br>
'''Bottom View:'''<br>
<div>[[文件:Orange-pi-one-img2.png|500px|]]</div>
<br>
=== '''Orange Pi One interface details''' ===
<br>
<div>[[文件:Orange-pi-one-img3.png|600px|]]</div>
<br>
== '''Introduction to use the development board''' ==
<br>
=== '''Prepare the necessary accessories''' ===
<br>
1)TF card, a class 10 or higher high-speed card with a minimum capacity of 8GB, it is recommended to use SanDisk’s TF card. Orange Pi tests all with SanDisk’s TF card. Other brands of TF cards may cause the system to fail to start.<br>
<div style="padding-left:200px">[[文件:Orange-pi-3-lts-sdcard.png|250px]]</div>
<br>
2)TF card reader, used to read and write TF card<br>
<div style="padding-left:200px">[[文件:Orange-pi-3-lts-tfcard.png|250px]]</div>
<br>
3)HDMI to HDMI cable, used to connect the development board to an HDMI monitor or TV for display<br>
<div style="padding-left:200px">[[文件:Orange-pi-3-lts-hdmicable.png|250px]]</div>
<br>
4)Power adapter, at least 5V/2A high-quality power adapter, note that the OTG interface of the development board cannot be used as power input<br>
<br>
<div style="padding-left: 200px">
[[文件:Orange-pi-lite-img4.png|250px]]
</div>
<br>
5)USB interface mouse and keyboard, as long as it is a standard USB interface mouse and keyboard, the mouse and keyboard can be used to control the Orange Pi development board<br>
<br>
6)Infrared remote control, mainly used to control Android system
<div style="padding-left:200px">[[文件:Orange-pi-lite-img5.png|250px]]</div>
<br>
7)GC2035 or OV5640 camera kit, which can be connected to the CSI interface of the development board to display video images<br>
<br>
<div>
[[文件:Orange-pi-lite-img6.png|250px]]
[[文件:Orange-pi-lite-img7.png|250px]]
</div>
<br>
8)The data cable of the Micro USB interface, when using the ADB debugging function of the Android system, it is necessary to connect the development board and the computer through the data cable of the Micro USB interface<br>
<br>
<div style="padding-left:200px">[[文件:Orange-pi-lite-img8.png|250px]]</div>
<br>
9)USB to TTL module and DuPont cable, when using the serial port debugging function, USB to TTL module and DuPont cable are required to connect the development board and computer<br>
<br>
<div>
[[文件:Orange-pi-lite-img9.png|250px]][[文件:Orange-pi-lite-img10.png|250px]]
</div>
<br>
10)A PC with Ubuntu and Windows operating systems installed
{| class="wikitable"
|-
| 1|| Ubuntu14.04 PC|| Optional, used to compile Android source code
|-
| 2|| Ubuntu18.04 PC|| Optional, used to compile Linux source code
|-
| 3|| Windows PC|| For burning Android and Linux images
|}
<br>
==='''Download the image of the development board and related sources'''===
<br>
1)The download URL of the Chinese version is:<br>
http://www.orangepi.cn/downloadresourcescn/

2)The download URL of the English version is:<br>
http://www.orangepi.online/downloadresources/

3)The data mainly includes<br>
a. '''Android source code:''' Save on Google drive<br>

b.'''Linux source code:''' Save on github, the link address is<br>
https://github.com/orangepi-xunlong

c.'''User Manual and Schematics:'''chip-related data manuals will also be placed here<br>

d. '''Official tools:''' It mainly includes the software that needs to be used during the use of the development board<br>

e. '''Android image:''' Save on Google drive<br>

f. '''Ubuntu image:''' Save on Google drive<br>

g. '''Debian image:''' Save on Google drive<br>

h.'''Armbian Image''', image developed by the Armbian community. If you encounter problems during use, please go to the <span style="color:#00a2ea;">armbian forum</span> to give feedback. The maintainers of the Armbian image and other people who use the Armbian image will assist in solving various problems, which is also the fastest way to solve the problem. method. Orange Pi is not responsible for maintaining this image<br>
<br>

<div>
[[文件:Orange-pi-lite-img11.png|800px|]]
</div>

=== '''Method of burning Linux image to TF card based on Windows PC''' ===
<br>
1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk<br>
<br>
2)Then use the card reader to insert the TF card into the windows computer<br>
<br>
3)Then format the TF card<br>
a.The '''SD Card Formatter''' software can be used to format the TF card, and its download address is<br>
https://www.sdcard.org/downloads/formatter/eula_windows/SDCardFormatterv5_WinEN.zip
b.After downloading, unzip and install directly, and then open the software<br>
<br>
c.If only the TF card is inserted into the computer, the drive letter of the TF card will be displayed in the '''Select card''' column. If multiple USB storage devices are inserted into the computer, you can select the drive letter corresponding to the TF card through the drop-down box<br>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-sdcardformatter.png|400px]]</div>
d.Then click '''Format''', a warning box will pop up before formatting, select '''"Yes (Y)"''' to start formatting
<div style="padding-left:200px">[[文件:Orange-pi-3lts-sdcardformatter1.png|400px]]</div>
e.After formatting the TF card, the information shown in the figure below will pop up, click OK.<br>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-sdcardformatter2.png|400px]]</div>
4)4)Download the compressed package of the Linux operating system image file you want to burn from the data download page of Orange Pi, and then use the decompression software to decompress it. In the decompressed file, the file ending with '''".img"''' is the image file of the operating system. The size is generally more than 1GB<br>
<br>
5)Use '''Win32Diskimager''' to burn Linux image to TF card<br>
a.The download page of Win32Diskimager is<br>
http://sourceforge.net/projects/win32diskimager/files/Archive/
b.After downloading, install it directly. The Win32Diskimager interface is as follows<br>
<p style="padding-left:20px;">
a)First select the path of the image file<br>
b)Then confirm that the drive letter of the TF card is the same as that displayed in the '''"Device"''' column<br>
c)Finally click '''"Write"''' to start burning
</p>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-selectimage.png|400px]]</div>
c.After the image writing is completed, click the "Exit" button to exit, and then you can pull out the TF card and insert it into the development board to start

=== '''Method of burning Linux image to TF card based on Ubuntu PC''' ===
<br>
1)1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk<br>
<br>
2)Then use a card reader to insert the TF card into the computer<br>
<br>
3)Download balenaEtcher software, the download address is<br>
https://www.balena.io/etcher/
4)After entering the balenaEtcher download page, please select the Linux version of the software through the drop-down box to download<br>
<br>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-selectlinuxversion.png|600px]]</div>
<br>
5)After downloading, use '''unzip ''' to decompress. The decompressed '''balenaEtcher-1.5.109-x64.AppImage''' is the software required for burning
<div style="background:#f1f1f1;border: 1px solid #000;">
test@test:~$ unzip balena-etcher-electron-1.5.109-linux-x64.zip <br>
Archive: balena-etcher-electron-1.5.109-linux-x64.zip<br>
inflating: balenaEtcher-1.5.109-x64.AppImage<br>
test@test:~$ ls<br>
balenaEtcher-1.5.109-x64.AppImage balena-etcher-electron-1.5.109-linux-x64.zip
</div>
<br>
6)Download the compressed package of the Linux operating system image file you want to burn from the data download page of Orange Pi, and then use the decompression software to decompress it. In the decompressed file, the file ending with ".img" is the image file of the operating system. The size is generally more than 1GB<br>
a.The decompression command of the compressed package at the end of a.7z is as follows
<div style="background:#f1f1f1;border: 1px solid #000;">
test@test:~$ 7z x image_filename.7z
</div>
b.The decompression command for the compressed package ending with b.tar.gz is as follows
<div style="background:#f1f1f1;border: 1px solid #000;">
test@test:~$ tar -zxf image_filename.tar.gz
</div>
<br>
7)Double-click balenaEtcher-1.5.109-x64.AppImage on the graphical interface of Ubuntu PC to open balenaEtcher. The opened interface is shown in the figure below<br>
<div style="padding-left:20px;">
a.First select the path of the image file<br>
b.Then select the device number of the TF card<br>
c.Finally click Flash to start burning
</div>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-balenaetcher.png|600px]]</div>
8)The burning process will prompt the writing speed and remaining time
<div style="padding-left:200px">[[文件:Orange-pi-3lts-balenaetcher1.png|600px]]</div>
9)After burning, the following interface will be displayed. At this time, you can pull out the TF card from the computer and insert it into the development board to start.
<div style="padding-left:200px">[[文件:Orange-pi-3lts-balenaetcher2.png|600px]]</div>

=== '''How to burn Android firmware to TF card''' ===
<br>
<span style="color:red;font-weight:700;">Android image can only be burned to TF card using PhoenixCard software under Windows platform, but cannot be burned under Linux platform</span><br>
<br>
1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk<br>
<br>
2)Then use a card reader to insert the TF card into the computer<br>
<br>
3)Download the Android 4.4 or Android 7.0 firmware and PhoenixCard programming tool from Orange Pi's data download page, please make sure that the version of the PhonenixCrad tool is PhoenixCard v4.1.2<br>
<br>
4)Use the decompression software to decompress the downloaded Android firmware compressed package. In the decompressed file, the file ending with ".img" is the Android firmware<br>
<br>
5)Use the decompression software to decompress PhoenixCard v4.1.2.rar, this software does not need to be installed, just find PhoenixCard in the decompressed folder and open it
<div style="padding-left:200px">[[文件:Orange-pi-3lts-phoenixcard.png|600px]]</div>
<br>
6)After opening '''PhoenixCard''', if the TF card is recognized normally, the drive letter and capacity of the TF card will be displayed in the middle list.<span style="color:red;font-weight:700;"> Please make sure that the displayed drive letter is the same as the drive letter of the TF card you want to burn.</span> If There is no display, you can try to unplug the TF card<br>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-phoenixcard1.png|600px]]</div>
7)After confirming the drive letter, first format the TF card, click the recovery card button in PhoenixCard, or use the '''SD Card Formatter''' mentioned above to format the TF card<br>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-phoenixcard2.png|600px]]</div>
8)Then start to write the Android firmware to the TF card<br>
<div style="padding-left:20px;">
a.First select the path of the Android '''firmware''' in the firmware column<br>
b.Select '''boot card''' in the type of card to make<br>
c.Then click the '''burn card''' button to start burning
</div>
<div style="padding-left:200px">[[文件:Orange-pi-lite-img12.png|600px]]</div>
9) After burning, the display of PhoenixCard is as shown in the figure below. At this time, click the close button to exit PhoenixCard, and then you can pull out the TF card from the computer and insert it into the development board to start.
<div style="padding-left:200px">[[文件:Orange-pi-3lts-phoenixcard4.png|600px]]</div>

=== ''' Start the Orange Pi development board''' ===
<br>
1)Insert the burned TF card into the TF card slot of the Orange Pi development board<br>
2)The development board has an HDMI interface, and the development board can be connected to a TV or other HDMI display through an HDMI cable<br>
3)Connect the USB mouse and keyboard to control the orange pi development board<br>
4)Connect a power adapter with 5V and at least 2A (3A is also possible)<br>
<div style="padding-left:20px;color:red;font-weight:700;">
a.Remember not to plug in the 12V power adapter, if the 12V power adapter is plugged in, it will burn out the development board<br>
b.Many unstable phenomena during system power-on and startup are basically caused by power supply problems, so a reliable power adapter is very important
</div>
5)Then turn on the switch of the power adapter, if everything is normal, then the HDMI display can see the startup screen of the system<br>
6)If you want to view the output information of the system through the debugging serial port, please use the serial port cable to connect the development board to the computer. For the serial port connection method, please refer to the section on debugging serial port usage.<br>

=== '''How to debug the serial port''' ===

==== '''Connection instructions for debugging serial port''' ====
1)First, you need to prepare a USB to TTL module. This module can be purchased in Orange Pi's store. If there are other similar USB to TTL modules, then insert the USB end of the USB to TTL module into the USB interface of the computer. middle
<div style="padding-left:200px">[[文件:Orange-pi-3lts-ttlmodule.png|600px]]</div>
2)The corresponding relationship between the debug serial port GND, TXD and RXD pins of the development board is shown in the figure below
<div style="padding-left:200px">[[文件:Orange-pi-lite-img13.png|600px]]</div>
3)The GND, TXD and RXD pins of the USB to TTL module need to be connected to the debug serial port of the development board through a DuPont cable<br>
<div style="padding-left:20px">
a.Connect the GND of the USB to TTL module to the GND of the development board<br>
b.The RXD of the USB to TTL module is connected to the TXD of the development board <br>
c.The TXD of the USB to TTL module is connected to the RXD of the development board
</div>
<br>
4)The schematic diagram of connecting the USB to TTL module to the computer and the Orange Pi development board is shown below
<div style="padding-left:200px">[[文件:Orange-pi-3lts-ttlmodule2.png|600px]]</div>

==== '''How to use the debugging serial port on Ubuntu platform''' ====
1)If the USB to TTL module is connected normally, you can see the corresponding device node name under /dev of the Ubuntu PC, remember this node name, it will be used when setting the serial port software later
<div style="background:#f1f1f1;border:1px solid #000">
test@test:~$ '''ls /dev/ttyUSB*'''<br>
/dev/ttyUSB0
</div>
<br>
2)There are many serial debugging tools that can be used under linux, such as putty, minicom, etc. The following demonstrates how to use putty<br>
<br>
3)First install putty on the Ubuntu PC
<div style="background:#f1f1f1;border:1px solid #000">
test@test:~$ '''sudo apt update'''<br>
test@test:~$ '''sudo apt -y install putty'''
</div>
<br>
4)Then run putty, remember to add sudo permissions
<div style="background:#f1f1f1;border:1px solid #000">
test@test:~$ '''sudo putty'''
</div>
<br>
5)After executing the putty command, the following interface will pop up
<div style="padding-left:200px">[[文件:Orange-pi-3lts-putty.png|600px]]</div>
<br>
6)First select the setting interface of the serial port
<div style="padding-left:200px">[[文件:Orange-pi-3lts-putty1.png|600px]]</div>
7)Then set the parameters of the serial port<br>
<div style="padding-left:20px;">
a. Set the Serial line to connect to to /dev/ttyUSB0 (modify to the corresponding node name, generally /dev/ttyUSB0)<br>
b. Set Speed (baud) to 115200 (baud rate of the serial port)<br>
c. Set Flow control to None
</div>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-putty2.png|600px]]</div>
8)After setting the serial port setting interface, return to the Session interface
<div style="padding-left:20px;">
a. First select the Connection type as Serial<br>
b. Then click the Open button to connect to the serial port</div>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-putty3.png|600px]]</div>
<br>
9)After starting the development board, you can see the Log information output by the system from the opened serial port terminal
<div style="padding-left:200px">[[文件:Orange-pi-3lts-putty4.png|600px]]</div>

==== '''How to use the debugging serial port on Windows platform''' ====
<br>
1)There are many serial debugging tools that can be used under Windows, such as SecureCRT, MobaXterm, etc. The following shows how to use MobaXterm. This software is free and can be used without purchasing a serial number.<br>
<br>
2)Download MobaXterm<br>
<div style="padding-left:20px;">
a.Download the MobaXterm URL as follows
</div>
https://mobaxterm.mobatek.net/
<div style="padding-left:20px;">
b.After entering the MobaXterm download page, click '''GET XOBATERM NOW!'''
</div>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-mobaxterm.png|600px]]</div>
<br>
<div style="padding-left:20px;">
c.Then choose to download the Home version
</div>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-homeversion.png|600px]]</div>
<div style="padding-left:20px;">
d.Then select the Portable version, after downloading, you don’t need to install it, just open it and you can use it
</div>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-mobaxterm1.png|600px]]</div>
3)After downloading, use the decompression software to decompress the downloaded compressed package, you can get the executable software of MobaXterm, and then double-click to open it
<div style="padding-left:200px">[[文件:Orange-pi-3lts-mobaxterm2.png|600px]]</div>
4)After opening the software, the steps to set up the serial port connection are as follows<br>
<div style="padding-left:20px;">
a. Open the session setting interface<br>
b. Select the serial port type<br>
c. Select the port number of the serial port (choose the corresponding port number according to the actual situation), if you can't see the port number, please use the <span style="color:#003aff">360 driver master</span> to scan and install the USB to TTL serial chip driver<br>
d. Select the baud rate of the serial port to be 115200<br>
e. Finally click the '''"OK"''' button to complete the setting
</div>
<div style="padding-left:200px">[[文件:Orange-pi-3lts-setupserialport.png|1000px]]</div>
5)After clicking the '''"OK"''' button, you will enter the following interface, and you can see the output information of the serial port when you start the development board.
<div style="padding-left:200px">[[文件:Orange-pi-3lts-setupserialportok.png|1000px]]</div>
For more information on using the Orange Pi Lite, please see the [http://localhost:8080/index.php?title=%E6%96%87%E4%BB%B6:Orange_Pi_Lite_User_Manual.docx <span style="color:#ff003a;">Orange Pi Lite User Manual</span>]. (Click to download)

Navigation menu