image-20220620202334-2.png

 

 

Table of Contents:

1. Introduction

1.1 What is LPS8v2

The LPS8v2 is an open-source LoRaWAN Gateway. It lets you bridge LoRa wireless network to an IP network via WiFi , Ethernet or Cellular Network (via Optional 4G module). The LoRa wireless allows users to send data and reach extremely long ranges at low data rates.

The LPS8v2 is fully compatible with LoRaWAN protocol. It supports different kinds of LoRaWAN Network Connections such as: Semtech UDP Packet Forwarder, LoRaWAN Basic Station, ChirpStack MQTT Bridge, and so on. This makes LPS8V2 work with most LoRaWAN platforms in the market.

LPS8v2 also includes a built-in LoRaWAN Server and IoT server, which provide the possibility for the system integrator to deploy the IoT service without cloud service or 3rd servers.

Different countries use different LoRaWAN frequency bands. LPS8v2 has these bands pre-configured. Users can also customize the frequency bands to use in their own LoRa network.

LPS8v2 supports remote management. System Integrator can easy to remote monitor the gateway and maintain it.

1.2 Specifications

Hardware System:

  • CPU: Quad-core Cortex-A7 1.2Ghz
  • RAM: 512MB
  • eMMC: 4GB

Interface:

  • 10M/100M RJ45 Ports x 1
  • Multi-Channel LoRaWAN Wireless
  • WiFi 802.11 b/g/n
  • Sensitivity: -140dBm
  • Max Output Power: 27dBm

Operating Condition:

  • Work Temperature: -20 ~ 70°C
  • Storage Temperature: -20 ~ 70°C
  • Power Input: 5V, 2A, DC

1.3 Features

  • Open Source Debian system
  • Managed by Web GUI, SSH via WAN or WiFi
  • Remote Management
  • Auto-provisioning for batch deployment and management
  • LoRaWAN Gateway
  • 10 programmable parallel demodulation paths
  • Pre-configured to support different LoRaWAN regional settings.
  • Allow customizing LoRaWAN regional parameters.
  • Different kinds of LoRaWAN Connections such as
    • Semtech UDP Packet Forwarder
    • LoRaWAN Basic Station
    • ChirpStack-Gateway-Bridge (MQTT)
  • Built-in The Things Network local LoRaWAN server 
  • Built-in  Node-Red local Application server

1.4 LED Indicators

LPS8-V2 has totally four LEDs, They are:

➢ Power LED: This RED LED will be solid if the device is properly powered

➢ ETH LED:   This RGB LED will blink GREEN when the ETH port is connecting

➢ SYS LED:   This RGB LED will show different colors in different states:

                     ✓ SOLID GREEN: The device is alive with a LoRaWAN server connection.

                     ✓ BLINKING GREEN: a) Device has internet connection but no LoRaWAN Connection. or b) Device is in booting stage, in this stage, it will BLINKING GREEN for several seconds and then with BLINKING GREEN together

                     ✓ SOLID RED: Device doesn't have an Internet connection.

➢ WIFI LED: This LED shows the WIFI interface connection status.

1.5 Button Intruction

LPS8-V2 has a black toggle button, which is:

➢ Long press 4-5s                   : the gateway will reload the Network and Initialize wifi configuration

                                                      LED status:  ETH LED will BLINKIND BULE Until the reload is finished.

➢ Long press more than 10s:    the gateway will restore the factory settings.

                                                     LED status:  ETH LED will SOLID BULE Until the restore is finished.

Note: Restoring factory Settings does not erase data from the LPS8-V2 built-in server

See this link for steps on how to clear data from the built-in server: 

How to clear data from the built-in server

2. Quick Start

The LPS8-V2 supports network access via Ethernet or Wi-Fi connection and runs without a network.

In most cases, the first thing you need to do is make the lps8-v2 accessible to the network.

2.1 Access and Configure LPS8-V2

2.1.1 Find IP address of LPS8-V2

Method 1:  Connect via LPS8-V2 WiFi

Since software version 230524,At the first boot of LPS8-V2, it will auto generate a WiFi network called dragino-xxxxxx with password:

