Skip to main content
Version: 1.1.0

5G

Hardware​

AutomatePro has optional 5G connectivity. To use it, connect an external antenna to the highlighted FAKRA D-coded (Claret Violet) connectors shown below.

Connector Location​

AutomatePro 5G connector location

5G Specifications​

AutomatePro ships with the Quectel RM520N-GL 5G module as standard. For applications that require a module from a non-Chinese manufacturer, the Telit Cinterion FN990A40 is available as an option.

ParameterValue
TransceiverRM520N-GL
Max upload data rates550 Mbps (NSA) or 900 Mbps (SA)
Max download data rates3.4 Gbps (NSA) or 2.4 Gbps (SA)
Frequencysub-6 GHz
Protocol5G, LTE, WCDMA
CoverageWorldwide 5G and LTE-A coverage
NSA Bandsn1/n2/n3/n5/n7/n8/n12/n14/n20/n25/n28
/n30/n38/n40/n41/n48/n66/n71/n77/n78/n79
SA Bandsn1/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
note

The maximum upload and download rates are based on the manufacturer’s specifications for the 5G device. Actual performance may vary depending on the antenna used and the location of the device.

Telit Cinterion FN990A40 (Option)​

The Telit Cinterion FN990A40 is a 5G sub-6 GHz M.2 module based on the Qualcomm Snapdragon X65, and can be fitted in place of the standard RM520N-GL. It uses the same antenna connectors.

ParameterValue
TransceiverFN990A40
Max upload data rates550 Mbps (NSA) or 900 Mbps (SA)
Max download data rates4.9 Gbps (NSA) or 4.1 Gbps (SA)
Frequencysub-6 GHz
Protocol5G, LTE, WCDMA
CoverageWorldwide 5G and LTE coverage
5G Bandsn1/n2/n3/n5/n7/n8/n12/n13/n14/n18/n20/n25/n26/n28/n29
/n30/n38/n40/n41/n48/n66/n71/n75/n76/n77/n78/n79

For more information, refer to the Telit Cinterion FN990Axx Product Brief.

The configuration and troubleshooting steps on this page are written for the standard RM520N-GL. If your AutomatePro is fitted with the FN990A40, contact Lemvos for the matching configuration.

External Antenna​

The AutomatePro system is compatible with a variety of antennas. More information on compatible antennas can be found here.

SIM Card​

For devices shipped without a SIM card, you can add one as follows:

Installing or Removing the SIM Card​

AutomatePro SIM card installation
  1. Ensure the device is powered off and disconnect any external connectors. This operation is easiest on a bench with AutomatePro unsecured.
  2. Loosen and remove the eight M4x16 socket head cap screws (1).
  3. Carefully lift the casing off from the heat sink (2).
  4. Using tweezers, carefully install the Nano SIM. To remove it, push the SIM card inward until it ejects.
  5. Check the heat sink (4) for sufficient thermal paste.
  6. Verify that the O-ring (3) is correctly installed and seated.
  7. Reposition the casing onto the heat sink (2) and tighten the eight M4 cap screws in a cross-star pattern. Do not over-torque the screws.

Configuration​

ModemManager and NetworkManager run the cellular connection. ModemManager detects the 5G module and keeps it registered on the network, and NetworkManager starts the connection wwan automatically when ModemManager reports the module. The cellular network interface is wwan0.

Cellular is the backup uplink. NetworkManager checks every link for internet access every 60 s and moves a link without internet behind the others. The wwan connection has the route metric 1000, above those of Ethernet and Wi-Fi, so traffic leaves over cellular only while neither Ethernet nor Wi-Fi reaches the internet. While Ethernet or Wi-Fi reaches the internet, IPv6 internet traffic does not use cellular.

APN​

The wwan connection requests no APN, so the network assigns its default. If your operator requires an APN, set it on the connection, set the same APN as the module's initial EPS bearer, and reconnect:

sudo nmcli connection modify wwan gsm.apn <apn>
sudo mmcli -m any --3gpp-set-initial-eps-bearer-settings="apn=<apn>,ip-type=ipv4v6"
sudo nmcli connection up wwan

Replace <apn> with the APN of your operator. Setting the initial EPS bearer restarts the radio, so cellular drops while it runs.

For example, for a SIM whose operator uses the APN internet.v6.telekom with IPv4 and IPv6:

sudo nmcli connection modify wwan gsm.apn internet.v6.telekom
sudo mmcli -m any --3gpp-set-initial-eps-bearer-settings="apn=internet.v6.telekom,ip-type=ipv4v6"
sudo nmcli connection up wwan

