Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales@spotpear.com
dragon_manager@163.com
tech-support@spotpear.com
zhoujie@spotpear.com
WhatsApp:13246739196
Item | Description |
---|---|
① USB3.1 port | USB 2.0 compatible, for connecting with different hosts |
② M.2 interface | Compatible with most SIMCom and QUECTEL 4G/5G modules in M.2 form factor |
③ USB Type-C port | 5V 3A input, stable and flexible power supply |
④ Reset switch | One-click reset |
⑤ Module fixing holes | Supports 3042 / 3052 package modules |
⑥ Antenna interface | Onboard four antennas |
⑦ Module settings switch | Switch A to ON for SIM7600X / A7906X / SIM7906X / SIM7912X series 4G M.2 modules |
⑧ Power supply switch | When set to USB, the module is powered via the "① USB3.1 port" |
⑨ LED indicators | Convenient to check the operating status of the module |
⑩ Audio interface | The SIM82XX and SIM7600X series support audio function, which is not currently supported by the RM5XX series |
⑪ eSIM card slot | Package QFN-8 (5 × 6), selectable via AT command configuration |
⑫ Nano SIM card slots | Onboard dual SIM card slots, dual card single standby |
⑬ Level conversion circuit | Used for compatibility between different voltage logic, ensuring stable operation of peripheral interfaces |
⑭ Reserved UART and audio interface pads | Convenient for users to expand debugging and external audio connection |
⑮ Mounting hole | Install with screws to Jetson Orin |
⑯ Audio driver circuit | Provides amplification and processing capabilities for audio output and input |
⑰ Power circuit | Provides stable power supply for the entire board and modules, supports current protection and voltage stabilization functions |
⑱ Fan interface | Can be used to connect to a 5V cooling fan |
Command | Description | Return |
---|---|---|
AT | AT Test Command | OK |
ATE | ATE1 sets echo ATE0 closes echo | OK |
AT+CGMI | Query module manufacturer | 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 the firmware version serial number | OK |
AT+IPR? | Set the module hardware serial port baud rate | +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 the status of the SIM card, return READY, 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 | Automatic network mode | OK |
AT+QNWPREFCFG="mode_pref",NR5G | Prioritize 5G network | OK |
AT+QNWPREFCFG="nr5g_band",79 | Fixed N79 band | OK |
AT+QNWPREFCFG="mode_pref",LTE | Prioritize 4G network | OK |
RM520N-GL 5G HAT is a 5G expansion board designed specifically for Raspberry Pi, which you can connect to a Raspberry Pi 4B/3B+/3B, or a CM4 board. But note that the kit includes a metal case, which is only suitable for the Raspberry Pi 4B motherboard. Below, we will gradually use the RM520N-GL module step by step from several aspects, including hardware connection, software settings, 5G network dial-up internet access, GNSS positioning, and programming control.
To identify the module and add the VID and PID information of the module to the file [kernel].
lsusb
sudo su sudo modprobe option sudo sh -c 'echo "2c7c 0801" > /sys/bus/usb-serial/drivers/option1/new_id'
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*
sudo apt-get install minicom sudo minicom -D /dev/ttyUSB2
AT+CPIN? AT+QCFG="usbnet",3 AT+CFUN=1,1
AT+QENG="servingcell"
sudo dhclient -v usb1 sudo apt-get install udhcpc sudo udhcpc -i usb1 sudo route add -net 0.0.0.0 usb1
ip route
ping -I usb1 www.baidu.com
The RM520N-GL 5G HAT can also be directly connected via a USB cable to link the module's USB 3.0 interface with the USB 3.0 interface of a Windows computer. Additionally, an external 5V power supply needs to be connected to the EXT PWR interface on the board to ensure sufficient 5G communication power. The connection result is similar to the following image:
Download RM520N-GL Windows NDIS driver
RM520N-GL series also can choose MBIM to surf the Internet, as shown below:
AT+QENG="servingcell" AT+QCFG="usbnet",2 AT+CFUN=1,1
Due to many inconsistencies between actual and laboratory conditions, the 5G speed cannot be ideally maintained at 100MBPS. The following points:
PS: The current number of base stations still does not have good coverage, and the speed measurement in different locations is not the same.
1. Connect the passive GPS antenna to the ANT3 interface of the module, note that place with printed side facing downwards, and place the antenna outdoors in an open area.
2. Then use the AT port to send AT commands:
AT+QGPS=1 // Turn on GPS positioning
AT+QGPSLOC=0 //Get GPS positioning
AT+QGPS=0 //Turn off GPS positioning
3. Open the NMEA port to receive satellite data:
Refer to Driver installation video
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
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
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
RM520 and other cellular modules that support positioning can support up to 1Hz. If you want faster speeds, you can consider dedicated positioning modules
Please connect to ANT3, which is the antenna interface for positioning function
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:
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:
PCBA has 3D structure file, but the shell does not.
Please refer to RMXXX 5G HAT assembly tutorial
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
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
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
Please use the following command to configure the dial-up mode to a stable routing mode:
AT+QCFG="nat",1
AT+CMEE=2 AT+CPIN? AT+COPS? AT+QENG="servingcell" AT+CGDCONT? AT+QNWPREFCFG="mode_pref" AT+C5GREG?
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
Please refer to the following document for detailed instructions:
Network card dial-up user guide
Use the following command to turn on the echo, and press Enter after entering: (Blind typing is required here)
ATE1
It can be inquired at the following website:
https://www.frequencycheck.com
ls -l /dev/serial*
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:
Yes, it is a Qualcomm X62 platform like RM520.
Please enable the network port to surf the Internet using the following command:
AT+GTUSBMODE=36 AT+GTAUTOCONNECT=1
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
The PCBA has 3D structure file, but the casing does not.
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
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Email: services01@spotpear.com