8,367
edits
Changes
no edit summary
<li>Then you can see that the desktop is displayed in Chinese</li></ol>
[[File:media/image314.png|575x383px]]
<ol start="9" style="list-style-type: decimal;">
<li>Then we can open '''Geany''' to test the Chinese input method, the opening method is as shown in the figure below</li></ol>
[[File:media/image315.png|576x292px]]
<ol start="10" style="list-style-type: decimal;">
<li>After opening'''Geany''', the default is English input method, we can switch to Chinese input method through '''Ctrl+Space'''shortcut key, and then we can input Chinese</li></ol>
[[File:media/image316.png|575x308px]]
<span id="how-to-install-ubuntu-22.04-system"></span>
# Open first '''Language Support'''
[[File:media/image308.png|575x351px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then find the '''Chinese (China)''' option</li></ol>
[[File:media/image317.png|335x326px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then please use the left mouse button to select '''Chinese (China)''' and hold it down, then drag it up to the initial position, and the display after dragging is as shown in the figure below:</li></ol>
[[File:media/image318.png|337x331px]]
'''Note that this step is not easy to drag, please be patient and try a few more times.'''
<li>Then select '''Apply System-Wide''' to apply the Chinese settings to the entire system</li></ol>
[[File:media/image319.png|336x330px]]
<ol start="5" style="list-style-type: decimal;">
<li><p>After re-entering the system, please choose '''not to ask me again''' in the following interface, and then please decide whether the standard folder should also be updated to Chinese according to your preferences</p></li></ol>
[[File:media/image313.png|303x247px]]
<ol start="7" style="list-style-type: decimal;">
<li>Then you can see that the desktop is displayed in Chinese</li></ol>
[[File:media/image314.png|575x383px]]
<ol start="8" style="list-style-type: decimal;">
<li>Then open the Fcitx5 configuration program</li></ol>
[[File:media/image320.png|575x349px]]
<ol start="9" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image321.png|338x267px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题-11.jpg未标题-11]]
</div>
<li>The interface after selection is as shown below, and then click OK</li></ol>
[[File:media/image322.png|366x290px]]
<ol start="11" style="list-style-type: decimal;">
<li>Then we can open '''Geany'''to test the Chinese input method, the opening method is as shown in the figure below</li></ol>
[[File:media/image315.png|576x292px]]
<ol start="12" style="list-style-type: decimal;">
<li>After opening '''Geany''', the default is English input method, we can switch to Chinese input method through '''Ctrl+Space''' shortcut key, and then we can input Chinese</li></ol>
[[File:media/image323.png|576x408px]]
<span id="how-to-remotely-log-in-to-the-desktop-of-the-linux-system"></span>
[https://downloads.nomachine.com/download/?id=116&distro=ARM '''https://downloads.nomachine.com/download/?id=116&distro=ARM''']
[[File:media/image324.png|575x227px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>In addition, you can also download the '''NoMachine''' installation package in the official tool</li></ol>
[[File:media/image325.png|66x102px]]
<blockquote>First '''enter the remote login software-NoMachine''' folder
</blockquote>
[[File:media/image326.png|271x43px]]
<blockquote>Then download the arm64 version of the deb installation package
</blockquote>
[[File:media/image327.png|180x109px]]
<ol start="3" style="list-style-type: lower-alpha;">
[https://downloads.nomachine.com/download/?id=8 '''https://downloads.nomachine.com/download/?id=8''']
[[File:media/image328.png|575x163px]]
<ol start="3" style="list-style-type: decimal;">
<li><p>Then open NoMachine in Window '''NoMachine'''</p></li></ol>
[[File:media/image329.png|76x66px]]
<ol start="5" style="list-style-type: decimal;">
<li>After NoMachine starts, it will automatically scan other devices installed with NoMachine in the LAN. After entering the main interface of NoMachine, you can see that the development board is already in the list of connectable devices, and then click the position shown in the red box in the figure below You can start to log in to the Linux system desktop of the development board</li></ol>
[[File:media/image330.png|321x92px]]
<ol start="6" style="list-style-type: decimal;">
<li>Then Click '''OK'''</li></ol>
[[File:media/image331.png|402x275px]]
<ol start="7" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image332.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:media/image333.png|411x246px]]</p></li></ol>
<span id="use-vnc-to-log-in-remotely"></span>
<div class="figure">
[[File:media/image334.png|490x349px|图片1208]]
</div>
<li>Then enter the VNC password set earlier</li></ol>
[[File:media/image335.png|274x131px]]
<ol start="3" style="list-style-type: lower-alpha;">
<li><p>After successful login, the interface is displayed as shown in the figure below, and then you can remotely operate the desktop of the Linux system on the development board</p>
<p>[[File:media/image336.png|405x293px]]</p></li></ol>
<span id="some-programming-language-tests-supported-by-linux-system"></span>
<li>Then you can see the startup icon of QT Creator in '''Applications'''</li></ol>
[[File:media/image337.png|576x270px]]
You can also use the following command to open QT Creator
<li>The interface after QT Creator is opened is as follows</li></ol>
[[File:media/image338.png|418x222px]]
<ol start="5" style="list-style-type: decimal;">
</li></ol>
[[File:media/image339.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:media/image340.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:media/image341.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:media/image342.png|449x277px]]
<ol start="6" style="list-style-type: decimal;">
</li></ol>
[[File:media/image343.png|573x164px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then remove the tick of '''ClangCodeModel'''</li></ol>
[[File:media/image344.png|408x254px]]
<ol start="3" style="list-style-type: lower-alpha;">
'''Debian12 please skip this step.'''
[[File:media/image345.png|576x315px]]
[[File:media/image346.png|575x307px]]
<ol start="7" style="list-style-type: decimal;">
<li>Then you can open a sample code</li></ol>
[[File:media/image347.png|575x312px]]
<ol start="8" style="list-style-type: decimal;">
<li>After clicking the sample code, the corresponding instruction document will be opened automatically, you can read the instruction carefully</li></ol>
[[File:media/image348.png|576x218px]]
<ol start="9" style="list-style-type: decimal;">
<li>Then click next '''Configure Project'''</li></ol>
[[File:media/image349.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:media/image350.png|575x312px]]
<ol start="11" style="list-style-type: decimal;">
<li>After waiting for a period of time, the interface shown in the figure below will pop up, which means that QT can compile and run normally</li></ol>
[[File:media/image351.png|576x308px]]
<ol start="12" style="list-style-type: decimal;">
# The current active version of ROS 1 is as follows, and the recommended version is '''Noetic Ninjemys'''
[[File:media/image352.png|345x235px]]
[[File:media/image353.png|576x210px]]
[http://docs.ros.org/ '''http://docs.ros.org''']
[http://wiki.ros.org/noetic/Installation '''http://wiki.ros.org/noetic/Installation''']
[[File:media/image354.png|312x176px]]
<ol start="4" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image355.png|575x275px|图片4]]
</div>
<div class="figure">
[[File:media/image356.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:media/image357.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, and the recommended version is '''Galactic Geochelone'''
[[File:media/image358.png|576x271px]]
[[File:media/image359.png|575x265px]]
[http://docs.ros.org/ '''http://docs.ros.org''']
<div class="figure">
[[File:media/image360.png|576x324px|1]]
</div>
<div class="figure">
[[File:media/image361.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:media/image362.png|337x52px]]
orangepi@orangepi:~$ '''make'''
'''Raspberry Pi 5-inch MIPI LCD display + Touch screenis shown in the figure below'''
[[File:media/image363.png|312x312px]]
[[File:media/image364.png|306x219px]]
<ol start="2" style="list-style-type: lower-alpha;">
<li>15pin MIPI cable</li></ol>
[[File:media/image365.png|276x111px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then connect the 15pin MIPI cable to the Raspberry Pi 5-inch screen as shown in the figure below (note the orientation of the insulating surface)</li></ol>
[[File:media/image366.png|294x160px]]
<ol start="3" style="list-style-type: decimal;">
<li>Finally connect to the LCD interface of the Orange Pi CM4 development board</li></ol>
[[File:media/image367.png|299x173px]]
<span id="how-to-open-raspberry-pi-5-inch-screen-configuration"></span>
<li>Then select '''System'''</li></ol>
[[File:media/image368.png|576x304px]]
<ol start="3" style="list-style-type: lower-alpha;">
<li>Then select '''Hardware'''</li></ol>
[[File:media/image369.png|576x266px]]
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then use the arrow keys on the keyboard to navigate to raspi-7inch-touchscreen, and then use the space to select</li></ol>
[[File:media/image370.png|408x310px]]
<ol start="5" style="list-style-type: lower-alpha;">
<li>Then select '''<Save>'''Save</li></ol>
[[File:media/image371.png|404x133px]]
<ol start="6" style="list-style-type: lower-alpha;">
<li>Then select '''<Back>'''</li></ol>
[[File:media/image372.png|397x151px]]
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then select '''<Reboot>''' Restart the system for the configuration to take effect</li></ol>
[[File:media/image373.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 display of the LCD screen as follows:</li></ol>
[[File:media/image374.png|381x262px]]
<span id="the-method-of-server-version-image-rotation-display-direction"></span>
# First open '''Display''' Settings in Linux
[[File:media/image375.png|298x206px]]
<ol start="2" style="list-style-type: decimal;">
</li></ol>
[[File:media/image376.png|286x180px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then click '''Apply'''</li></ol>
[[File:media/image377.png|330x207px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then select '''Keep this configuration'''</li></ol>
[[File:media/image378.png|374x210px]]
<ol start="5" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image379.png|190x186px|single-head cable in the same direction]]
</div></li>
<div class="figure">
[[File:media/image380.png|243x452px|eDP display]]
</div></li></ol>
</li>
<li><p>Connect the 30pin eDP interface of the screen and the eDP interface of the development board with a 30pin single-head cable in the same direction</p>
<p>[[File:media/image381.png|470x194px]]</p></li></ol>
<span id="how-to-open-the-edp-screen-configuration"></span>
<p>orangepi@orangepi:~$ '''sudo orangepi-config'''</p></li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image368.png|576x304px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image369.png|576x266px]]</p></li>
<li><p>Then use the arrow keys on the keyboard to navigate to edp, and > then use the '''space''' to select</p>
<p>[[File:media/image382.png|396x379px]]</p></li>
<li><p>Then select '''<Save>''' to save</p>
<p>[[File:media/image371.png|404x133px]]</p></li>
<li><p>Then select '''<Back>'''</p>
<p>[[File:media/image372.png|397x151px]]</p></li>
<li><p>Then select '''<Reboot>''' to restart the system to make the > configuration take effect</p>
<p>[[File:media/image373.png|331x154px]]</p>
<p>'''The above settings will eventually add the configuration of overlays=edp 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.'''</p>
<p>'''If you find it troublesome to use orangepi-config, you can also use the vim editor to open /boot/orangepiEnv.txt, and then add the configuration of overlays=edp.'''</p>
</li>
<li><p>After startup, you can see the display of the eDP screen as follows:</p>
<p>[[File:media/image383.png|462x290px]]</p></li></ol>
<span id="instructions-for-using-the-switch-logo"></span>
<div class="figure">
[[File:media/image384.png|230x127px|1692258914099]]
</div>
# 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:media/image385.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:media/image386.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:media/image387.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:media/image388.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:media/image389.png|576x79px]]
<span id="how-to-shut-down-and-restart-the-development-board"></span>
<div class="figure">
[[File:media/image390.png|576x298px|图片6]]
</div>
<div class="figure">
[[File:media/image391.png|575x278px|选区_396]]
</div>
<div class="figure">
[[File:media/image392.png|576x132px|选区_238]]
</div></li>
<div class="figure">
[[File:media/image393.png|576x253px|7d7048f5baea57bf0b852752e46b5446]]
</div></li>
<li>Then select '''5 Install/Update the bootloader on SD/eMMC''' 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:media/image394.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:media/image395.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:media/image396.png|244x137px]]
<ol start="8" style="list-style-type: lower-alpha;">
<div class="figure">
[[File:media/image397.png|575x116px|选区_240]]
</div>
<div class="figure">
[[File:media/image393.png|576x253px|7d7048f5baea57bf0b852752e46b5446]]
</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:media/image398.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:media/image399.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:media/image400.png|574x234px]]
<ol start="6" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image401.png|576x119px|选区_241]]
</div>
<div class="figure">
[[File:media/image393.png|576x253px|7d7048f5baea57bf0b852752e46b5446]]
</div>
<li>Then select the type of rootfs</li></ol>
[[File:media/image402.png|575x86px]]
<ol start="5" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image403.png|576x75px|选区_245]]
</div>
<div class="figure">
[[File:media/image404.png|576x78px|选区_397]]
</div>
<div class="figure">
[[File:media/image405.png|575x99px|Selection_001]]
</div>
[[File:media/image406.png|576x74px]]
You can then select additional packages that need to be installed. Please press the Enter key to skip directly here.
[[File:media/image407.png|575x264px]]
<ol start="8" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image408.png|576x128px|选区_242]]
</div>
<div class="figure">
[[File:media/image393.png|576x253px|7d7048f5baea57bf0b852752e46b5446]]
</div>
<li>Then select the type of rootfs</li></ol>
[[File:media/image402.png|575x86px]]
<ol start="5" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image403.png|576x75px|选区_245]]
</div>
<div class="figure">
[[File:media/image404.png|569x77px|选区_397]]
</div>
<div class="figure">
[[File:media/image405.png|575x99px|Selection_001]]
</div>
[[File:media/image406.png|576x74px]]
You can then select additional packages that need to be installed. Please press the Enter key to skip directly here.
[[File:media/image407.png|575x264px]]
<ol start="8" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image409.png|576x324px|1]]
</div></li>
<div class="figure">
[[File:media/image410.png|576x324px|2]]
</div></li>
<div class="figure">
[[File:media/image411.png|576x324px|3]]
</div></li>
<div class="figure">
[[File:media/image412.png|576x324px|4]]
</div></li>
<div class="figure">
[[File:media/image413.png|576x324px|5]]
</div></li>
<div class="figure">
[[File:media/image414.png|576x324px|6]]
</div></li>
<div class="figure">
[[File:media/image415.png|576x324px|7]]
</div></li>
<div class="figure">
[[File:media/image416.png|576x324px|8]]
</div></li>
<div class="figure">
[[File:media/image417.png|576x324px|9]]
</div></li>
<div class="figure">
[[File:media/image418.png|576x324px|1]]
</div>
<p>After restarting, you can see the display on the LCD screen as follows:</p></li></ol>
[[File:media/image419.png|349x215px]]
<span id="how-to-use-the-edp-screen-1"></span>
<p>After restarting, you can see that the display of the eDP screen is as follows:</p></li></ol>
[[File:media/image420.png|459x265px]]
<span id="how-to-install-the-software"></span>
# First click enter '''Setting'''
[[File:media/image421.png|549x228px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then select '''Network & internet'''</li></ol>
[[File:media/image422.png|565x120px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then select '''Wi-Fi'''</li></ol>
[[File:media/image423.png|561x99px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then turn on the '''Wi-Fi''' switch</li></ol>
[[File:media/image424.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:media/image425.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:media/image426.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:media/image427.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:media/image428.png|558x102px]]
<span id="how-to-use-wi-fi-hotspot"></span>
# Then select '''Settings'''
[[File:media/image421.png|549x228px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then select '''Network & internet'''</li></ol>
[[File:media/image422.png|565x120px]]
<ol start="4" style="list-style-type: decimal;">
<li>Then select '''Hotspot & tethering'''</li></ol>
[[File:media/image429.png|549x173px]]
<ol start="5" style="list-style-type: decimal;">
<li>Then select '''Wi-Fi hotspot'''</li></ol>
[[File:media/image430.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 hotspot''' first, and then you can modify it)</li></ol>
[[File:media/image431.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:media/image432.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:media/image433.png|327x165px]]
<span id="bluetooth-test-method"></span>
# First click enter '''Setting'''
[[File:media/image421.png|549x228px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then select '''Connected devices'''</li></ol>
[[File:media/image434.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:media/image435.png|547x126px]]
<ol start="4" style="list-style-type: decimal;">
<li>The searched Bluetooth devices will be displayed under '''Available devices'''</li></ol>
[[File:media/image436.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:media/image437.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:media/image438.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:media/image439.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:media/image440.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:media/image441.png|573x97px]]
<span id="how-to-use-raspberry-pi-5-inch-screen"></span>
<span id="section"></span>
== [[File:media/image442.png|484x312px]] ==
<span id="how-to-use-the-edp-screen-2"></span>
<div class="figure">
[[File:media/image379.png|261x256px|single-head cable in the same direction]]
</div></li>
<div class="figure">
[[File:media/image380.png|166x309px|eDP display]]
</div></li></ol>
<li><p>Connect the FPC end of the 30pin single-head codirectional cable to the eDP interface of the development board, and connect the other end to the eDP interface of the screen</p></li></ol>
[[File:media/image381.png|401x165px]]
<ol start="3" style="list-style-type: decimal;">
<li><p>Then 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</p>
<p>[[File:media/image443.png|357x220px]]</p></li></ol>
<span id="pin-interface-gpio-uart-spi-and-pwm-test"></span>
# First click on the wiringOP icon to open the wiringOP APP
[[File:media/image444.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:media/image445.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:media/image446.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:media/image447.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:media/image448.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:media/image449.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:media/image450.png|250x345px]]
<ol start="8" style="list-style-type: decimal;">
<li><p>Then click the '''GPIO READALL''' button, you can see that the current pin 7 mode is OUT, and the pin level is low</p>
<p>[[File:media/image451.png|576x300px]]</p></li></ol>
<span id="pin-uart-test-2"></span>
<ol style="list-style-type: decimal;">
<li><p>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</p>
<p>[[File:media/image452.png|507x101px]]</p></li>
<li><p>First click on the wiringOP icon to open the wiringOP APP</p></li></ol>
[[File:media/image444.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:media/image453.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:media/image454.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:media/image455.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:media/image456.png|574x91px]]
<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:media/image457.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:media/image458.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:media/image459.png|575x209px]]
<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:media/image460.png|261x216px]]
<ol start="3" style="list-style-type: decimal;">
<li>Then click the wiringOP icon to open the wiringOP APP</li></ol>
[[File:media/image444.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:media/image461.png|574x149px]]
<ol start="5" style="list-style-type: decimal;">
<li>Then click the '''OPEN''' button to initialize the SPI</li></ol>
[[File:media/image462.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:media/image463.png|572x216px]]
<ol start="7" style="list-style-type: decimal;">
<li>Finally, the APP will display the read ID information</li></ol>
[[File:media/image464.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:media/image465.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:media/image466.png|465x86px]]
<ol start="2" style="list-style-type: decimal;">
<li>First click on the wiringOP icon to open the wiringOP APP</li></ol>
[[File:media/image444.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:media/image467.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 '''fe6f0030.pwm''' is displayed on the right</li></ol>
[[File:media/image468.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:media/image469.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:media/image470.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:media/image471.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:media/image472.png|460x276px]]
<span id="how-to-use-adb"></span>
'''The development board has 4 USB interfaces, among which the USB interface marked in red box in the figure below can support both Host mode and Device mode, and the other 3 USB interfaces only support Host mode.'''
[[File:media/image473.png|365x143px]]
'''The USB OTG interface defaults to Host mode, which can be used to connect USB devices such as mouse and keyboard. If you want to use ADB, you need to manually switch to Device mode.'''
<ol style="list-style-type: decimal;">
<li><p>First open Settings</p>
<p>[[File:media/image421.png|569x236px]]</p></li>
<li><p>Then select '''About tablet'''</p>
<p>[[File:media/image474.png|562x315px]]</p></li>
<li><p>Then click the '''Build number''' menu bar several times with the mouse until the prompt '''You are now a developer!''' appears</p>
<p>[[File:media/image475.png|577x321px]]</p></li>
<li><p>Then click to return to the previous menu</p>
<p>[[File:media/image476.png|578x312px]]</p></li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image477.png|577x302px]]</p></li>
<li><p>Then select '''Advanced'''</p>
<p>[[File:media/image478.png|581x206px]]</p></li>
<li><p>Then select '''Developer options''' in the expanded column</p>
<p>[[File:media/image479.png|577x260px]]</p></li>
<li><p>Finally find the '''USB OTG Mode Switch''' switch, '''turn on the switch to switch to Device mode, turn off the switch to switch to Host mode'''</p></li></ol>
[[File:media/image480.png|579x219px]]
<span id="use-the-data-cable-to-connect-to-adb-debugging"></span>
<div class="figure">
[[File:media/image18.png|141x138px|D6BB9058-CDC3-42d7-A7FC-FBF630D886B7]]
</div></li>
<li><p>Then refer to [[\l|'''the method of USB OTG mode switching''']] to switch USB OTG to Device mode</p></li>
<li><p>Then connect the development board to the Ubuntu PC through the USB2.0 male-to-male data cable. The position of the USB OTG interface on the development board is shown in the figure below:</p>
<p>[[File:media/image481.png|318x125px]]</p></li>
<li><p>Then install the adb tool on the Ubuntu PC</p>
<p>test@test:~$ '''sudo apt update'''</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Google Drive</p>
<p>[[File:media/image482.png|499x174px]]</p></li></ol>
</li>
<li><p>After downloading the sub-volume compression package of the Android 11 source code, please check whether the MD5 checksum is correct, if not, please download the source code again</p>