Show the APN and IP type of the initial EPS bearer the module attaches with:

mmcli -m any | grep -i 'initial bearer'
Operator requirementSetting
IPv4 onlysudo nmcli connection modify wwan ipv6.method disabled, and ip-type=ipv4 in the initial EPS bearer command
APN with a loginsudo nmcli connection modify wwan gsm.username <user> gsm.password <password>

NetworkManager saves the changed connection in /etc/NetworkManager/system-connections/wwan.nmconnection, which package upgrades keep.

SIM​

Show the state of the module and its SIM:

mmcli -m any

A SIM that waits for its PIN shows state: locked and lock: sim-pin.

Store the PIN in the connection, so that NetworkManager unlocks the SIM at every start:

sudo nmcli connection modify wwan gsm.pin <pin>
sudo nmcli connection up wwan

Replace <pin> with the SIM PIN.

To remove the PIN lock from the SIM:

sudo mmcli -i any --pin=<pin> --disable-pin

Switch Cellular Off or On​

Switch the cellular radio off:

sudo nmcli radio wwan off

NetworkManager keeps the radio off across reboots. Switch it on again:

sudo nmcli radio wwan on

Do not run mmcli --disable: NetworkManager takes it as a user disconnect and does not enable the module again.

Cellular Watchdog​

The automatepro-installer-connectivity package also installs a watchdog for the cellular link, which is off by default. While the wwan connection has no internet, the watchdog reconnects it, switches the radio off and on, and then resets and power-cycles the module. It reboots the device only when REBOOT_ENABLED=true is set in /etc/opt/automatepro/connectivity-watchdog.conf. Enable it:

sudo systemctl enable --now automatepro-connectivity-watchdog.timer

Troubleshooting​

If you encounter issues connecting to 5G, try the following steps:

Check the Module​

List the module that ModemManager detects:

mmcli -L

If no module is listed, restart ModemManager:

sudo systemctl restart ModemManager.service

Show the state, the network registration, and the signal quality (0-100%) of the module:

mmcli -m any

Check the Connection​

Show the state of the cellular connection:

nmcli -f GENERAL.STATE connection show wwan

activated means the connection is up. Start it again:

sudo nmcli connection up wwan

AT Commands (Advanced)​

Important

Be cautious when using AT commands. Incorrect AT commands can cause the module to malfunction. For more information, refer to the Quectel RG520N&RG525F&RG5x0F&RM5x0N Series AT Commands Manual.

ModemManager owns the AT ports of the module, so stop it before you open one. Stopping ModemManager drops cellular and any SSH session over it, so connect over Ethernet or Wi-Fi first. If the cellular watchdog is enabled, stop its timer and its service too, because the watchdog restarts ModemManager, and later power-cycles the module, while no module is listed:

sudo systemctl stop automatepro-connectivity-watchdog.timer automatepro-connectivity-watchdog.service
sudo systemctl stop ModemManager.service

Open a serial terminal on the AT interface of the module:

sudo minicom -D /dev/ttyUSB3

Check the SIM status:

AT+CPIN?

Output:

+CPIN: READY

OK

Check the signal strength:

AT+CSQ

Output:

+CSQ: <RSSI>,<ber>

OK
RSSIdBm LevelSignal Quality
0-113 dBm or less▃ (Poor)
1-111 dBm▃ ▅ (Fair)
2 - 30-109 dBm to -53 dBm▃ ▅ ▇ (Good)
31-51 dBm or greater▃ ▅ ▇ ▉ (Excellent)
99Not known or not detectableSignal Fault: Check Antenna Connection

Use AT commands only to read the state of the module. Change the SIM PIN and the connection with nmcli and mmcli, as in SIM, so ModemManager and NetworkManager keep a matching state.

Exit minicom with Ctrl+A, then X, and start ModemManager again; NetworkManager reconnects wwan when ModemManager reports the module:

sudo systemctl start ModemManager.service
sudo systemctl start automatepro-connectivity-watchdog.timer

Start the watchdog timer again only if it was enabled before.

Collect the Logs​

If the problem persists, contact Lemvos and include the output of these commands:

sudo journalctl -u ModemManager -b
sudo journalctl -u NetworkManager -b
sudo journalctl -u automatepro-connectivity-watchdog.service -b
sudo journalctl -t automatepro-cellular-ipv6-policy -b