Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 3B

5,590 bytes removed, 19:32, 10 August 2023
no edit summary
<li>Then insert the NVMe SSD into the M.2 PCIe interface of the development board and fix it</li></ol>
[[File:pi3b-img75.png|283x63px]]
<ol start="3" style="list-style-type: decimal;">
<li>The position of the SPI Flash on the development board is shown in the figure below, no other settings are required before starting the programming</li></ol>
[[File:pi3b-img76.png|266x211px]]
<ol start="4" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img16.png|141x138px|D6BB9058-CDC3-42d7-A7FC-FBF630D886B7]]
</div>
<div class="figure">
[[File:pi3b-img124.png|340x108px|e6986fc9c8fc078e8cb6a9c39b76fb8]]
</div>
</li></ol>
[[File:pi3b-img147.png|305x58px]]
<ol start="7" style="list-style-type: decimal;">
<li>Then use the decompression software to decompress '''DriverAssitant_v5.12.zip''', and then find the '''DriverInstall.exe''' executable file in the decompressed folder and open it</li></ol>
[[File:pi3b-img31.png|407x120px]]
<ol start="8" style="list-style-type: decimal;">
</li></ol>
[[File:pi3b-img32.png|286x150px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>After waiting for a period of time, a pop-up window will prompt &quot;'''driver installed successfully'''&quot;, and then click the &quot;'''OK'''&quot; button.</li></ol>
[[File:pi3b-img33.png|296x154px]]
<ol start="9" style="list-style-type: decimal;">
<li>Then decompress '''RKDevTool_Release_v3.15.zip''', this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it</li></ol>
[[File:pi3b-img34.png|413x122px]]
<ol start="10" style="list-style-type: decimal;">
<li>After opening the '''RKDevTool''' burning tool, because the computer is not connected to the development board through the USB2.0 male-to-male data cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</li></ol>
[[File:pi3b-img35.png|402x189px]]
<ol start="11" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img36.png|275x116px|C:\Users\orangepi\Desktop\用户手册插图\pi 3b\1691131157154(1).jpg1691131157154(1)]]
</div>
<li><p>Then press and hold the MaskROM button on the development board, the position of the MaskROM button on the development board is shown in the figure below:</p></li></ol>
[[File:pi3b-img37.png|289x100px]]
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then connect the power supply of the Type-C interface to the development board, and power on, and then release the MaskROM button</li></ol>
[[File:pi3b-img38.png|305x94px]]
<ol start="5" style="list-style-type: lower-alpha;">
<li>If the previous steps are successful, the development board will enter the '''MASKROM''' mode at this time, and the interface of the burning tool will prompt &quot;'''found a MASKROM device'''&quot;</li></ol>
[[File:pi3b-img39.png|443x208px]]
<ol start="6" style="list-style-type: lower-alpha;">
<li>Then click the &quot;'''Upgrade Firmware'''&quot; column of the burning tool</li></ol>
[[File:pi3b-img132.png|442x208px]]
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then click the &quot;'''Firmware'''&quot; button to select the Android image to be burned</li></ol>
[[File:pi3b-img133.png|444x209px]]
<ol start="8" style="list-style-type: lower-alpha;">
<li>Finally, click the &quot;Upgrade&quot; button to start burning. The burning process is shown in the figure below. You can see that the firmware will be burned to SPIFlash first, and then burned to PCIE. After burning is completed, the Android system will start automatically.</li></ol>
[[File:pi3b-img148.png|453x212px]]
<span id="using-rkdevtool-to-clear-spiflash"></span>
# The position of SPI Flash on the development board is shown in the figure below
[[File:pi3b-img76.png|263x193px]]
<ol start="2" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img16.png|141x138px|D6BB9058-CDC3-42d7-A7FC-FBF630D886B7]]
</div>
<div class="figure">
[[File:pi3b-img149.png|342x56px|1691401357374]]
</div>
<div class="figure">
[[File:pi3b-img150.png|347x139px|1691401520573]]
</div>
<li>Then use decompression software to decompress '''DriverAssitant_v5.12.zip''', and then find the '''DriverInstall.exe''' executable file in the decompressed folder and open it</li></ol>
[[File:pi3b-img31.png|472x139px]]
<ol start="5" style="list-style-type: decimal;">
</li></ol>
[[File:pi3b-img32.png|276x145px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>After waiting for a period of time, a pop-up window will prompt &quot;'''driver installed successfully'''&quot;, and then click the &quot;'''OK'''&quot; button.</li></ol>
[[File:pi3b-img33.png|292x151px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then decompress '''RKDevTool_Release_v3.15.zip''', this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it</li></ol>
[[File:pi3b-img34.png|467x138px]]
<ol start="7" style="list-style-type: decimal;">
<li>After opening the '''RKDevTool''' burning tool, because the computer has not connected to the development board through the USB2.0 male-to-male data cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</li></ol>
[[File:pi3b-img35.png|402x189px]]
<ol start="8" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img36.png|275x116px|C:\Users\orangepi\Desktop\用户手册插图\pi 3b\1691131157154(1).jpg1691131157154(1)]]
</div>
<li><p>Then press and hold the MaskROM button on the development board, the position of the MaskROM button on the development board is shown in the figure below:</p></li></ol>
[[File:pi3b-img37.png|289x100px]]
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then connect the power supply of the Type-C interface to the development board, and power on, and then release the MaskROM button</li></ol>
[[File:pi3b-img38.png|305x94px]]
<ol start="5" style="list-style-type: lower-alpha;">
<li>If the previous steps are successful, the development board will enter the '''MASKROM''' mode at this time, and the interface of the burning tool will prompt &quot;'''found a MASKROM device'''&quot;</li></ol>
[[File:pi3b-img39.png|457x215px]]
<ol start="6" style="list-style-type: lower-alpha;">
<li><p>Then please select '''Advanced Features'''</p>
<p>[[File:pi3b-img126.png|458x138px]]</p></li>
<li><p>Then click the position shown in the figure below</p>
<p>[[File:pi3b-img127.png|459x216px]]</p></li>
<li><p>Select '''rk3566_MiniLoaderAll.bin''' in the '''MiniLoader''' folder you downloaded earlier, and click Open</p></li></ol>
<div class="figure">
[[File:pi3b-img68.png|459x216px|SIS5H0S2@F5M2D(6ANZEUPG]]
</div>
<ol style="list-style-type: lower-roman;">
<li><p>Then click '''Download'''</p>
<p>[[File:pi3b-img128.png|472x222px]]</p></li></ol>
<ol start="10" style="list-style-type: lower-alpha;">
<li><p>The display after downloading '''rk3566_MiniLoaderAll.bin''' is shown in the figure below</p>
<p>[[File:pi3b-img140.png|474x223px]]</p></li>
<li><p>Then select the storage device as '''SPINOR'''</p>
<p>[[File:pi3b-img151.png|467x220px]]</p></li>
<li><p>Then click Switch '''Storage'''</p>
<p>[[File:pi3b-img152.png|464x218px]]</p></li>
<li><p>Then click '''Erase All''' to start erasing SPIFlash</p>
<p>[[File:pi3b-img153.png|467x220px]]</p></li>
<li><p>The display log after erasing SPIFlash is shown in the figure below</p>
<p>[[File:pi3b-img154.png|460x216px]]</p></li></ol>
<span id="start-the-orange-pi-development-board"></span>
<div class="figure">
[[File:pi3b-img155.png|576x115px|07]]
</div>
<li>The corresponding relationship between GND, RXD and TXD pins of the debugging serial port of the development board is shown in the figure below</li></ol>
[[File:pi3b-img156.png|428x110px]]
<ol start="3" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img157.png|524x189px|C:\Users\orangepi\Desktop\用户手册插图\pi 3b\USB-to-TTL-module-to-the-computer.jpgUSB-to-TTL-module-to-the-computer]]
</div>
<li>After executing the putty command, the following interface will pop up</li></ol>
[[File:pi3b-img158.png|367x321px]]
<ol start="5" style="list-style-type: decimal;">
<li>First select the setting interface of the serial port</li></ol>
[[File:pi3b-img159.png|359x352px]]
<ol start="6" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img160.png|317x312px|09]]
</div>
<div class="figure">
[[File:pi3b-img161.png|345x340px|10]]
</div>
<li>After starting the development board, you can see the Log information output by the system from the opened serial port terminal</li></ol>
[[File:pi3b-img162.png|468x340px]]
<span id="how-to-use-the-debugging-serial-port-on-windows-platform"></span>
<li>After entering the MobaXterm download page, click '''GET XOBATERM NOW!'''</li></ol>
[[File:pi3b-img163.png|576x334px]]
<ol start="3" style="list-style-type: lower-alpha;">
<li>Then choose to download the Home version</li></ol>
[[File:pi3b-img164.png|353x231px]]
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then select the Portable version. After downloading, you don’t need to install it, just open it and use it</li></ol>
[[File:pi3b-img165.png|575x259px]]
<ol start="2" style="list-style-type: decimal;">
<li>After downloading, use decompression software to decompress the downloaded compressed package, you can get the executable software of MobaXterm, and then double-click to open</li></ol>
[[File:pi3b-img166.png|576x81px]]
<ol start="3" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img167.png|575x438px|11]]
</div>
<div class="figure">
[[File:pi3b-img168.png|575x291px|12]]
</div>
<div class="figure">
[[File:pi3b-img169.png|151x108px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题-7.jpg未标题-7]]
</div>
</li></ol>
[[File:pi3b-img170.png|365x71px]]
<span id="instructions-for-use-of-ubuntudebian-server-and-xfce-desktop-system"></span>
# The Linux system automatically logs in to the terminal by default, and the default login user name is orangepi '''orangepi'''
[[File:pi3b-img171.png|351x198px]]
<ol start="2" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img172.png|576x324px|1]]
</div>
<div class="figure">
[[File:pi3b-img173.png|569x320px|IMG_256]]
</div></li></ol>
<li>Then restart the system, and the root user will automatically log in to the desktop</li></ol>
[[File:pi3b-img174.png|448x187px]]
'''Note that if you log in to the desktop system as the root user, you cannot use pulseaudio in the upper right corner to manage audio devices.'''
<div class="figure">
[[File:pi3b-img175.png|425x115px|C:\Users\orangepi\Desktop\用户手册插图\pi 3b\3.5.Onboard-LED-Light-Test-Instructions(1).jpg3.5.Onboard-LED-Light-Test-Instructions(1)]]
</div>
<div class="figure">
[[File:pi3b-img176.png|575x250px|选区_011]]
</div>
<li>Enter the nmtui command to open the interface as shown below</li></ol>
[[File:pi3b-img177.png|345x215px]]
<ol start="4" style="list-style-type: decimal;">
<li>Select '''Activate a connect''' and press Enter</li></ol>
[[File:pi3b-img178.png|349x216px]]
<ol start="5" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img179.png|426x270px|16]]
</div>
<div class="figure">
[[File:pi3b-img180.png|474x298px|17]]
</div>
<div class="figure">
[[File:pi3b-img181.png|480x308px|18]]
</div>
<div class="figure">
[[File:pi3b-img182.png|443x283px|C:\Users\orangepi\Desktop\用户手册插图\Zero3\未标题-9.jpg未标题-9]]
</div>
# Click the network configuration icon in the upper right corner of the desktop (please do not connect the network cable when testing WIFI)
[[File:pi3b-img183.png|377x166px]]
<ol start="2" style="list-style-type: decimal;">
<li>Click '''More networks''' in the pop-up drop-down box to see all scanned WIFI hotspots, and then select the WIFI hotspot you want to connect to.</li></ol>
[[File:pi3b-img184.png|576x353px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then enter the password of the WIFI hotspot, and then click '''Connect''' to start connecting to WIFI</li></ol>
[[File:pi3b-img185.png|320x163px]]
<ol start="4" style="list-style-type: decimal;">
<li>After connecting to WIFI, you can open the browser to check whether you can access the Internet. The entrance of the browser is shown in the figure below</li></ol>
[[File:pi3b-img186.png|576x308px]]
<ol start="5" style="list-style-type: decimal;">
<li>If you can open other web pages after opening the browser, it means that the WIFI connection is normal</li></ol>
[[File:pi3b-img187.png|576x222px]]
<span id="how-to-set-a-static-ip-address"></span>
<li>Then select '''Edit a connection''' and press Enter</li></ol>
[[File:pi3b-img188.png|227x247px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then select the network interface that needs to set a static IP address, for example, to set the static IP address of the '''Ethernet''' interface, select '''Wired connection 1'''.</li></ol>
[[File:pi3b-img189.png|310x149px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then select '''Edit''' with the '''Tab''' key and press the Enter key</li></ol>
[[File:pi3b-img190.png|316x144px]]
<ol start="5" style="list-style-type: decimal;">
<li>Then use the Tab key to move the cursor to the '''&lt;Automatic&gt;''' position shown in the figure below to configure IPv4</li></ol>
[[File:pi3b-img191.png|575x240px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then press Enter, select '''Manual''' with the up and down arrow keys, and press Enter to confirm</li></ol>
[[File:pi3b-img192.png|576x237px]]
<ol start="7" style="list-style-type: decimal;">
<li>The display after selection is shown in the figure below</li></ol>
[[File:pi3b-img193.png|575x240px]]
<ol start="8" style="list-style-type: decimal;">
<li>Then move the cursor to the '''&lt;Show&gt;'''</li></ol>
[[File:pi3b-img194.png|576x241px]]
<ol start="9" style="list-style-type: decimal;">
<li>Then press Enter, the following setting interface will pop up after entering</li></ol>
[[File:pi3b-img195.png|575x450px]]
<ol start="10" style="list-style-type: decimal;">
<li>Then you can set the IP address (Addresses), gateway (Gateway) and DNS server address in the position shown in the figure below (there are many other setting options in it, please explore by yourself),'''Please set it according to your specific needs, the value set in the figure below is just an example'''</li></ol>
[[File:pi3b-img196.png|576x233px]]
<ol start="11" style="list-style-type: decimal;">
<li>After setting, move the cursor to'''&lt;OK&gt;''' in the lower right corner, and press Enter to confirm</li></ol>
[[File:pi3b-img197.png|576x116px]]
<ol start="12" style="list-style-type: decimal;">
<li>Then click'''&lt;Back&gt;''' to return to the previous selection interface</li></ol>
[[File:pi3b-img198.png|330x325px]]
<ol start="13" style="list-style-type: decimal;">
<li>Then select '''Activate a connection''', then move the cursor to'''&lt;OK&gt;''', and finally click Enter</li></ol>
[[File:pi3b-img199.png|331x248px]]
<ol start="14" style="list-style-type: decimal;">
<li>Then select the network interface that needs to be set, such as '''Wired connection 1''', then move the cursor to'''&lt;Deactivate&gt;''', and press Enter to disable '''Wired connection 1'''</li></ol>
[[File:pi3b-img200.png|576x224px]]
<ol start="15" style="list-style-type: decimal;">
<li>Then please do not move the cursor, and then press the Enter key to re-enable '''Wired connection 1''', so that the static IP address set earlier will take effect</li></ol>
[[File:pi3b-img201.png|576x224px]]
<ol start="16" style="list-style-type: decimal;">
<li>Then you can exit nmtui through the'''&lt;Back&gt;''' and '''Quit''' buttons</li></ol>
[[File:pi3b-img202.png|300x253px]] [[File:pi3b-img203.png|227x252px]]
<ol start="17" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img204.png|405x207px|L467QDF65C(YR79U]TH[TND]]
</div>
<div class="figure">
[[File:pi3b-img205.png|553x280px|14]]
</div>
<div class="figure">
[[File:pi3b-img206.png|578x150px|C:\Users\orangepi\Desktop\用户手册插图\pi 3b\just press Enter after inputting..jpgjust press Enter after inputting.]]
</div>
<li>After successfully logging in to the system, the display is as shown in the figure below</li></ol>
[[File:pi3b-img207.png|576x334px]]
<span id="the-method-of-uploading-files-to-the-linux-system-of-the-development-board"></span>
<div class="figure">
[[File:pi3b-img208.png|576x453px|截图 2022-12-03 19-04-40]]
</div>
<div class="figure">
[[File:pi3b-img209.png|575x128px|图片565]]
</div>
<li>Then choose to '''save the password''', and then click '''OK'''</li></ol>
[[File:pi3b-img210.png|249x181px]]
<ol start="6" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img211.png|278x150px|IMG_256]]
</div>
<div class="figure">
[[File:pi3b-img212.png|533x330px|IMG_256]]
</div>
<div class="figure">
[[File:pi3b-img213.png|485x380px|IMG_256]]
</div>
<div class="figure">
[[File:pi3b-img214.png|472x171px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题-15.jpg未标题-15]]
</div>
<div class="figure">
[[File:pi3b-img215.png|393x283px|图片5552]]
</div>
<div class="figure">
[[File:pi3b-img216.png|319x251px|IMG_256]]
</div>
<div class="figure">
[[File:pi3b-img217.png|451x357px|IMG_256]]
</div>
<div class="figure">
[[File:pi3b-img209.png|575x128px|图片565]]
</div>
<div class="figure">
[[File:pi3b-img218.png|207x146px|IMG_256]]
</div>
<div class="figure">
[[File:pi3b-img219.png|221x109px|IMG_256]]
</div>
<div class="figure">
[[File:pi3b-img220.png|446x329px|图片3]]
</div>
<div class="figure">
[[File:pi3b-img221.png|501x369px|IMG_256]]
</div>
# Use HDMI to HDMI cable to connect Orange Pi development board and HDMI monitor
[[File:pi3b-img10.png|199x129px]]
<ol start="2" style="list-style-type: decimal;">
</li></ol>
[[File:pi3b-img222.png|155x104px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>A VGA cable</li></ol>
[[File:pi3b-img223.png|148x133px]]
<ol start="3" style="list-style-type: lower-alpha;">
<li>HDMI to VGA display test as shown below</li></ol>
[[File:pi3b-img224.png|576x339px]]
'''When using HDMI to VGA display, the development board and the Linux system of the development board do not need to make any settings, only the HDMI interface of the development board can display normally. So if there is a problem with the test, please check whether there is a problem with the HDMI to VGA converter, VGA cable and monitor.'''
# First open '''Display''' in '''Settings'''
[[File:pi3b-img225.png|576x370px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then you can see the current resolution of the system</li></ol>
[[File:pi3b-img226.png|382x254px]]
<ol start="3" style="list-style-type: decimal;">
<li>Click the drop-down box of Resolution to see all resolutions currently supported by the monitor</li></ol>
[[File:pi3b-img227.png|415x274px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then select the resolution you want to set, and click Apply</li></ol>
[[File:pi3b-img228.png|415x277px]]
<ol start="5" style="list-style-type: decimal;">
<li>After the new resolution is set, select '''Keep the configuration'''</li></ol>
[[File:pi3b-img229.png|447x243px]]
<span id="how-to-use-bluetooth"></span>
# Click the Bluetooth icon in the upper right corner of the desktop.
[[File:pi3b-img230.png|330x128px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then select the adapter</li></ol>
[[File:pi3b-img231.png|375x165px]]
<ol start="3" style="list-style-type: decimal;">
<li>If there is a prompt below, select '''Yes'''</li></ol>
[[File:pi3b-img232.png|248x85px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then set '''Visibility Setting''' as '''Always visible''' in the Bluetooth adapter settings interface, and then close it</li></ol>
[[File:pi3b-img233.png|243x229px]]
<ol start="5" style="list-style-type: decimal;">
<li>Then open the configuration interface of the Bluetooth device</li></ol>
[[File:pi3b-img234.png|438x179px]]
<ol start="6" style="list-style-type: decimal;">
<li>Click '''Search''' to start scanning the surrounding Bluetooth device</li></ol>
[[File:pi3b-img235.png|322x217px]]
<ol start="7" style="list-style-type: decimal;">
<li>Then select the Bluetooth device you want to connect. If you right -click the mouse, you will pop up the operating interface of this Bluetooth device. Select '''Pair''' to start pairing. Here, it is demonstrated with the Android phone</li></ol>
[[File:pi3b-img236.png|338x263px]]
<ol start="8" style="list-style-type: decimal;">
<li>When pairing, the pairing confirmation box will pop up in the upper right corner of the desktop. Select '''Confirm''' to confirm. At this time, the mobile phone also needs to be confirmed</li></ol>
[[File:pi3b-img237.png|417x152px]]
<ol start="9" style="list-style-type: decimal;">
<li>After pairing with the mobile phone, you can choose the paired Bluetooth device, then right -click and select '''Send a File''' to start sending a picture to the phone</li></ol>
[[File:pi3b-img238.png|439x259px]]
<ol start="10" style="list-style-type: decimal;">
<li>The interface of the sending picture is shown below</li></ol>
[[File:pi3b-img239.png|437x253px]]
<span id="usb-interface-test"></span>
| <div class="figure">
[[File:pi3b-img242.png|tb_imag e_share_1670833201 123]]
</div>
<li>You can also see the Bluetooth icon on the desktop. At this time, Bluetooth has not been opened, so a red '''x''' will be displayed</li></ol>
[[File:pi3b-img243.png|576x157px]]
<ol start="7" style="list-style-type: decimal;">
<li>Click '''Turn Bluetooth On''' to open Bluetooth</li></ol>
[[File:pi3b-img244.png|576x262px]]
<ol start="8" style="list-style-type: decimal;">
<li>The display after opening Bluetooth is shown below</li></ol>
[[File:pi3b-img245.png|576x164px]]
<ol start="9" style="list-style-type: decimal;">
<li>Bluetooth icons can also be seen on the desktop. At this time, Bluetooth has not been opened, so a red '''x''' will be displayed</li></ol>
[[File:pi3b-img243.png|576x157px]]
<ol start="8" style="list-style-type: decimal;">
<li>Click '''Turn Bluetooth On''' to open Bluetooth</li></ol>
[[File:pi3b-img244.png|576x262px]]
<ol start="9" style="list-style-type: decimal;">
<li>The display after opening Bluetooth is shown below</li></ol>
[[File:pi3b-img245.png|576x164px]]
<ol start="10" style="list-style-type: decimal;">
# First, you need to prepare a USB camera that supports the UVC protocol in the figure below, and then insert the USB camera into the USB interface of the Orange PI development board
[[File:pi3b-img13.png|259x150px]]
<ol start="2" style="list-style-type: decimal;">
<li>In the desktop system, you can use Cheese to directly turn on the USB camera. The cheese opening method is shown in the figure below: </li></ol>
[[File:pi3b-img246.png|474x302px]]
The interface after cheese opens the USB camera is shown in the figure below:
[[File:pi3b-img247.png|473x277px]]
<ol start="4" style="list-style-type: decimal;">
# First open the file manager
[[File:pi3b-img248.png|357x176px]]
<ol start="2" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img249.png|236x186px|图片10]]
</div>
<li>Then select the audio.wav file, right -click and select VLC to open it to start playing</li></ol>
[[File:pi3b-img250.png|288x234px]]
<ol start="4" style="list-style-type: decimal;">
</li></ol>
[[File:pi3b-img251.png|308x169px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>When playing audio, the audio equipment options that play software can be used will be displayed in '''Playback'''. As shown in the figure below, which audio equipment you need to play here can be set.</li></ol>
[[File:pi3b-img252.png|576x282px]]
<span id="how-to-play-audio-with-commands"></span>
# First insert the headset into the headphone jack of the development board
[[File:pi3b-img253.png|395x112px]]
<ol start="2" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img254.png|400x124px|C:\Users\orangepi\Desktop\用户手册插图\pi 3b\Orange-Pi-3B-Development-board-40-Pin(1).jpgOrange-Pi-3B-Development-board-40-Pin(1)]]
</div>
</li></ol>
[[File:pi3b-img255.png|575x160px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>The following form is a picture on the left half of the full table above, which can be seen clearly</li></ol>
[[File:pi3b-img256.png|478x267px]]
<ol start="3" style="list-style-type: lower-alpha;">
<li>The following form is a picture on the right half of the top table above, which can be seen clearly</li></ol>
[[File:pi3b-img257.png|479x266px]]
<ol start="3" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img258.png|575x355px|66AC(IBG%N8L@Y7(1BZPS`N]]
</div>
<div class="figure">
[[File:pi3b-img258.png|575x355px|66AC(IBG%N8L@Y7(1BZPS`N]]
</div>
# A total of 28 GPIO ports can be used in the development board 40pin. Below is No. 7 pins -corresponding GPIO as GPIO4_A4 -corresponding WPI serial number 2 -as an example how to set the height of the GPIO port
[[File:pi3b-img259.png|576x120px]]
<ol start="2" style="list-style-type: decimal;">
Using GPIO Readall, you can see the value of the No. 7 pin (v) to 0
[[File:pi3b-img260.png|576x120px]]
<ol start="4" style="list-style-type: decimal;">
Using GPIO Readall, you can see the value of No. 7 pin (v) into 1
[[File:pi3b-img261.png|576x118px]]
<ol start="5" style="list-style-type: decimal;">
'''Note that the 4 GPIO pins below Orange Pi 3B are invalid because there are 3.3V on the outside, so setting drop -down is invalid. Other pins can be set normally'''
[[File:pi3b-img262.png|575x353px]]
# Below the No. 11 pin—corresponding to GPIO 3_C6-corresponding WPI serial number 5—to demonstrate how to set up and down pull-down resistance of the GPIO port
[[File:pi3b-img263.png|576x147px]]
<ol start="2" style="list-style-type: decimal;">
# From the schematic diagram of the 40PIN interface, the SPI available for Orange Pi 3B is spi3
[[File:pi3b-img264.png|577x193px]]
'''In the Linux system, the SPI3 in 40pin is closed by default, and it needs to be opened manually to use.'''
<li>Then the two pins of the SPI3 MOSI (No. 19 pins in the 40pin interface) and MISO (No. 21 in the 40PIN interface) run the output of SPIDEV_TEST as follows.You can see that sending and receiving data is the same.</li></ol>
[[File:pi3b-img265.png|577x83px]]
orangepi@orangepi:~$ '''sudo spidev_test -v -D /dev/spidev3.0'''
# From the table below, the I2C available for Orange Pi 3B is I2C2, I2C3, and I2C4 a total of three groups of I2C bus.
[[File:pi3b-img266.png|576x160px]]
'''It can be seen from the above table that i2c4_m0 and spi3_m0 are pins. The two cannot be opened at the same time. i2c3_m0 and uart3_m0 are also reused. The two cannot be opened at the same time'''
<div class="figure">
[[File:pi3b-img267.png|476x179px|UN}~]Q}T_70O%Z%RNO8R@YE]]
</div>
# As can be seen from the table below, the uart available for Orange Pi 3B is uart3, uart7, and uart9. There are three sets of uart bus
[[File:pi3b-img268.png|575x160px]]
'''As can be seen from the above table, i2c3_m0 and uart3_m0 are reused by pins, and the two cannot be opened at the same time'''
|}
[[File:pi3b-img269.png|545x134px]]
<ol start="4" style="list-style-type: decimal;">
# From the table below, the pwm11 available for Orange Pi 3B
[[File:pi3b-img270.png|575x160px]]
'''In the Linux system, the pwm in 40pin is closed by default, and it needs to be opened manually to use..'''
<div class="figure">
[[File:pi3b-img271.png|576x46px|RCUS$_~VYM{4ZS]_L}DNZQR]]
</div>
root@orangepi:~# '''echo 1 &gt; /sys/class/pwm/pwmchip1/pwm0/enable'''
[[File:pi3b-img272.png|575x346px]]
<span id="how-to-install-and-use-wiringop-python"></span>
<div class="figure">
[[File:pi3b-img258.png|575x355px|66AC(IBG%N8L@Y7(1BZPS`N]]
</div>
# Below the No. 7 pin — corresponding to GPIO4_a4 -corresponding WPI serial number 2 -to demonstrate how to set the height of the GPIO port
[[File:pi3b-img259.png|576x120px]]
<ol start="2" style="list-style-type: decimal;">
# From the schematic diagram of the 40pin interface, the SPI available for Orange Pi 3B is spi3
[[File:pi3b-img264.png|577x193px]]
'''In the Linux system, the spi3 in 40pin is closed by default, and it needs to be opened manually to use.'''
<li>As can be seen from the table below, the I2C available for Orange Pi 3B is I2C2, I2C3, and I2C4 a total of three groups of I2C bus</li></ol>
[[File:pi3b-img266.png|576x160px]]
'''It can be seen from the above table that I2C4_M0 and SPI3_M0 are pins. The two cannot be opened at the same time. I2C3_M0 and UART3_M0 are also reused. The two cannot be opened at the same time'''
|}
[[File:pi3b-img273.png|180x153px]]
<ol start="8" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img274.png|464x174px|V@(61L~0})Q`8VLBCAYEP[2]]
</div>
# As can be seen from the table below, the UART available for Orange Pi 3B is UART3, UART7 and UART9. There are three sets of UART bus
[[File:pi3b-img268.png|575x160px]]
'''As can be seen from the above table, I2C3_M0 and UART3_M0 are reused by pins, and the two cannot be opened at the same time'''
<div class="figure">
[[File:pi3b-img275.png|527x211px|IMG_256]]
</div>
<div class="figure">
[[File:pi3b-img89.png|507x249px|IMG_256]]
</div>
<div class="figure">
[[File:pi3b-img276.png|429x263px|IMG_256]]
</div>
<li>Then select the AppImage version balenaEtcher right -click the mouse, and then click Execute to open balenaEtcher</li></ol>
[[File:pi3b-img277.png|145x118px]]
<span id="the-installation-method-of-the-bt-panel-linux-panel"></span>
<li>Then you have to wait patiently. When you see the printing information below the terminal output, it means that the pagoda has been installed. The entire installation process takes about 34 minutes. There may be some differences according to the difference in network speed</li></ol>
[[File:pi3b-img278.png|576x233px]]
<ol start="6" style="list-style-type: decimal;">
<li><p>At this time, enter the '''panel address''' displayed above in the browser to open the login interface of the pagoda Linux panel, and then enter the '''username''' and '''password''' displayed in the corresponding position to log in to the Bt-Panel<br />
[[File:pi3b-img279.png|575x281px]]</p></li>
<li><p>After successfully logging in to the pagoda, the following welcome interface will pop up. First, please take the intermediate user notice to read to the bottom, and then you can choose &quot;I have agreed and read&quot; User Agreement &quot;, and then click&quot; Enter the panel &quot; You can enter the Bt-Panel</p></li></ol>
[[File:pi3b-img280.png|575x317px]]
<ol start="8" style="list-style-type: decimal;">
<li>After entering the Bt-Panel, you will first prompt that you need to bind the account of the Bt-Panel official website. If you do n’t have an account, you can go to the pagoda's official website ('''https://www.bt.cn''') to register one.</li></ol>
[[File:pi3b-img281.png|576x300px]]
<ol start="9" style="list-style-type: decimal;">
<li>The final display interface is shown in the figure below. You can intuitively see some status information of the development board Linux system, such as load state, CPU usage, memory usage and storage space usage</li></ol>
[[File:pi3b-img282.png|575x306px]]
<ol start="10" style="list-style-type: decimal;">
<li>Then select '''zh_CN.UTF-8 UTF-8''' in the pop-up interface (to move up and down through the upper and lower direction buttons on the keyboard, select it through the space key, and finally move the cursor to '''&lt;OK&gt;''' through the TAB key, then press the ENTER key )</li></ol>
[[File:pi3b-img283.png|575x296px]]
<ol start="3" style="list-style-type: lower-alpha;">
<li>Then set the default '''locale''' as '''zh_CN.UTF-8'''</li></ol>
[[File:pi3b-img284.png|575x160px]]
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then open '''Input Method'''</li></ol>
[[File:pi3b-img285.png|575x361px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then select '''OK'''</li></ol>
[[File:pi3b-img286.png|295x212px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then select '''Yes'''</li></ol>
[[File:pi3b-img287.png|303x192px]]
<ol start="5" style="list-style-type: decimal;">
<li>Then select '''fcitx'''</li></ol>
[[File:pi3b-img288.png|307x220px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then select '''OK'''</li></ol>
[[File:pi3b-img289.png|305x216px]]
<ol start="7" style="list-style-type: decimal;">
<li><p>Then open '''Fcitx configuration'''</p></li></ol>
[[File:pi3b-img290.png|575x376px]]
<ol start="9" style="list-style-type: decimal;">
<li>Then click the + of the position shown in the figure below</li></ol>
[[File:pi3b-img291.png|280x187px]]
<ol start="10" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img292.png|291x196px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题-10.jpg未标题-10]]
</div>
<li>Then put '''Google Pinyin''' to the front</li></ol>
[[File:pi3b-img293.png|299x202px]]
[[File:pi3b-img294.png|300x202px]]
<ol start="12" style="list-style-type: decimal;">
<li>Then open the '''Geany''' editor to test the Chinese input method</li></ol>
[[File:pi3b-img295.png|349x212px]]
<ol start="13" style="list-style-type: decimal;">
<li>The Chinese input method test is shown below</li></ol>
[[File:pi3b-img296.png|575x325px]]
<ol start="14" style="list-style-type: decimal;">
<li>Then '''restart the system''' to see the system displayed as Chinese</li></ol>
[[File:pi3b-img297.png|576x356px]]
<span id="the-installation-method-of-ubuntu-20.04-system"></span>
# First open '''Language Support'''
[[File:pi3b-img298.png|575x351px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then find '''Chinese (China)''' option</li></ol>
[[File:pi3b-img299.png|318x311px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then use the left mouse button to select '''Chinese (China)''' and hold it down, and then drag it up to the beginning. The display is shown below: </li></ol>
[[File:pi3b-img300.png|324x320px]]
'''Note that this step is not easy to drag, please try more patiently.'''
<li>Then select the '''Apply System-Wide''' to apply the Chinese settings to the entire system</li></ol>
[[File:pi3b-img301.png|321x316px]]
<ol start="5" style="list-style-type: decimal;">
<li>Then set the '''Keyboard input method system''' to '''fcitx'''</li></ol>
[[File:pi3b-img302.png|327x320px]]
<ol start="6" style="list-style-type: decimal;">
<li><p>After re -entering the system, please do '''not ask me again''' at the interface below, and then determine whether the standard folder should be updated as Chinese based on your preference.</p></li></ol>
[[File:pi3b-img303.png|303x247px]]
<ol start="8" style="list-style-type: decimal;">
<li>Then you can see that the desktop is displayed as Chinese</li></ol>
[[File:pi3b-img304.png|575x383px]]
<ol start="9" style="list-style-type: decimal;">
<li>Then we can open the '''Geany''' to test Chinese input method , and the way to open is shown in the figure below</li></ol>
[[File:pi3b-img305.png|576x292px]]
<ol start="10" style="list-style-type: decimal;">
<li>After opening '''Geany''', the default is an English input method. We can switch into Chinese input method through the '''Ctrl+Space''' shortcut keys, and then we can enter Chinese</li></ol>
[[File:pi3b-img306.png|575x308px]]
<span id="the-installation-method-of-ubuntu-22.04-system"></span>
# First open '''Language Support'''
[[File:pi3b-img298.png|575x351px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then find '''Chinese (China)''' option</li></ol>
[[File:pi3b-img307.png|335x326px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then use the left mouse button to select '''Chinese (China)''' and hold it down, and then drag it up to the beginning. The display after dragging is shown in the figure below: </li></ol>
[[File:pi3b-img308.png|337x331px]]
'''Note that this step is not easy to drag, please try more patiently.'''
<li>Then select the '''Apply System-Wide''' to apply the Chinese settings to the entire system</li></ol>
[[File:pi3b-img309.png|336x330px]]
<ol start="5" style="list-style-type: decimal;">
<li><p>After re -entering the system, please '''do not ask me again''' at the interface below, and then determine whether the standard folder should be updated as Chinese based on your preference</p></li></ol>
[[File:pi3b-img303.png|303x247px]]
<ol start="7" style="list-style-type: decimal;">
<li>Then you can see that the desktop is displayed as Chinese</li></ol>
[[File:pi3b-img304.png|575x383px]]
<ol start="8" style="list-style-type: decimal;">
<li>Then open the Fcitx5 configuration program</li></ol>
[[File:pi3b-img310.png|575x349px]]
<ol start="9" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img311.png|338x267px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题-11.jpg未标题-11]]
</div>
<li>The interface after the selection is shown below, then click OK</li></ol>
[[File:pi3b-img312.png|366x290px]]
<ol start="11" style="list-style-type: decimal;">
<li>Then we can open the '''Geany''' to test Chinese input method, and the way to open is shown in the figure below</li></ol>
[[File:pi3b-img305.png|576x292px]]
<ol start="12" style="list-style-type: decimal;">
<li>After opening '''Geany''', it is still an English input method by default. We can switch into Chinese input methods through the '''Ctrl+Space''' shortcut keys, and then we can enter Chinese</li></ol>
[[File:pi3b-img313.png|576x408px]]
<span id="how-to-remotely-log-in-to-the-linux-system-desktop-method"></span>
[https://www.nomachine.com/download/download&id=112&s=ARM '''https://downloads.nomachine.com/download/?id=118&amp;distro=ARM''']
[[File:pi3b-img314.png|575x227px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>In addition, you can also download the installation package to '''NoMachine''' in the '''official tools'''.</li></ol>
[[File:pi3b-img315.png|66x102px]]
<blockquote>First enter the '''remote login software-Nomachine''' folder
</blockquote>
[[File:pi3b-img316.png|271x43px]]
<blockquote>Then download the ARM64 version of the DEB installation package
</blockquote>
[[File:pi3b-img317.png|180x109px]]
<ol start="3" style="list-style-type: lower-alpha;">
'''https://downloads.nomachine.com/download/?id=9'''
[[File:pi3b-img318.png|575x163px]]
<ol start="3" style="list-style-type: decimal;">
<li><p>Then open '''NoMachine''' in Window</p></li></ol>
[[File:pi3b-img319.png|76x66px]]
<ol start="5" style="list-style-type: decimal;">
<li>After Nomachine starts, it will automatically scan other devices installed in the local area network. After entering the main interface of Nomachine, you can see that the development board is already in the connected device list, and then click the location shown in the red box below in the figure below. Start log in to the Linux system desktop of the development board</li></ol>
[[File:pi3b-img320.png|321x92px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then click '''OK'''</li></ol>
[[File:pi3b-img321.png|402x275px]]
<ol start="7" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img322.png|303x204px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题-12.jpg未标题-12]]
</div>
<li><p>Then click OK in the next interface</p></li>
<li><p>Finally, you can see the desktop of the development board Linux system</p>
<p>[[File:pi3b-img323.png|411x246px]]</p></li></ol>
<span id="use-vnc-remote-login"></span>
<div class="figure">
[[File:pi3b-img324.png|490x349px|图片1208]]
</div>
<li>Then enter the password of the previously set VNC</li></ol>
[[File:pi3b-img325.png|274x131px]]
<ol start="3" style="list-style-type: lower-alpha;">
<li><p>The interface after the login is shown as shown in the figure below, and then the desktop of the Linux system can be remotely operated</p>
<p>[[File:pi3b-img326.png|405x293px]]</p></li></ol>
<span id="some-programming-language-tests-supported-by-linux-system"></span>
<li>Then you can see the QT Creator launch icon in '''Applications'''</li></ol>
[[File:pi3b-img327.png|576x270px]]
QT Creator can also be opened using the following command
<li>The interface after QT Creator is opened is as follows</li></ol>
[[File:pi3b-img328.png|418x222px]]
<ol start="5" style="list-style-type: decimal;">
</li></ol>
[[File:pi3b-img329.png|419x224px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>The default version of QT Creator in '''Ubuntu22.04''' is as follows</li></ol>
[[File:pi3b-img330.png|443x237px]]
<ol start="3" style="list-style-type: lower-alpha;">
<li>The default version of QT Creator in '''Debian11''' is as follows</li></ol>
[[File:pi3b-img331.png|444x238px]]
<ol start="4" style="list-style-type: lower-alpha;">
<li>The default version of QT Creator in '''Debian12''' is as follows</li></ol>
[[File:pi3b-img332.png|449x277px]]
<ol start="6" style="list-style-type: decimal;">
</li></ol>
[[File:pi3b-img333.png|573x164px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then remove the check box for '''ClangCodeModel'''</li></ol>
[[File:pi3b-img334.png|408x254px]]
<ol start="3" style="list-style-type: lower-alpha;">
'''Debian12 Please skip this step.'''
[[File:pi3b-img335.png|576x315px]]
[[File:pi3b-img336.png|575x307px]]
<ol start="7" style="list-style-type: decimal;">
<li>You can then open a sample code</li></ol>
[[File:pi3b-img337.png|575x312px]]
<ol start="8" style="list-style-type: decimal;">
<li>Clicking on the example code will automatically open the corresponding instruction document, you can carefully read the instructions</li></ol>
[[File:pi3b-img338.png|576x218px]]
<ol start="9" style="list-style-type: decimal;">
<li>Then click '''Configure Project'''</li></ol>
[[File:pi3b-img339.png|575x304px]]
<ol start="10" style="list-style-type: decimal;">
<li>Then click the green triangle in the lower left corner to compile and run the sample code</li></ol>
[[File:pi3b-img340.png|575x312px]]
<ol start="11" style="list-style-type: decimal;">
<li>After waiting for a period of time, the interface shown in the following figure will pop up, which indicates that QT can compile and run normally</li></ol>
[[File:pi3b-img341.png|576x308px]]
<ol start="12" style="list-style-type: decimal;">
# The current active version of ROS 1 is as follows, the recommended version is '''Noetic Ninjemys'''
[[File:pi3b-img342.png|345x235px]]
[[File:pi3b-img343.png|576x210px]]
[http://docs.ros.org/ http://docs.ros.org]
http://wiki.ros.org/noetic/Installation
[[File:pi3b-img344.png|312x176px]]
<ol start="4" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img345.png|575x275px|图片4]]
</div>
<div class="figure">
[[File:pi3b-img346.png|576x275px|图片5]]
</div>
<li>At this time, press the direction keys on the keyboard to control the little turtle to move up, down, left, and right</li></ol>
[[File:pi3b-img347.png|575x296px]]
<span id="how-to-install-ros-2-galactic-on-ubuntu-20.04"></span>
# The current active version of ROS 2 is as follows, the recommended version is '''Galactic Geochelone'''
[[File:pi3b-img348.png|576x271px]]
[[File:pi3b-img349.png|575x265px]]
[http://docs.ros.org/ http://docs.ros.org]
<div class="figure">
[[File:pi3b-img350.png|576x324px|1]]
</div>
<div class="figure">
[[File:pi3b-img351.png|576x324px|1]]
</div>
'''If there is a problem with compiling the code you copied here, please go to the official tool to download the source code and upload it to the Linux system of the development board for testing.'''
[[File:pi3b-img352.png|337x52px]]
orangepi@orangepi:~$ '''make'''
</li></ol>
<blockquote>[[File:pi3b-img353.png|306x219px]]
</blockquote>
<ol start="2" style="list-style-type: lower-alpha;">
<li>15pin MIPI cable</li></ol>
<blockquote>[[File:pi3b-img354.png|276x111px]]
</blockquote>
<ol start="2" style="list-style-type: decimal;">
<li>Then connect the 15pin MIPI cable to the Raspberry PI 5-inch screen in the way shown below (note the orientation of the insulation surface)</li></ol>
[[File:pi3b-img355.png|294x160px]]
<ol start="3" style="list-style-type: decimal;">
<li>Finally connect to the LCD interface of the Orange Pi 3B development board</li></ol>
[[File:pi3b-img356.png|333x199px]]
<span id="open-the-raspberry-pi-5-inch-screen-configuration-method"></span>
<li>Then select '''System'''</li></ol>
[[File:pi3b-img357.png|575x272px]]
<ol start="3" style="list-style-type: lower-alpha;">
<li>Then select '''Hardware'''</li></ol>
[[File:pi3b-img358.png|576x266px]]
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then use the arrow keys on the keyboard to locate the Rasp-7inch-touchscreen, and then use the space button to check</li></ol>
[[File:pi3b-img359.png|408x310px]]
<ol start="5" style="list-style-type: lower-alpha;">
<li>Then select '''&lt;Save&gt;''' to save</li></ol>
[[File:pi3b-img360.png|404x133px]]
<ol start="6" style="list-style-type: lower-alpha;">
<li>Then select '''&lt;Back&gt;'''</li></ol>
[[File:pi3b-img361.png|397x151px]]
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then select '''&lt;Reboot&gt;''' to restart the system for the configuration to take effect</li></ol>
[[File:pi3b-img362.png|331x154px]]
'''The above settings will eventually add the configuration of overlays=raspi-7inch-touchscreen to /boot/orangepiEnv.txt. After setting, you can check it first. If this configuration does not exist, then there is a problem with the settings.'''
<li>After startup, you can see the lcd screen display as follows:</li></ol>
[[File:pi3b-img363.png|381x262px]]
<span id="the-method-of-server-version-image-rotation-display-direction"></span>
# First open '''Display''' Settings in Linux
[[File:pi3b-img364.png|298x206px]]
<ol start="2" style="list-style-type: decimal;">
</li></ol>
[[File:pi3b-img365.png|286x180px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then click '''Apply'''</li></ol>
[[File:pi3b-img366.png|330x207px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then select '''Keep this configuration'''</li></ol>
[[File:pi3b-img367.png|374x210px]]
<ol start="5" style="list-style-type: decimal;">
To solve this problem, we provide a zfs deb package that can be installed normally, which can be downloaded from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-3B.html '''official tool'''] of the development board. Open the '''<span class="mark">official tool</span>''', and enter the '''<span class="mark">zfs-related deb package folders used by Ubuntu and Debian systems</span>'''. You can see three types of deb packages: Ubuntu20.04, Ubuntu22.04 and Debian11. Please download the required version.
[[File:pi3b-img368.png|230x93px]]
After downloading the zfs deb packages of the corresponding version, please upload them to the Linux system of the development board. For the upload method, please refer to '''[[\l|the description in the section of the method of uploading files to the Linux system of the development board]].'''
# First, we can use the '''lsblk''' command to view all storage devices on the development board. The current development board is connected to an NVMe SSD and a U disk. The output is as follows:
[[File:pi3b-img369.png|379x227px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then use the '''zpool list''' command to see that the system has created a ZFS pool named '''pool1''', and the size of the ZFS pool pool1 is the size of the NVME SSD plus the size of the U disk</li></ol>
[[File:pi3b-img370.png|576x37px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then use the '''zpool list''' command to see that only 1.01G is actually occupied, because these 1001 files are all duplicates, indicating that the data deduplication function is effective.</li></ol>
[[File:pi3b-img371.png|576x36px]]
<span id="test-the-data-compression-function-of-zfs"></span>
<li>Then the file size that can be seen through the '''ls -lh''' command and the space occupied in the ZFS pool are both '''27M'''</li></ol>
[[File:pi3b-img372.png|576x90px]]
<ol start="3" style="list-style-type: decimal;">
<li>At this time, you can see that the size of the '''text.tar''' file is still 27M, but it only occupies 9.47M in the ZFS pool, indicating that the file is compressed</li></ol>
[[File:pi3b-img373.png|576x79px]]
<span id="how-to-shut-down-and-restart-the-development-board"></span>
<li>In addition, the development board is equipped with a switch button, and you can also '''short press''' the switch button on the development board to shut down.</li></ol>
[[File:pi3b-img374.png|294x80px]]
'''Note that the Linux desktop version system will pop up a confirmation box as shown in the figure below after pressing the switch button, and the system will shut down only after clicking the Shut Down option.'''
[[File:pi3b-img375.png|207x193px]]
<ol start="3" style="list-style-type: decimal;">
<li>Short press the switch button on the development board after shutting down to start up.</li></ol>
[[File:pi3b-img374.png|294x80px]]
<ol start="4" style="list-style-type: decimal;">
<li>Note that the Ubuntu version needs to be switched to 22.04</li></ol>
[[File:pi3b-img376.png|576x241px]]
<ol start="3" style="list-style-type: lower-alpha;">
<div class="figure">
[[File:pi3b-img377.png|576x298px|图片6]]
</div>
<div class="figure">
[[File:pi3b-img378.png|575x278px|选区_396]]
</div>
<div class="figure">
[[File:pi3b-img379.png|576x132px|选区_238]]
</div>
<div class="figure">
[[File:pi3b-img380.png|576x197px|}4$_5F06}}0R4GU8]OVO}4E]]
</div>
<li>Then select '''5 Install/Update the bootloader on SD/eMM''' to update the u-boot in the TF card or '''7 Install/Update the bootloader on SPI Flash''' to update the u-boot in the SPI Flash</li></ol>
[[File:pi3b-img381.png|312x152px]]
<ol start="6" style="list-style-type: lower-alpha;">
<li>After pressing the Enter key, a Warning will pop up first</li></ol>
[[File:pi3b-img382.png|309x168px]]
<ol start="7" style="list-style-type: lower-alpha;">
<li>Press the Enter key again to start updating u-boot, and the following information will be displayed after the update is completed</li></ol>
[[File:pi3b-img383.png|244x137px]]
<ol start="8" style="list-style-type: lower-alpha;">
<div class="figure">
[[File:pi3b-img384.png|575x116px|选区_240]]
</div>
<div class="figure">
[[File:pi3b-img380.png|576x197px|}4$_5F06}}0R4GU8]OVO}4E]]
</div>
<li>Then it will prompt whether to display the kernel configuration interface. If you do not need to modify the kernel configuration, select the first one. If you need to modify the kernel configuration, select the second one.</li></ol>
[[File:pi3b-img385.png|576x87px]]
<ol start="5" style="list-style-type: decimal;">
<li>If you choose to display the kernel configuration menu (the second option) in step 4), the kernel configuration interface opened by '''make menuconfig''' will pop up. At this time, you can directly modify the kernel configuration, save and exit after modification. Yes, after exiting, the kernel source code will be compiled</li></ol>
[[File:pi3b-img386.png|462x322px]]
<ol style="list-style-type: lower-alpha;">
<li><p>If the following error is displayed when compiling the kernel, it is because the terminal interface of the Ubuntu PC is too small to display the '''make menuconfig''' interface. Please maximize the terminal of the Ubuntu PC and run the build.sh script again</p></li></ol>
[[File:pi3b-img387.png|574x234px]]
<ol start="6" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img388.png|576x119px|选区_241]]
</div>
<div class="figure">
[[File:pi3b-img380.png|576x197px|}4$_5F06}}0R4GU8]OVO}4E]]
</div>
<li>Then select the type of rootfs</li></ol>
[[File:pi3b-img389.png|575x86px]]
<ol start="5" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img390.png|576x75px|选区_245]]
</div>
<div class="figure">
[[File:pi3b-img391.png|576x78px|选区_397]]
</div>
<div class="figure">
[[File:pi3b-img392.png|575x99px|Selection_001]]
</div>
[[File:pi3b-img393.png|576x74px]]
You can then select additional packages that need to be installed. Please press the Enter key to skip directly here.
[[File:pi3b-img394.png|575x264px]]
<ol start="8" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img395.png|576x128px|选区_242]]
</div>
<div class="figure">
[[File:pi3b-img380.png|576x197px|}4$_5F06}}0R4GU8]OVO}4E]]
</div>
<li>Then select the type of rootfs</li></ol>
[[File:pi3b-img389.png|575x86px]]
<ol start="5" style="list-style-type: decimal;">
<div class="figure">
[[File:pi3b-img390.png|576x75px|选区_245]]
</div>
<div class="figure">
[[File:pi3b-img391.png|569x77px|选区_397]]
</div>
<div class="figure">
[[File:pi3b-img392.png|575x99px|Selection_001]]
</div>
[[File:pi3b-img393.png|576x74px]]
You can then select additional packages that need to be installed. Please press the Enter key to skip directly here.
[[File:pi3b-img394.png|575x264px]]
<ol start="8" style="list-style-type: decimal;">
# First click enter '''Setting'''
[[File:pi3b-img396.png|549x228px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then select '''Network &amp; internet'''</li></ol>
[[File:pi3b-img397.png|565x120px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then select '''Wi-Fi'''</li></ol>
[[File:pi3b-img398.png|561x99px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then turn on the '''Wi-Fi''' switch</li></ol>
[[File:pi3b-img399.png|560x167px]]
<ol start="5" style="list-style-type: decimal;">
<li>After turning on '''Wi-Fi''', if everything is normal, you can scan for nearby Wi-Fi hotspots</li></ol>
[[File:pi3b-img400.png|561x166px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then select the Wi-Fi you want to connect to, and the password input interface shown in the figure below will pop up</li></ol>
[[File:pi3b-img401.png|553x237px]]
<ol start="7" style="list-style-type: decimal;">
<li>Then use the keyboard to enter the password corresponding to Wi-Fi, and then use the mouse to click the Enter button in the virtual keyboard to start connecting to Wi-Fi</li></ol>
[[File:pi3b-img402.png|553x232px]]
<ol start="8" style="list-style-type: decimal;">
<li>After the Wi-Fi connection is successful, the display is as shown in the figure below:</li></ol>
[[File:pi3b-img403.png|558x102px]]
<span id="how-to-use-wi-fi-hotspot"></span>
# Then select '''Settings'''
[[File:pi3b-img396.png|549x228px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then select '''Network &amp; internet'''</li></ol>
[[File:pi3b-img397.png|565x120px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then select '''Hotspot &amp; tethering'''</li></ol>
[[File:pi3b-img404.png|549x173px]]
<ol start="5" style="list-style-type: decimal;">
<li>Then select '''Wi-Fi hotspot'''</li></ol>
[[File:pi3b-img405.png|548x104px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then turn on the '''Wi-Fi hotspot''', you can also see the name and password of the generated hotspot in the figure below, remember them, and use them when connecting to the hotspot (if you need to modify the name and password of the hotspot, you need to turn off the Wi-Fi first -Fi hotspot before modification)</li></ol>
[[File:pi3b-img406.png|551x158px]]
<ol start="7" style="list-style-type: decimal;">
<li>At this time, you can take out your mobile phone. If everything is normal, you can find the WIFI hotspot with the same name ('''here AndroidAP_6953''') displayed under the '''Hotspot name''' in the above picture in the WI-FI list searched by the mobile phone. Then you can click '''AndroidAP_6953''' to connect to the hotspot, and the password can be seen under the '''Hotspot password''' in the above picture</li></ol>
[[File:pi3b-img407.png|313x238px]]
<ol start="8" style="list-style-type: decimal;">
<li>After the connection is successful, it will be displayed as shown in the figure below (the interface of different mobile phones will be different, the specific interface is subject to the display of your mobile phone). At this point, you can open a webpage on your mobile phone to see if you can access the Internet. If you can open the webpage normally, it means that the '''WI-FI Hotspot''' of the development board can be used normally.</li></ol>
[[File:pi3b-img408.png|327x165px]]
<span id="bluetooth-test-method"></span>
# First click enter '''Setting'''
[[File:pi3b-img396.png|549x228px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then select '''Connected devices'''</li></ol>
[[File:pi3b-img409.png|547x115px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then click '''Pair new device''' to turn on Bluetooth and start scanning the surrounding Bluetooth devices</li></ol>
[[File:pi3b-img410.png|547x126px]]
<ol start="4" style="list-style-type: decimal;">
<li>The searched Bluetooth devices will be displayed under '''Available devices'''</li></ol>
[[File:pi3b-img411.png|559x279px]]
<ol start="5" style="list-style-type: decimal;">
<li>Then click the Bluetooth device you want to connect to start pairing. When the following interface pops up, please use the mouse to select the '''Pair''' option</li></ol>
[[File:pi3b-img412.png|522x212px]]
<ol start="6" style="list-style-type: decimal;">
<li>The test here is the configuration process of the development board and the Bluetooth of the Android mobile phone. At this time, the following confirmation interface will pop up on the mobile phone. After clicking the pairing button on the mobile phone, the pairing process will start</li></ol>
[[File:pi3b-img413.png|236x273px]]
<ol start="7" style="list-style-type: decimal;">
<li>After the pairing is completed, you can see the paired Bluetooth device as shown in the figure below</li></ol>
[[File:pi3b-img414.png|545x178px]]
<ol start="8" style="list-style-type: decimal;">
<li>At this time, you can use the Bluetooth of your mobile phone to send a picture to the development board. After sending, you can see the following confirmation interface in the Android system of the development board, and then click '''Accept''' to start receiving the picture sent by the mobile phone.</li></ol>
[[File:pi3b-img415.png|559x238px]]
<ol start="9" style="list-style-type: decimal;">
<li>You can open the '''Download''' directory in the file manager to view the pictures received by the Android system Bluetooth of the development board</li></ol>
[[File:pi3b-img416.png|573x97px]]
<span id="how-to-use-raspberry-pi-5-inch-screen"></span>
# Connect the Type-C power supply to the board and power it on. After the system starts, you can see the screen display as shown in the figure below
[[File:pi3b-img417.png|516x332px]]
<span id="pin-interface-gpio-uart-spi-and-pwm-test"></span>
# First click on the wiringOP icon to open the wiringOP APP
[[File:pi3b-img418.png|576x210px]]
<ol start="2" style="list-style-type: decimal;">
<li>The main interface of wiringOP APP is displayed as shown in the figure below, and then click the '''GPIO_TEST''' button to open the GPIO test interface</li></ol>
[[File:pi3b-img419.png|575x148px]]
<ol start="3" style="list-style-type: decimal;">
<li>The GPIO test interface is shown in the figure below. The two rows of '''CheckBox''' buttons on the left are in one-to-one correspondence with the 40pin pins. When the '''CheckBox''' button is checked, the corresponding GPIO pin will be set to '''OUT''' mode, and the pin level will be set to high level; when the checkbox is unchecked, the GPIO pin level will be set to low level; When the '''GPIO READALL''' button is pressed, information such as wPi number, GPIO mode, and pin level can be obtained; when the '''BLINK ALL GPIO''' button is clicked, the program will control the 28 GPIO ports to continuously switch between high and low levels</li></ol>
[[File:pi3b-img420.png|576x303px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then click the '''GPIO READALL''' button, the output information is as shown in the figure below:</li></ol>
[[File:pi3b-img421.png|575x323px]]
<ol start="5" style="list-style-type: decimal;">
<li>There are a total of 28 GPIO ports in the 40pins of the development board that can be used. The following uses pin 7—the corresponding GPIO is GPIO4_A4—the corresponding wPi serial number is 2—as an example to demonstrate how to set the high and low levels of the GPIO port. First click the '''CheckBox''' button corresponding to pin 7. When the button is selected, pin 7 will be set to high level. After setting, you can use a multimeter to measure the voltage value of the pin. If it is 3.3v, it means setting high level success</li></ol>
[[File:pi3b-img422.png|241x326px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then click the '''GPIO READALL''' button, you can see that the current pin 7 mode is '''OUT''', and the pin level is high</li></ol>
[[File:pi3b-img423.png|574x301px]]
<ol start="7" style="list-style-type: decimal;">
<li>Click the '''CheckBox''' button in the figure below again to cancel the check status. Pin 7 will be set to low level. After setting, you can use a multimeter to measure the voltage value of the pin. If it is '''0v''', it means that the low level is set successfully.</li></ol>
[[File:pi3b-img424.png|250x345px]]
<ol start="8" style="list-style-type: decimal;">
<li>Then click the '''GPIO READALL''' button, you can see that the current pin 7 mode is OUT, and the pin level is low</li></ol>
[[File:pi3b-img425.png|576x300px]]
<span id="pin-uart-test-1"></span>
# UART7 and UART9 are enabled by default in Android. The position of the 40pin is shown in the figure below, and the corresponding device nodes are '''/dev/ttyS7''' and '''/dev/ttyS9''' respectively
[[File:pi3b-img269.png|376x92px]]
<ol start="2" style="list-style-type: decimal;">
<li>First click on the wiringOP icon to open the wiringOP APP</li></ol>
[[File:pi3b-img418.png|576x210px]]
<ol start="3" style="list-style-type: decimal;">
<li>The main interface of wiringOP APP is displayed as shown in the figure below, and then click the '''UART_TEST''' button to open the UART test interface</li></ol>
[[File:pi3b-img426.png|575x156px]]
<ol start="4" style="list-style-type: decimal;">
<li>The serial port test interface of the APP is shown in the figure below</li></ol>
[[File:pi3b-img427.png|576x324px]]
<ol start="5" style="list-style-type: decimal;">
<li>Take the test of '''UART7''' as an example below, select the '''/dev/ttyS7''' node in the selection box, enter the baud rate you want to set in the edit box, and then click the '''OPEN''' button to open the /dev/ttyS7 node. After the opening is successful, the '''OPEN''' button becomes unselectable, and the '''CLOSE''' button and '''SEND''' button become selectable</li></ol>
[[File:pi3b-img428.png|574x166px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then use Dupont wire to short the RXD and TXD pins of uart7</li></ol>
[[File:pi3b-img429.png|418x103px]]
<ol start="7" style="list-style-type: decimal;">
<li>Then you can enter a character in the send edit box below, and click the '''SEND''' button to start sending</li></ol>
[[File:pi3b-img430.png|575x161px]]
<ol start="8" style="list-style-type: decimal;">
<li>If everything is normal, the received string will be displayed in the receiving box</li></ol>
[[File:pi3b-img431.png|574x164px]]
<span id="pin-spi-test-2"></span>
# According to the schematic diagram of the 40pin interface, the spi available for Orange Pi 3B is spi3
[[File:pi3b-img264.png|577x193px]]
<ol start="2" style="list-style-type: decimal;">
<li>Here, the SPI interface is tested through the w25q64 module. First, the w25q64 device is connected to the SPI3 interface</li></ol>
[[File:pi3b-img432.png|373x215px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then click the wiringOP icon to open the wiringOP APP</li></ol>
[[File:pi3b-img418.png|576x210px]]
<ol start="4" style="list-style-type: decimal;">
<li>The main interface of wiringOP APP is displayed as shown in the figure below, click the SPI_TEST button to open the SPI test interface</li></ol>
[[File:pi3b-img433.png|574x149px]]
<ol start="5" style="list-style-type: decimal;">
<li>Then click the '''OPEN''' button to initialize the SPI</li></ol>
[[File:pi3b-img434.png|576x241px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then fill in the bytes that need to be sent, such as reading the ID information of w25q64, fill in the address 0x9f in data[0], and then click the '''TRANSFER''' button</li></ol>
[[File:pi3b-img435.png|572x216px]]
<ol start="7" style="list-style-type: decimal;">
<li>Finally, the APP will display the read ID information</li></ol>
[[File:pi3b-img436.png|575x296px]]
<ol start="8" style="list-style-type: decimal;">
<li>The MANUFACTURER ID of the w25q64 module is EFh, and the Device ID is 4017h, corresponding to the value read above (h stands for hexadecimal)</li></ol>
[[File:pi3b-img437.png|374x126px]]
<span id="pin-pwm-test"></span>
# Android enables '''PWM11''' by default, and the corresponding pin is located at 40pin as shown in the figure below
[[File:pi3b-img438.png|334x107px]]
<ol start="2" style="list-style-type: decimal;">
<li>First click on the wiringOP icon to open the wiringOP APP</li></ol>
[[File:pi3b-img418.png|576x210px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then click the '''PWM_TEST''' button on the main interface of wiringOP to enter the PWM test interface</li></ol>
[[File:pi3b-img439.png|575x150px]]
<ol start="4" style="list-style-type: decimal;">
<li>The base address corresponding to PWM11 is '''fe6f0030''', here pwmchip0 shows '''fdd70020.pwm''' on the right, then you need to click the drop-down option to select other pwmchips until '''febf0030.pwm''' is displayed on the right</li></ol>
[[File:pi3b-img440.png|576x178px]]
<ol start="5" style="list-style-type: decimal;">
<li>When the drop-down option selects '''pwmchip3''', the corresponding base address of PWM11 is '''fe6f0030''' on the right</li></ol>
[[File:pi3b-img441.png|574x161px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then confirm the PWM channel, the default is channel 0, and confirm the PWM cycle, the default configuration is '''50000ns''', converted to PWM frequency is '''20KHz''', you can modify it yourself, click the '''EXPORT''' button to export '''PWM11'''</li></ol>
[[File:pi3b-img442.png|575x160px]]
<ol start="7" style="list-style-type: decimal;">
<li>Then drag the drag bar below to change the PWM duty cycle, and then check Enable to output the PWM waveform</li></ol>
[[File:pi3b-img443.png|575x167px]]
<ol start="8" style="list-style-type: decimal;">
<li>Then use an oscilloscope to measure the No. 32 pin in the 40pin of the development board, and you can see the following waveform</li></ol>
[[File:pi3b-img444.png|460x276px]]
<span id="how-to-use-adb"></span>