5G HUB BG95 LTE Cellular Connectivity On Windows Instruction Manual

June 6, 2024
5G HUB

5G HUB BG95 LTE Cellular Connectivity On Windows Instruction Manual
5G HUB BG95 LTE Cellular Connectivity On Windows

Purpose of the Document

The purpose of this document is to explain how to setup and configure LTE cellular connectivity to the Internet on Windows operating system. This applies to LTE modems such as BG95, BG77, or Raspberry PI HAT.

Document History

Version Author Date Description
A 5G HUB 02.28.2021 Initial Document

Introduction

This document describes how to use LTE modem for connectivity on Windows OS.

This document is applicable to all GSM, UMTS, LTE, and GNSS modules using BG95 or BG77 modem

Install LTE&GNSS Windows Driver

On Windows Operating System (OS), install the following Windows driver for LTE&GNSS modem: 5G-NB-IoT/Driver at master · 5ghub/5G-NB-IoT (github.com)

Follow the following steps:

  1. Insert a USIM card into the USIM card slot on the hardware board.

  2. Connect a USB cable between the hardware board and the computer as in the following diagram
    (Note: the hardware board is an example and other USB dongle or Raspberry PI HAT can be used. You can also use different antennas if needed).
    Connect a USB cable

  3. You shall see the ports and modem in the Windows device manager as in this screenshot:

Figure 2: Windows device manager.

NOTE: It is very important to see the USB modem in the device manager as this is the driver that Windows OS uses to connect to the Internet and outside world.

Using the USIM card

To configure and use the USIM card, follow the following steps:

  1. If you have the USIM card, it needs to be activated. If you are using the 5G HUB Global SIM card, go to IoT Connector to start activating your SIM, monitor its usage, and start using it with the hardware boards and Raspberry PI HAT. The IoT connector is available here: IoT Connector
  2. Insert the USM card into the USIM card slot on the hardware board.
  3. Launch QCOM tool and connect to the LTE modem through the USB port. Follow instructions in this document for how to connect QCOM tool to the LTE modem.

Getting the COM port for LTE modem

To use the QCOM tool with LTE&GNSS modem, connect the computer USB port to the USB port on the hardware board and make sure all modem serial ports are enumerated in the Windows device manager as in figure below.

The serial ports below can be used for the following purposes:

  • USB Modem: The USB modem interface is used for AT commands, data transmission, GNSS data and NMEA sentences output.
  • USB DM Port
  • USB NMEA Port: It is used for GNSS data and NMEA sentences output.

Windows device manager
Figure 3: Windows device manager enumerated all serial ports of the modem.

Each serial port, as in Figure 3, shows the serial port number uses as in format COMXX. The USB Modem port is used configure and exchange AT commands with the LTE modem. You can find the COM port number of the USB modem by right-click on it, select Properties, then select Modem. You will find the port number displayed for this USB modem. It shows up as COM27 in the figure below. You can use this port number in QCOM tool.

Port number
Figure 4: Port number for the USB modem.

Setting the Access Point Name (APN)

APN is the access point name of the mobile operator. Since LTE modem is a cellular device, it connects to mobile operator network. Each mobile operator network has different APN name. For example,
AT &T uses the APN: m2mNB16.com.attz. Verizon, T-Mobile, or other mobile operators around the world uses different APN. For the first time to use the LTE modem, you need to set the APN as the factory default value of the APN name might be a different value.

If you are using the 5G HUB Global SIM card, it uses the APN: super.

In the QCOM tool, use the following AT command to set the APN name:

AT+CGDCONT=1,”IP”,”super“,

This AT command will set the APN name on the LTE modem for both IPv4 and IPv6.

To be able to connect to different mobile operators which has the best signal quality and best coverage, you can enable roaming capability on the LTE modem. The following AT command is used to enable roaming services:

AT+QCFG=”roamservice”,2

The following QCOM tool screenshot shows that it is connected to the hardware board over USB COM port number 27. After it connects, you can run the following AT commands, which configure the APN and roaming service on the LTE modem.

QCOM tool screenshot

QCOM tool to configure APN.

Figure 5: QCOM tool to configure APN.

You can query the APN stored on the LTE modem by running the following command which shows the APN is now set to super for IPv4 or IPv6

APN

Once the two steps above are completed through the QCOM tool, restart the LTE modem by unplugging the USB cable and plug it again.

Now, you can check the network registration of the LTE modem. Run the following AT command as in the screenshot below:

AT command

AT command
Figure 6: QCOM tool to check network registration with mobile operator.

The LTE modem shall register on the mobile operator network and you shall see the following response. The AT+CEREG command shall return either the value of 1 or 5 as below.

LTE modem

The value returned by the AT+CEREG command shall be interpreted according to the following values:

Value Meaning
0 Not registered. MT is not currently searching an operator to register to.
1 Registered, home network
2 Not registered, but MT is currently trying to attach or searching an

operator to

register to.

3| Registration denied
4| Unknown
5| Registered, roaming

If the value returned is either 1 or 5, it means the LTE modem is configured correctly and register on the mobile operator network successfully. You are now ready to connect to the Internet through Windows OS.

Please note that the above configuration needs to be done only once. After that, when you plug the USB cable and connect the PC to the hardware board again, Windows OS detects it as a LTE modem and connects automatically to the Internet and outside world.

Connecting Windows OS to the Internet

In order to use the LTE modem as a connectivity device on Windows OS, follow the steps below:

Open the Control panel -> Network and Internet – > Network Sharing Center. And choose “Set up a new connection or network”.

Connecting Windows OS to the Internet
Figure 7: setting up a new connection.

Select Connect to the Internet

Connect to the Internet

Figure 8: Setting up dial-up connection.

Choose Dial-up

Choose Dial-up
Figure 9: Dial-up connection.

Enter *99# and click Connect. You can name the connection as BG95 Dial-up connection. You shall see the Windows and LTE modem start to register on mobile operator network and eventually be connected to the Internet.

Dial-up connection configuration

Dial-up connection

On Windows OS, launch the Task bar, you shall see the dial-up connection is in Connecting state where the LTE modem is connecting to the mobile operator network.

Dial-up connection

After the dial-up connection is connected and registered, it starts to test the connection.

Dial-up connection

Finally, the LTE modem connects to the mobile operator network.

LTE modem connects

On Windows OS, launch the Task bar, you shall see the dial-up connection is now in Connected state where the LTE modem is now connected to the mobile operator network. By now, you have successfully connected to the Internet through the LTE modem. You can start browsing the Internet, checking, and using Email clients, download and uploads files, and have fully connectivity to the Internet and outside world.

LTE modem

Troubleshooting

Sometimes the LTE modem is configured with different APN or multiple APNs. To delete these APNs from the LTE modem, issue the following AT command:

AT+CGDCONT=1
AT+CGDCONT=2
AT+CGDCONT=3

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

5G HUB User Manuals

Related Manuals