5G M.2 TO Gigabit ETH

From Waveshare Wiki
Jump to: navigation, search
5G M.2 TO Gigabit ETH
5G M.2 TO Gigabit ETH.jpg

5G/4G/3G/GNSS
Ethernet port, USB3.1, M.2
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

5G M.2 to Gigabit ETH is an adapter board that 5G module to USB 3.1 and Ethernet port. It needs to work with an M.2 interface 5G module and cannot be used independently!

Overview

Features

  • Supports 5G modules with M.2 (NGFF) Key B interface, compatible with mainstream 5G modules from brands such as SIMCom, Quectel, and Fibocom.
  • Supports 5G modules in 3042/3052 packages such as SIM82XX, RM5XX, and FM160XX series.
  • Onboard RTL8125 Ethernet chip, supports 5G to Gigabit Ethernet for high-speed 5G networking via the Gigabit Ethernet port.
  • Onboard USB 3.1 Type-A port for connecting to PC, Raspberry Pi, or Jetson series motherboards for high-speed 5G networking or debugging.
  • Onboard voltage translator circuit, supports 9-12V power supply via DC 5.5mm jack, or 5V/2A power supply via USB 3.1 port.
  • Onboard standard SIM card slot.
  • Onboard power supply and network indicator, reset button, for checking the working status of the module and 5G debugging.
  • Aluminum alloy enclosure with oxidation dull-polish surface, CNC process opening, solid and durable, desktop or wall-mount support.
  • Comes with 4× 5G omnidirectional high-gain antennas and a 12V power supply adapter, easy to use directly with a 5G module.

Hardware Description

Interface Introduction

5G M.2 TOGigabit ETH 01.jpg

5G Module Compatibility

Adaptable to most SIMCom/Quectel/Fibocom 5G M.2 interface modules, compatible with 3042 and 3052 packages.
The following table only lists some of the models supported by the actual test; if used for other models, the pin compatibility is subject to the actual test.

Model SIM8202G-M2 SIM8262E-M2 SIM8262A-M2 RM500U-CNV RM502Q-AE RM520N-GL FM160-EAU
5G Standard 3GPP R15 3GPP R16 3GPP R15 3GPP R16
Applicable Regions except Americas Americas China, EMEA, Asia-Pacific Global (except China) Global EMEA, Australia
Chip Qualcomm Snapdragon X55 Qualcomm Snapdragon X62 UNISOC Qualcomm Snapdragon X55 Qualcomm Snapdragon X62
Frequency Band
Sub-6G n1, n2, n3, n5, n7, n8, n12, n20, n28, n38, n40, n41, n66, n71, n77, n78, n79 n1, n3, n5, n7, n8, n20, n28, n38, n40, n41, n77, n78, n79 n2, n5, n7, n12, n13, n14, n25, n30, n41, n48, n66, n71, n77, n78, n79 5G NR NSA:n41, n78, n79 5G NR NSA:n1, n2, n3, n5, n7, n8, n12, n20, n25, n28, n38, n40, n41, n48, n66, n71, n77, n78, n79 5G NR NSA:n1, n2, n3, n5, n7, n8, n12, n13, n14, n18, n20, n25, n26, n28, n29, n30, n38, n40, n41, n48, n66, n70, n71, n75, n76, n77, n78, n79 n1, n3, n5, n7, n8, n20, n28, n38, n40, n41, n75, n77, n78
5G NR SA: n1, n2, n3, n5, n8, n28, n41, n77, n78, n79 5G NR SA: n1, n2, n3, n5, n7, n8, n12, n20, n25, n28, n38, n40, n41, n48, n66, n71, n77, n78, n79 5G NR SA: n1, n2, n3, n5, n7, n8, n12, n13, n14, n18, n20, n25, n26, n28, n29, n30, n38, n40, n41, n48, n66, n70, n71, n75, n76, n77, n78, n79
LTE-FDD B1, B2, B3, B4, B5, B7, B8, B12, B13, B14, B17, B18, B19, B20, B25, B26, B28, B29, B30, B32, B66, B71 B1, B3, B5, B7, B8, B18, B19, B20, B26, B28, B32 B2, B4, B5, B7, B12, B13, B14, B25, B26, B29, B30, B66, B71 B1, B3, B5, B8 B1, B2, B3, B4, B5, B7, B8, B12, B13, B14, B17, B18, B19, B20, B25, B26, B28, B29, B30, B32, B66, B71 B1, B3, B5, B7, B8, B20, B28, B32
LTE-TDD B34, B38, B39, B40, B41, B42, B43, B48 B38, B39, B40, B41, B42, B43 B41, B46, B48 B34, B38, B39, B40, B41 B38, B40, B42, B43
LAA - B46 -
WCDMA B1, B2, B3, B4, B5, B8 B1, B5, B8 B2, B4, B5 B1, B5, B8 B1, B2, B3, B4, B5, B6, B8, B19 B1, B2, B4, B5, B8, B19 B1, B5, B8
GNSS GPS / GLONASS / BeiDou(Compass) / Galileo / QZSS(RM500Q-GL and RM502Q-AE do not support)
Data Rate
Sub-6G 2.4Gbps (DL) / 500Mbps (UL) 5G NR SA:
2Gbps (DL) / 1Gbps (UL)
5G NR SA:
4.2Gbps (DL) / 450Mbps (UL)
5G NR SA:
2.4Gbps (DL) / 900Mbps (UL)
5G NR NSA:
2.5Gbps (DL) / 575Mbps (UL)
5G NR NSA:
5.0Gbps (DL) / 650Mbps (UL)
5G NR NSA:
3.4Gbps (DL) / 550Mbps (UL)
LTE 1.0Gbps (DL) / 200Mbps (UL) 600Mbps (DL) / 150Mbps (UL) 2.0Gbps (DL) / 200Mbps (UL) 1.6Gbps (DL) / 200Mbps (UL)
UMTS 42Mbps (DL) / 5.76Mbps (UL)
Dimensions 42.0 × 30.0 × 2.3mm 52.0 × 30.0 × 2.3mm
Note: 5G module is optonal. This table only lists some supported models after actual testing, and the pin compatibility should be tested if used with other models.

5G Module Installation Instruction

5G M.2 TO Gigabit ETH 03.png

Operation Modes

Multiple operation modes are supported when the 5G M.2 TO Gigabit ETH works with 5G modules.

USB3.1 Port Direct Connection Mode

Enabling 5G High-Speed Networking For PC / Raspberry Pi /Jetson Series / Industrial Control Host Via USB 3.1 Port.
5G M.2 TO Gigabit ETH OM01.png

Gigabit Ethernet Port Direct Connection Mode

Enabling 5G High-Speed Networking For PC / Raspberry Pi /Jetson Series / Industrial Control Host Via Gigabit Ethernet Port.
5G M.2 TO Gigabit ETH OM02.png

Router Mode

The Router Accesses The 5G Network Via a Gigabit Ethernet Port, And Then Distributes To All Devices Connected to router for 5G Networking.
5G M.2 TO Gigabit ETH OM03.png

