Open main menu

Wiki-Orange Pi β

Changes

Orange Pi Zero 2

4,860 bytes added, 20:13, 30 June 2022
no edit summary
1)TF card, class10 or above high-speed SanDisk card with a minimum capacity of 8GB
<br>
<div style="padding-left:200px ;">[[File:Orange-pi-3-lts-sdcard.png|200px|]]</div>
<br>
<div style="border:1px solid #000;padding:2px;">
<div style="border:1px solid #000;padding:5px;background:#ffffdc;">
'''Use other brands of TF cards (not SanDisk TF cards), as shown in the picture below (including but not only to these cards), some friends have reported that there will be problems during the system startup process, such as the system being stuck halfway during startup, Or the reboot command cannot be used normally, and it was finally solved after change to using the SanDisk TF card. So if you are using a non-SanDisk TF card and find that problems during system startup or use, please replace the TF card to the SanDisk TF card and then test'''
<div style="padding-left:100px;">[[File:Orange-pi-zero2-img6.png|200px|]][[File:Orange-pi-zero2-img7.png|215px|]][[File:Orange-pi-zero2-img8.png|220px|]][[File:Orange-pi-zero2-img9.png|210px|]]</div><div style="padding-left:200px ;">'''some TF cards have system startup problems on Orange Pi Zero 2'''</div>
</div>
</div>
'''In addition, the TF card that can be used normally on other types of development boards does not guarantee that the Orange Pi Zero 2 will also start normally by using this TF card. Please pay special attention to this point. '''<br>
2)TF card reader, used to read and write TF card
<div style="padding-left:200px ;">[[File:Orange-pi-3-lts-tfcard.png|200px|]]</div>
<br>
3)Micro HDMI to HDMI cable, used to connect the development board to an HDMI monitor or TV for display
<div style="padding-left:200px ;">[[File:Orange-pi-zero2-img11.png|200px|]]</div>
<br>
<div style="border:1px solid #000;padding:2px;">
<div style="border:1px solid #000;padding:5px;background:#ffffdc;">
'''Note, please do not use the wider Micro HDMI adapter shown in the figure below. Due to the small distance between the USB interface, Micro HDMI interface and Type-C power interface of the development board, the three may not be able to be used at the same time. Plug into the development board.'''
<div style="padding-left:200px ;">[[File:Orange-pi-zero2-img12.png|200px|]]</div>
</div>
</div>
10)Heat sink, if you are worried that the temperature of the development board is too high, you can add a heat sink, and the heat sink can be attached to the H616 chip<br>
<br>
<div style="padding-left:200px ;">
[[File:Orange-pi-zero2-img18.png|300px|]][[File:Orange-pi-zero2-img19.png|300px|]]</div>
11)5V cooling fan, as shown in the figure below, there are 5V and GND pins on the 26pin and 13pin interfaces of the development board that can be connected to the cooling fan. The distance between the 26pin and 13pin pin headers is 2.54mm, and the power interface of the cooling fan refers to this Specifications to buy<br>
<br>
12)Matching shell, transparent shell and black shell are available<br>
<div style="padding-left:200px ;">
[[File:Orange-pi-zero2-img21.png|300px|]][[File:Orange-pi-zero2-img22.png|300px|]]</div>
<div style="padding:2px;border:1px solid #000;>
c.If only the TF card is inserted into the computer, the “Select card” column will display the drive letter of the TF card. 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 ;">[[File:Orange-pi-4-lts-img24.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 ;">[[File:Orange-pi-4-lts-img25.png|400px|]]</div>
e.After formatting the TF card, the information shown in the figure below will pop up, click OK.
<div style="padding-left:200px ;">[[File:Orange-pi-4-lts-img26.png|400px|]]</div>
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>
c) Finally click "Write" to start burning
</p>
<div style="padding-left:200px ;">[[File:Orange-pi-4-lts-img27.png|600px|]]</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
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 ">[[File: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 needed to burn Linux image
</div>
8)Then double-click balenaEtcher-1.5.109-x64.AppImage on the graphical interface of Ubuntu PC to open balenaEtcher (no installation required), and the interface after balenaEtcher is opened is shown in the following figure<br>
<div style="padding-left:200px ">[[File:Orange-pi-4-lts-img35.png|600px]]</div>
<br>
9)The specific steps to use balenaEtcher to burn a Linux image are as follows
c.Finally, click Flash to start burning the Linux image to the TF card
</div>
<div style="padding-left:200px ">[[File:Orange-pi-4-lts-img36.png|600px]]</div>
<br>
10)The interface displayed in the process of balenaEtcher burning the Linux image is shown in the figure below. In addition, the progress bar shows purple to indicate that the Linux image is being burned to the TF card.
<div style="padding-left:200px ">[[File:Orange-pi-4-lts-img37.png|600px]]</div>
<br>
11)After the Linux image is burned, balenaEtcher will also verify the image burned to the TF card by default to ensure that there is no problem in the burning process. As shown in the figure below, a green progress bar indicates that the image has been burned, and balenaEtcher is verifying the burned image.
<div style="padding-left:200px ">[[File:Orange-pi-4-lts-img38.png|600px]]</div>
<br>
12)After the successful burning, the display interface of balenaEtcher is shown in the figure below. If the green indicator icon is displayed, it means that the image burning is successful. At this time, you can exit balenaEtcher, and then pull out the TF card and insert it into the TF card slot of the development board.
<div style="padding-left:200px ">[[File:Orange-pi-4-lts-img39.png|600px]]</div>
<br>
=== '''The Way to burn Android image to TF card''' ===
=== '''How to use the debug serial port''' ===
==== '''Debug Connection instructions for debugging serial port connection instructions''' ====<br>1)First, you need to prepare a 3.3v USB to TTL module. This module can be bought in Orange Pi Store. If there are other similar USB to TTL modules, you can also and then insert the USB port interface of the USB to TTL module into the USB interface of the computer Interface<br><br><div style="padding-left:200px ">[[File:Orange-pi-one-img9.png|600px]]</div><br>
2)The corresponding relationship between the debug serial port GND, TX and RX pins of the development board is shown in the figure below
<div style="padding-left:200px ">[[File:Orange-pi-r1-plus-ltszero2-img18img45.png|600px]]</div>3)The GND, TX and RX pins of the USB to TTL module need to be connected to the debug serial port of the development board through a Dupont 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. Connect the The RX of the USB to TTL module is connected to the TX of the development board<br>c. Connect the The TX of the USB to TTL module is connected to the RX 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 ">[[File:Orange-pi-3lts-ttlmodule2.png|600px]]</div><br><div style="border: 1px solid #000;padding: 2px;"><div style="border: 1px solid #000;padding: 5px;background-color: #ffffdc;">'''The TX and RX of the serial port need to be cross-connected. If you don’t want to distinguish the order of TX and RX carefully, you can connect the TX and RX of the serial port casually first. If the test serial port has no output, then exchange the order of TX and RX. There is an order that is right.'''</div></div> ==== '''The Way to use the debug serial port on Ubuntu platform''' ====
<br>
5)If you are using a CP2102 USB to TTL module, under the condition of a baud rate of 1.500000, some systems may encounter garbled or unusable problems. The specific test situation is as follows{| class<div style="wikitableborder: 1px solid #000;padding: 2px;" ><div style="widthborder: 1px solid #000;padding:800px5px;background-color: #ffffdc;">|-| USB '''There are many serial port debugging software that can be used under Linux, such as putty, minicom, etc. The following demonstrates how to TTL module model|| Host system|| Support situation|-| rowspan=5|CH340|| win7 || ok|-| win10|| ok|-| ubuntu14use putty.04|| ok|-'''| ubuntu18.04|| ok|-| ubuntu20.04|| ok|-| rowspan=5|CP2102|| win7 || ok|-| win10|| Not available|-| ubuntu14.04|| ok|-| ubuntu18.04|| Not available|-| ubuntu20.04|| Not available</div>|}</div>
<br>
 ==== '''How 1)First, insert the USB to use TTL module into the USB interface of the debugging serial port on Ubuntu platform''' ====1)computer. If the connection and recognition of the USB to TTL module is connected normallynormal, you can see the corresponding device node name under /dev of the Ubuntu PC, remember this node name, it will be used when setting and set the serial port later software laterwill be used
