RM500U-CN 5G HAT

From Waveshare Wiki
Jump to: navigation, search
M.2 TO 4G/5G HAT
RM500U-CN 5G HAT
With RM500Q-GL/RM500Q-AE/RM502Q-AE
Sim8202g-m2-5g-hat-b-6.png
With 5G Module and Case
Rm500u-cn-5g-hat-with-case-2.jpg
{{{name4}}}

{{{name5}}}

{{{name6}}}

Overview

Features

  • Integrates extensive network protocols, with multi drivers and software support, compatible with different OS including Windows / Linux / Android.
  • USB 3.1 port (USB 2.0 compatible) for connecting to PC, Raspberry Pi, or Jetson Nano host board to enable high-speed 5G communication.
  • Standard M.2 B KEY slot, compatible with different 5G modules: RM500U-CN / RM500Q-GL / RM500Q-AE / RM502Q-AE series.
  • Onboard UART, PWR, and RST control pin, built-in voltage level translator, enabled via DIP switch, for use with hosts like Raspberry Pi or Arduino.
  • Onboard USB-C connector, enabled via a switch, for connecting the standalone power supply for the module, allows more loads, a stable and flexible power supply.
  • Onboard power supply on/off switch, reset button, and LED indicator, easy to turn on/off the module or monitor the operating status.
  • 2 x SIM card slot, dual card single standby, switchable via AT command. (Some 4G/5G modules do not support dual sim cards, depending on the actual supporting modules.)
  • High-efficiency power supply circuit, up to 3A output current.

Version Options

This product is available with an optional 5G module and also with the optional case.
M.2 TO 4G-5G HAT version01.png
M.2 TO 4G-5G HAT version02.png


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, n3, n5, n8, n28A, 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

What's On Board

SIM8202G-M2-5G-HAT-B-details-intro.jpg

Number Name Description
Raspberry Pi GPIO Header Easily connect to Raspberry Pi
Switch Enable the corresponding pin
M.2 Interface Compatible with RM500U-CN/RM500Q-CN/RM500Q-GL/RM50XQ-AE and other series of 5G modules
SIM Card Holder Onboard two SIM card slots, dual card single standby. The default SIM1 card slot works, SIM2 is on the back, requires module support and must be switched through AT commands
USB 3.1 Connector Backward compatible with USB 2.0, can be used to connect to PC/Raspberry Pi/Jetson Nano, etc.
USB Type-C Connector 5V 3A input; stable and flexible power supply
Audio Port SIM82XX series support audio function, RM50XX series do not support this audio function
Antenna Connector Onboard four-way antenna, strong signal
Reset Switch One-key reset
Power Switch To facilitate the power supply mode of the control module:

——If set to USB, the module will provide power through the "⑤.USB3.1 interface";
——If set to EXT PWR, the module will provide power through the "⑥.USB Type-C interface" external power supply

Cooling Fan Cool down the Raspberry Pi and 5G module at the same time
Indicator Check the module running status anytime, anywhere

SIM8202G-M2-5G-HAT-B-details-intro02.jpg

Number Name Description
Cooling Fan Simultaneously cooling Raspberry Pi and 5G modules
SIM Card Slot 2 Switchable via AT command (module is required)
Module Setting Switch Switch A to ON for SIM7600X/A7906X/IM7906X/SIM7912X series 4G M.2 module;
Switch B to ON, for SIM8202X/SIM8200EA/SIM8262X series 5G M.2 module;
Switch C to ON, for RM50X/RM520N-GL/EM06X series 5G/LTE-A M.2 module
USB Interface Pad USB 2.0 interface pad
NAU8810X Audio Chip For SIMN7600X/SIM8XXX series module, does support RM5XX and EM06XX series module
Fan Header 5V power supply for cooling fan

Pinout Definition

After connecting to Raspberry Pi, these pins (TX, RX, D4 and D6) can be connected or not through the DIP switch:
M.2-TO-4G-5G-HAT-Pin-defined.jpg

4G/5G modules function testing

