Dragino LPS8-868 User Manual

Dragino LPS8-868 User Manual

Lorawan gateway
Table of Contents

Advertisement

Quick Links

LPS8 LoRaWAN Gateway User Manual
Document Version: 1.3.0
Firmware Version: lgw--build-v5.4.1615882321-20210316-1613
Version
Description
1.0
Release
1.0.1
Add trouble shooting for wifi AP not access issue
1.0.2
Change the HTTP Port and SSH port for firmware version > v5.3
1.1.0
Add more features such packet filter, remote access
1.1.1
Polish network access description to make it clear
1.2.0
Add TTN server explain, change to use new UI and firmware
1.3.0
Add Auto – provision (system --> Remote Mgnt)
1.3.1
Add Amazon AWS-IoT Support
1.3.2
Change to use TTNv3
LPS8 LoRaWAN Gateway User Manual
www.dragino.com
Date
2019-Aug-10
2019-Sep-23
2019-Oct-26
2020-Mar-02
2020-Mar-16
2020-May-27
2021-Jan-3
2021-Mar-27
2021-Jul-5
1 / 50

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LPS8-868 and is the answer not in the manual?

Questions and answers

Summary of Contents for Dragino LPS8-868

  • Page 1 LPS8 LoRaWAN Gateway User Manual Document Version: 1.3.0 Firmware Version: lgw--build-v5.4.1615882321-20210316-1613 Version Description Date Release 2019-Aug-10 1.0.1 Add trouble shooting for wifi AP not access issue 2019-Sep-23 1.0.2 Change the HTTP Port and SSH port for firmware version > v5.3 2019-Oct-26 1.1.0...
  • Page 2: Table Of Contents

    Table of Contents Introduction ..........................5 What is the LPS8 ......................... 5 Specifications ..........................6 Features ............................7 Hardware System Structure......................7 LPS8 Applications ........................8 LED Indicators ..........................8 Access and Configure LPS8 ......................9 Find IP address of LPS8 ....................... 9 2.1.1...
  • Page 3 LoRa Settings ..........................25 5.2.1 LoRa --> LoRa ........................25 5.2.2 LoRa --> ABP Decryption ....................26 LoRaWAN Settings ........................27 5.3.1 LoRaWAN --> LoRaWAN ....................27 1.1.1 LoRaWAN --> Amazon AWS-IoT ..................27 5.3.2 LoRaWAN --> LORIOT ...................... 27 MQTT Settings ..........................
  • Page 4 How can I configure for a customized frequency band? ............46 Can I make my own firmware for the gateway, Where can I find the source code? ....46 Can I use 868Mhz version for 915Mhz bands? ................. 46 Trouble Shooting ........................
  • Page 5: Introduction

    Introduction What is the LPS8 The LPS8 is an open source LoRaWAN Gateway. It lets you bridge LoRa wireless network to an IP network via WiFi, Ethernet. The LoRa wireless allows users to send data and reach extremely long ranges at low data-rates.
  • Page 6: Specifications

    Specifications Hardware System: Linux Part: ➢ 400Mhz ar9331 processor ➢ 64MB RAM ➢ 16MB Flash Interface: ➢ 10M/100M RJ45 Ports x 1 ➢ WiFi : 802.11 b/g/n ➢ LoRaWAN Wireless ➢ Power Input: 5V DC, 2A, Type C ➢...
  • Page 7: Features

    Features ✓ Open Source OpenWrt system ✓ Managed by Web GUI, SSH via WAN or WiFi ✓ Remote access with Reverse-SSH ✓ Emulates 49x LoRa demodulators ✓ LoRaWAN Gateway ✓ 10 programmable parallel demodulation paths ✓ Pre-configure to support different LoRaWAN regional settings.
  • Page 8: Lps8 Applications

    LPS8 Applications LED Indicators LPS8 has totally four LEDs, They are: ➢ Power LED : This RED LED will be solid on if the device is properly powered. ➢ LoRa LED : This RGB LED will blink GREEN when LoRaWAN module starts or transmit a packet.
  • Page 9: Access And Configure Lps8

    Access and Configure LPS8 The LPS8 is configured as a WiFi Access Point by factory default. You can access and configure the LPS8 after connecting to its WiFi network, or via its WAN Ethernet port. Find IP address of LPS8 2.1.1 Connect via WiFi...
  • Page 10: Connect Via Wifi With Dhcp Ip From Router

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

    8000 in WAN interface(WAN port or WiFi Client Mode) since firmware 5.3.xxx firmware) You will see the login interface of LPS8 as shown below. The account details for Web Login are: User Name: root Password: dragino 11 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 12: Typical Network Setup

    Typical Network Setup Overview The LPS8 supports flexible network set up for different environments. This section describes the typical network topology can be set in LPS8. The network set up includes: ✓ WAN Port Internet Mode ✓ WiFi Client Mode ✓...
  • Page 13: Access The Internet As A Wifi Client

    Access the Internet as a WiFi Client. In the WiFi Client Mode, LPS8 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 14: Example: Configure As A Lorawan Gateway

    4 Example: Configure as a LoRaWAN gateway LPS8 is fully compatible with LoRaWAN protocol. It uses the legacy Semtech Packet forwarder to forward the LoRaWAN packets to server. The structure is as below. This chapter describes how to use the LPS8 to work with www.thethingsnetwork.org...
  • Page 15: Create A Gateway In Ttn V3 Server

    Create a gateway in TTN V3 Server Step 1: Get a Unique gateway ID. Every LPS8 has a unique gateway id. The ID can be found at LoRaWAN page: The example gateway id is: a840411e96744154 Step 2: Sign up a user account in TTN server https://account.thethingsnetwork.org/register...
  • Page 16 Step 3: Choose the TTNv3 Cluster Picker Note: Choose the cluster corresponds to a specific Gateway server address ➢ eu1.cloud.thethings.network Europe 1 corresponding Gateway server address: ➢ nam1.cloud.thethings.network North America 1 corresponding Gateway server address: ➢ au1.cloud.thethings.network Australia 1 corresponding Gateway server address: ➢...
  • Page 17 Notice: Gateway Server address must match the gateway configuration, otherwise you will have problem for End Node to join the network. After creating the gateway, you can see the gateway info, as below. 17 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 18: Configure Lps8 To Connect To Ttn V3

    Configure LPS8 to connect to TTN v3 You can now configure the LPS8 to let it connect to TTN network V3. Make sure your LPS8 has a working Internet Connection first. Choose the right server provider and click Save&Apply Note: The server address must match the Gateway server address you choose in TTN V3.
  • Page 19 In TTN v3 portal, we can also see the gateway is connected. 19 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 20: Configure Frequency

    Configure frequency We also need to set the frequency plan in LPS8 to match the 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 21: Add A Lorawan End Device

    Add a LoRaWAN End Device This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site. We use LT-22222-L IO Controller as a reference device - the setup for other LoRaWAN devices will be similar.
  • Page 22 Select Add Application to open the screen below. Open the Application select Add end device Start Register the end device Select OTAA activation mode The LoRaWAN version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version or LoRaWAN specification.
  • Page 23 First, input the End device ID, AppEUI and DevEUI. Secondly, choose the corresponding frequency and LoRaWAN class capabilities. 23 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 24: Web Configure

    Finally, Application layer settings input the corresponding AppKey. Before saving the configuration, check that the data matches the device. Step 2: Power on LT-22222-L device and it will automatically join the TTN network. After joining successfully, it will start to upload messages to the TTN v3. Select the Live data tab and you will see the data appearing in the panel.
  • Page 25: Lora Settings

    LoRa Settings 5.2.1 LoRa --> LoRa 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 LPS8 hardware version can support different frequency range: ➢...
  • Page 26: Lora --> Abp Decryption

    5.2.2 LoRa --> ABP Decryption The LPS8 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

    LoRaWAN Settings 5.3.1 LoRaWAN --> LoRaWAN This page is for the connection set up to a general LoRaWAN Network server such as: TTN, 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 1.1.1 LoRaWAN -->...
  • Page 28 28 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 29: Mqtt Settings

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

    5.5.2 System --> General ( login settings) System Password: There are two logins for LPS8: 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 31 Set device timezone. Port forwarding: Enable/Disable the HTTP and SSH access via WAN interface. 31 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 32: System --> Network

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

    5.5.4 System --> WiFi LPS8 WiFi Settings. 5.5.5 System --> Network Status 33 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 34: 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 34 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 35 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 35 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 36: System --> Firmware Upgrade

    5.5.7 System --> Firmware Upgrade We keep improving the LPS8 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/LPS8/Firmware) ➢ Change Log: Firmware Change Log. http://www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8/Firmware/ChangeLog The file named as dragino-lgw–xxxxx-squashfs-sysupgrade.bin...
  • Page 37: System --> Reboot/Reset

    The system will automatically boot into the new firmware after upgrade. Note *: User can also upgrade firmware via Linux console SCP the firmware to the system /var directory and then run root@OpenWrt:~# /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.
  • Page 38: System --> Package Maintain

    5.5.9 System --> Package Maintain Place to show what packages have been installed and possible to upgrade packages. 38 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 39: More Features

    6 More features Packet Filtering Drop unwanted packets: http://wiki.dragino.com/index.php?title=Main_Page#Filter_unwanted_LoRaWAN_packets Remote Access Remote Access Devices for management: Instruction http://wiki.dragino.com/index.php?title=Main_Page#Remote_Access_Gateway_via_Reverse_SSH How to decode ABP LoRaWAN node Decode ABP http://wiki.dragino.com/index.php?title=Communication_with_ABP_End_Node How to set data to MQTT broker Only support ABP LoRaWAN End Node Instruction: http://wiki.dragino.com/index.php?title=Main_Page#MQTT_Forward_Instruction...
  • Page 40: Auto-Provision

    Auto-Provision 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 40 / 50 LPS8 LoRaWAN Gateway User Manual...
  • Page 41: Linux System

    Linux System The LPS8 is based on the OpenWrt Linux system. It is open source, and users are free to configure and modify the Linux settings. SSH Access for Linux console User can access the Linux console via the SSH protocol. Make sure your PC and the LPS8 are...
  • Page 42: Edit And Transfer Files

    Edit and Transfer files The LPS8 supports the SCP protocol and has a built-in SFTP server. There are many ways to edit and transfer files using these protocols. In Windows, one of the easiest methods is using the WinSCP utility.
  • Page 43: Package Maintenance System

    // to get the latest packages list root@dragino-169d30:~# opkg list //shows the available packages root@dragino-169d30:~# opkg install iperf // install iperf The system will automatically install the required packages as shown below. root@dragino-169d30:/etc/opkg# opkg install iperf Installing iperf (2.0.12-1) to root…...
  • Page 44: Upgrade Linux Firmware

    Upgrade Linux Firmware We keep improving the LPS8 Linux side 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/LG02-OLG02/Firmware ➢ Change Log: Firmware Change Log. http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02- OLG02/Firmware/ChangeLog The file named as xxxxx–xxxxx-squashfs-sysupgrade.bin...
  • Page 45: Upgrade Via Linux Console

    Upgrade via Linux console SCP the firmware to the system /var directory and then run root@OpenWrt:~# /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.
  • Page 46: Faq

    How can I configure for a customized frequency band? See below link for how to customize frequency band: http://wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway 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 LPS8 for branding purposes or to add customized applications.
  • Page 47: Trouble Shooting

    10.1 I get kernel error when install new package, how to fix? In some cases, when installing a package with opkg, it will generate a kernel error such as below due to a mismatch I the kernel ID: root@dragino-16c538:~# opkg install kmod-dragino2-si3217x_3.10.49+0.2-1_ar71xx.ipk Installing kmod-dragino2-si3217x (3.10.49+0.2-1) to root… Collected errors:...
  • Page 48: I Configured Lps8 For Wifi Access And Lost Its Ip. What To Do Now

    10.3 I configured LPS8 for WiFi access and lost its IP. What to do now? The LPS8 has a fall-back IP address on its WAN port. This IP is always enabled so you can use the fall-back IP to access LPS8 no matter what the WiFi IP is. The fall back IP is useful for connecting and debug the unit.
  • Page 49: I Connect To The Lps8'S Ssid But Lps8 Didn't Assign Dhcp Ip To My Laptop

    10.4 I connect to the LPS8’s SSID but LPS8 didn’t assign DHCP IP to my laptop? This is a known bug for the firmware version before 2019-09-23 for LPS, the issue was fixed since version: LG02_LG08--build-v5.2.1569218466-20190923-1402. In the old version, user can use the fall back ip method to access and configure the device.
  • Page 50: Packing Info

    12 Packing Info Package Includes: ✓ LPS8 LoRaWAN Gateway x 1 ✓ Stick Antenna for LoRa RF part. Frequency is one of 470 or 868 or 915Mhz depends the model ordered ✓ Packaging with environmental protection paper box Dimension and weight: ✓...

This manual is also suitable for:

Lps8

Table of Contents