<div style="background:#f1f1f1;border:1px solid #000">
test@test:~$ '''ls /dev/ttyUSB*'''<br>
</div>
<br>
2)There are many serial debugging tools that can be used under linux, such as putty, minicom, etc. The Then use the following demonstrates how command to use install puttyon Ubuntu PC<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 install -y install putty'''
</div>
<br>
43)Then run putty, remember to add sudo permissions
<div style="background:#f1f1f1;border:1px solid #000">
test@test:~$ '''sudo putty'''
</div>
<br>
54)After executing the putty command, the following interface will pop up<div style="padding-left:200px ">[[File:Orange-pi-3lts-putty.png|600px]]</div>
<br>
65)First select the setting interface of the serial port<div style="padding-left:200px ">[[File:Orange-pi-3lts-putty1.png|600px]]</div>76)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 ttyUSB0(Modify it to the corresponding node name, generally usually as /dev/ttyUSB0)ttyUSB0)<br>b. Set Speed (baud) to 1500000 (115200(serial port baud rate of the serial port)rate)<br>c. Set Flow control to None
</div>
<div style="padding-left:200px ">[[File:Orange-pi-r1-plus-ltszero2-img19img46.png|600px]]</div>87)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 ">[[File:Orange-pi-r1-plus-lts-img21.png|600px]]</div>
<br>
98)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 ">[[File:Orange-pi-3lts-putty4.png|600px]]</div>
==== '''How The Way to use the debugging debug serial port on Windows platform''' ====
<br>
1)<div style="border: 1px solid #000;padding: 2px;"><div style="border: 1px solid #000;padding: 5px;background-color: #ffffdc;">'''There are many serial port debugging tools software that can be used under Windows, such as SecureCRT, MobaXterm, etc. The following shows how to use MobaXterm. This software is has a free version and can be used without purchasing a serial number.'''</div><br/div>
<br>
21)Download MobaXterm<br>
<div style="padding-left:20px;">
a.Download the MobaXterm URL as follows
b.After entering the MobaXterm download page, click '''GET XOBATERM NOW!'''
</div>
<div style="padding-left:200px ">[[File: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 ">[[File: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 ">[[File:Orange-pi-3lts-mobaxterm1.png|600px]]</div>32)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 ">[[File:Orange-pi-3lts-mobaxterm2.png|600px]]</div>43)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 1500000115200<br>
e. Finally click the '''"OK"''' button to complete the setting
</div>
<div style="padding-left:200px ">[[File:Orange-pi-r1zero2-plus-lts-img22img47.png|1000px800px]]</div>54)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=" ">[[File:Orange-pi-zero2-img48.png|800px]]</div><br>=== '''Instructions for power supply using the 5v pin in the 26pin or 13pin interface of the development board''' ===<br><div style="border: 1px solid #000;padding: 2px;"><div style="border: 1px solid #000;padding: 5px;background-color: #ffffdc;">'''The power supply method we recommend for the development board is to use the power cord of the 5V/2A or 5V/3A Type C interface to plug into the Type C power interface of the development board to supply power. If you need to use the 5V pin in the 26pin or 13pin interface to power the development board, please make sure that the power cable used can meet the power supply requirements of the development board. If there is unstable use, please switch back to the Type C power supply'''</div></div><br>1)First, you need to prepare a power cord as shown in the figure below<br><br><div>[[File:Orange-pi-zero2-img49.png|600px|]]</div><br><div style="border: 1px solid #000;padding: 2px;"><div style="border: 1px solid #000;padding: 5px;background-color: #ffffdc;">'''The power cord shown in the picture above can be bought on shopping website, please search and buy by yourself.'''</div></div><br>2)Use the 5V pin in the 26pin or 13pin interface to power the development board. The connection method of the power cable is as follows<br>a.The USB A port of the power cord shown in the figure above needs to be plugged into the 5V/2A or 5V/3A power adapter connector (it is not recommended to plug it into the USB port of the computer to supply power. If there are too many peripherals connected to the development board, use will be unstable)<br>b.The red Dupont wire needs to be plugged into the 5V pin of the 26pin or 13pin interface of the development board<br>c.The black Dupont wire needs to be plugged into the GND pin of the 26pin or 13pin interface<br>d.The positions of the 5V pins and GND pins of the 26pin and 13pin interfaces in the development board are shown in the figure below, Remember not to connect the wrong pin<br><br><div style=" ;">[[File:Orange-pi-zero2-img20.png|300px|]]</div><br>=== '''The method of using the 13pin interface of the development board to expand the USB interface''' ===<br>1)If you have purchased the 13pin expansion board of Orange Pi, insert the expansion board into the 13pin interface of the development board, you can expand 2 USB interfaces<br><br><div style=" ;">[[File:Orange-pi-zero2-img51.png|300px|]]</div><br>2)If there is no 13pin expansion board, you can use a 4pin 2.54mm DuPont to USB2.0 female cable to expand the USB interface. The specific method is as follows:<br>a.First, you need to prepare a 4pin 2.54mm DuPont to USB2.0 female cable (this cable can be bought on Online store, please search and buy by yourself), as shown in the following figure:<br><div>[[File:Orange-pi-zero2-leftimg52.png|300px|]][[File:200pxOrange-pi-zero2-img53.png|300px|]]</div><br>b.The schematic diagram of 13pin interface is shown below<br><br><div style=" ;">[[File:Orange-pi-r1zero2-plusimg17.png|300px|]]</div><br><div style=" ;">[[File:Orange-ltspi-zero2-img55.png|300px|]]</div><br>c.The wiring of USB2 is as follows<br><br><div style=" ;">[[File:Orange-pi-zero2-img56.png|300px|]]</div><br>d.The wiring of USB3 is as follows<br><br><div style=" ;">[[File:Orange-pi-zero2-img57.png|300px|]]</div><br>e.If you need to connect two USB devices on the 13pin interface at the same time, you will find that the 5V and GND pins on the 13pin interface are not enough. At this time, one of the USB devices can use the 5V and GND pins in the 26pin interface. The location is as shown below shown:<br><br><div style=" ;">[[File:Orange-pi-zero2-img20.png|1000px300px|]]</div><br>== '''Version Update History''' ==<br>{| class="wikitable" style="width:800px;"|-! Version !! Date !! Update Instructions|-| v3.6|| 2022-04-20|| # Linux system USB microphone test method# How to Test Audio in Desktop Linux System# Linux5.16 I2C, SPI, UART and PWM test methods# Linux: Tencent ncnn neural network forward computing framework test method# Installation method of Ubuntu20.04 ROS 2 Galactic# Debian12 Linux5.16 system GPU test instructions# Add a new version of orangepi-build instructionsAdd some cautionary notes|-| v3.7|| 2022-05-20|| # Support Ubuntu22.04 server and desktop image# Ubuntu22.04 Linux5.16 GPU test instructions# Ubuntu22.04 method of installing browser# Setting method for automatic login of root user in Linux desktop system# How to disable the desktop in the Linux desktop version system# Linux: The method of manually expanding the capacity of the rootfs partition in the TF card# Linux: Method to reduce the capacity of rootfs partition in TF card# How to hide the mouse cursor on the touch screen of the Linux desktop version system# Linux: installation and testing method of face_recognition face recognition library# Debian: How to install OpenMediaVault 5.x and 6.x# Installation method of Ubuntu 20.04 ROS 1 Noetic# Linux: How to install Pi-hole# Debian10: Tensorflow installation method# Linux: Introduction to the use of GotoHTTP|}<br>== '''Download the Orange Pi Zero 2 User Manual''' ==<br>For more information on using the Orange Pi R1 Plus LTSZero 2, please see the [httphttps://localhost:8080drive.google.com/drive/folders/index.php1T7NCV5ZBg1TrB1q_QUQ93GMbq0IlKLFn?titleusp=%E6%96%87%E4%BB%B6:Orange_Pi_R1_Plus_LTS_User_Manual.docx sharing <span style="color:#ff003ared;">Orange Pi R1 Plus LTS Zero 2 User Manual</span>]. (Click to download)