Category 4G/5G Module Network Communication GNSS Positioning Voice calls through
Earphone Port
Dual SIMs UART Interface External Power Supply?
5G SIM8202G-M2 5G/4G/3G Support Support Support Support Optional, but recommended
5G SIM8200EA-M2 5G/4G/3G Support Support Support Support Optional, but recommended
5G RM500U-CN 5G/4G/3G NOT Support NOT Support Support Support Recommended
5G RM500Q-GL 5G/4G/3G Support NOT Support Support NOT Support Recommended
5G RM500Q-AE 5G/4G/3G Support NOT Support NOT Support NOT Support Recommended
5G RM502Q-AE 5G/4G/3G Support NOT Support NOT Support NOT Support Recommended
LTE-A EM06-E LTE-A/4G/3G NOT Support NOT Support NOT Support NOT Support Optional
LTE-A A7906E LTE-A/4G/3G NOT Support NOT Support NOT Support NOT Support Optional
4G SIM7600G-H-M2 4G/3G/2G Support Support NOT Support Support Optional

4G/5G Module Compatibility

If you need to use the M.2 TO 4G/5G HAT for other 4G/5G modules, you can refer to the M.2 connection diagram below, check whether there is any pin conflict, and then connect to test:
M.2-Compatibility.jpg

Working With Windows

Install Drivers

  • After connecting the RM500U-CN 5G HAT 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 to your computer and unzip the compressed package.
  • 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

Common AT Commands

EM25X, EM06E and RM50X series 4G/5G module support AT command control, some basic AT commands are shown in the table below:

RM500U AT LOG.png
SSCOM串口助手AT指令收发实测
Command Description Return
AT AT Test Command OK
ATE ATE1 sets echo
ATE0 turns off echo
OK
AT+CGMI Query module manufactor OK
AT+CGMM Query module model OK
AT+CGSN Query product serial number (IMEI) OK
AT+CSUB Query module version and chip OK
AT+QGMR Query firmware version serial number OK
AT+IPR? Set module hardware serial port baudrate +IPR:
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 SIM card status, return READY, SIM card can normally identify +CPIN: READY
AT+COPS? Query the current operator, after normally connecting to the network, it will return the operator's information +COPS:
OK
AT+CEREG? Query the 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 Prioritize 5G network OK
AT+QNWPREFCFG="nr5g_band",79 Fixed N79 frequency band OK
AT+QNWPREFCFG="mode_pref",LTE Prioritize 4G network OK


SIM Card Selection

Dual SIM Card Switching

The 5G HAT has two SIM card slots onboard, a dual SIM card, and single standby, which can be switched and enabled by AT command.

  • SIM card 1 is selected by default, You can use the following command to query and confirm:
AT+QUIMSLOT?
  • To switch SIM card 2, please use the following command:
AT+QUIMSLOT=2
  • Switch back to SIM card 1, please use the following command:
AT+QUIMSLOT=1
  • Check whether the corresponding card slot recognizes the SIM card:
AT+CPIN?
RM500U-CN and RM500Q-GL support Dual SIMs, but RM500Q-AE and RM502Q-AE modules do not support dual SIM cards.

Windows System

RM500U-CNV MBIM Dial-up Network Access

AT+CPIN?
AT+QCFG="usbnet",2
AT+CFUN=1,1
AT+QNETDEVCTL=2,3,1

RNDIS Dial-up Internet Access

  • Open the RM50X AT port and send the following commands to dial up the Internet:
AT+QENG="servingcell"
AT+QCFG="ethernet",0
AT+QCFG="nat",1
AT+QCFG="usbnet",3
AT+QNETDEVCTL=2,3,1
AT+CFUN=1,1
  • And then you can find that there are some unrecognized devices in the Device Manager on the computer, such as RNDIS (with an exclamation mark).
  • Right-click the 'RNDIS', search "Update Divers" and select "Let me pick from a list of available drivers on my computer", then select "Network adapters" from the device list.
  • Select "Microsoft" in the manufacturer list of the Network adapters window, and then select "Remote NDIS Compatible Device" in the list on the right, which is the remote NDIS compatible device.
  • Click 'Next' and wait for the installation to finish, the RNDIS Kitl device will be installed successfully.
  • If it cannot connect to the network, please set it to obtain the IP automatically.

RNDIS Dial-up08.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

RM500U is based on the Zhanrui platform, and the dial-up Internet access in the Raspbian system of the Raspberry Pi is unstable; it is recommended to use Openwrt, Ubuntu and other mainstream Linux systems.