USB 3.1 Port And Gigabit Ethernet Port Simultaneous Networking Mode

Provides 5G Network For Two Devices Separately Via USB3.1 Port And Gigabit Ethernet Port.
5G M.2 TO Gigabit ETH OM04.png

The 5G module needs to support the simultaneous conversion of USB port and Gigabit Ethernet port for networking. All 5G modules in the Compatible 5G Modules table can support this function, except for RM502Q-AE and RM520N-GL, which can only support one channel at a time.

Test Preparation

Before using 5G M.2 TO Gigabit ETH for networking, you need to prepare the following materials and refer to the hardware connection below.

Materials Preparation

  • 5G M.2 TO Gigabit ETH × 1 (The product and the included accessories as shown below):

5G M.2 TO Gigabit ETH Material01.jpg

  • Compatible 5G module x 1 (NOT included, the compatible table as shown below.)
  • 5G card x 1 (NOT included, enable 5G networking and the applicable 5G frequency band is supported by both the module and the local operator.)
  • Network cable x 1 (NOT included)
  • Host x 1 (NOT included, the host should come with a USB 3.0 interface and Ethernet port, Windows or Linux system, and support PC, tablet, Raspberry Pi, Jetson Nano, and industrial control host.)

Hardware Connection

  • Install 5G M.2 TO Gigabit ETH as shown in #5G Module Installation Instruction, insert the 5G card and install the 5G antenna. Connect the module to the 12V DC power, and then connect it to the computer through a USB cable and network cable. The hardware connection as shown below:

5G M.2 TO Gigabit ETH OM04.png

5G Networking Description

The actual test of the 5G module of SIMCom, Quectel, and Fibocom is shown in the table below:

5G Modules Usage
Vendor Module Model PC (Windows) Raspberry Pi (Raspbian) Jetson host (Ubuntu) Indicator USB3.1 Gigabit Ethernet Port
Quectel
RM500U-CNV Driver required After networking, indicators such as NET are always on Directly connect to the 5G network through the USB and Ethernet port at the same time by default
RM500Q-GL Driver required Driver free Directly access to the network through a USB connector by default, while AT commands should be set as Ethernet port mode for 5G network through the Ethernet port, and the USB connector and the Ethernet port should not be used at the same time
RM502Q-AE
RM520N-GL
RM530N-GL
SIMCom
SIM8200EA-M2 Driver required After networking, NET indicator blinks Dial-up required for USB connector Directly networking through the Ethernet Port directly
SIM8202G-M2
SIM8262E-M2 Driver required Driver free Can use USB and Ethernet ports to connect to the 5G network by default.
SIM8262A-M2
Fibocom FM160-EAU

Connect to Quectel RM5XX Series Modules

Compatible with Quectel RM5XX Series Modules

The current compatible Quectel RM5XX series 5G modules tested as shown below:

Selection Guide

5G Sub-6 RM500U-CNV RM500Q-GL 5G HAT RM502Q-AE 5G HAT RM520N-GL RM530N-GL
Picture RM500U-CN-5G-HAT-details-17-1.jpg RM500U-CN-5G-HAT-details-17-3.jpg RM500U-CN-5G-HAT-details-17-5.jpg RM520N-GL-details-2.jpg RM530N-GL-details-2.jpg
5G Standard 3GPP R15 3GPP R16
5G Chip UNISOC Qualcomm
5G Sub-6 GHz Sub-6 GHz & mmWave
Region/Operator China, EMEA, Asia-Pacific except Americas except China Global
Operating Temperature -30°C ~ +75°C
Extension Temperature -40°C ~ +85°C
Module Size 30.0 × 52.0 × 2.3 (mm)
Module Weight 8.8g 8.7g 8.8g
Power Supply 3.3~4.4V, Typ. 3.7V 3.135~4.4V, Typ. 3.7V
Power Consumption 78μA @ shutdown;

5.1mA @ hibernate;
57mA @ USB 2.0, idle;
71mA @ USB 3.0, idle

70μA @ shutdown;

4.0mA @ hibernate;
32mA @ USB 2.0, idle;
54mA @ USB 3.0, idle

80μA @ shutdown;

4.2mA @ hibernate;
39mA @ USB 2.0, idle;
54.5mA @ USB 3.0, idle

195μA @ shutdown;

4.7mA @ hibernate;
41mA @ USB 2.0, idle;
60mA @ USB 3.0, idle

173μA @ shutdown;

5.1mA @ hibernate;
51mA @ USB 2.0, idle;
69mA @ USB 3.0, idle

Frequency Band
5G 5G NR - n257, n258, n260, n261
5G NR NSA n41, n78, n79 n41, n77, n78, n79 n1, n2, n3, n5, n7, n8, n12, n20, n25, n28, n38, n40, n41, n48, n66, n71, n77, n78, n79 n1, n2, n3, n5, n7, n8, n12, n13, n14, n18, n20, n25, n26, n28, n29, n30, n38, n40, n41, n48, n66, n70, n71, n75, n76, n77, n78, n79
5G NR SA n1, n2, n3, n5, n8, n28, n41, n77, n78, n79 n1, n2, n3, n5, n7, n8, n12, n20, n25, n28, n38, n40, n41, n48, n66, n71, n77, n78, n79 n1, n2, n3, n5, n7, n8, n12, n13, n14, n18, n20, n25, n26, n28, n29, n30, n38, n40, n41, n48, n66, n70, n71, n75, n76, n77, n78, n79
LTE LTE-FDD B1, B3, B5, B8 B1, B2, B3, B4, B5, B7, B8, B12, B13, B14, B17, B18, B19, B20, B25, B26, B28, B29, B30, B32, B66, B71
LTE-TDD B34, B38, B39, B40, B41 B34, B38, B39, B40, B41, B42, B43, B48
LAA - B46
UMTS WCDMA B1, B5, B8 B1, B2, B3, B4, B5, B6, B8, B19 B1, B2, B4, B5, B8, B19
GNSS - GPS / GLONASS / BeiDou(Compass) / Galileo / QZSS (only RM520N-GL and RM530N-GL support)
Data Rate
5G mmWave - DL 4.0Gbps;
UL 1.4Gbps
5G SA Sub-6 DL 2Gbps;
UL 1Gbps
DL 2.1Gbps;
UL 900Mbps
DL 4.2Gbps;
UL 450Mbps
DL 2.4Gbps;
UL 900Mbps
5G NSA Sub-6 DL 2.2Gbps;
UL 575Mbps
DL 2.5Gbps;
UL 600/650Mbps
DL 5Gbps;
UL 650Mbps
DL 3.4Gbps;
UL 550Mbps
LTE DL 600Mbps;
UL 150Mbps
DL 1.0Gbps;
UL 200Mbps
DL 2Gbps;
UL 200Mbps
DL 1.6Gbps;
UL 200Mbps
UMTS DL 42.2Mbps;
UL 11Mbps
DL 42Mbps;
UL 5.76Mbps

Test Description

Common AT Commands

