Difference between revisions of "Template:SIM8200X 5G HAT User Manual"

From Waveshare Wiki
Jump to: navigation, search
(Created page with "==Working with Windows PC== ===Install Driver=== Downlaod the SIM8200 Driver from Resources part to your PC and unzip it.<br /> Enter the SIM8200_OS_Driver\Windows directory<b...")
 
Line 66: Line 66:
 
Note that you have to add "&" to the end of command, make sure that the command can be run in the background, or the Pi may not boot normally.。<br />
 
Note that you have to add "&" to the end of command, make sure that the command can be run in the background, or the Pi may not boot normally.。<br />
  
 +
<!--
 
===Live steaming with ffmpeg===
 
===Live steaming with ffmpeg===
 
Please use the newest Raspberry Pi, which has pre-install ffmpeg.<br />
 
Please use the newest Raspberry Pi, which has pre-install ffmpeg.<br />
Line 90: Line 91:
 
</pre>
 
</pre>
 
rtmp://sendtc3.douyu.com/live就是地址,后面的那一截即为直播码。此时进入房间号,即可观察直播,延迟在1-2S左右。<br />
 
rtmp://sendtc3.douyu.com/live就是地址,后面的那一截即为直播码。此时进入房间号,即可观察直播,延迟在1-2S左右。<br />
 +
==Other Usage==
 +
If you want to use the 5G module with other OS, you should download the SIM8200 Driver and install it refer to resouces of SIMcom.
  
==其他使用==
+
==About Speed==
如果您需要将产品使用在其他的系统上,请下载SIM8200_OS_Driver的文件,并参考SIMCOM官方文档进行添加驱动。
+
The network situation may be different which cause the speed of 5G module slow than expected data.<br />
 
+
*Distance: Closer to the Base Station, better the signal quality.
==关于速度==
+
*Load: less the users, faster the speed.
由于实际和实验室条件会存在很多不一致的地方,会导致5G速度不能理想的稳定保持100MBPS,有以下几点:<br />
+
*Number: More the Base Station, 基站的数量:由于频谱关系,等量的4G覆盖率需要双倍的5G基站
*基站距离,离5G基站越近信号越好,速度越快;
 
*基站负荷,使用的人越少速度越快,上下班高峰期会慢;
 
*基站的数量:由于频谱关系,等量的4G覆盖率需要双倍的5G基站
 
 
*运营商:需要确认您的5G卡,是否被限速了,可以定期要求运营商重置您的网络
 
*运营商:需要确认您的5G卡,是否被限速了,可以定期要求运营商重置您的网络
 
*室内比室外差:建筑穿透衰耗,以及室内的绕射衰耗
 
*室内比室外差:建筑穿透衰耗,以及室内的绕射衰耗
 
PS:目前的基站数量还是没有很好的覆盖,在不同的地点测速也不太一样。
 
PS:目前的基站数量还是没有很好的覆盖,在不同的地点测速也不太一样。
 +
-->

Revision as of 04:31, 24 October 2020

Working with Windows PC

Install Driver

Downlaod the SIM8200 Driver from Resources part to your PC and unzip it.
Enter the SIM8200_OS_Driver\Windows directory
Enter the 1_install directory and run the setup.exe file to install.
Sim8200 windows driver1.png
After connecting, a mobile network icon appears, you can disconnect other network and test the mobile network.

Install driver manually

For some of PC, you need to add driver manullay. If your PC doesn't recognized any COM ports in Device Manger, find unkown devices and upate the driver manually:
d Power on the 5G module and set the Switch into ON. four(it may be more than four) unkow devices are recognized by Windows PC.
Sim8200 windows driver0.png
Right-click the device , update the driver manually, choose SIM8200_OS_Driver\Windows, and then choose thd driver according to the version of your OS. You need to update for all the four/five/six devices.:
Sim8200 windows driver1.png
Four COM ports: AT is used for AT command controlling, Audio is used for dailing Diagnostics is used for debuggging, and NMEA is used for GPS.;
Sim8200 windows driver2.png
Sim8200 windows driver3.png
A mobile network will be setup automatically after updating, you can disconnect other network and test it.

Working with Raspberry

Please download the newest Raspberry Pi OS2020-08-20-raspios-buster-armhf, All the settings are based on Kernel 5.4, if you use old version, plase udpate first.
RPI image.png

Configuration

This configuration is only needed at the first time.
Open a terminal and run the following commands:

sudo apt-get install p7zip-full
wget https://www.waveshare.com/w/upload/f/fb/SIM8200-M2_5G_HAT_code.7z
7z x SIM8200-M2_5G_HAT_code.7z
sudo chmod 777 -R SIM8200-M2_5G_HAT_code
cd SIM8200-M2_5G_HAT_code
sudo ./install.sh

Please do not modify option, qmi_wwan_simcom, default.script,install.sh files or directorys, otherwise the dirver cannot be installed normally.
If you get error information, please check ifyou use the 2020-08-20-raspios-buster-armhf OS and take screenshot of error information and contact our support team for help.

Run ifconfig -a command to check WWAN0 interface.
SIM8200 RPI 2.png

Testing with AT command

sudo apt-get install minicom
sudo minicom -D /dev/ttyUSB2

SIM8200 RPI 1.png

5G Networking

cd Goonline
make
sudo ./simcom-cm

After running codes, DNS information are shown as figure below:
SIM8200 RPI 3.png

Auto-run

If you want to set the codes auto-run after booting, you can modify rc.local file:

sudo nano /etc/rc.local

Add the line to file as below:

sudo /home/pi/SIM8200-M2_5G_HAT_code/Goonline/simcom-cm &

Note that you have to add "&" to the end of command, make sure that the command can be run in the background, or the Pi may not boot normally.。