Ubuntu System Use

 sudo apt-get install screenfetch
 screen fetch
 uname -r

800px-RM500U ubuntu uname.png

The USB device descriptor needs to be loaded for the first use

In order to identify a module, the module's VID and PID needs to be added to the file [kernel].

  • Check the VID and PID of RM500U.
 lsusb

RM500U ubuntu lsusb.png

  • Install gcc and make tools
 sudo apt-get install gcc
 sudo apt-get install make
  • Add VID and PID:
sudo su
sudo modprobe option
sudo sh -c 'echo "2c7c 0900" > /sys/bus/usb-serial/drivers/option1/new_id'
sudo echo 2c7c 0900 > /sys/bus/usb-serial/drivers/generic/new_id

ECM Dial-up

  • Open minicom:
sudo apt-get install minicom
sudo minicom -D /dev/ttyUSB2
  • Send the following commands in minicom for ECM dialing:
AT+CPIN?
AT+QENG="servingcell"
AT+QCFG="ethernet",0
AT+QCFG="usbnet",1
AT+QNETDEVCTL=1,3,1
AT+QNETDEVCTL=1,1,1
AT+QCFG="nat",0
AT+CFUN=1,1

RM500U RNDIS DIAL.png

  • After configuring the ECM mode, CTRL+A -> X -> Yes to exit minicom.
  • Use the following commands to get IP and set DNS:
sudo dhclient -v enxe2f1fbfdd5e7
sudo apt-get install udhcpc
sudo udhcpc -i enxe2f1fbfdd5e7
sudo route add -net 0.0.0.0 enxe2f1fbfdd5e7
  • After dialing, the Raspberry Pi can see that enxe2f1fbfdd5e7 has obtained the IP through the following command (different systems are different, so the actual obtained IP shall prevail):
 ifconfig

RM500U ubuntu ifconfig.png

  • Test enxe2f1fbfdd5e7 network status:
  ping -I enxe2f1fbfdd5e7 www.baidu.com

RM500U ubuntu ping.png

Working with Raspberry Raspbian System

Add VID and PID

  • Add the following drivers for the mainstream systems:
 sudo su
 sudo modprobe option
 sudo sh -c 'echo "2c7c 0900" > /sys/bus/usb-serial/drivers/option1/new_id'
 sudo echo 2c7c 0900 > /sys/bus/usb-serial/drivers/generic/new_id
  • For other systems, you need to compile ko file to input the kernel to drive the driver:
sudo apt-get install unzip
wget https://files.waveshare.com/wiki/RM500U-CN/Driver/Linux/RM500U_FOR_RPI.zip
unzip RM500U_FOR_RPI.zip
sudo chmod 777 -R RM500U_FOR_RPI
cd RM500U_FOR_RPI
sudo ./install.sh
  • After adding PID and rebooting the Raspberry Pi, you need to input the following commands on the command line interface for USB0-USB4 USB device descriptors:
ls /dev/ttyUSB*

RM500U ubuntu ttyUSB.png

RNDIS Dial-up Internet

  • Open minicom.
sudo apt-get install minicom
sudo minicom -D /dev/ttyUSB2
  • Send the following command RNDIS dial in minicom:
AT+QCFG="nat",1
AT+CPIN?
AT+QENG="servingcell"
AT+QCFG="usbnet",3
AT+QNETDEVCTL=2,3,1
AT+CFUN=1,1

RM500U RNDIS DIAL.png

  • If the IP is not obtained or the network is not connected, you can use the following commands to get it:
sudo dhclient -v usb0
sudo apt-get install udhcpc
sudo udhcpc -i usb0
sudo route add -net 0.0.0.0 usb0
auto usb0
iface usb0 inet dhcp

Raspberry Pi Serial Port Enable

Since the Raspberry Pi serial port is used for terminal debugging by default, if you need to use the serial port, you need to modify the Raspberry Pi settings. Execute the following command to enter the Raspberry Pi configuration:

sudo raspi-config

Select Interfacing Options ->Serial ->NO ->YES to disable serial debugging.
Serial port.png
Open the /boot/config.txt file, and find the following configuration statement to enable the serial port, if not, add it at the end of the file:

enable_uart=1

Restart to take effect:

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