SSCOM serial assistant AT command sending and receiving test
Command Description Return Value
AT AT test command OK
ATE ATE1 sets echo
ATE0 turns off echo
OK
AT+CGMI Query module manufacture OK
AT+CGMM Query module model OK
AT+CGSN Query product serial number OK
AT+CSUB Query module version and chip OK
AT+QGMR Query the firmware version serial number OK
AT+IPR? Set the module hardware serial port baud rate +IPREX:
OK
AT+CFUN=1,1 Reset module OK
AT+QUIMSLOT? Query SIM card selection:
Return 1, select SIM card 1;
Return 2, select SIM card 2
+QUIMSLOT: 1/2
OK
AT+CPIN? Query the status of the SIM card and return READY, indicating that the SIM card can be recognized normally +CPIN: READY
AT+COPS? Query the current operator, the operator information will be returned after normal networking +COPS:
OK
AT+CEREG? Query network registration status +CEREG:
OK
AT+C5GREG? Query 5G network registration status +C5GREG:
OK
AT+QENG="servingcell" Query UE system information
AT+QNWPREFCFG="mode_pref",AUTO Auto Network Mode OK
AT+QNWPREFCFG="mode_pref",NR5G Priority 5G network OK
AT+QNWPREFCFG="nr5g_band",79 Fixed N79 band OK
AT+QNWPREFCFG="mode_pref",LTE Priority 4G network OK
For more AT commands, please refer to: [Datasheet 1]
SSCOM Serial Assistant, software download: [Software 1]

Working With Windows

Install Driver

  • After connecting the 5G M.2 TO Gigabit ETH to the computer through a double-ended USB3.0 data cable, there will be a series of devices without drivers installed on other devices:

RM500U-driver-manager.png

Download the driver[Software 2] to your computer and unzip.
  • Enter the RM500U_Driver directory.
  • Click setup.exe to install the driver. After the installation is complete, the device manager will generate the following devices:

RM500U-driver-finish.png

For the function description of the identified USB ports, please refer to [Datasheet 2].

Using 5G Internet via USB 3.1

In general, after installing the Windows driver for the RM5XX module, the module will automatically connect to the 5G network. As shown in the figure below, when connected via USB, it is recognized as "Remote NDIS Based Internet..." and can be used for 5G internet access. You can conduct 5G tests, GNSS positioning, or use SSCOM software to send AT commands to the module's AT port for testing and evaluation.
RM5XX-RNDIS.png

Network Speed Test

RM50XQ Network Speed Test
  • Install speed testing software, such as Internet speed manager and other speed testing software, you can choose to download the speed test at www.speedtest.cn/pc/download.

About the speed testing

As there will be many inconsistencies between actual and laboratory conditions that will result in 5G speeds that are not ideally stable at 100MBPS, there are the following.

  • Base station distance, the closer to the 5G base station the better the signal and the faster the speed.
  • Base station load, the fewer people using it the faster it will be, and the slower it will be during peak commuting periods.
  • Number of base stations: due to the spectrum, an equal amount of 4G coverage requires double the number of 5G base stations.
  • Operator: you need to confirm your 5G card, and whether the speed is limited, you can regularly ask the operator to reset your network.
  • Indoor is worse than outdoor: building penetration attenuation, and indoor bypass attenuation.

PS: The current number of base stations still does not have good coverage, and the speed measurement is not quite the same in different locations.

Working With Raspberry Pi

Hardware Connection

Connect the 5G M.2 TO Gigabit Eth to the Raspberry Pi through a USB 3.0 cable.

ECM Dial Networking Configuration

Step 1. Uninstall modemmanager and network-manager

sudo apt purge modemmanager -y 
sudo apt purge network-manager -y

Step 2. Test 5G Module

  • Ensure that the usb-serial driver is correctly loaded onto the module interface. Use usb-devices to check:
pi@raspberrypi:~ $ usb-devices 
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=5000 MxCh= 0 
D: Ver= 3.20 Cls=00(>ifc) Sub =00 Prot=00 MxPS= 9 #Cfgs= 1 
P: Vendor=2c7c ProdID=0800 Rev=04.14 
S: Manufacturer= 
Quectel S: Product=RM502Q-AE 
S: SerialNumber=377628d2 
C: #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=896mA 
I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option 
I: If#=0x1 Alt= 0 #EPs= 3 Cls= ff(vend.) Sub=00 Prot=00 Driver=option 
I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option 
I: If#=0x3 Alt = 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option 
I: If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver= qmi_wwan
  • Execute ls /dev/ttyUSB* to view whether ttyUSB0~ttyUSB4 are correctly identified:
  • minicom tests the transmission of AT commands:
sudo apt-get install minicom
sudo minicom - D /dev/ttyUSB2
Welcome to minicom 2.7.1

OPTIONS: I18n 
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB2

Press CTRL-A Z for help on special keys

AT
OK

Step 3. Use AT Command For Network Setting

AT+QCFG="usbnet",1 
AT+CGDCONT=1,"IPV4V6","YOUR_APN" 
AT+CFUN=1,1

Wait for the modem to restart. This may take up to 30 seconds. Once the modem reboots, minicom will be activated again.
After rebooting, open a new Linux terminal and use the 'ifconfig' or 'ipaddr' command to check the 'usbX' in the network interfaces. RM500U RNDIS DIAL.png

  • After the module restarts and the NET indicator is on, use the following command to check the network status (optional).
AT+QENG="servingcell"
  • Use the following commands to obtain IP and set DNS:
sudo dhclient -v usb0
sudo apt-get install udhcpc
sudo udhcpc -i usb0
sudo route add -net 0.0.0.0 usb0

Step 4. Test 5G Network

After dialing, the Raspberry Pi can use the following command to see if usb0 has obtained an IP. Enter the command ifconfig usb0 or ifconfig.

