Dragino LIG16 User Manual

Dragino LIG16 User Manual

Lorawan gateway
Table of Contents

Advertisement

Quick Links

LIG16 LoRaWAN Gateway User Manual
Document Version: 1.0
Firmware Version: lgw-5.4.1609393379
Version
Description
1.0
Release
LIG16 Indoor LoRaWAN Gateway User Manual
www.dragino.com
Date
2021-Jan-3
1 / 46

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LIG16 and is the answer not in the manual?

Questions and answers

Summary of Contents for Dragino LIG16

  • Page 1 LIG16 LoRaWAN Gateway User Manual Document Version: 1.0 Firmware Version: lgw-5.4.1609393379 Version Description Date Release 2021-Jan-3 LIG16 Indoor LoRaWAN Gateway User Manual 1 / 46...
  • Page 2: Table Of Contents

    Hardware System Structure......................8 LIG16 Applications ........................8 LED Indicators ..........................9 Access and configure LIG16 ..................... 10 Find IP address of LIG16 ......................10 2.1.1 Connect via WiFi ......................10 2.1.2 Connect via WAN port with DHCP IP from router............10 Connect via LAN port with direct connection from PC ......
  • Page 3 Can I use 868Mhz version for 915Mhz bands? ................. 44 Can I control the LEDs? ......................44 Trouble Shooting ........................ 44 10.1 I get kernel error when install new package, how to fix? ............ 44 LIG16 Indoor LoRaWAN Gateway User Manual 3 / 46...
  • Page 4 10.2 How to recover the LIG16 if firmware crash ................ 45 10.3 I configured LIG16 for WiFi access and lost its IP. What to do now? ........45 Order Info ........................... 46 Packing Info ........................46 Support ..........................46 Reference ....................
  • Page 5: Introduction

    LoRaWAN network. LIG16 can communicate with ABP LoRaWAN end node without LoRaWAN server. System integrator can use it to integrate with their existing IoT Service without set up own LoRaWAN server or use 3rd party LoRaWAN service.
  • Page 6 LIG16 Indoor LoRaWAN Gateway User Manual 6 / 46...
  • Page 7: Specifications

    8 x 8 channels LoRa® packet detectors  8 x SF5-SF12 LoRa® demodulators  8 x SF5-SF10 LoRa® demodulators ➢ 125 /250 / 500 kHz LoRa® demodulator Power Consumption: ➢ Max: 5v, 410mA LIG16 Indoor LoRaWAN Gateway User Manual 7 / 46...
  • Page 8: Features

    1.3 Features Open-Source Linux system ✓ Managed by Web GUI, SSH via LAN or WiFi ✓ LoRaWAN Gateway ✓ Auto-Provision ✓ 1.4 Hardware System Structure 1.5 LIG16 Applications LIG16 Indoor LoRaWAN Gateway User Manual 8 / 46...
  • Page 9: Led Indicators

    ➢ TRIANGLE LED : No Function. ➢ ETH LED : This LED shows the ETH interface physical connection status. ➢ WiFi LED : This LED shows the WiFi interface connection status. LIG16 Indoor LoRaWAN Gateway User Manual 9 / 46...
  • Page 10: Access And Configure Lig16

    2. Access and configure LIG16 The LIG16 is configured as a WiFi Access Point by default. User can access and configure the LIG16 after connecting to its WiFi network, or via its Ethernet ports. 2.1 Find IP address of LIG16 2.1.1 Connect via WiFi...
  • Page 11: Connect Via Wifi With Dhcp Ip From Router

    2.1.3 Connect via WiFi with DHCP IP from router If the LIG16 already connect to the router via WiFi, use can use the WiFi IP to connect to LIG16. 2.1.4 Connect via WAN port by fall back ip The WAN port also has a fall back ip address for access if user doesn’t connect to uplink router.
  • Page 12: Access Configure Web Ui

    2.2 Access Configure Web UI Web Interface Open a browser on the PC and type the LIG16 ip address (depends on your connect method) http://10.130.1.1/ (Access via LIG16’s WiFi AP network) IP_ADDRESS http://IP_ADDRESS or http:// :8000 (If the IP is assigned by uplink router) You will see the login interface of LIG16 as shown below.
  • Page 13: Typical Network Setup

    3.2 Use WAN port to access Internet By default, LIG16 is set to use the WAN port to connect to an upstream network. When you connect the LIG16’s WAN port to an upstream router, LIG16 will get an IP address from the router and have Internet access via the upstream router.
  • Page 14: Access Internet As A Wifi Client

    3.3 Access Internet as a WiFi Client. In the WiFi Client Mode, LIG16 acts as a WiFi client and gets DHCP from an upstream router via WiFi. System → WiFi → WiFi WAN Client Settings The settings for WiFi Client is under page In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save &...
  • Page 15: Check Internet Connection

    GREEN Tick : This interface has Internet connection. ➢ Yellow Tick : This interface has IP address but don’t use it for internet connection. ➢ RED Cross : This interface doesn’t connect. LIG16 Indoor LoRaWAN Gateway User Manual 15 / 46...
  • Page 16: Example : Configure As A Lorawan Gateway

    4. Example : Configure as a LoRaWAN gateway LIG16 is fully compatible with LoRaWAN protocol. It use the legacy Semtech Packet forwarder to forward the LoRaWAN packets to server, the structure is as below. This chapter describes how to use LIG16 to work with TTN LoRaWAN Server.
  • Page 17 The gateway id is: a840411b8268ffff Step 2: Sign up a user account in TTN server Step 3: Create a Gateway LIG16 Indoor LoRaWAN Gateway User Manual 17 / 46...
  • Page 18: Configure Lig16 To Connect To Ttn

    After create the gateway, we can see the gateway info, as below 4.2 Configure LIG16 to connect to TTN We should configure the LIG16 now to let it connect to TTN network. Make sure your LIG16 has Internet Connection first.
  • Page 19 Note: The server address must match the router you choose in TTN. LIG16 Indoor LoRaWAN Gateway User Manual 19 / 46...
  • Page 20 In the home page, we can see the LoRaWAN connection is ready now. Check Result After above settings, the LIG16 should be able to connect to TTN, below is the result seen from TTN: LIG16 Indoor LoRaWAN Gateway User Manual...
  • Page 21: Configure Frequency

    4.3 Configure frequency We also need to set the frequency plan in LIG16 to match the LoRaWAN end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor. In logread page, user can check the frequency actually used.
  • Page 22: Add A Lorawan End Device

    After doing above LIG16 will be able to act as LoRaWAN Gateway. Below section shows how to add a LoRaWAN End device in this LoRaWAN network and see the data from TTN. We use LT-22222-L as a reference below, for other LoRaWAN devices will be more or less the same.
  • Page 23 Step 2: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel and analyze the data LIG16 Indoor LoRaWAN Gateway User Manual 23 / 46...
  • Page 24: Web Configure

    5. Web Configure Pages 5.1 Home Shows the system running status: LIG16 Indoor LoRaWAN Gateway User Manual 24 / 46...
  • Page 25: Lora Settings

    This page shows the LoRa Radio Settings. There are a set of default frequency band according to LoRaWAN protocol, and user can customize the band* as well. Different LIG16 hardware version can support different frequency range: ➢ 868: valid frequency: 863Mhz ~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.
  • Page 26: Lora --> Abp Decryption

    5.2.2 LoRa --> ABP Decryption(Function not ready) The LIG16 can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as: ▪ No internet connection. ▪ User wants to get data forward in gateway and forward to their server based on MQTT/HTTP, etc.
  • Page 27: Lorawan Settings

    ChirpStack Note **: Packet filter is to drop the unwanted LoRaWAN packet, instruction see here: http://wiki.dragino.com/index.php?title=Main_Page#Filter_unwanted_LoRaWAN_packets 5.3.2 LoRaWAN --> LORIOT Settings to communicate to LORIOT LoRaWAN Network Server: https://www.loriot.io/ Instruction: http://wiki.dragino.com/index.php?title=Notes_for_LORIOT LIG16 Indoor LoRaWAN Gateway User Manual 27 / 46...
  • Page 28: Mqtt Settings

    5.4 MQTT Settings If end nodes work in ABP mode, user can configure LIG16 to transfer the data to MQTT broker, Instruction: http://wiki.dragino.com/index.php?title=Main_Page#MQTT_Forward_Instruction LIG16 Indoor LoRaWAN Gateway User Manual 28 / 46...
  • Page 29: System

    5.5.2 System --> General ( login settings) System Password: There are two logins for LIG16: root /dragino or admin /dragino. Both root and admin have the same right for WEB access. But root user has also the right to access via SSH to Linux system.
  • Page 30 Set device timezone. Port forwarding: Enable/Disable the HTTP and SSH access via WAN interface. LIG16 Indoor LoRaWAN Gateway User Manual 30 / 46...
  • Page 31: System --> Network

    5.5.3 System --> Network LAN Settings: When the LIG16 has the AP enable, LAN settings specify the network info for LIG16’s own network. WAN Settings: Setting for LIG16 WAN port WiFi Settings: Setting for LIG16 WiFi IP when use it as WiFi Client...
  • Page 32: System --> Wifi

    5.5.4 System --> WiFi LIG16 WiFi Settings. 5.5.5 System --> Network Status LIG16 Indoor LoRaWAN Gateway User Manual 32 / 46...
  • Page 33: System --> Remote Mgnt & Auto Update

    5.5.6 System --> Remote Mgnt & Auto Update Auto Provision is the feature for batch configure and remote management. It can be used in below two cases: Please see this document for detail: http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Application_ Note/&file=Auto-update-feature.pdf LIG16 Indoor LoRaWAN Gateway User Manual 33 / 46...
  • Page 34 R-SSH is for remote access device and management, introduction for how to use: http://wiki.dragino.com/index.php?title=Main_Page#Remote_Access_Gateway_via_Reverse_SSH LIG16 Indoor LoRaWAN Gateway User Manual 34 / 46...
  • Page 35: System --> Firmware Upgrade

    5.5.7 System --> Firmware Upgrade We keep improving the LIG16 firmware for new features and bug fixes. Below are the links for reference. ➢ Latest firmware: LoRa Gateway Firmware, ( http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LIG16/Firmware) ➢ Change Log: Firmware Change Log. http://www.dragino.com/downloads/downloads/LoRa_Gateway/LIG16/Firmware/ChangeLog The file named as dragino-lgw–xxxxx-squashfs-sysupgrade.bin...
  • Page 36: System --> Reboot/Reset

    /sbin/sysupgrade –n /var/Your_Image NOTE: it is important to transfer the image in the /var directory, otherwise it may exceed the available flash size. 5.5.8 System --> Reboot/Reset LIG16 Indoor LoRaWAN Gateway User Manual 36 / 46...
  • Page 37: System --> Package Maintain

    5.5.9 System --> Package Maintain Place to show what packages have been installed and possible to upgrade packages. LIG16 Indoor LoRaWAN Gateway User Manual 37 / 46...
  • Page 38: Logread

    Show the frequency for LoRa Radio and traffics. 5.6.2 LogRead --> Gateway Traffic Shows gateway traffic statistics in the past 72 hours and the last 100 gateway traffic entries. 5.6.3 LogRead --> System Log Show the system log LIG16 Indoor LoRaWAN Gateway User Manual 38 / 46...
  • Page 39 LIG16 Indoor LoRaWAN Gateway User Manual 39 / 46...
  • Page 40: More Features

    6. More features 6.1 More instructions http://wiki.dragino.com/index.php?title=Main_Page#LoRa.2FLoRaWAN_Gateway_Instruction LIG16 Indoor LoRaWAN Gateway User Manual 40 / 46...
  • Page 41: Linux System

    7.1 SSH Access for Linux console User can access to the Linux console via SSH protocol. Make sure your PC and the LIG16 is in the same network, then use a SSH tool (such as putty) to access it. Below are screenshots:...
  • Page 42: Edit And Transfer Files

    One of the easiest is through WinSCP utility. After access via WinSCP to the device, use can use a FTP alike window to drag / drop files to the LIG16 or Edit the files directly in the windows. Screenshot is as below: 7.3 File System The LIG16 has a 16MB flash and a 64MB RAM.
  • Page 43: Package Maintain System

    There are more than 3000+ packages available in our package server for user to install for their applications. For example, if user wants to add iperf tool, they can install the related packages and configure LIG16 to use iperf Below is some examples opkgs command, more please refer...
  • Page 44: Faq

    8.2 Can I make my own firmware for the gateway, where can I find the source code? Yes, you can make your own firmware for the LIG16 for branding purposes or to add customized applications. The source code and compile instructions can be found at: https://github.com/dragino/openwrt_lede-18.06...
  • Page 45 9.3 I configured LIG16 for WiFi access and lost its IP. What to do now? The LIG16 has a fallback ip in its WAN port. This IP is always enabled so user can use fall back ip to access LIG16 no matter what the WiFi IP is. The fall back ip is useful for connect and debug the unit.
  • Page 46 ➢ 915: valid frequency: 902Mhz ~ 928Mhz. for bands US915, AU915, AS923 or KR920 11. Packing Info Package Includes: ✓ LIG16 LoRaWAN Indoor Gateway x 1 ✓ Stick Antenna for LoRa RF part. Frequency is one of 433 or 868 or 915Mhz depends the model ordered ✓...

Table of Contents