Changes

Jump to: navigation, search

Orange Pi 3G- IoT -A

4,757 bytes added, 15:16, 20 June 2022
no edit summary
Start the system.<br>
Connect the board to a 5V2A power adapter. Connect the serial port to see the system startup。
<div>[[文件:Orange-pi-3g-iot-img27.png|600px|]]</div>
<br>
If the onboard space is not enough, you can burn the rootfs to the TF card. Proceed as follows.<br>
Burn boot.img that supports mounting TF card rootfs<br>
Click on the content in the box below
<div>[[文件:Orange-pi-3g-iot-img28.png|800px|]]</div>
<br>
In the pop-up window, select boot_sd.img.
<div>[[文件:Orange-pi-3g-iot-img29.png|800px|]]</div>
<br>
Download completed
<div>[[文件:Orange-pi-3g-iot-img30.png|800px|]]</div>
<br>
Burn rootfs to TF card<br>
Prepare a TF card above 8G and class10. After formatting. Burn roofs.img as follows<br>
<div style="border:1px solid #dddddd;background:#f1f1f1;padding:5px">
pv rootfs.img | sudo dd of=/dev/sdb bs=1M
</div>
sdb is the device file corresponding to the TF card<br>
If it is a windows system, you can also use Win32DiskImager software to burn.<br>
<br>
 
Start the system<br>
Insert the tf card into the board and start it after power on.
== '''Serial Debugging Tool''' ==
<br>
First need to prepare a USB to TTL serial cable, need to support 921600 baud rate<br>
The debugging serial port of 3G-iot is serial port 1, which has been led to 40pin, and the baud rate is 921600.<br>
Connect the serial cable as shown below. The functions of the different color lines are as follows:
* Black——GND
* Green——RX
* White——TX
<div>[[文件:Orange-pi-3g-iot-img31.png|500px|]]</div>
<br>
=== '''Usage based on Windows platform''' ===
In the process of using Orange Pi for project development, in order to get more debugging information, Orange Pi defaults support serial port information debugging. For developers, just prepare the materials mentioned above and can easily get serial debugging information. The serial port debugging tools used by different upper computers are similar, basically refer to the following ways to deploy. There are many tools for serial port debugging using the Windows platform. The commonly used tools are Putty. This section uses putty as an example for deployment.
* '''Install USB driver'''
Download the latest version of the driver PL2303_Prolific_DriverInstaller_v130.zip, download and extract.
<div>[[文件:Orange-pi-3g-iot-img32.png|800px|]]</div>
<br>
Select application installation as an administrator
<div>[[文件:Orange-pi-3g-iot-img33.png|800px|]]</div>
<br>
Waiting for installation and click.
<div>[[文件:Orange-pi-3g-iot-img34.png|800px|]]</div>
<br>
* '''Download and install Putty'''
Putty can be downloaded from the address below, please choose the version that suits your development environment.
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.<br>
<div>[[文件:Orange-pi-3g-iot-img35.png|800px|]]</div>
* '''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>[[文件:Orange-pi-3g-iot-img36.png|800px|]]</div>
* '''Putty configuration'''
Set the serial port to the corresponding port number (COM4), turn off the flow control, and set the speed to 921600.
<div>[[文件:Orange-pi-3g-iot-img36.png|600px|]]</div>
<br>
* '''Start debugging serial output'''
When the Orange Pi is powered on, putty will automatically print the serial port log information.<br>
<br>
=== '''Usage based on Linux platform''' ===
There is a little difference using putty between Windows platform and Linux platform. The following mainly explains the differences. All operations are based on the Ubuntu 14.04 system.
* '''Install and start Putty'''
<div style="border:1px solid #dddddd;background:#f1f1f1;padding:5px;">
$ sudo apt-get install putty<br>
$ sudo putty
</div>
* '''Configuration Putty'''
The serial port number can be viewed via ls /dev/ttyUSB* <br>
The baud rate needs to be set to 921600<br>
And turn off flow control
<div>[[文件:Orange-pi-3g-iot-img37.png|600px|]]</div>
<br>
== '''Other settings''' ==
<br>
=== '''Connect WIFI''' ===
To configure wireless, must know ssid and psk (account, password), enter the corresponding wlan*, ssid, psk<br>
$ sudo vi /etc/network/interfaces<br>
(add the following)<br>
auto wlan0<br>
iface wlan0 inet dhcp<br>
wpa-ssid xxxx<br>
wpa-psk xxxx<br>
Then execute /etc/init.d/networking restart,wireless connected.<br>
<br>
=== '''Usage of GPIO''' ===
<br>
'''Modify and Display of the GPIO Status Under ADB Mode'''
<br>
<br>
'''Get the Open/Close Status of GPIO : cat /sys/devices/virtual/misc/mtgpio/pin'''

Navigation menu