pi@raspberrypi:~ $ ifconfig usb0
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.225.60  netmask 255.255.255.0  broadcast 192.168.225.255
        inet6 fe80::8543:f6a0:e678:2e20  prefixlen 64  scopeid 0x20
        ether 4a:aa:f8:62:36:bb  txqueuelen 1000  (Ethernet)
        RX packets 73  bytes 5047 (4.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 100  bytes 15116 (14.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

RM500U-net-card.png

 ping waveshare.com -I usb0 
pi@raspberrypi:~ $ ping waveshare.com -I usb0
PING waveshare.com (104.26.11.134) from 192.168.10.27 usb0: 56(84) bytes of data.
64 bytes from 104.26.11.134 (104.26.11.134): icmp_seq=1 ttl=52 time=87 ms
64 bytes from 104.26.11.134 (104.26.11.134): icmp_seq=2 ttl=52 time=82 ms
64 bytes from 104.26.11.134 (104.26.11.134): icmp_seq=3 ttl=52 time=92 ms
64 bytes from 104.26.11.134 (104.26.11.134): icmp_seq=4 ttl=52 time=73 ms
64 bytes from 104.26.11.134 (104.26.11.134): icmp_seq=5 ttl=52 time=75 ms

5G Network Speed Test

In the Linux system, you can test it by installing speedtest_cli:

## Raspberry Pi OS
sudo apt install speedtest-cli
speedtest      # or use speedtest_cli

or

## OpenWRT
opkg update   
opkg install python3
opkg install python3-pip
pip install speedtest_cli 
speedtest      # or use speedtest_cli

Troubleshooting

Check whether the module recognizes the SIM card:

AT+CPIN? # should return READY

Check whether the module registers the network:

AT+CEREG? # should return 0,1 or 0,5

Check whether the APN is correct and has the IP:

AT+CGCONTRDP # should return APN details and IP address

Working With Jetson Nano

Hardware Connection

Connect 5G M.2 TO Gigabit ETH to the Jetson Nano through a double-head USB 3.0 cable.

RM5XX Module Configuration

Generally, the latest system can be directly operated without a driver after connecting the RM5XX module to the Jetson Nano. If the Linux kernel is too old to recognize the module, you can refer to the following #【Load USB Device Descriptors】 content to drive the module before 5G networking.

【Load USB Device Descriptors】

To identify the module, the VID and PID information of the module needs to be added to the file [Kernel]. The following uses RM500U as an example.

  • Viewing the VID and PID of the RM500U:
lsusb

USB TO M.2 B KEY Raspberry Pi091.png

  • Add VID and PID.
sudo apt-get install unzip
wget https://files.waveshare.com/upload/0/09/RM5XXQ_For_Jetson_nano.zip
unzip RM5XXQ_For_Jetson_nano.zip
sudo chmod 777 -R RM5XXQ_For_Jetson_nano
cd RM5XXQ_For_Jetson_nano
sudo ./install.sh
sudo reboot

Please refrain from deleting or modifying the "option" directory, "default.script", "install.sh", these four directory files, as it may affect the loading of device descriptors.

  • After successfully adding PID and restarting Jetson Nano, input the following commands, and then display USB0-USB4 five device descriptors.
ls /dev/ttyUSB*

5G M.2 TO Gigabit ETH 19.png

RNDIS Dial Networking

  • Enter minicom:
sudo apt-get install minicom
sudo minicom -D /dev/ttyUSB2
  • Send the following commands for RNDIS dial networking in minicom:
AT+CPIN?
AT+QCFG="usbnet",3
AT+CFUN=1,1

5G M.2 TO Gigabit ETH 20.png

  • After resetting the module, the NET indicator is on, and you can use the following commands to check the network status (optional).
AT+QENG="servingcell"
  • Use the following commands to get IP and set DNS:
sudo dhclient -v usb1
sudo apt-get install udhcpc
sudo udhcpc -i usb1
sudo route add -net 0.0.0.0 usb1
  • After dialing, you can see that USB1 gets the IP by the following command:
ip route

5G M.2 TO Gigabit ETH 21.png

  • Test usb1 networking status:
 ping -I usb1 www.baidu.com

5G M.2 TO Gigabit ETH 22.png

Connect to the Ethernet Port

Qualcomm

RM500Q-GL, RM502Q-AE, RM520N-GL, and RM530N-GL modules are 5G modules with Qualcomm solution. For this solution, switching the network port to access the Internet, you need to excute the following AT commands to set up.
1. Enable RTL8125:

AT+QCFG="data_interface",1,0   //NIC switched to pcie mode
AT+QCFG="pcie/mode",1          //Switch pcie to RC mode
AT+QETH="eth_driver","r8125"   //Switch the NIC driver to realtake 8125

2. Reset the module:

AT+CFUN=1,1
Note: After setting to network port mode, the USB port will not be able to access the Internet. If you need to revert to using the USB port for internet access, you can do so by following the AT command in step 3.

3. Set USB network card mode:

AT+QCFG="usbnet",2
AT+CFUN=1,1

Or

AT+QCFG="usbnet",0
AT+CFUN=1,1

Spreadtrum

The RM500U-CN and RM500U-CNV are based on Spreadtrum solutions. Normally, no settings are required upon factory default, allowing simultaneous internet access through both the USB and network ports. If the USB port enables internet access while the network port doesn't, you can execute the following AT command for configuration.

AT+QCFG="pcie/mode",1
AT+QCFG="ethernet",1
AT+QCFG="usbnet",5
AT+CFUN=1,1
AT+QNETDEVCTL=1,1,1

Set back to USB network card mode

AT+QCFG="usbnet",2
AT+CFUN=1,1

Working With SIM82XX Module

Parameter

SIM8200EA-M2 SIM8202G-M2 SIM8262E-M2 SIM8262A-M2
5G Standard 3GPP R15 3GPP R16
Chip Qualcomm Snapdragon X55 Qualcomm Snapdragon X62
Frequency Band
Sub-6G n1, n2, n3, n5, n7, n8, n12, n20, n28, n38, n40, n41, n48, n66, n71, n78 n1, n2, n3, n5, n7, n8, n12, n20, n28, n38, n40, n41, n66, n71, n77, n78, n79 n1, n3, n5, n7, n8, n20, n28, n38, n40, n41, n77, n78,n79 n2, n5, n7, n12, n13, n14, n25, n30, n41, n48, n66, n71, n77, n78, n79
LTE-FDD B1, B2, B3, B4, B5, B7, B8, B12, B13, B14, B17, B18, B19, B20, B25, B26, B28, B29, B30, B32, B66, B71 B1, B3, B5, B7, B8, B18, B19, B20, B26, B28, B32 B2, B4, B5, B7, B12, B13, B14, B25, B26, B29, B30, B66, B71
LTE-TDD B34, B38, B39, B40, B41, B42, B43, B48 B38, B39, B40, B41, B42, B43 B41, B46, B48
WCDMA B1, B2, B3, B4, B5, B8 B1, B5, B8 B2, B4, B5
GNSS GPS, GLONASS, Beidou, Galileo and QZSS
Data Rate
Sub-6G 2.4 Gbps (DL)  /  500 Mbps (UL)
LTE 1 Gbps (DL)  /  200 Mbps (UL)
HSPA+ 42 Mbps (DL)  /  5.76 Mbps (UL)
Software Function
Operating System Windows/Linux/Android
Communication Protocol TCP/IP, IPV4, IPV6, Multi-PDP, FTP, FTPS, HTTP, HTTPS, MQTTS, DNS, SSL3.0
Dail Up RNDIS, NDIS, PPP, MBIM
SMS Support MT, MO, CB, Text, PDU
Firmware Upgrade Supports firmware upgrade via USB port
Hardware Specification
SIM Card 1.8V/2.95V
Antenna For 3G/4G/5G/GNSS
6 × IPEX-4 Connectors 4 × IPEX-4 Connectors
Power Supply 3.135~4.4V
Form Factor M.2
Dimensions 52.0 × 30.0 × 2.3mm 42.0 × 30.0 × 2.3mm
Operating Temperature -30℃ ~ +70℃
Application Scenarios
Region China, US, Japan, and South Korea, Europe, the Middle East, the Americas Other regions except for the Americas Americas
The applicable area is for reference only, and the appropriate module should be selected according to the frequency band covered and supported by the local operator's network.
Typical Application CPE, Smart Gateway, Drone, Live Video, Telemedicine, Smart Security

Working with Windows PC

Install Driver

Download the SIM8200 Driver from the 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, and you can disconnect the other networks and test the mobile network.

Install Driver Manually

For some hosts, although 1_install is installed, there are no COM ports shown. In this case, you need to manually add the 2_AddManully file folder. Here is the way to add: find the unrecognized device in Device Manager, right-click to add the driver as shown below:
Power on the G module, switch it ON and the module boots, and then the PC will recognize four unrecognized devices (For some motherboards, 5 or 6 devices are recognized). Here the picture only shows 5 devices.
Sim8200 windows driver0.png
Right-click to update the driver, choose to add it manually, and select the path as SIM8200_OS_Driver\Windows. Please select it according to your system (WIN7\WIN8\WIN10), and there are up to 6 devices that can be selected, and then the PC will generate the following devices.
Sim8200 windows driver1.png
Four COM ports: AT is used for AT command control, Audio is used for dialing, Diagnostics is used for debugging, and NMEA is used for GPS.
Sim8200 windows driver2.png
Sim8200 windows driver3.png
A mobile network will be set up automatically after updating, you can disconnect other networks and test it.

Manual NDIS Dial-up Internet

After installing the driver, some computers cannot automatically dial up to access the Internet, so you need to dial manually, the operation is as follows:
Download SSCOM software, open the sim8200 AT port to send the following command:

AT$QCRMCALL=1,1 //carrier return required

Sim8200 win sendat1.png
At this point, NDIS dial-up is active, and the computer can connect to the network. If it returns "No Carrier", the dial-up may have already occurred. Try accessing the internet directly.

GPS Positioning

ANT5 for SIM8200EA-M2; ANT2 for SIM8202G-M2; ANT3 for SIM8262E-M2. For details, you can refer yo the module hardware user manual.

Connect the passive GPS antenna to the GNSS antenna interface of the module, note that place with printed side facing downwards, and place the antenna outdoors in an open area.
Then send the AT command to turn on the GPS:

AT+CGPS=1 #carriage return

Sim8200 gps info0.png
Now open the NEMA port, and you can get GPS data:
Sim8200 gps info1.png
Finally, turn off the GPS, you can use the AT command:

AT+CGPS=0

SIM Card Config

  • SIM card 1 is used by default, and you can use the following commands to switch to SIM1 when it is SIM2.
 AT+SMSIMCFG=1,1
  • Or you can directly switch to SIM2:
AT+SMSIMCFG=1,2
  • If it still does not work, consider that the flight mode is on, and turn off the flight mode with the following command:
AT+CFUN=1

Working with Raspberry Pi

The following method is for NDIS dial-up, which is temporarily unsupported for Raspbian systems dated April 4, 2022. If errors occur, please verify that the system is dated before April 4, 2022. For Raspbian systems dated after April 4, 2022, it is recommended to use the system's built-in driver for SIM820X RNDIS dial-up, which automatically initiates internal dialing SIM820X RNDIS Dail-up.

Configuration

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

sudo apt-get install p7zip-full
wget https://files.waveshare.com/upload/8/89/SIM8200_for_RPI.7z
7z x SIM8200_for_RPI.7z  -r -o./SIM8200_for_RPI
sudo chmod 777 -R SIM8200_for_RPI
cd SIM8200_for_RPI
sudo ./install.sh

Please do not modify option, qmi_wwan_simcom, default.script, install.sh, these 4 directory files, otherwise the driver cannot be loaded normally.
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

NIDS Dial-up Internet Access

cd Goonline
make
sudo ./simcom-cm

After running codes, DNS information is shown below:
SIM8200 RPI 3.png
After connecting two SIM820X to Raspberry Pi through USB, two network cards—wwan0 and wwan1 can be recognized, and the two network cards can be dialed at the same time through the following commands: (The network speed cannot be superimposed)

sudo ./simcom-cm -i wwan0
sudo ./simcom-cm -i wwan1

SIM8200X Working01.png

  • Note: If the IP cannot be obtained or the networking is not successful, use the following commands to obtain the IP and set the DNS networking:
sudo dhclient -v wwan0
sudo route add -net 0.0.0.0 wwan0

Auto-run

If you want to set the codes to auto-run after booting, you can open the Raspberry PI startup configuration script:

sudo nano /etc/rc.local

Add the startup command to the penultimate line, noting that it is the absolute path of your internet-running file, which is the line above exit 0:

sudo /home/pi/SIM8200_for_RPI/Goonline/simcom-cm &

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

Live Streaming With ffmpeg

If you are using the 2020-08-20-raspios-buster-armhf image, then you don't need to install anything as the system already comes with ffmpeg.
Going straight to the topic, assuming you already have a camera and it's properly connected to the Raspberry Pi, then proceed with the tutorial.

  • The camera must be enabled by running the raspi-config command before using it:
sudo raspi-config
Select Enable Camera, select YES

Rpi Enable Camera.png

  • If it is a camera using the CSI interface, the system cannot find the device node of /dev/video0. A line for bcm2835-v4l2 needs to be added to the /etc/modules file:
sudo nano /etc/modules

add:

bcm2835-v4l2 

Pan-tilt hat addmodules.png
Then after the system starts, the system will load the module name in this file and restart the system:

sudo reboot
ls /dev/video*

The video0 device node is found below.
SIM862E-M2 5G HAT USER GUIDE03.png
Note: If after performing the first few steps, please confirm that the operation and instructions are correct.
Suppose you are using Douyu Live now, register your account and enable the host function, open Douyu Live Host Center, and find the live broadcast settings.
SIM862E-M2 5G HAT USER GUIDE04.png
Open video plug flow setting:
SIM862E-M2 5G HAT USER GUIDE05.png
The rtmp address and live code will be obtained, and the Raspberry Pi will execute the command:

ffmpeg -f video4linux2 -s 640x480 -r 25 -i /dev/video0 -c:v h264_omx -f flv "rtmp address/live code"

For example: open a terminal first, and run the 5G network:

cd Goonline
sudo ./simcom-cm

and then open another terminal, run the following command:

ffmpeg -f video4linux2 -s 640x480 -r 25 -i /dev/video0 -c:v h264_omx -f flv "rtmp://sendtc3.douyu.com/live/9188303rTNGmU7CS?wsSecret=ef762877aae120262eaf23c3f60a28bf&wsTime=5f59dbf0&wsSeek=off&wm=0&tw=0&roirecognition=0"

rtmp://sendtc3.douyu.com/live is the address, and the next section is the live code. Enter the room number at this time, you can observe the live broadcast, the delay is about 1-2S.

How To Use OpenWrt

Introduction

Soft routing is using desktops or servers and other equipment with software. It mainly depends on the settings of the software to achieve the functions of the router. The hard routing is a unique hardware device, including a processor, power supply, and embedded software to provide router functionality.
OpenWrt is a very popular soft routing system. It is a highly modular and highly automated embedded Linux system with powerful network components and scalability. It is often used in industrial control equipment, routers, and other equipment.
In addition to the functions of general home routers, OpenWrt soft routing can also achieve port forwarding, intranet penetration, 4G networking, FTP server and more powerful functions.

Program the Image

Download the RPI OpenWrt system (minicom has been installed in this system), unzip the system in the Imgs directory, and use the burning tool to burn the system to the SD card.

Login & Initial Settings

  • After the OpenWrt system is turned on, the Raspberry Pi is equivalent to a router. Therefore, you can use a network cable to connect the Raspberry Pi to the computer according to the use of the router (you can also use the mobile phone to search for WIFI, the default name is "OpenWrt"). Enter 192.168.1.1 on the webpage, the default username: root, the default password: password, and enter the Web management interface of OpenWrt.
SIM820x OpenWrt(EN) (2).png
  • Set WIFI password: Network -> Wireless -> Modify -> Interface Configuration -> Wireless Security, as shown below:
SIM820X OpenWrt01.png
  • Modify the IPv4 address of the LAN port to a different IP that is not the same as the LAN port IP of other routers in your home. In this example, set the IP address to 192.168.10.1. (Many routers default the LAN port IP to 192.168.1.1. If you do not modify the IP of the OpenWrt, it will easily lead to conflicts and failure to connect to the Internet.)
If necessary, it is also recommended to disable the IPv6 allocation length. After the modification is completed, click "Save & Apply", and re-use 192.168.10.1 to access the OpenWrt console.
SIM820x OpenWrt(EN) (3).png
  • In addition, it is recommended to adjust the Firewall setting to connect the OpenWrt terminal and Web management interface through the local area.
  • Network —>Firewall, change all "reject" to "accept", and click "Save & Apply" after modification, as shown in the picture below:
SIM820x OpenWrt(EN) (4).png
  • And then select System -> Administration, modify the allowed interface for SSH access to "unspecified" (that is, any interface can be accessed by ssh), check the Gateway port, and click "Save & Apply" after the modification is completed.
SIM820X OpenWrt02.png
  • At this point, you can connect to the OpenWrt web management interface or terminal through the IP address of the LAN port or wan port.

Network Config

  • Insert the SIM card into the card slot of the communication module -> connect all 5G antennas, connect to the Raspberry Pi 4B via USB -> power on;
  • Change the mobile communication module to RNDIS mode (USB network sharing mode), SIM8202G can be changed by sending the following commands through minicom in Openwrt:
sudo minicom -D /dev/ttyUSB2 //(Some modules need to add PID to have ttyUSB* device character)
at+cusbcfg=usbid,1e0e,9011 //(Different models of modules have different setting methods, see the module specification for details)

To switch back to NDIS mode (factory default mode) use this command:

at+cusbcfg=usbid,1e0e,9001
  • Enter the Web management interface of OpenWrt, click Network —> Interface —> Add new interface.
OpenWrt SIM8202G 1.png
  • Create new interface: name -> SIM8202G; protocol of new interface - DHCP client; include the following interfaces - ethernet adapter: "usb0", and then submit:
OpenWrt SIM8202G 2.png
  • Confirm that the interface selection in "Firewall Settings" is "wan", click "save and apply".
OpenWrt SIM8202G 3.png
  • Wireless configuration: Network->Wireless->Edit->Interface Configuration->General Setup->Network, check SIM8202G and lan, save and apply.
OpenWrt SIM8202G 4.png
OpenWrt SIM8202G 5.png

Then the other devices can be connected to the OpenWrt wireless "OpenWrt" or through the network cable to connect to OpenWrt's own network port for networking.

5G Network Speed Test

In terms of the speed measurement, as the Raspberry Pi comes with a Gigabit Ethernet port, and there are few USB network cards above Gigabit, we use the "SpeedTest For Python" tool to test the speed with the command.
Connect to the terminal of the OpenWrt, and enter the commands one by one to test:

opkg update
opkg install python3
opkg install python3-pip
pip install speedtest_cli
speedtest or speedtest_cli
When the SIM8202G module is registered to the 5G network and the signal is good, connect to the OpenWrt hotspot (5.8G) through the mobile phone, and the mobile phone can measure the speed of about 100M. The actual speed measurement may be different and is for reference only.

Raspberry Pi minicom Serial Port Debugging

1. Insert the module into the Raspberry Pi, and turn the S_TX and S_RX of the DIP switch to ON:
SIM8262-UART.png
2. Install minicom, minicom is a serial debugging tool for the Linux platform:

sudo apt-get install minicom

Open ttyUSB2 through minicom

sudo minicom -D /dev/ttyUSB2

Send to enable UART port:

AT+CCUART=1

3. Open ttyS0 through minicom——ttyS0 is the serial port of Raspberry Pi 3B/3B+/4B, the default baud rate is 115200;

sudo minicom -D /dev/ttyS0

4. For Raspberry Pi 2B/zero, the user serial device number is ttyAMA0; you can use the following command line to confirm, serial0 is the selected serial device number, as shown below:

ls -l /dev/serial*

RM500U-CN 5G HAT 9.png

Work with Jetson Nano

It is recommended that you use the system image jetson-nano-sd-card-image (updated in October 2020). The Linux kernel version of this system is 4.9.140-tegra. The previous system is 4.4. This tutorial is based on the 4.9 kernels. If there is a difference, please update to the same version as this one, which will minimize the chance of your using it incorrectly.
If you are using other Linux systems, please download the driver under SIM8200_OS_Driver\linux and port it according to the documentation under it.

Configuration Required for First Use

  • It's best to copy and paste in case you type the wrong letters:
sudo apt-get install p7zip-full
wget https://files.waveshare.com/upload/0/07/Sim8200_for_jetsonnano.7z
7z x Sim8200_for_jetsonnano.7z -r -o./Sim8200_for_jetsonnano
sudo chmod 777 -R Sim8200_for_jetsonnano
cd Sim8200_for_jetsonnano
sudo ./install.sh

Please do not delete or modify the "options", "qmi_wwan_simcom", "default.script", "install.sh" directory files, otherwise it will affect the loading of the driver.
If there is an error, please confirm whether the system kernel is 4.9.140-tegra, and take a screenshot of the error message so that engineers can help you analyze and solve the problem.
Run "ifconfig -a" to see that WWAN0 has been generated.
Sim8200 jetsonnano 1.png

AT Test Command

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

SIM8200 RPI 1.png

5G Network

cd Goonline
make
sudo ./simcom-cm

You can successfully see that DNS has been generated at the bottom.
Sim8200 jetsonnano 2.png

Others

If you need to use the product on other systems, please download the SIM8200_OS_Driver file, and refer to the SIMCOM official documentation to add the driver.

About the Speed

Due to the differences between actual and laboratory conditions, the 5G speed will not be ideal and stable at 100MBPS. There are the following points:

  • Base station distance, the closer to the 5G base station, the better the signal and the faster the speed.
  • Base station load, the fewer people using it, the faster the speed will be, and the rush hour will be slower.
  • Number of base stations: Due to spectrum relationships, the same amount of 4G coverage requires double the number of 5G base stations.
  • Operator: You need to confirm whether your 5G card is limited in speed, you can periodically ask the operator to reset your network.
  • Indoors is worse than outdoor: building penetration loss, and indoor diffraction loss.

PS: The current number of base stations still does not have good coverage, and the speed measurement in different locations is not the same.

Using the Ethernet Port for Internet Access

The SIM8200EA-M2, SIM8202G-M2, SIM8262E-M2, and SIM8262A-M2 modules are 5G modules based on Qualcomm solutions by SIMCom. In this solution by SIMCom, the default Ethernet port allows direct internet access without the need for specific command settings.

Work with FM160-EAU Modules

Connect to Windows through USB

You need to install the Fibocom 5G driver. Once the driver is installed, you can access the internet.

Connect to Raspberry Pi through USB

Driver-free by default, supports direct access to the Internet.

Connect to Jetson Nano through USB

Driver-free by default, supports direct access to the Internet.

Using the Ethernet Port for Internet Access

The FM160-EAU module is the Qualcomm Snapdragon 5G module and the Fibocom module accesses to the network directly through the Ethernet port without command setting.
If unable to access the internet, please configure the Ethernet port using the command:

AT+GTAUTOCONNECT=1

Resource

RM50XX

Demo

Software

Datasheet

SIM82XX & FM160-EAU

Demo

Software

Document

Related Application Cases

FM160-EAU

Driver

Datasheets

FAQ

RM50XX FAQ

 Answer:

5G consumes a lot of power, and the host's USB interface might not provide enough power. Please use a USB double-plug cable to supply sufficient power to the module, as shown in the diagram.
RM500-CN-5G-HAT-FAQ.jpg

{{{5}}}


 Answer:
  • Please check whether the SIM card and the antenna are connected, and note that four antennas must be connected.
  • Please check the hardware connection and use AT Log to check the network connection.
AT+CPIN?
AT+COPS?
AT+QCSQ
AT+QENG="servingcell

RM.png

{{{5}}}


 Answer:

RM500U-CN: based on Spreadtrum.
RM500Q-GL: based on the Qualcomm platform, supports GNSS positioning, mainly for China.
RM500q-AE/RM502Q-AE: based on the Qualcomm platform, supports GNSS positioning, mainly for countries except China.

{{{5}}}


 Answer:
The 5G module requires a lot of power, especially at the moment of network access; the power supply capacity of the Raspberry Pi is limited, and the 5V (3A) power supply can be connected to the onboard TYPE-C interface.

{{{5}}}


 Answer:
When using the external power supply, RM500U does not reboot after rebooting the Raspberry Pi, you can use the commands to restart RM500U.

{{{5}}}


 Answer:
As shown below:
AT+QCFG="usbnet",0 driver type is NDIS(QMI));
AT+QCFG="usbnet",1 The driver type is ECM;  
AT+QCFG="usbnet",2 The driver type is MBIM; (RM5XXQ support)
AT+QCFG="usbnet",3 The driver type is RNDIS  (Not recommended)
AT+QCFG="usbnet",5 The driver type is NCM;

{{{5}}}


 Answer:
Use the following command to turn on the echo, and press Enter after entering: (Blind typing is required here)
ATE1 

{{{5}}}


 Answer:
It can be inquired at the following website:

https://www.frequencycheck.com

{{{5}}}


 Answer:
  • Raspberry Pi 2B/zero, with user serial device number ttyAMA0;
ls -l /dev/serial*   
  • You can use the following command line to confirm that serial0 is the selected serial device number, as follows:

RM520n-gl faq90.png

{{{5}}}


 Answer:
The USB power supply capability of the Raspberry Pi is worse than that of the computer. It needs to be connected to an external power supply. Please set the switch to EXT PWR, and connect the HAT interface to a 5V 3A power supply:

RM500U-CN 5G HAT.png

{{{5}}}


 Answer:

PCBA has 3D structure file, but the shell does not.

{{{5}}}


SIM82XX FAQ

Network

 Answer:
First of all, there are slight differences between laboratory data and actual data. In practice, due to insufficient base stations, poor signal coverage, and many 5G coverage holes, the network speed may not reach the highest peak. Under normal circumstances, the 4G upload speed is stable at 20-40Mbps, and the 5G upload speed is stable at 100Mbps (the fewer people, the faster the speed is closer to the base station.)

{{{5}}}


 Answer:
After confirming that the SIM card is open for the 5G package and has sufficient balance and local 5G network coverage, follow the steps below to fix 5G (boost network speed):
AT+CNBP? //(you can copy the band to notepad) backup band
AT+CNBP=0x100600000FC00000,0x00000000000000460000A7E2BB0F38DF,0x0000000000000000,0x00000000003FFE63000681E2090828D7. 0x00000000003FFE63000681E2090828D7 //assign the band to SIM820X
or
AT+CNBP=0x100600000FC00000,0x0000000000000046000001E2000908DD,0x00000000000000000000,0x00000000000000007042000081A0080808D7. 0x00000000000070000000010000000000 //give the frequency band to SIM820X
AT+CNMP=71 // Fixed 5G

{{{5}}}


 Answer:
  • The default is to use SIM card 1, it may be switched to SIM card 2, please use the following command to switch to SIM card 1:
  AT+SMSIMCFG=1,1
  • Or directly switch to SIM card 2:
  AT+SMSIMCFG=1,2
  • If it still doesn't work, consider that the airplane mode is turned on, and use the following command to turn off the airplane mode:
  AT+CFUN=1


Network

 Answer:

In this case, the network connection may not be successful. Follow the steps below to troubleshoot:
1. First, check the hardware:

  • Check whether the connected SIM card can communicate and surf the Internet normally on mobile phones and other devices:
  • Check whether the antenna is connected properly;
  • Check that the NET light is flashing, and it is always on, indicating that it is not registered to the network

2. After confirming that the hardware is OK, you can use the following command (AT LOG) to further confirm the network situation:

*Check the firmware version information: AT+SIMCOMATI
*Check if the sim card is in good contact: AT+CPIN?
*Turn the radio on (turn off airplane mode): AT+CFUN=1
*Check that the network mode is set to auto-seek: AT+CNMP=2
*Check the signal quality of the current environment: AT+CSQ
*Check if the registration to the network is successful: AT+CGREG?
*Check internet connection: AT+CPSI?
*Check if the APN corresponds to the operator of the SIM card: AT+CGDCONT?
*Check operator access: AT+COPS?

SIM8262E-M2 5G HAT04.png

{{{5}}}


 Answer:
Confirm that the SIM card connected to the SIM820X can use 5G in mobile phones and other devices through methods such as speed measurement:
The fact that the mobile phone can obtain 5G means that there is a 5G signal in the local area, but the mobile phone supports much more 5G frequency bands than the module, and the 5G module may not necessarily be able to register to the 5G network or ask the local operator for the 5G frequency, and the 5G module supports Under the benchmarking, or go to the local city center (where there are 5G NR cells) to test!
  • After confirming that the SIM card is normal and the local 5G network is covered, follow the steps below to fix 5G (to increase the network speed).
AT+CNBP? //(Can copy the frequency band to Notepad) Backup frequency band
AT+CNBP = 0x100600000FC00000, 0x000000000000000046004600001e2000908dd, 0x00000000000000000000000000000070420081a00808d7, 0x0000000000000000000000 //
AT+CNMP=71 // Fixed 5G
  • The 5G operator's SIM card frequency band should cover the SIM820X frequency band; sometimes the 4G network is queried, and the speed has reached 5G. You can directly measure the speed to confirm that the 5G network speed is available.
  • To confirm whether the test environment has 5G network coverage, you can install Cellular-Z on a 5G mobile phone (all major app stores can download it) to view the detailed network information:

5G APP message-1-.png
5G APP message02.png

  • Apple phones can follow the following steps to obtain band information:
    • Open the phone dialer, enter *3001#12345#*, then click the dialer button.
    • In the pop-up page, first, find and click "Serving Cell Info", then find and click "Freg Band Indicator.
    • Check according to the table issued by the operator, and you will know.

5G APP message03.jpg

{{{5}}}


 Answer:
Specific frequency bands can be fixed by the following commands, here fixed at 41 and 78:
AT+CSYSSEL="nr5g_band",41:78

{{{5}}}


 Answer:
  • It is recommended to use the more convenient RNDIS dial-up.
  • You can burn the latest Raspberry Pi Raspbian system and reconfigure the NDIS dial-up.
  • Or you can use the image of the RNDIS dial-up with drivers already configured and boot the Raspbian system image (with drivers installed).

{{{5}}}


 Answer:
  • You can use the following commands to check the connection. If the connection is OK, you can see Qualcomm device and ttyUSB0-USB4:
lsusb
ls /dev

SIM820X-ttyUSB.png

{{{5}}}


 Answer:
  • 1. It is recommended to replace the SIM card of different operators to test: different operators support different 5G frequency bands, change the card at the same time can also solve other problems with the card; if you use an IOT card, it is recommended to replace the ordinary cell phone SIM card (in the cell phone can make phone calls and send text messages SIM card) to test, there are some pure traffic card or IOT card in other devices or change the device is limited, also can not register to the 5G network, or ask the IoT card vendor to check whether the status of the card is normal.
  • 2. Please configure the APN correctly, the APN determines the way to enter the network, it is the agent of the carrier and the cellular module, sometimes the APN is able to be obtained automatically, many times you need to obtain it manually, you can set it by the following commands:
AT+CGDCONT=1,"IP","Your_APN"   // The APN of different operators is different, here the APN is changed to the corresponding operators.
  • 3. It may be that the antenna's band does not cover the band of the operators you are using, please follow up with a full band high gain antenna suitable for your local area to test, and connect all antennas, all antennas are useful, otherwise it may also cause network problems;
  • 4. If it still doesn't work, please refer to the following steps to print the network AT log and give the log to our service support team for analysis
View firmware version information:
AT+SIMCOMATI
*Check that the SIM card is in good contact:
AT+CPIN?
*Turn the RF on (turn off flight mode):
AT+CFUN=1
*Check that the network mode is set to auto-seek:
AT+CNMP=2
*Check the signal quality of the current environment:
AT+CSQ
*Check if you have successfully registered to the network:
AT+CGREG?
*Check networking:
AT+CPSI?
*Check if the APN corresponds to the operator of the SIM card:
AT+CGDCONT?
*Check operator access:
AT+COPS?

SIM820X-SIM7600X-NETWORK.png

{{{5}}}


Location

 Answer:
The antenna must be connected, and the corresponding functions are as follows:

SIM8262E-M2 5G HAT07.png

{{{5}}}


 Answer:
Plug the GPS antenna into the GNSS antenna socket (SIM8200EA is ANT5; SIM8202G is ANT2), and place the receiver in the open air (note that it cannot be tested in rainy weather). It takes about 1 minute to receive the positioning signal after power-on.

{{{5}}}


 Answer:
You can use USB to transfer data, and runs "sudo ./install" to load the USB driver. We can use the USB connector of Raspberry Pi 3B/4B to communicate, also you can take the same steps to operate in windows for USB loading. Without a USB driver, it will be identified as an unknown device.

{{{5}}}


 Answer:
Not occupied by default.

{{{5}}}


 Answer:
Make sure that your system kernel is above 5.4. Do not use sudo update to upgrade the Raspberry Pi to the latest version, otherwise, the kernel version will be upgraded to a version higher than the current firmware and it will not be recognized.

{{{5}}}


 Answer:
Yes, connect to different USB ports of different hosts, take Raspberry Pi as an example, and the instructions for dialing up the Internet at the same time are as follows:
sudo ./simcom-cm -i wwan0
sudo ./simcom-cm -i wwan1

5G-multi-usb.jpg

{{{5}}}


 Answer:

The following commands can be used to save the SMS to the module memory:

AT+CPMS="MT" 

{{{5}}}


 Answer:
The VOLTE function can be turned on with the following command:
at+voltesetting=1
 at+cnv=/nv/item_files/modem/mmode/ue_usage_setting,1,01,1

The VOLTE function can be turned off with the following command:

at+voltesetting=0
at+cnv=/nv/item_files/modem/mmode/ue_usage_setting,0,01,1

{{{5}}}


Hardware

 Answer:
  • If only the connector has come off, you can simply replace it.
  • If the copper foil has also come off, it usually cannot be repaired.
  • When removing it, please wiggle it gently from side to side and pull it out evenly, avoiding forceful pulling.
  • The IPEX4 generation connectors are relatively fragile, so please handle them with extra care.

{{{5}}}


 Answer:

You can use the following commands to check whether there is Qualcomm device. If the COM driver (included in the Raspberry Pi system) is loaded, "ttyUSB*" also will display.

lsusb
ls /dev/ttyUSB*

Lusb-ttyUSB.png

{{{5}}}


 Answer:

After prolonged operation, the lubricating oil in the rolling bearing fan may evaporate, leading to increased noise. This is a common phenomenon with rolling bearing fans and does not indicate a malfunction of the fan.

{{{5}}}


 Answer:

It requires a module with the M.2 B KEY B interface and USB function, modules without USB function (PCIE only) are not supported, the following modules have been verified:

Fibocom: FM650-CN FM160-EAU	
SIMCOM: SIM8202G-M2 SIM8262E-M2 SIM8262A-M2
Quectel: (AA version) RM520N-GL RM530N-GL RM500U-CNV RM500Q-GL/RM502Q-AE 
  • If used with other modules, ensure pin compatibility, and verify through actual testing.

The M.2B KEY connector with USB function can be used if it matches the wiring sequence shown in the figure below: RM520N-GL91.png

{{{5}}}


 Answer:
  • We adopt the RTL8125 network port scheme.
  • Theoretically, RTL8125 supports 2.5G but it is up to the actual 5G modules and the network of the test environment.

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)