dragino+dragino

User can use a PC to connect to this WiFi network. The PC will get an IP address 10.130.1.xxx and the LPS8-V2 has the default IP 10.130.1.1

image-20230527084515-1.png

image-20230527085250-2.png

Method 2:  Connect via Ethernet with DHCP IP from the router

Connect the LPS8-V2 Ethernet port to your router and LPS8-V2 can obtain an IP address from your router. In the router's management portal, you should be able to find what IP address the router has assigned to the LPS8-V2.

You can also use this IP to connect.

image-20220622100129-1.png

Method 3:  Connect via LPS8-V2 Fallback IP

image-20230107084650-2.png

Steps to connect via fallback IP:

1. Connect the PC's Ethernet port to LPS8-V2's WAN port

2. Configure PC's Ethernet port has IP: 172.31.255.253 and Netmask: 255.255.255.252

Settings --> Network & Internet --> Ethernet --> Change advanced sharing options --> Double-click"Ethernet" --> Internet Protocol Version 4 (TCP/IPv4)

As in the below photo:

image-20230413172038-1.png

Configure computer Ethernet port steps video: fallback ip.mp4

If you still can't access the LPS8-V2 fallback ip, follow this connection to debug : Trouble Shooting

3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console.

image-20230111094247-2.png

Method 4:  Connect via WiFi with DHCP IP from the router

image-20220622100542-2.png

Fill in the WiFi information by checking the box and clicking Save&Apply

image-20220622102702-6.png

Wi-Fi configuration successful

image-20220622102847-7.png

image-20220622102901-8.png

2.1.2 Access Configure Web UI

Web Interface

Open a browser on the PC and type the LPS8-V2 ip address (depends on your connect method)

http://IP_ADDRESS  or http://172.31.255.254(Fallback IP)

You will see the login interface of LPS8-V2 as shown below.

The account details for Web Login are:

User Name: root

Password:   dragino

image-20230106153501-1.png

2.2  Typical Network Setup

2.2.1  Overview

LPS8-V2 supports flexible network set up for different environment. This section describes the typical network topology can be set in LPS8-V2. The typical network set up includes:

  • WAN Port Internet Mode
  • WiFi Client Mode
  • Cellular Mode

2.2.2  Use WAN port to access Internet

By default, the LPS8-V2 is set to use the WAN port to connect to an upstream network. When you connect the LPS8-V2's WAN port to an upstream router, LPS8-V2 will get an IP address from the router and have Internet access via the upstream router. The network status can be checked in the home page:

image-20230411100633-2.png

2.2.3  Access the Internet as a WiFi Client

In the WiFi Client Mode, LPS8-V2 acts as a WiFi client and gets DHCP from an upstream router via WiFi.

The settings for WiFi Client is under page Network -->  Wi-Fi

image-20230411095739-1.png

In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save & Apply to connect.

2.2.4  Use built-in 4G modem for internet access

Since Hardware version HP0C 1.4

Users can see whether LPS8v2 has EC25 on the label of the gateway to determine whether there is 3G/4G Cellular modem.

If the LPS8-V2 has 3G/4G Cellular modem, user can use it as main internet connection or back up.

First, install the Micro SIM card as below direction

Second, Power off/ ON LPS8-V2 to let it detect the SIM card.

1657090855037-497.png

The set up page is Network --> Cellular

While use the cellular as Backup WAN, device will use Cellular for internet connection while WAN port or WiFi is not valid and switch back to WAN port or WiFi after they recover.

1657090932270-444.png

2.2.5  Check Internet connection

In the home page, we can check the Internet connection.

  • GREEN Tick ​​​​ 1652436675869-206.png  : This interface has Internet connection.
  • Yellow  Tick  1652436705761-420.png : This interface has IP address but don't use it for internet connection.
  • RED Cross    1652436787176-950.png : This interface doesn't connected or no internet.

image-20230411101534-3.png

2.3 The LPS8-V2 is registered and connected to The Things Network

2.3.1 Select your area frequency

First, you need to set the frequency plan in LPS8-V2 to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor.

 

image-20220622103332-9.png