sudo apt-get install minicom

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:
RM500U-CN 5G HAT 9.png

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.

Flash the image

Download the RPI OpenWrt system, unzip the system in the Imgs directory, and use the flashing tool to flash the system to the SD card.

Login and initial settings

  • After the OpenWrt system is turned on, the Raspberry Pi is equivalent to a router. Therefore, 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").
  • You can set the language to auto first.
SIM820x OpenWrt(EN) (1).png
  • Enter 192.168.1.1 on the web page, the default user name: root, and the default password: password, enter the OpenWrt web management interface.
SIM820x OpenWrt(EN) (2).png
  • Set WIFI password: Network —> Wireless —> interface configuration —> Wireless security.
SIM820X OpenWrt01.png
  • Create the new interface: Network -> Interface -> Create interface.
  • 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. (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.

Configure networking

  • Insert the SIM card into the slot of the communication module -> All 5G antennas are connected, after connecting to the Raspberry Pi 4B via USB -> Power on;
  • Change the mobile communication module to RNDIS mode (USB network sharing mode), which can be changed in Openwrt by sending the following command via minicom:
sh -c 'echo "2c7c 0900" > /sys/bus/usb-serial/drivers/option1/new_id'
sudo minicom -D /dev/ttyUSB2    
AT+QENG="servingcell"
AT+QCFG="usbnet",3
AT+QNETDEVCTL=2,3,1
To switch ECM mode, use this command:
AT+QCFG="usbnet",1
  • Add new interface: Network -> Interfaces -> Add New Interface.

OpenWrt SIM8202G 1.png

  • Create new interface: name of new interface - SIM8202G; protocol of new interface - DHCP client; include the following interfaces - ethernet adapter: "usb0"; submit.

OpenWrt SIM8202G 2.png

  • Configuration interface: Firewall settings - wan; save & apply.

OpenWrt SIM8202G 3.png

  • Wireless configuration: Network -> Wireless -> Modify -> Interface Configuration -> Basic Settings -> Check SIM8202G (Defined by yourself) and lan in Network; Save & Apply.

OpenWrt SIM8202G 4.pngOpenWrt SIM8202G 5.png

Working with Jetson Nano

Hardware Connection

Connect the RM500U-CN with a double-ended usb3.0 data cable, and connect an external 5V power supply to the Type-C power supply port of the RM500U-CN 5G HAT, as shown in the figure:
RM500U-jetson.png

Load USB Device Descriptor

In order to identify the module, the module's VID and PID information needs to be added to the file [kernel].

  • View VID and PID of RM500U:
lsusb

Usb-load.png
Added VID sum PID

sudo apt-get install unzip
wget https://files.waveshare.com/upload/9/93/RM500U_CN_For_Jetson_nano.zip
unzip RM500U_CN_For_Jetson_nano.zip
sudo chmod 777 -R RM500U_CN_For_Jetson_nano
cd RM500U_CN_For_Jetson_nano
sudo ./install.sh
sudo reboot
Please do not delete or modify the four directory files of option directory, default.script and install.sh, otherwise it will affect the loading of device descriptors!

After successfully adding the PID and restarting Jetson nano, enter the following command in the command line interface to display five device symbols USB0-USB4.

ls /dev/ttyUSB*

Jetson-nano-vid.png

RNDIS

  • Enable minicom.
sudo apt-get install minicom
sudo minicom -D /dev/ttyUSB2
  • Send the following command ECM in minicom.
AT+CPIN?
AT+QCFG="usbnet",3
AT+QNETDEVCTL=2,3,1
AT+CFUN=1,1

Rndis-dial.png
After the module restarts and the NET light is on, use the following command to check the network status (optional).

AT+QENG="servingcell"

Get the IP and set the DNS with the following commands:

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 through the following command:

ip route

Ip-route.png
Test usb1 networking status.

 ping -I usb1 www.baidu.com

Ip-route2.png



Resources

Program

Assembly drawing

Software

Datasheet

Related Application Cases

Software

 Answer:
  • Install Driver using the manual update method for RM500U-CNV, RM500U-CN and other UNISOC modules
  • Install Driver manually for RM520N-GL, RM530N-GL, RM5XXQ and other Qualcomm modules
  • Ensure that the module has been properly powered on ->Open Device Manager ->Other Devices ->"the outermost folder of after driver decompression" ->Update driver ->Browse my computer to find driver files ->Select the path where the driver files are stored based on the system ->Installation complete.

Refer to Driver installation video


 Answer:

Different operators have different APNs, so it's important to distinguish and set them correctly. The configuration steps for some operators are shown below:

*China Mobile: AT+CGDCONT=1,"IPV4V6","CMNET"
*China Unicom: AT+CGDCONT=1,"IPV4V6","3GNET" 	
*China Telecom: AT+CGDCONT=1,"IPV4V6","CTNET"	
*AT&T:  AT+CGDCONT=1,"IPV4V6","PHONE"
*Vodafone: AT+CGDCONT=1,"IPV4V6","portalnmms	
*Add username and password: AT+QICSGP=1,1,"Your_apn"," Username "," Password ",1


 Answer:

There are the following dialing types:

AT+QCFG="usbnet",0 The drive type is NDIS(QMI);
AT+QCFG="usbnet",1 The drive type is ECM;
AT+QCFG="usbnet",2 The drive type is MBIM; (RM5XXQ support)
AT+QCFG="usbnet",3 The drive type is RNDIS;
AT+QCFG="usbnet",5 The drive type is NCM.

Please refer to the following document for detailed instructions:
Network card dial-up user guide


 Answer:
  • No, currently all the cellular modules on the shelves require base station communication
  • Cellular modules are nodes and cannot be used as base stations. They need to bridge communication through base stations and cannot communicate point-to-point
  • For example, the RM500U-CN 5G HAT A module Raspberry Pi dial-up Internet access, after connecting to the base station, you can use TCP, MQTT, email or WeChat to communicate with B Raspberry Pi

{{{5}}}


 Answer:

By default, it is turned off. If support is required, a customized version is needed. If VoLTE functionality is needed, it is recommended to use the SIM8XXX module, which is turned on by default or can be turned off with commands


{{{5}}}


 Answer:

RM520 and other cellular modules that support positioning can support up to 1Hz. If you want faster speeds, you can consider dedicated positioning modules


{{{5}}}


Hardware

 Answer:

Please connect to ANT3, which is the antenna interface for positioning function


 Answer:
  • The RM530N-GL has additional mmWave frequency band, and other functions are the same as those of the RM520N-GL
  • The RM530N-GL currently does not have Verizon or AT&T certification. If you need these certifications, please select RM520N-GL


 Answer:
  • No, it may come into contact with metal cover during storage and transportation, which will not affect its function at all. If you encounter any issues with use, please feel free to contact customer service at any time
  • To ensure the quality of the module, each module is tested before shipment. During the testing process, it is inevitable that the module may be slightly touched, so there may be some traces


 Answer:

The power consumption of 5G is relatively high, and the host's USB port may not provide enough power. Please use a USB double-headed cable to supply adequate power to the module, as shown in the figure:
1200px-USB-USB-PWR.jpg


 Answer:
Dual SIM cards switching demonstration

As RM500U-CN and RM500Q-GL modules support simultaneous access to two SIM cards, dual-card single standby, can be switched to enable one of the SIM cards to work through the AT command:

*SIM card 1 is used by default, you can use the following commands to check:
 AT+CMEE=2
 AT+QUIMSLOT?
*Switch to SIM card 2 using the following command:
 AT+QUIMSLOT=2
*Switch back to SIM card 1 using the following command:
 AT+QUIMSLOT=1
*Query whether the corresponding card slot identifies the SIM card:
 AT+CPIN?

If the corresponding SIM card is still not recognized, consider that the dip switches do not enable the corresponding module, please see if C corresponding dip switches are turned ON:
RM5XXX-DIP-C.png


 Answer:

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

{{{5}}}



 Answer:

There is no sequence, please connect it nearby, align it with the interface and press it in. You can refer to IPEX1-IPEX4 adapter cable installation steps

{{{5}}}


Comprehensive

 Answer:
  • Quectel and Qualcomm

Change the ETH mode

AT+QENG="servingcell"
at+qcfg="pcie/mode",1
at+qcfg="data_interface",1,0
at+qeth="eth_driver","r8125",1
AT+QMAPWAC=1
at+qmap="mpdn_rule",0,1,0,1,1,"FF:FF:FF:FF:FF:FF"
AT+CFUN=1,1

Change back to USB mode

AT+QENG="servingcell"
at+qcfg="pcie/mode",0
at+qcfg="data_interface",0,0
AT+QCFG="usbnet",0
AT+CFUN=1,1
  • Quectel and Unisoc

Set USB+ETH mode (some firmware support, after the configuration is completed, unplug and plug the USB port to enable it), RM500UCNVAAR03A05M2G_01.001.01.001 firmware, and China Unicom mobile phone card as an example to test:

AT+QENG="servingcell"
AT+QCFG="pcie/mode",1
AT+QCFG="ethernet",1
AT+QNETDEVCTL=1,3,1
AT+QCFG="usbnet",3
AT+QCFG="nat",2
AT+CGDCONT=1,"IPV4V6","3gnet"
AT+CFUN=1,1


Set network port mode

AT+QENG="servingcell"
AT+QCFG="pcie/mode",1
AT+QCFG="ethernet",1
AT+QNETDEVCTL=1,3,1
AT+QCFG="usbnet",5
AT+QCFG="ethernet",1
AT+QCFG="nat",0
AT+CFUN=1,1

Change back to USB mode

AT+QENG="servingcell"
AT+QCFG="ethernet",0
at+qcfg="pcie/mode",0
AT+QCFG="usbnet",2
AT+CFUN=1,1


 Answer:

Please use the following command to configure the dial-up mode to a stable routing mode:

AT+QCFG="nat",1


 Answer:
  • It is recommended to replace the SIM cards of different operators. Under the comparative test, the network frequency bands and base station layout supported by different operators are different. Changing the card can also eliminate problems such as card arrears.
  • Check whether the SIM card and antenna are connected, all four antennas must be connected.
  • After confirming that the hardware connection is correct, please use the following AT Log to check the network:
AT+CMEE=2
AT+CPIN?
AT+COPS?
AT+QENG="servingcell"
AT+CGDCONT?
AT+QNWPREFCFG="mode_pref"
AT+C5GREG?

RM1.png



 Answer:
  • We do not guarantee that the modules that have not been verified will be supported, but the following modules have been verified and supported:
Fibocom: FM650-CN FM160-EAU	
SIMCOM: SIM8202G-M2 SIM8262E-M2 SIM8262A-M2
Quectel:  (AA version)RM500U-CNV RM500Q-GL/RM502Q-AE RM520N-GL RM530N-GL
  • The 5G module must be purchased separately; if used with other modules, pin compatibility must be confirmed based on actual testing.
  • This is USB3.0 protocol, not supporting PCIE protocol modules, such as most WIFI modules. The FM350 series is a custom module for a certain brand's computer and does not support it either.


 Answer:
RM500U-CN: based on Unisoc platform
RM500Q-GLbased 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 and regions except for China.


 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.


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


 Answer:

Please refer to the following document for detailed instructions:
Network card dial-up user guide


 Answer:

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

ATE1 



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

RM500U-serial.png


 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:
EXT PWR.png


 Answer:

Yes, it is a Qualcomm X62 platform like RM520.


 Answer:

Please enable the network port to surf the Internet using the following command:

 AT+GTUSBMODE=36
 AT+GTAUTOCONNECT=1


 Answer:

The Jetson Nano series can be supported, and the hardware structure is tailored for the regular JETSON-NANO-LITE-DEV-KIT. If other Jetson Nano versions are used, the adapter needs to be changed to a dual male adapter cable for connection; If it is Orin Nano, please use the verified Jetpack 6.0 (Ubuntu 22.04) version system, as some system drivers are not supported


 Answer:
  • The USB TO M.2 B KEY does not have a module by default and requires an additional module for use
  • For example, after adding the SIM8262E-M2 module, it supports devices used in Linux and Windows systems. If your router is a Linux system such as OPEnwrt, it is supported
  • Refer to Openwrt router configuration steps


 Answer:
No, IMEI is an inherent attribute of each module, similar to our ID card, and cannot be changed.

{{{5}}}


 Answer:

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

{{{5}}}


 Answer:

This network port light only serves as a power indicator light and does not function as a network indicator light. It stays on when powered on

{{{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)