> For the complete documentation index, see [llms.txt](https://wiki.openelab.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.openelab.io/aiot/waveshare/waveshare-rm500u-cnv-raspberry-pi-5g-4g-3g-hat.md). Agents can also search and read this documentation through its [MCP server](https://wiki.openelab.io/~gitbook/mcp).

# Waveshare RM500U-CNV Raspberry PI 5G/4G/3G Hat

{% hint style="info" %}
[**View Waveshare RM500U-CNV Raspberry PI 5G/4G/3G Hat on OpenELAB**](https://openelab.io/products/rm500u-cnvraspberrypi5g4g3ghat)

**Store SKU / option:** `Waveshare-22531`, `Waveshare-21705`. Match the purchased model and revision to the official reference below.
{% endhint %}

### Waveshare RM500U-CNV Raspberry PI 5G/4G/3G Hat

***

### Product Link

{% embed url="<https://openelab.io/products/rm500u-cnvraspberrypi5g4g3ghat>" %}

### 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.

<figure><img src="https://www.waveshare.com/w/upload/6/66/M.2_TO_4G-5G_HAT_version01.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://www.waveshare.com/w/upload/6/60/M.2_TO_4G-5G_HAT_version02.png" alt=""><figcaption></figcaption></figure>

### Selection Guide

| 5G Sub-6              | [RM500U-CNV](https://www.waveshare.com/wiki/RM500U-CNV)                                                                                                                                                         | [RM500Q-GL 5G HAT](https://www.waveshare.com/wiki/RM500Q-GL_5G_HAT)                                                                                                                                             | [RM502Q-AE 5G HAT](https://www.waveshare.com/wiki/RM502Q-AE_5G_HAT)                                                                                                                                             | [RM520N-GL](https://www.waveshare.com/wiki/RM520N-GL)                                                                                                      | [RM530N-GL](https://www.waveshare.com/wiki/RM530N-GL)                                                                                                      |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Picture               | [![RM500U-CN-5G-HAT-details-17-1.jpg](https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=RM500U-CN-5G-HAT-details-17-1.jpg\&width=120)](https://www.waveshare.com/wiki/File:RM500U-CN-5G-HAT-details-17-1.jpg) | [![RM500U-CN-5G-HAT-details-17-3.jpg](https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=RM500U-CN-5G-HAT-details-17-3.jpg\&width=120)](https://www.waveshare.com/wiki/File:RM500U-CN-5G-HAT-details-17-3.jpg) | [![RM500U-CN-5G-HAT-details-17-5.jpg](https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=RM500U-CN-5G-HAT-details-17-5.jpg\&width=120)](https://www.waveshare.com/wiki/File:RM500U-CN-5G-HAT-details-17-5.jpg) | [![RM520N-GL-details-2.jpg](https://www.waveshare.com/w/upload/4/47/RM520N-GL-details-2.jpg)](https://www.waveshare.com/wiki/File:RM520N-GL-details-2.jpg) | [![RM530N-GL-details-2.jpg](https://www.waveshare.com/w/upload/5/57/RM530N-GL-details-2.jpg)](https://www.waveshare.com/wiki/File: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     | <p>78μA @ shutdown;<br></p><p>5.1mA @ hibernate;<br>57mA @ USB 2.0, idle;<br>71mA @ USB 3.0, idle</p>                                                                                                           | <p>70μA @ shutdown;<br></p><p>4.0mA @ hibernate;<br>32mA @ USB 2.0, idle;<br>54mA @ USB 3.0, idle</p>                                                                                                           | <p>80μA @ shutdown;<br></p><p>4.2mA @ hibernate;<br>39mA @ USB 2.0, idle;<br>54.5mA @ USB 3.0, idle</p>                                                                                                         | <p>195μA @ shutdown;<br></p><p>4.7mA @ hibernate;<br>41mA @ USB 2.0, idle;<br>60mA @ USB 3.0, idle</p>                                                     | <p>173μA @ shutdown;<br></p><p>5.1mA @ hibernate;<br>51mA @ USB 2.0, idle;<br>69mA @ USB 3.0, idle</p>                                                     |
| 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             | -                                                                                                                                                                                                               | <p>DL 4.0Gbps；<br>UL 1.4Gbps</p>                                                                                                                                                                                |                                                                                                                                                                                                                 |                                                                                                                                                            |                                                                                                                                                            |
| 5G SA Sub-6           | <p>DL 2Gbps;<br>UL 1Gbps</p>                                                                                                                                                                                    | <p>DL 2.1Gbps;<br>UL 900Mbps</p>                                                                                                                                                                                | <p>DL 4.2Gbps;<br>UL 450Mbps</p>                                                                                                                                                                                | <p>DL 2.4Gbps;<br>UL 900Mbps</p>                                                                                                                           |                                                                                                                                                            |
| 5G NSA Sub-6          | <p>DL 2.2Gbps;<br>UL 575Mbps</p>                                                                                                                                                                                | <p>DL 2.5Gbps;<br>UL 600/650Mbps</p>                                                                                                                                                                            | <p>DL 5Gbps;<br>UL 650Mbps</p>                                                                                                                                                                                  | <p>DL 3.4Gbps;<br>UL 550Mbps</p>                                                                                                                           |                                                                                                                                                            |
| LTE                   | <p>DL 600Mbps;<br>UL 150Mbps</p>                                                                                                                                                                                | <p>DL 1.0Gbps;<br>UL 200Mbps</p>                                                                                                                                                                                | <p>DL 2Gbps;<br>UL 200Mbps</p>                                                                                                                                                                                  | <p>DL 1.6Gbps;<br>UL 200Mbps</p>                                                                                                                           |                                                                                                                                                            |
| UMTS                  | <p>DL 42.2Mbps;<br>UL 11Mbps</p>                                                                                                                                                                                | <p>DL 42Mbps;<br>UL 5.76Mbps</p>                                                                                                                                                                                |                                                                                                                                                                                                                 |                                                                                                                                                            |                                                                                                                                                            |

### What's On Board

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=SIM8202G-M2-5G-HAT-B-details-intro.jpg&#x26;width=800" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="123">Number</th><th width="228">Name</th><th>Description</th></tr></thead><tbody><tr><td>①</td><td>Raspberry Pi GPIO Header</td><td>Easily connect to Raspberry Pi</td></tr><tr><td>②</td><td>Switch</td><td>Enable the corresponding pin</td></tr><tr><td>③</td><td>M.2 Interface</td><td>Compatible with RM500U-CN/RM500Q-CN/RM500Q-GL/RM50XQ-AE and other series of 5G modules</td></tr><tr><td>④</td><td>SIM Card Holder</td><td>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</td></tr><tr><td>⑤</td><td>USB 3.1 Connector</td><td>Backward compatible with USB 2.0, can be used to connect to PC/Raspberry Pi/Jetson Nano, etc.</td></tr><tr><td>⑥</td><td>USB Type-C Connector</td><td>5V 3A input; stable and flexible power supply</td></tr><tr><td>⑦</td><td>Audio Port</td><td>SIM82XX series support audio function, RM50XX series do not support this audio function</td></tr><tr><td>⑧</td><td>Antenna Connector</td><td>Onboard four-way antenna, strong signal</td></tr><tr><td>⑨</td><td>Reset Switch</td><td>One-key reset</td></tr><tr><td>⑩</td><td>Power Switch</td><td><p>To facilitate the power supply mode of the control module:</p><p>——If set to USB, the module will provide power through the "⑤.USB3.1 interface";<br>——If set to EXT PWR, the module will provide power through the "⑥.USB Type-C interface" external power supply</p></td></tr><tr><td>⑪</td><td>Cooling Fan</td><td>Cool down the Raspberry Pi and 5G module at the same time</td></tr><tr><td>⑫</td><td>Indicator</td><td>Check the module running status anytime, anywhere</td></tr></tbody></table>

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=SIM8202G-M2-5G-HAT-B-details-intro02.jpg&#x26;width=800" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="116">Number</th><th width="210">Name</th><th>Description</th></tr></thead><tbody><tr><td>⑬</td><td>Cooling Fan</td><td>Simultaneously cooling Raspberry Pi and 5G modules</td></tr><tr><td>⑭</td><td>SIM Card Slot 2</td><td>Switchable via AT command (module is required)</td></tr><tr><td>⑮</td><td>Module Setting Switch</td><td>Switch A to ON for SIM7600X/A7906X/IM7906X/SIM7912X series 4G M.2 module;<br>Switch B to ON, for SIM8202X/SIM8200EA/SIM8262X series 5G M.2 module;<br>Switch C to ON, for RM50X/RM520N-GL/EM06X series 5G/LTE-A M.2 module</td></tr><tr><td>⑯</td><td>USB Interface Pad</td><td>USB 2.0 interface pad</td></tr><tr><td>⑰</td><td>NAU8810X Audio Chip</td><td>For SIMN7600X/SIM8XXX series module, does support RM5XX and EM06XX series module</td></tr><tr><td>⑱</td><td>Fan Header</td><td>5V power supply for cooling fan</td></tr></tbody></table>

#### Pinout Definition

After connecting to Raspberry Pi, these pins (TX, RX, D4 and D6) can be connected or not through the DIP switch:

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=M.2-TO-4G-5G-HAT-Pin-defined.jpg&#x26;width=800" alt=""><figcaption></figcaption></figure>

**4G/5G modules function testing**

| Category | 4G/5G Module  | Network Communication | GNSS Positioning | <p>Voice calls through<br>Earphone Port</p> | 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:

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=M.2-Compatibility.jpg&#x26;width=800" alt=""><figcaption></figcaption></figure>

### 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:

<figure><img src="https://www.waveshare.com/w/upload/0/0e/RM500U-driver-manager.png" alt=""><figcaption></figcaption></figure>

* Download the [driver](https://www.waveshare.net/w/upload/6/65/RM500U_Driver_Windows.zip) 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:

<figure><img src="https://www.waveshare.com/w/upload/6/6e/RM500U-driver-finish.png" alt=""><figcaption></figcaption></figure>

#### 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:

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=RM500U_AT_LOG.png&#x26;width=320" alt=""><figcaption></figcaption></figure>

SSCOM串口助手AT指令收发实测

| Command                         | Description                                                                                                     | Return                      |
| ------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------- |
| AT                              | AT Test Command                                                                                                 | OK                          |
| ATE                             | <p>ATE1 sets echo<br>ATE0 turns off echo</p>                                                                    | 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                                                                        | <p>+IPR:<br>OK</p>          |
| AT+CFUN=1,1                     | Reset module                                                                                                    | OK                          |
| AT+QUIMSLOT?                    | <p>Query SIM card selection：<br>Return 1, select SIM card 1;<br>Return 2, select SIM card 2</p>                 | <p>+QUIMSLOT: 1/2<br>OK</p> |
| 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 | <p>+COPS:<br>OK</p>         |
| AT+CEREG?                       | Query the network registration status                                                                           | <p>+CEREG:<br>OK</p>        |
| AT+C5GREG?                      | Query 5G network registration status                                                                            | <p>+C5GREG:<br>OK</p>       |
| 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                          |

<br>

#### SIM Card Selection

<figure><img src="https://www.waveshare.com/w/upload/4/45/Quectel-dual-sim.jpg" alt=""><figcaption></figcaption></figure>

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:

{% code collapsedlinecount="10" %}

```
AT+QUIMSLOT?
```

{% endcode %}

* To switch SIM card 2, please use the following command:

{% code collapsedlinecount="10" %}

```
AT+QUIMSLOT=2
```

{% endcode %}

* Switch back to SIM card 1, please use the following command:

{% code collapsedlinecount="10" %}

```
AT+QUIMSLOT=1
```

{% endcode %}

* Check whether the corresponding card slot recognizes the SIM card:

{% code collapsedlinecount="10" %}

```
AT+CPIN?
```

{% endcode %}

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**

{% code collapsedlinecount="10" %}

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

{% endcode %}

#### RNDIS Dial-up Internet Access

* Open the RM50X AT port and send the following commands to dial up the Internet:

{% code collapsedlinecount="10" %}

```
AT+QENG="servingcell"
AT+QCFG="ethernet",0
AT+QCFG="nat",1
AT+QCFG="usbnet",3
AT+QNETDEVCTL=2,3,1
AT+CFUN=1,1
```

{% endcode %}

* 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.
*

{% code collapsedlinecount="10" %}

```
<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=RNDIS_Dial-up01.png&#x26;width=120" alt=""><figcaption></figcaption></figure>
```

{% endcode %}

*

{% code collapsedlinecount="10" %}

```
<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=RNDIS_Dial-up02.png&#x26;width=120" alt=""><figcaption></figcaption></figure>
```

{% endcode %}

*

{% code collapsedlinecount="10" %}

```
<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=RNDIS_Dial-up03.png&#x26;width=120" alt=""><figcaption></figcaption></figure>
```

{% endcode %}

*

{% code collapsedlinecount="10" %}

```
<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=RNDIS_Dial-up04.png&#x26;width=120" alt=""><figcaption></figcaption></figure>
```

{% endcode %}

* If it cannot connect to the network, please set it to obtain the IP automatically.

<figure><img src="https://www.waveshare.com/w/upload/5/56/RNDIS_Dial-up08.png" alt=""><figcaption></figcaption></figure>

#### 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](http://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

* Raspberry Pi programming [Ubuntu 22.04 system](https://old-releases.ubuntu.com/releases/22.04.1/ubuntu-22.04.1-preinstalled-desktop-arm64+raspi.img.xz) image.
* Confirm system version information:

{% code collapsedlinecount="10" %}

```
 sudo apt-get install screenfetch
 screen fetch
 uname -r
```

{% endcode %}

<figure><img src="https://www.waveshare.com/w/upload/3/3a/800px-RM500U_ubuntu_uname.png" alt=""><figcaption></figcaption></figure>

#### 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.

{% code collapsedlinecount="10" %}

```
 lsusb
```

{% endcode %}

<figure><img src="https://www.waveshare.com/w/upload/b/b2/RM500U_ubuntu_lsusb.png" alt=""><figcaption></figcaption></figure>

* Install gcc and make tools

{% code collapsedlinecount="10" %}

```
 sudo apt-get install gcc
 sudo apt-get install make
```

{% endcode %}

* Add VID and PID:

{% code collapsedlinecount="10" %}

```
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
```

{% endcode %}

#### ECM Dial-up

* Open minicom:

{% code collapsedlinecount="10" %}

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

{% endcode %}

* Send the following commands in minicom for ECM dialing:

{% code collapsedlinecount="10" %}

```
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
```

{% endcode %}

<figure><img src="https://www.waveshare.com/w/upload/1/10/RM500U_RNDIS_DIAL.png" alt=""><figcaption></figcaption></figure>

* After configuring the ECM mode, CTRL+A -> X -> Yes to exit minicom.
* Use the following commands to get IP and set DNS:

{% code collapsedlinecount="10" %}

```
sudo dhclient -v enxe2f1fbfdd5e7
sudo apt-get install udhcpc
sudo udhcpc -i enxe2f1fbfdd5e7
sudo route add -net 0.0.0.0 enxe2f1fbfdd5e7
```

{% endcode %}

* 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):

{% code collapsedlinecount="10" %}

```
 ifconfig
```

{% endcode %}

<figure><img src="https://www.waveshare.com/w/upload/6/6c/RM500U_ubuntu_ifconfig.png" alt=""><figcaption></figcaption></figure>

* Test enxe2f1fbfdd5e7 network status:

{% code collapsedlinecount="10" %}

```
  ping -I enxe2f1fbfdd5e7 www.baidu.com
```

{% endcode %}

<figure><img src="https://www.waveshare.com/w/upload/c/c2/RM500U_ubuntu_ping.png" alt=""><figcaption></figcaption></figure>

### Working with Raspbian System

#### Add VID & PID

{% code collapsedlinecount="10" %}

```
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
```

{% endcode %}

* After successfully adding the PID and restarting the Raspberry Pi, enter the following command in the command line interface, and five device descriptors USB0-UBS4 will appear:

{% code collapsedlinecount="10" %}

```
ls /dev/ttyUSB*
```

{% endcode %}

<figure><img src="https://www.waveshare.com/w/upload/b/be/RM500U_ubuntu_ttyUSB.png" alt=""><figcaption></figcaption></figure>

#### RNDIS Dial-up Internet

* Open minicom.

{% code collapsedlinecount="10" %}

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

{% endcode %}

* Send the following command RNDIS dial in minicom:

{% code collapsedlinecount="10" %}

```
AT+QCFG="nat",1
AT+CPIN?
AT+QENG="servingcell"
AT+QCFG="usbnet",3
AT+QNETDEVCTL=2,3,1
AT+CFUN=1,1
```

{% endcode %}

<figure><img src="https://www.waveshare.com/w/upload/1/10/RM500U_RNDIS_DIAL.png" alt=""><figcaption></figcaption></figure>

* If the IP is not obtained or the network is not connected, you can use the following commands to get it:

{% code collapsedlinecount="10" %}

```
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
```

{% endcode %}

#### 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:

{% code collapsedlinecount="10" %}

```
sudo raspi-config
```

{% endcode %}

Select Interfacing Options ->Serial ->NO ->YES to disable serial debugging.\
\
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:

<figure><img src="https://www.waveshare.com/w/upload/4/45/Serial_port.png" alt=""><figcaption></figcaption></figure>

{% code collapsedlinecount="10" %}

```
enable_uart=1
```

{% endcode %}

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:\
\
2\. Install minicom, minicom is a serial debugging tool for the Linux platform:

<figure><img src="https://www.waveshare.com/w/upload/a/ac/Minicom-serial.png" alt=""><figcaption></figcaption></figure>

{% code collapsedlinecount="10" %}

```
sudo apt-get install minicom
```

{% endcode %}

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

{% code collapsedlinecount="10" %}

```
sudo minicom -D /dev/ttyS0
```

{% endcode %}

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:

{% code collapsedlinecount="10" %}

```
ls -l /dev/serial*
```

{% endcode %}

<figure><img src="https://www.waveshare.com/w/upload/2/22/RM500U-CN_5G_HAT_9.png" alt=""><figcaption></figcaption></figure>

#### 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.

**Burn the image**

Download the [RPI OpenWrt system](https://files.waveshare.com/upload/b/b7/Sim820x_for_OpenWrt_Linux-5.4.86.7z), unzip the system in the Imgs directory, and use the burning tool to burn 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.

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=SIM820x_OpenWrt%28EN%29_%281%29.png&#x26;width=900" alt=""><figcaption></figcaption></figure>

* 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.

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=SIM820x_OpenWrt%28EN%29_%282%29.png&#x26;width=700" alt=""><figcaption></figcaption></figure>

* Set WIFI password: Network —> Wireless —> interface configuration —> Wireless security.

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=SIM820X_OpenWrt01.png&#x26;width=900" alt=""><figcaption></figcaption></figure>

* 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.

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=SIM820x_OpenWrt%28EN%29_%283%29.png&#x26;width=900" alt=""><figcaption></figcaption></figure>

* 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:

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=SIM820x_OpenWrt%28EN%29_%284%29.png&#x26;width=900" alt=""><figcaption></figcaption></figure>

* 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.

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=SIM820X_OpenWrt02.png&#x26;width=900" alt=""><figcaption></figcaption></figure>

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:

{% code collapsedlinecount="10" %}

```
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
```

{% endcode %}

To switch ECM mode, use this command:

{% code collapsedlinecount="10" %}

```
AT+QCFG="usbnet",1
```

{% endcode %}

* Add new interface: Network -> Interfaces -> Add New Interface.

<figure><img src="https://www.waveshare.com/w/upload/e/e6/OpenWrt_SIM8202G_1.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://www.waveshare.com/w/upload/3/31/OpenWrt_SIM8202G_2.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://www.waveshare.com/w/upload/e/eb/OpenWrt_SIM8202G_3.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://www.waveshare.com/w/upload/b/b4/OpenWrt_SIM8202G_4.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://www.waveshare.com/w/upload/d/dc/OpenWrt_SIM8202G_5.png" alt=""><figcaption></figcaption></figure>

### 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](https://www.waveshare.com/w/upload/a/ad/RM500U-jetson.png)](https://www.waveshare.com/wiki/File:RM500U-jetson.png)<br>

#### 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:

{% code collapsedlinecount="10" %}

```
lsusb
```

{% endcode %}

[![Usb-load.png](https://www.waveshare.com/w/upload/6/6b/Usb-load.png)](https://www.waveshare.com/wiki/File:Usb-load.png)\
Added VID sum PID

{% code collapsedlinecount="10" %}

```
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
```

{% endcode %}

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.

{% code collapsedlinecount="10" %}

```
ls /dev/ttyUSB*
```

{% endcode %}

<figure><img src="https://www.waveshare.com/w/upload/2/28/Jetson-nano-vid.png" alt=""><figcaption></figcaption></figure>

#### RNDIS

* Enable minicom.

{% code collapsedlinecount="10" %}

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

{% endcode %}

* Send the following command ECM in minicom.

{% code collapsedlinecount="10" %}

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

{% endcode %}

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

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=Rndis-dial.png&#x26;width=600" alt=""><figcaption></figcaption></figure>

{% code collapsedlinecount="10" %}

```
AT+QENG="servingcell"
```

{% endcode %}

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

{% code collapsedlinecount="10" %}

```
sudo dhclient -v usb1
sudo apt-get install udhcpc
sudo udhcpc -i usb1
sudo route add -net 0.0.0.0 usb1
```

{% endcode %}

After dialing, you can see that usb1 gets the IP through the following command:

{% code collapsedlinecount="10" %}

```
ip route
```

{% endcode %}

Test usb1 networking status.<br>

<figure><img src="https://www.waveshare.com/w/upload/1/13/Ip-route.png" alt=""><figcaption></figcaption></figure>

{% code collapsedlinecount="10" %}

```
 ping -I usb1 www.baidu.com
```

{% endcode %}

<figure><img src="https://www.waveshare.com/w/A6Y79bcq/Kdy80nYY.php?f=Ip-route2.png&#x26;width=600" alt=""><figcaption></figcaption></figure>

### Resources

#### Program

* [Example program](https://files.waveshare.com/upload/d/d3/RM500U_for_RPI.zip)

#### Assembly drawing

* [Case Assembly Drawing](https://www.waveshare.com/w/upload/8/8b/PI4-CASE-4G-5G-M.2-Assembly-cn.jpg)

#### Software

* [RM500U serial debugging assistant](https://files.waveshare.com/upload/7/7a/RM500U-CN-sscom.zip)
* [RM500U\_Windows\_NDIS&\&MBIM Driver](https://files.waveshare.com/upload/6/65/RM500U_Driver_Windows.zip)
* [RM500U\_Windows\_RNDIS&\&ECM Driver](https://files.waveshare.com/upload/8/8d/Quectel_Windows_USB_Driver\(U\)_For_ECM_RNDIS_V1.0.13.zip)

#### Datasheet

* [RG500U-CN AT command](https://files.waveshare.com/upload/c/cf/RG500U-CN_AT_command.pdf)<br>
* [RG500U-CN\&RM500U-CN Driver User Guide](https://files.waveshare.com/upload/7/72/RS485-TO-LTE-CAT4-\(EU\)-EN.pdf)<br>

#### Related Application Cases

* [SIM820X RNDIS Dial-Up](https://www.waveshare.com/wiki/SIM820X_RNDIS_Dial-Up)

## FAQ

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion1"><strong>What if it powers off?</strong></a></summary>

As the 5G power consumption is relatively high, and the host computer's USB port may not be able to provide it with sufficient power, please refer to the USB dual plug cable to provide the module with sufficient power, as shown in the figure:\
[![RM500-CN-5G-HAT-FAQ.jpg](https://www.waveshare.com/w/upload/c/cc/RM500-CN-5G-HAT-FAQ.jpg)](https://www.waveshare.com/wiki/File:RM500-CN-5G-HAT-FAQ.jpg)

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion2"><strong>How to switch the card slot?</strong></a></summary>

RM500U-CN and RM500Q-GL modules support installing two SIM cards at the same time, and you can enable one SIM card to work with AT commands:

{% code collapsedlinecount="10" %}

```
*Select SIM card 1 by default, and check it with the following command:  
 AT+QUIMSLOT?
*Switch it to SIM card 2 with the following command:  
 AT+QUIMSLOT=2
*Switch it to SIM card 1 with the following command:  
 AT+QUIMSLOT=1
*Query whether the corresponding card slot identify the SIM card:  
 AT+CPIN?
```

{% endcode %}

[![Quectel-dual-sim.jpg](https://www.waveshare.com/w/upload/4/45/Quectel-dual-sim.jpg)](https://www.waveshare.com/wiki/File:Quectel-dual-sim.jpg)

* If the corresponding SIM card can not be identified, it may because the DIP switch has not enable the corresponding module, please make the DIP switch corresponding to C turn on:<br>

[![RM5XXX-DIP-C.png](https://www.waveshare.com/w/upload/4/4f/RM5XXX-DIP-C.png)](https://www.waveshare.com/wiki/File:RM5XXX-DIP-C.png)

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion3"><strong>How to set Ethernet port mode?</strong></a></summary>

Quectel/Qualcomm:

{% code collapsedlinecount="10" %}

```
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"
```

{% endcode %}

Quectel/Spreadtrum:

{% code collapsedlinecount="10" %}

```
AT+QCFG="pcie/mode",1
AT+QCFG="ethernet",1
AT+QNETDEVCTL=1,1,1
AT+QCFG="ethernet",1
AT+QCFG="nat",0
```

{% endcode %}

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion4"><strong>What should I do if I have an unstable network with severe packet loss after dial-up?</strong></a></summary>

Please use the following commands to set it to the stable router mode:

{% code collapsedlinecount="10" %}

```
AT+QCFG="nat",1
```

{% endcode %}

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion5"><strong>What can I do when the NET indicator is not on and the network is not registered?</strong></a></summary>

* Please check whether the SIM card is connected to four antennas.
* Please check hardware connection is right and check the network with the following AT Log:

{% code collapsedlinecount="10" %}

```
AT+CMEE=2
AT+CPIN?
AT+COPS?
AT+QCSQ
AT+QENG="servingcell"
AT+CGDCONT?
AT+QNWPREFCFG="mode_pref"
```

{% endcode %}

[![RM.png](https://www.waveshare.com/w/upload/2/28/RM.png)](https://www.waveshare.com/wiki/File:RM.png)

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion6"><strong>Can the 5G base board connect to other modules with M.2 B KEY interface?</strong></a></summary>

* The following modules that support it after testing:

{% code collapsedlinecount="10" %}

```
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
```

{% endcode %}

* 5G modules are NOT included. If used with other modules and the pin compatibility should be tested.

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion7"><strong>Which platform is the RM50X module based on?</strong></a></summary>

RM500U-CN: based on Spreadtrum platform.\
RM500Q-GL: based on Qualcomm platform, supports GNSS positioning, mainly for domestic use.\
RM500Q-AE/RM502Q-AE: based on Qualcomm platform, support GNSS positioning, mainly used abroad.

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion8"><strong>Why does it keep rebooting after connecting to the Raspberry Pi?</strong></a></summary>

It is because the 5G power consumption is high, and the Raspberry Pi is limited in power supply, you can power it with 5V (3A) through Type-C interface.

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion9"><strong>Why can't it connect to the network after rebooting the Raspberry Pi?</strong></a></summary>

When using the external power supply, the Raspberry Pi reboots and RM500U does not reboot. You can use the command to reboot the RS500U.

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion10"><strong>The module has been powered on, why does the input command not respond?</strong></a></summary>

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

{% code collapsedlinecount="10" %}

```
ATE1
```

{% endcode %}

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion11"><strong>How to check the frequency band of the operator?</strong></a></summary>

It can be inquired at the following website: [https://www.frequencycheck.com](https://www.frequencycheck.com/)

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion12"><strong>How to confirm whether the Raspberry Pi hardware serial port is ttyS0 or ttyAMA0?</strong></a></summary>

* Raspberry PI 2B/zero, the user serial port device number is ttyAMA0;

{% code collapsedlinecount="10" %}

```
ls -l /dev/serial*
```

{% endcode %}

* The following command line can be used to confirm that serial0 is the serial port device number selected, as shown in the figure below:

[![RM500U-CN 5G HAT 9.png](https://www.waveshare.com/w/upload/2/22/RM500U-CN_5G_HAT_9.png)](https://www.waveshare.com/wiki/File:RM500U-CN_5G_HAT_9.png)

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion13"><strong>Why does the USB power supply fail to power off when the computer is used, but the power goes off when the Raspberry Pi is used, and the NET light does not light up for a while?</strong></a></summary>

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](https://www.waveshare.com/w/upload/8/88/RM500U-CN_5G_HAT.png)](https://www.waveshare.com/wiki/File:RM500U-CN_5G_HAT.png)

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion14"><strong>What dial types does the RM500X have?</strong></a></summary>

There are the following dial types:

{% code collapsedlinecount="10" %}

```
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
AT+QCFG="usbnet",5 The driver type is NCM;
```

{% endcode %}

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion15"><strong>Does RM530 belong to Qualcomm platform?</strong></a></summary>

Yes.

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion16"><strong>How does FM650 switch to the Ethernet port to connect to the network?</strong></a></summary>

Please use the following command to enable the Ethernet port to access the network.

{% code collapsedlinecount="10" %}

```
AT+GTUSBMODE=36
AT+GTAUTOCONNECT=1
```

{% endcode %}

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion17"><strong>What can I do when the driver installation fails?</strong></a></summary>

* For ABS modules, you can manually update it with [the driver](https://files.waveshare.com/wiki/RM520N-GL/Driver/all-DriverInstaller.zip).
* For Qualcommm modules, you can manually install [the driver](https://files.waveshare.com/wiki/RM520N-GL/Driver/RM5XX-driver-manual.zip).
* Ensure the module is normally on -> Open Device Manager -> Other Devices -> "Corresponding file folder after unzipping the drivers" -> Update the driver demo -> Browse the PC to find the corresponding driver demo files -> Select a path to store the driver file according to your system -> Finish.

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion18"><strong>Does RM520N-GL 5G for Jetson Nano have a limitation on the version of Jetson nano? Does it support Jetson orin nx?</strong></a></summary>

Jetson Nano series can be supported, the hardware structure is customized for ordinary JETSON-NANO-LITE-DEV-KIT, if you use other Jetson nano version, the adapter needs to be changed to a dual male adapter cable to connect; if it is an orin nano, please use this verified Jetpack 6.0 (Ubuntu) version of the system, some of the validation is not possible, some of them are not suitable for Jetson nano. Ubuntu 22.04), some system drivers are not supported.

</details>

<details>

<summary><a href="https://www.waveshare.com/wiki/RM500U-CN_5G_HAT#accordion19"><strong>Can this USB TO M.2 B KEY be plugged into ASUS router?</strong></a></summary>

* USB TO M.2 B KEY does not include a module by default, you need to add a module before using.
* For example, after adding SIM8262E-M2 module, it can support Linxu and Windows system devices, if your router is OPenwrt and other Linux systems, it can be supported.
* [Openwrt router configuration steps reference](https://www.waveshare.com/wiki/5G/4G_Raspberry_4B_openWrt_Sample_Tutorial).

</details>

## Official documentation and development resources

Use [Overview](https://www.waveshare.com/wiki/RM500U-CNV) for the manufacturer's complete model reference, diagrams and maintained examples. The references below complement this guide's local instructions.

Keep the example's host model, interface pins and dependency versions together when reproducing a result. A schematic or SDK link does not establish that another revision uses the same wiring. Official model pages and accessible tutorial links reviewed **23 November 2026**. Other downloads above are manufacturer-listed resources; listing a file is not a test of its contents. Compilation, firmware flashing and hardware operation were **not performed** in this review.