2.3.2 Get the only gateway EUI

Every LPS8-V2 has a unique gateway id. The ID can be found on LoRaWAN Semtech page:

image-20220622103355-10.png

Note: Choose the cluster that corresponds to a specific Gateway server address

➢ Europe 1:                 corresponding Gateway server address:     eu1.cloud.thethings.network

➢ North America 1:    corresponding Gateway server address:     nam1.cloud.thethings.network

➢ Australia 1:              corresponding Gateway server address:     au1.cloud.thethings.network

➢ Legacy V2 Console: TTN v2 shuts down in December 2021

image-20220622103956-12.png

2.3.3 Register the gateway to The Things Network

Login to The Things Network

https://console.cloud.thethings.network/

Add the gateway

image-20220622104252-13.png

Get it online

3. Web Configure Pages

3.1 Home

Shows the system running status:

image-20220622102901-8.png

3.2 LoRa Settings

3.2.1 LoRa --> LoRa

This page shows the LoRa Radio Settings. There is a set of default frequency bands according to LoRaWAN protocol, and users can customize the band* as well.

Different LPS8v2 hardware versions can support different frequency ranges:

  • 868: valid frequency: 863Mhz ~ 870Mhz. for bands EU868, RU864, IN865, or KZ865.
  • 915: valid frequency: 902Mhz ~ 928Mhz. for bands US915, AU915, AS923 or KR920

After the user choose the frequency plan,  the user can see the actual frequency is used by checking the page LogRead --> LoRa Log

image-20220616110739-1.png

Note *: See this instruction for how to customize the frequency band: How to customized LoRaWAN frequency band - DRAGINO

3.3 LoRaWAN Settings

3.3.1 LoRaWAN --> LoRaWAN Semtech UDP

This page is for the connection set up to a general LoRaWAN Network server such as TTN, ChirpStack, etc.

image-20220616111932-2.png

3.3.2 LoRaWAN --> LoRaWAN Basic Station

This page is for the connection set up to the TTN Basic Station, AWS-IoT, etc.

image-20220616113246-3.png

Please see this instruction to know more detail and a demo for how to use of LoRaWAN Basic Station: Use of LoRaWAN Basic Station - DRAGINO

3.4 Network Settings

3.4.1 Network --> WiFi

Users can configure the wifi WAN and enable Wifi Access Point on this interface

image-20230619095946-1.png

3.4.2 Network --> System Status

image-20220820134112-2.png

3.4.3 Network --> Network

In the Network --> Network interface, Users can set the Ethernet WAN static ip address.

image-20230214093657-2.png

3.4.4 Network --> Cellular

In the Network --> Cellular interface, Users can Enable Cellular WAN and configure Celluar.

Note: APN cannot be empty.

image-20230228115126-1.png

After the configuration is complete, return to the Home interface and put the mouse on the Cell icon to check the Cellular state.

image-20230228115535-2.png

Note: Known bugs: 4g consumes a lot of data which has been fixed by the package: dragino-ui-230716

Reduce data method

3.5 System

3.5.1 System --> System Overview

Shows the system info:

image-20220917144512-5.png

3.5.2 System --> System General

In the System-> System General interface, Users can customize the configuration System Password and set Timezone.

In addition, Users can customize the FallBack IP address.

image-20230214094058-3.png

3.5.3 System --> Backup/Restore

image-20220917144725-6.png

3.5.4 System --> Remoteit

In the System-> Remoteit interface, users can configure the gateway to be accessed remotely via Remote.it.

the users can refer to this link to configure them: Monitor & Remote Access Gateway

image-20221230092303-2.png

3.5.5 System --> Package Management

In the System --> Package Management interface, Users can check the current version of Core Packages.

image-20230214094316-4.png

4. Build-in Server

Since software version 0606,the default factory version of LPS8-V2 is installed with the built-in Applicant server: Node-Red, LoRaWAN Server: ChirpStack.

image-20230616175617-8.png

image-20230616175558-7.png

Note:

         Path: Server --> Network Server 

                   Server --> Application Server

