Open main menu

Wiki-Orange Pi β

Changes

Orange Pi Zero 2W

819 bytes removed, 11:56, 25 September 2023
no edit summary
<div class="figure">
[[File:media/image17.png|252x143px|003]]
</div></li>
<li><p>24pin expansion board</p>
<p>[[File:media/image18.png|211x110px]]</p></li>
<li><p>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</p></li>
<li><p>Infrared remote control, mainly used to control Android TV system</p>
<p>[[File:media/image19.png|170x173px]]</p>
<p>'''Note that the remote control of the air conditioner or the TV cannot control the Orange Pi development board. By default, only the remote control provided by Orange Pi can.'''</p></li>
<li><p>Network cable to connect the development board to the Internet</p></li>
<li><p>AV video cable. If you want to display video through the TV-OUT interface instead of the HDMI interface, you need to connect the development board to the TV through the AV video cable.</p>
<p>[[File:media/image20.png|217x218px]]</p></li>
<li><p>Heat sink. If you are worried that the temperature of the development board is too high, you can add some heat sinks and stick the heat sinks on the H618 chip and memory chip.</p>
<p>[[File:media/image21.png|162x133px]] [[File:media/image22.png|287x143px]]</p></li>
<li><p>5V cooling fan, as shown in the figure below. There are 5V and GND pins on the 40pin interface of the development board that can be connected to the cooling fan. The spacing of the 40pin pins is 2.54mm. The power interface of the cooling fan can be purchased according to this specification.</p>
<p>[[File:media/image23.png|263x142px]]</p>
<p>'''Note that the 5V pin can be used directly after the development board is plugged in and no other settings are required. In addition, the voltage output by the 5V pin cannot be adjusted or turned off through software.'''</p>
<p>'''The pin headers on the 40pin interface are not soldered by default, and you need to solder them yourself before you can use them.'''</p></li>
<li><p>Type-C to USB cable for connecting USB devices</p>
<p>[[File:media/image24.png|193x127px]]</p></li>
<li><p>USB to TTL module and Dupont cable. When using the serial port debugging function, a USB to TTL module and Dupont cable are needed to connect the development board and the computer.</p>
<p>[[File:media/image25.png|176x118px]] [[File:media/image26.png|305x110px]]</p>
<p>'''Note that the TTL level used by the development board is 3.3v. In addition to the USB to TTL module shown in the picture above, other similar 3.3v USB to TTL modules are generally available.'''</p></li>
<li><p>X64 computer with Ubuntu and Windows operating systems installed</p></li></ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>After entering the balenaEtcher download page, click the green download button to jump to the software download location.</p>
<p>[[File:media/image27.png|456x219px]]</p></li>
<li><p>Then you can choose to download the Portable version of balenaEtcher software. The Portable version does not need to be installed. You can use it by double-clicking to open it.</p>
<p>[[File:media/image28.png|468x173px]]</p></li>
<li><p>If you downloaded the version of balenaEtcher that needs to be installed, please install it first and then use it. If you downloaded the Portable version of balenaEtcher, just double-click to open it. The balenaEtcher interface after opening is as shown below.</p>
<p>[[File:media/image29.png|335x211px]]</p></li></ol>
'''If the following error is prompted when opening balenaEtcher:'''
[[File:media/image30.png|206x162px]]
'''Please select balenaEtcher, right-click, and select Run as administrator.'''
[[File:media/image31.png|114x37px]]
<ol start="8" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image32.png|501x281px|03]]
</div></li>
<li><p>The interface displayed during the process of burning the Linux image by balenaEtcher is as shown in the figure below. In addition, the progress bar displays purple to indicate that the Linux image is being burned into the TF card.</p>
<p>[[File:media/image33.png|506x317px]]</p></li>
<li><p>After the Linux image is burned, balenaEtcher will also verify the image burned into the TF card by default to ensure that there are no problems during 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.</p>
<p>[[File:media/image34.png|519x325px]]</p></li>
<li><p>After successful burning, the display interface of balenaEtcher is as shown below. If the green indicator icon is displayed, it means that the image burning is successful. At this time, you can exit balenaEtcher, then pull out the TF card and insert it into the TF card slot of the development board for use.</p>
<div class="figure">
[[File:media/image35.png|523x324px|04]]
</div></li></ol>
<div class="figure">
[[File:media/image36.png|209x228px|选区_199]]
</div></li>
<li><p>Then click &quot;'''Format'''&quot;. A warning box will pop up before formatting. After selecting &quot;'''Yes (Y)'''&quot;, formatting will begin.</p></li></ol>
[[File:media/image37.png|304x147px]]
<ol start="5" style="list-style-type: lower-alpha;">
<li><p>After formatting the TF card, the information shown in the picture below will pop up, click OK.</p>
<p>[[File:media/image38.png|186x149px]]</p></li></ol>
<!-- -->
<div class="figure">
[[File:media/image39.png|297x206px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\a8fda8737c5b0b3b38fbb75ef68acfc.pnga8fda8737c5b0b3b38fbb75ef68acfc]]
</div></li>
<ol start="4" style="list-style-type: decimal;">
<li><p>After entering the balenaEtcher download page, click the green download button to jump to the software download place.</p>
<p>[[File:media/image27.png|489x235px]]</p></li>
<li><p>Then choose to download the Linux version of the software</p>
<p>[[File:media/image40.png|485x184px]]</p></li>
<li><p>Download the compressed package of the Linux operating system image file you want to burn from the [http://www.orangepi.org/html/serviceAndSupport/index.html '''Orange Pi information download page'''], and then use the decompression software to decompress it. In the decompressed file, the file ending with &quot;.img&quot; is the image file of the operating system. The size is generally above 1GB. The decompression command for the compressed package ending in 7z is as follows:</p>
<p>test@test:~$ '''7z x orangepizero2w_1.0.0_ubuntu_focal_desktop_linux6.1.31.7z'''</p>
<p>orangepizero2w_1.0.0_ubuntu_focal_desktop_linux6.1.31.img: '''successful'''</p></li>
<li><p>Then double-click '''balenaEtcher-1.14.3-x64.AppImage''' on the graphical interface of Ubuntu PC to open balenaEtcher '''(no installation required)'''. The interface after balenaEtcher is opened is as shown below</p>
<p>[[File:media/image41.png|423x251px]]</p></li>
<li><p>The specific steps to use balenaEtcher to burn a Linux image are as follows</p>
<p>a. First select the path of the Linux image file to be burned.</p>
<div class="figure">
[[File:media/image32.png|501x281px|03]]
</div></li>
<li><p>The interface displayed during the process of burning the Linux image by balenaEtcher is as shown in the figure below. In addition, the progress bar displays purple to indicate that the Linux image is being burned into the TF card.</p>
<p>[[File:media/image42.png|576x247px]]</p></li>
<li><p>After the Linux image is burned, balenaEtcher will also verify the image burned into the TF card by default to ensure that there are no problems during 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.</p>
<p>[[File:media/image43.png|576x252px]]</p></li>
<li><p>After successful burning, the display interface of balenaEtcher is as shown below. If a green indicator icon is displayed, it means that the image burning is successful. At this time, you can exit balenaEtcher, then pull out the TF card and insert it into the TF card slot of the development board for use.</p>
<p>[[File:media/image44.png|576x340px]]</p></li></ol>
<span id="method-of-burning-android-image-to-tf-card"></span>
<li><p>First, please make sure that '''Microsoft Visual C++ 2008 Redistrbutable - x86'''</p>
<p>is installed on your Windows system.</p>
<p>[[File:media/image45.png|449x293px]]</p></li>
<li><p>If '''Microsoft Visual C++ 2008 Redistrbutable - x86''' is not installed</p>
<p>, using '''PhoenixCard''' to format the TF card or burn the Android image will prompt the following error</p>
<div class="figure">
[[File:media/image46.png|522x395px|NUQB$Q%(){1CV6M6WK4N`5J]]
</div></li>
<li><p>'''Microsoft Visual C++ 2008 Redistrbutable - x86''' installation package can be downloaded from the [http://www.orangepi.org/html/serviceAndSupport/index.html '''official tool'''] of Orange Pi Zero 2w, or you can download it from [https://www.microsoft.com/zh-cn/download/details.aspx?id=26368 '''Microsoft's official website''']</p>
<p>[[File:media/image47.png|242x52px]] [[File:media/image48.png|200x95px]]</p></li>
<li><p>Then prepare a TF card with 8GB or larger capacity. The transmission speed of the TF card must be class10 or above. It is recommended to use TF cards from SanDisk and other brands.</p></li>
<li><p>Then use the card reader to insert the TF card into the computer</p></li>
<div class="figure">
[[File:media/image49.png|575x169px|C:\Users\orangepi\Desktop\用户手册插图\Zero3\未标题-6.jpg未标题-6]]
</div></li>
<li><p>Then use decompression software to decompress the compressed package of the downloaded Android image. In the decompressed file, the file ending with &quot;'''.img'''&quot; is the Android image file, with a size of more than 1GB. If you don’t know how to decompress the Android image compressed package, you can install a '''360 compression software''' to decompress the image.</p>
<p>[[File:media/image50.png|438x158px]]</p></li>
<li><p>Then use decompression software to decompress '''PhonixCard4.2.8.zip'''. This software does not need to be installed. Just find PhoenixCard in the decompressed folder and open it.</p>
<p>[[File:media/image51.png|576x113px]]</p></li>
<li><p>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. '''Please make sure that the displayed drive letter is consistent with the drive letter of the TF card you want to burn'''. If If there is no display, you can try to remove the TF card, or click the &quot;'''Refresh Drive Letter'''&quot; button in PhoenixCard.</p></li></ol>
[[File:media/image52.png|575x137px]]
<ol start="10" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image53.png|575x316px|C:\Users\orangepi\Desktop\用户手册插图\Zero3\未标题-1.jpg未标题-1]]
</div>
<p>b. Select &quot;'''Start Card'''&quot; in &quot;'''Card Type'''&quot;</p>
<p>c. Then click the &quot;'''Burn Card'''&quot; button to start burning.</p>
<p>[[File:media/image54.png|576x431px]]</p></li>
<li><p>After burning, the display of PhoenixCard is as shown below. At this time, click the &quot;'''Close'''&quot; 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.</p>
<div class="figure">
[[File:media/image55.png|575x358px|1]]
</div>
<p>'''After burning the Android system, you can only see a 128 MB partition on the TF card in Windows. The displayed partition is as shown below (some computers may pop up more than twenty disk partitions, but they can only open the 128 MB one. partition), please note that this is normal, please do not think that the TF card is burned out. The reason for this is that there are more than twenty partitions in the Android system, but most of them cannot be recognized normally in the Windows system. At this time, please feel free to unplug the TF card and insert it into the development board to start.'''</p>
<p>[[File:media/image56.png|193x45px]]</p>
<p>'''After the Android system starts, you can use the following command to see the twenty partitions in the TF card:'''</p>
<p>[[File:media/image57.png|368x131px]]</p>
<p>'''Using the df -h command, you can see that after burning the Android system on the 16GB TF card, there is about 11 GB of space available (not all of the more than twenty partitions will be mounted to the Android system, focus on these to see to the partition you want to reach).'''</p>
<p>[[File:media/image58.png|391x220px]]</p></li></ol>
<span id="instructions-for-using-micro-linux-system-in-onboard-spi-flash"></span>
There is a 16MB SPI Flash on the development board, and its location is shown in the figure below:
[[File:media/image59.png|284x124px]]
A micro Linux system is programmed into SPI Flash by default. This system is mainly used to prove that the development board can start normally. After getting the development board, there is no need to burn the system into the TF card. You only need to connect the Type-C power supply to the development board to start the micro Linux system in the SPI Flash. The main functions of this system are:
<div class="figure">
[[File:media/image17.png|258x146px|003]]
</div>
<div class="figure">
[[File:media/image60.png|552x110px|7]]
</div></li>
<li><p>The corresponding relationship between the GND, TX and RX pins of the debugging serial port of the development board is shown in the figure below</p>
<p>[[File:media/image61.png|345x156px]]</p>
<p>'''Note: The pin header on the 40pin interface is not soldered by default, and you need to solder it yourself before it can be used.'''</p></li>
<li><p>The GND, TX and RX pins of the USB to TTL module need to be connected to the debugging serial port of the development board through Dupont lines.</p>
</li>
<li><p>The schematic diagram of connecting the USB to TTL module to the computer and Orange Pi development board is as shown below</p>
<p>[[File:media/image62.png|553x204px]]</p>
<p>'''The TX and RX of the serial port need to be cross-connected. If you don’t want to carefully distinguish the order of TX and RX, you can casually connect the TX and RX of the serial port first. If there is no output from the test serial port, then exchange the order of TX and RX, so that the There is a right order.'''</p></li></ol>