RG2i UG65 LoRaWAN Gateway User Guide
- June 5, 2024
- RG2i
Table of Contents
RG2i UG65 LoRaWAN Gateway
Safety Precautions
Milesight will not shoulder responsibility for any loss or damage resulting from not following the instructions of this operating guide.
- The device must not be modeled in any way.
- Do not place the device close to objects with naked flames.
- Do not place the device where the temperature is below/above the operating range.
- Do not power on the device or connect it to another electrical device when installing.
- Check lightning and water protection when used outdoors.
- Do not connect or power the equipment using cables that have been damaged.
Related Documents
This Quick Start Guide only explains the installation of the Milesight UG65
LoRaWAN® Gateway. For more functionality and advanced settings, please refer
to the relevant documents as below.
Document | Description |
---|---|
UG65 Datasheet | Datasheet for UG65 LoRaWAN® Gateway. |
UG65 User Guide | Users can refer to the guide for instruction on how to log in |
the web GUI, and how to configure all the settings.
The related documents are available on the Milesight website: https://www .milesight-iot.com
Declaration of Conformity
UG65 is in conformity with the essential requirements and other relevant
provisions of the CE, FCC, and RoHS.
For assistance, please contact Milesight technical support: Email: iot.support@milesight.com Tel: 86-592-5085280 Fax: 86-592-5023065
Revision History
Date | Doc Version | Description |
---|---|---|
Aug. 31, 2020 | V1.0 | Initial version |
Nov. 24, 2020 | V2.0 | Layout replace |
Packing List
Before you begin to install the UG65 gateway, please check the package contents to verify that you have received the items below.If any of the above items is missing or damaged, please contact your sales representative.
Hardware Introduction
Overview
A. Front Panel
- LED Area
- POWER: Power Indicator
- STATUS: System Indicator
- Lora: LoRa Indicator
- Wi-Fi: Wi-Fi Indicator
- LTE: Cellular Indicator
- ETH: Ethernet Port Indicator
- Lora Antenna Connector (only for external antenna version)
- Bracket Mounting Screws
- SIM Slot
- Type-C Port
- Ethernet Port (PoE)
- Power Connector
- Reset Button
- Waterproof Silicone
- Cable Groove
Dimensions (mm)
LED Indicators
LED | Indication | Status | Description |
---|---|---|---|
POWER | Power Status | Off | The power is switched off |
On | The power is switched on |
STATUS
| ****
System Status
| Blue Light| Static: the system is running properly
Red Light| The system goes wrong
LoRa| LoRa Status| Off| Packet Forwarder mode is running off
Blue Light| Packet Forwarder mode is running well
Wi-Fi| Wi-Fi Status| Off| Wi-Fi is disabled
Blue Light| Wi-Fi is enabled
LTE
| ****
Cellular Status
| Off| SIM card is registering or fails to register
(or there are no SIM cards inserted)
Blue Light
| Blinking slowly: SIM card has been registered
and is ready for dial-up
Blinking rapidly: SIM card has been registered
and is dialing up now
Static: SIM card has been registered and dialed
up successfully
ETH| Ethernet
Port Status
| Off| Disconnected
Blue Light| Static: Connected
Reset Button
Function | Description |
---|---|
STATUS LED | Action |
Reset
| Static Blue| Press and hold the reset button for more than 5 seconds.
Static Blue →
Rapidly Blinking
| Release the button and wait.
Off → Static Blue| The gateway resets to factory default.
Hardware Installation
SIM Card Installation
- Use a screwdriver to open the protective cover on the back panel of UG65.
- Insert the SIM card into the device according to the direction icon on the device.
Note:
- If you need to take out the SIM card, press into the SIM card and it will pop up automatically.
- UG65 does not support hot-plugging (also called hot swapping). please turn off the power before you insert or take off cards.
Ethernet Cable & Power Cable Installation
- Connect the Ethernet cable and power cable to corresponding interfaces.
- .Pass two cables through the waterproof silicone and slid into the grooves.
- Screw the protective cover back to the device.
UG6x can also be powered by 802.3af standard PoE injector or other PoE
devices. If both connected, DC power is preferred.
Note:
When connecting, the Ethernet cable of UG65 device side should be installed
first, otherwise, PoE devices or gateway may be damaged.
Antenna Installation
For the external antenna version, rotate the antenna into the antenna
connector accordingly. The external antenna should be installed vertically
always on a site with a good signal.
Note:
Please do not let the front panel of products faces to walls if using embedded
LoRa antennas.
Gateway Installation
UG65 can be mounted to a wall or a pole. Before you start, make sure that
your SIM card has been inserted, your antennas have been attached and all
cables have been installed.
Wall Mounting
Preparation: mounting bracket, bracket fixing screws, wall plugs, wall
mounting screws and other required tools.
-
Align the mounting bracket horizontally to the desired position on the wall, use a marker pen to mark four mounting holes on the wall, and then remove the mounting bracket from the wall.
Note:
The connecting lines of adjacent points are at right angles. -
Drill four holes with a depth of 32 mm by using your drill with a 6 mm drill bit on the positions you marked previously on the wall.
-
Insert four wall plugs into the holes respectively.
-
Mount the mounting bracket horizontally to the wall by fixing the wall mounting screws into the wall plugs.
-
Screw the bracket fixing screws to the back panel of device, then hang the device to the mounting bracket on the wall.
Pole Mounting
Preparation: mounting bracket, bracket fixing screws, hose clamp and other
required tools.
- Loosen the hose clamp by turning the locking mechanism counter-clockwise.
- Straighten out the hose clamp and slide it through the rectangular rings in the mounting bracket, wrap the hose clamp around the pole.
- Use a screwdriver to tighten the locking mechanism by turning it clockwise.
- Screw the bracket fixing screws to the back panel of device, then hang the device to the mounting bracket on the pole.
Log in the Web GUI of Gateway
UG65 provides a web-based configuration interface for management. If this is the first time you configure the gateway, please use the default settings below:
- ETH IP Address: 192.168.23.150
- Wi-Fi IP Address: 192.168.1.1
- Wi-Fi AP: Gateway_**
- Username: admin
- Password: password
Wireless Access
- Enable Wireless Network Connection on your computer and search for access point “Gateway_**” to connect it.
- Open a Web browser on your PC (Chrome is recommended) and type in the IP address 192.168.1.1 to access the web GUI.
- Enter the username and password, click “Login”.
If you enter the username or password incorrectly more than 5 times, the login page will be locked for 10 minutes.
- After logging the web GUI, follow the guide to complete the basic configurations. You can also skip the instructions. It’s suggested that you change the password for the sake of security.
- You can view system information and perform configuration of the gateway.
Wired Access
Connect PC to UG65 ETH port directly or through PoE injector. The following
steps are based on Windows 10 operating system for your reference.
- Go to “Control Panel” → “Network and Internet” → “Network and Sharing Center”, then click “Ethernet” (May have different names).
- Go to “Properties” → “Internet Protocol Version 4(TCP/IPv4) ”and select “Use the following IP address”, then assign a static IP manually within the same subnet of the gateway.
- Open a Web browser on your PC (Chrome is recommended) and type in the IP address 192.168.23.1 50 to access the web GUI.
- Enter the username and password, click “Login”.
If you enter the username or password incorrectly more than 5 times, the login page will be locked for 10 minutes.
- After logging the web GUI, follow the guide to complete the basic configurations. You can also skip the instructions. It’s suggested that you change the password for the sake of security.
- After guide complete, you can view system information and perform the configuration of the gateway.
Network Configuration
This section explains how to connect the gateway to the network via WAN
connection, Wi-Fi or cellular.
Ethernet WAN Configuration
-
Go to the “Network”→ “Interface” → “Port” page to select the connection type and configure Ethernet port information.
Click “Save & Apply” for changes to take effect. -
Connect Ethernet port of gateway to devices like router or modem.
-
Log in the web GUI via the newly assigned IP address and go to “Status”→ “Network” to check Ethernet port status.
Wi-Fi Connection Configuration
-
Go to “Network” → “Interface” → “WLAN” and select “Client” mode.
Click “Scan” to search for Wi-Fi access point. Select the available one and click “Join Network”. -
Type the key of Wi-Fi.
-
Go to “Status”→”WLAN” to check Wi-Fi status. If it shows “Connected”, it means gateway connects to Wi-Fi successfully.
Cellular Connection Configuration
- Go to the “Network” → “Interface” → “Cellular” → “Cellular Setting” page to enable cellular settings.
- Choose relevant network type and fill in SIM card information like APN or PIN code.
- Click “Save” and “Apply” for changes to take effect.
- Go to “Status” → “Cellular” page to view the status of the cellular connection. If it shows “Connected”, it means the SIM has dialed up successfully. On the other hand, you can check the status of LTE indicator. If it keeps on blue light statically, it means SIM has dialed up successfully.
Packet Forwarder Configuration
UG65 has embedded multiple packet forwarders like Semtech and Chirpstack Generic MQTT broker. This section explains how to connect the gateway to third-party network servers.Make sure the gateway connects to the network as shown in Section 5.
- Go to “Packet Forwarder” → “General” page and click
- Fill in the server information and enable this server.
- Go to “Packet Forwarder” → “Radio” page to configure antenna type, center frequency and channels. The channels of the gateway and network server need to be the same.
- Add the gateway on the network server page. Take TTN for example, type and save the gateway EUI and other information when you connect it via Semtech packet forwarder. After you add the gateway, TTN will show connection status.
- Go to the “Traffic” page to view the data communication of UG65.
Network Server Configuration
UG65 can work as a network server and transmit data to Milesight IoT Cloud or another platform via MQTT/HTTP/HTTPS.Make sure the gateway connects to the network as shown in Section 5.
Connect UG65 to Milesight IoT Cloud
- Go to “Packet Forwarder” → “General” page to enable the “Milesight” type server.
- Go to “Packet Forwarder” → “Radio” page to select the antenna type, center frequency and channels. The channels of the gateway and nodes need to be the same.
- Go to “Network Server” → “General” page to enable the network server and “Milesight IoT Cloud” mode.
- Log in the Milesight IoT Cloud. Then go to “My Devices” page and click “+New Devices” to add gateway to Milesight IoT Cloud via SN. Gateway will be added under “Gateways” menu.
- The gateway is online on Milesight IoT Cloud.
Connect UG65 to MQTT/HTTP Server
- Go to “Packet Forwarder” → “General” page to enable the “Milesight” type server.
- Go to “Packet Forwarder” → “Radio” page to select the antenna type, center frequency and channels. The channels of the gateway and nodes need to be the same.
- Go to “Network Server” → “General” page to enable the network server mode.
- D. Go to “Network Server”→” Application” to add a new application.
After saving the application, you can select HTTP, HTTPS or MQTT protocol and fill in corresponding server information to send data to another server.
- Go to the “Profiles” page to add a new profile for the device.
- You can also click “Bulk Import” if you want to add many nodes all at once.
Click “Template Download” to download template file and add device information to this file. The application and device profile should be the same as you created on web page.
Import this file to add bulks of devices. www.milesight-iot.com
- Go to the “Packets” page to check the packets from LoRaWAN® node devices. The type starts from “Up” means uplinks and “Dn” means downlinks.
- Click “Details” to check the properties and payload contents of packets.