Troubleshooting:

         1. URL does not jump properly

                For the ChirpStack, you can use the local IP address and the port is 8080 to access it.

                For the Node-Red, you can use the local IP address and the port is 1880 to access it.

4.1 LoRaWAN Network  Server -- ChirpStack

You can access the gateway's built-in LNS server of ChirpStack via the URL( http://<hostname>:8080 or http://<local-IPV4-address> ) in your browser.

Such as  http://dragino-54ff12:8080  or http://<Local-IPV4-Address>

Login account:

Username :        admin

Password:          admin

image-20230616175332-6.png

4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack

Users need to set the Service Provider to Local Host/Build-in Server  and click "Save&Apply"

The registration steps are basically similar to LPS8-V2 is registered and connected to The Things Network

image-20230321092456-1.png

4.2 Application Server -- Node-Red

You can access the gateway's built-in AS server of Node-Red via the URL(http://<hostname>:1880 or http://<local-IPV4-address>) in your browser.

Such as http://dragino-54ff12:1880  or http://<Local-IPV4-Address>

image-20220725172124-3.png

Using Node-Red, InfluxDB and Grafana

The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed.

the users can refer to this link to install them.

http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb

Upgrade the node.js

By default, the LPS8-V2 node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old.

the users can refer to this link to upgrade them.

http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.

4.3 How to disable the built-in server

Use the following commands to start and stop the TTNv3 service:

# start
systemctl start ttnstack

# stop
systemctl stop ttnstack

# enable
systemctl enable ttnstack

#disable
systemctl disable ttnstack

Use the following commands to start and stop the Node-Red service:

# start
systemctl start nodered

# stop
systemctl stop nodered

# enable
systemctl enable nodered

#disable
systemctl disable nodered

4.4 How to use ChirpStack on LPS8-V2

By default, the built-in LoRaWAN network server used on LPS8v2 is TTNv3, so users need follow this link to install chirpstack:

Build-in The Things Network migrate to ChirpStack

4.4.1 How do users choose the chirpstack server frequency SubBand

On the Server --> Network Server interface, choose the frequency Plan first.

If the frequency Plan used is CN470, US915, AU915, or AS923, the user needs to choose a frequency sub-band, because the frequency Sub Band of ChirpStack starts from 0, so for example, us915_1 corresponds to the actual frequency US915_2.

image-20230602140406-3.png

When the configuration is complete, click "Save&Apply".

Note: When adding device profile, the selected Region configuration is also calculated from 0, so setting it to us915_1 corresponds to US915 Sub Band 2.

image-20230602143122-4.png

5. How the LPS8-V2 connects to Chirpstack via gateway-bridge

6. How users can access LPS8-V2 using serial USB

USB TTL to LPS8-V2  Connection:

Port 1 of the UART on the LPS8-V2 is GND

TXD  <---> UART RXD (Gray line)

RXD  <---> UART TXD (White line)

GND <---> GND (Black line)

LPS8v2 UART connection photo

image-20230421094319-2.png

In the PC,you can use the serial port tool(such as putty in Windows), you need to set the serial baud rate to 115200 to access the serial console for LPS8v2. LPS8v2 will output system info once power on as below:

image-20220804164928-3.png

image-20220804164747-2.png

7. OTA System Update

LPS8v2 supports system auto-update via OTA, please see this URL for the detail of this feature.

7.1 Auto-update method

The default, each gateway will enable the auto-update function.

this function will be triggered every boot and every midnight.

Users can enable/disable it via Web Page

image-20230607094447-2.png

7.2 Manual upgrade method

1). Using the Linux command to upgrade the system

apt update && apt install *dragino*

2). Upgrade the system via the Web page button of "Manual Update"

Note: this method needs about 10 mins, so you will get the log after 10 mins.  

image-20230607093849-1.png

8. FAQ

8.1 How to change Hostname

By default, Hostname is dragino-xxxxxx,If the user needs to change the hostname, the user needs to access the linux console of LPS8v2 and enter the following command:

hostnamectl set-hostname dragino-123456

image-20230517102429-1.png

After the configuration is complete, run "reboot" to restart the gateway.

