Changes

Jump to: navigation, search

Orange Pi 4G- IoT

64 bytes removed, 11:08, 27 June 2022
no edit summary
'''Interface instructions:'''
<br>
<div>[[文件File:Orange-pi-4g-iot-img1.png|800px|]]</div>
<br>
<div>[[文件File:Orange-pi-4g-iot-img2.png|800px|]]</div>
<br>
== '''Using Method''' ==
<br>
After receiving the product, please put the antennas of the product from the position of Pic 1 to the position of Pic 2 (or to the outside of the board), which can not be attached to the board so as not to affect the signal.
<div>[[文件File:Orange-pi-4g-iot-img3.png|800px|]]</div>
<div style="display:flex;width:800px;">
<div style="flex:1;text-align:center;">Pic 1</div>
Relevant keys and connectors for firmware flashing of '''Orange Pi 4G-IoT:'''
<br>
<div>[[文件File:Orange-pi-4g-iot-img4.png|800px|]]</div>
<br>
'''List of generated firmwares:'''<br>
You could download the '''Smart Phone Flash''' Tool on the download page of Orange Pi 4G-IoT part. There are tools for Windows and Linux version, you could select a suitable version according to your PC environment.<br>
Interface like the following:
<div>[[文件File:Orange-pi-4g-iot-img5.png|800px|]]</div>
<br>
Using method for both Windows and Linux versions are same, here will illustrate with Linux version.<br>
<br>
If it is the first time you use this software, you might receive the warn like the following. It is normal to receive this, you could click OK enter into the software. In the future you could manually specified the path of Scatter File.
<div>[[文件File:Orange-pi-4g-iot-img6.png|800px|]]</div>
<br>
* '''Enter into flash mode'''
a.Switch into Download page like the following:
<div>[[文件File:Orange-pi-4g-iot-img7.png|800px|]]</div>
<br>
b.Click choose on the right side of Scatter-loading File and select the path of Scatter File like the following:
<div>[[文件File:Orange-pi-4g-iot-img8.png|800px|]]</div>
<br>
c.After double click the selection, the '''partition information display section''' will automatically fill the path of each partition file and the absolute starting address to which they are to be flashed.
<div>[[文件File:Orange-pi-4g-iot-img9.png|800px|]]</div>
<br>
d.In the top left corner of '''partition information display section''', there would be a drop-down menu. <br>
e.Use USB data cable to connect PC and Orange Pi, the right side of Orange Pi will be in red LED. <br>
<span style="color:red;">In this case do not need to connect DC power supply.</span><br>
f.Click Download button[[文件File:Orange-pi-4g-iot-img10.png|50px|]]<br>
<br>
g.The interface would show like the following after downloaded:
<div>[[文件File:Orange-pi-4g-iot-img11.png|800px|]]</div>
<br>
h.Take of the USB cable and insert DC power supply<br>
<br>
①Modify .jack file on the path of $HOME:
<div>[[文件File:Orange-pi-4g-iot-img12.png|800px|]]</div>
<br>
②Modify .jack-settings file on the path of $HOME:
<div>[[文件File:Orange-pi-4g-iot-img13.png|800px|]]</div>
(These two files TCP port should not be used before, and these two files and ports should be with same configure.)<br>
<br>
Enter the root password and press Enter<br>
<br>
<div>[[文件File:Orange-pi-4g-iot-img14.png|800px|]]</div>
<br>
Choose 0 Build system with kernel/uboot/rootfs, enter the development board model selection interface.<br>
<br>
<div>[[文件File:Orange-pi-4g-iot-img15.png|800px|]]</div>
<br>
Choose 23 orangepi 4G-iot,Press Enter and start download Orange Pi 4G-iot Linux Source Code.<br>
<br>
<div>[[文件File:Orange-pi-4g-iot-img16.png|800px|]]</div>
<br>
The downloaded source code will be stored in the same directory as OrangePi_Build. Orange Pi 4G-IOT Linux source code directory structure is as follows
<br>
Enter the root password and press Enter, then select the function needed to execute.
<div>[[文件File:Orange-pi-4g-iot-img17.png|800px|]]</div>
<br>
The functions of each option are as follows:<br>
We click on the far right of the Scatter-loading File column And select the path of Scatter File, as shown below<br>
<br>
<div>[[文件File:Orange-pi-4g-iot-img18.png|800px|]]</div>
<br>
First disconnect the board from the PC and click the Download button
<div>[[文件File:Orange-pi-4g-iot-img19.png|800px|]]</div>
<br>
Next, use a USB download cable to connect the host's USB to the machine's MircoUSB interface. Burning completed
<div>[[文件File:Orange-pi-4g-iot-img20.png|800px|]]</div>
<br>
Start the system.<br>
Connect the board to a 5V 3A power adapter. Connect the serial port to see the system startup.
<div>[[文件File:Orange-pi-4g-iot-img21.png|800px|]]</div>
<br>
If the onboard space is not enough, you can burn the rootfs to the TF card. Proceed as follows.烧录支<br>Hold the lk of the mounted TF card rootfs<br>
Click on the content in the box below
<div>[[文件File:Orange-pi-4g-iot-img22.png|800px|]]</div>
<br>
Select lk_sd.bin in the popup window.
<div>[[文件File:Orange-pi-4g-iot-img23.png|800px|]]</div>
<br>
Click download, download is complete
<div>[[文件File:Orange-pi-4g-iot-img24.png|800px|]]</div>
<br>
Burn rootfs to TF card<br>
First need to prepare a USB to TTL serial cable, need to support 921600 baud rate
The debugging serial port of 4G-iot is not brought out, so users need to fly their own wires. The solder joints of the following figure boxes are TXD and RXD of the serial port. GND, RXD and TXD need to be brought out.
<div>[[文件File:Orange-pi-4g-iot-img25.png|800px|]]</div>
<br>
Connection mode:<br>
* '''Install USB driver'''
Download the latest version of the driver PL2303_Prolific_DriverInstaller_v130.zip, download and extract.
<div>[[文件File:Orange-pi-4g-iot-img26.png|800px|]]</div>
<br>
Select application installation as an administrator
<div>[[文件File:Orange-pi-4g-iot-img27.png|800px|]]</div>
<br>
Waiting for installation and click.
<div>[[文件File:Orange-pi-4g-iot-img28.png|800px|]]</div>
<br>
* '''Download and install Putty'''
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Double-click the downloaded putty.exe to open putty. The software interface is shown below.
<div>[[文件File:Orange-pi-4g-iot-img29.png|800px|]]</div>
<br>
* '''Acquisition of device information'''
In Windows 7, we can check whether the serial port connection is normal and the serial port device No. through Device Manager. If the device is not recognized properly, please check if the driver is installed successfully. If there is a problem with the driver installation, try using the 360 Driver Master to scan the installation driver.
<div>[[文件File:Orange-pi-4g-iot-img30.png|800px|]]</div>
<br>
* '''Putty configuration'''
Set the serial port to the corresponding port number (COM4), turn off the flow control, and set the speed to 921600.
<div>[[文件File:Orange-pi-4g-iot-img31.png|800px|]]</div>
<br>
* '''Start debugging serial output'''
The baud rate needs to be set to 921600<br>
And turn off flow control
<div>[[文件File:Orange-pi-4g-iot-img31.png|800px|]]</div>
<br>
== '''Usage of GPIO''' ==

Navigation menu