8.2 Build-in The Things Network migrate to ChirpStack

Migrate guide:

1. Ensure that the gateway is in good network condition, Recommended use of ETH.

2. On the Server --> Network Server interface, click "Management"

image-20230616162454-1.png

3. Click "Migrate-Chirpstack"

image-20230616162742-2.png

4. Strat Install 

Click start Install and wait until the migration succeeds

image-20230616162934-3.png

5.Migration complete check result

image-20230616174526-4.png

image-20230616180004-9.png

8.3 How to reduce the 4g data consumed

1). The gateway will check the network via ping 1.1.1.1/8.8.8.8 which will consume a lot of data, you can set the interval time to reduce data consume.

image-20230719100239-1.png

2. Change the LoRa status package interval time: It does not affect the connection between the gateway and the server, just the status packet interval

image-20230719100332-2.png

3. Disable the auto-update:

image-20230719100419-3.png

8.4 How to connect the helium blockchain as a Data-only hotspot

apt update && apt install helium-gateway

9. Trouble Shooting

9.1  I can't log in to the built-in Server TTN Stack which shows 'Login failed'.

image-20220920135918-1.png

This is caused by the inconsistency between the built-in TTN-Stack domain configuration and your login URL.

By default, ttn-stack uses the gateway's domain name for URL resolution, but in some networks, they prefer to resolve IP-v4 addresses.

So you can change the domain name of the TTN-Stack configuration to the IPv4 address.

Click the update URL button to configure the URL with the current eth port address.

image-20220920141936-2.png

9.2  The built-in TTN status is "Not Running" and the URI is "dragino-123456". How users fix this problem

When this problem occurs, click "Update To DEFAULT" ,this problem will be fixed.

image-20230508171607-1.png

9.3  Fallback IP does not work, how can users check

When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP.

1.Check whether the configuration is correct

Run the CMD command to ipconfig and ping 172.31.255.254.

If this fails, the user needs to reconfigure.

image-20230413170224-3.png

image-20230413170246-4.png

2. Check whether the firewall is disabled

If the firewall is not down, this will affect access to the gateway.

9.4  Click "Manual_Update", why there is no response?

When you click "Manual_Update", the gateway will finish updating within 10 minutes and display the update log.

image-20230527090555-3.png

9.5  Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access

Earlier versions of the LPS8V2 which missing the AP driver and not installed the fallback package, so the users have to do an extra update. 

9.6  How to clear data from the built-in server

1) Build-in The Things Network

Refer to this link to delete the Built-in server's device.

Delete devices from Build-in The Things Network

2) Build-in Chirpstack

10. Supports

If you are experiencing issues and can't solve them, you can send mail to support@dragino.com.

With your question as detailed as possible. We will reply and help you in the shortest.

11. Reference

 

12. Order Info

LPS8v2-XXX-YYY

XXX: Frequency Band

  • AS923: LoRaWAN AS923 band
  • AU915: LoRaWAN AU915 band
  • EU868: LoRaWAN EU868 band
  • KR920: LoRaWAN KR920 band
  • US915: LoRaWAN US915 band
  • IN865:  LoRaWAN IN865 band

YYY: 4G Cellular Option

  • EC25-E:      EMEA, Korea, Thailand, India
  • EC25-AFX: America:Verizon, AT&T(FirstNet), U.S.Cellular; Canada:Telus
  • EC25-AUX: Latin America, New Zeland, Taiwan
  • EC25-J:      Japan, DOCOMO, SoftBank, KDDI

More info about valid bands, please see EC25-E product page.

13. Manufacturer Info

Shenzhen Dragino Technology Development co. LTD

Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad

LongCheng Street, LongGang District ; Shenzhen 518116,China

14. FCC Warning

This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:

-- Reorient or relocate the receiving antenna.

-- Increase the separation between the equipment and receiver.

-- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.

-- Consult the dealer or an experienced radio/TV technician for help.

Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.

The antenna(s) used for this transmitter must be installed to provide a separation distance of at least 20 cm from all persons and must not be co-located or operating in conjunction with any other antenna or transmitter.

 

Tags:
    
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0