Close Menu
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
Facebook X (Twitter) Instagram
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn
How To Electronics
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
How To Electronics
Home » Setting up LPS8N LoRaWAN Gateway with The Things Network
LoRa/LoRaWAN Projects

Setting up LPS8N LoRaWAN Gateway with The Things Network

Mamtaz AlamBy Mamtaz AlamUpdated:March 2, 20239 Mins Read
Share Facebook Twitter LinkedIn Telegram Reddit WhatsApp
Setting up LPS8N LoRaWAN Gateway with The Things Network
Share
Facebook Twitter LinkedIn Pinterest Email Reddit Telegram WhatsApp

Overview

This article provides a guide on how to set up the Dragino LPS8N open-source LoRaWAN Indoor Gateway with The Things Network Server (TTN Server). In LoRaWAN communication, there are LoRa nodes, LoRa gateways, Network Servers, and Application Servers. In this guide, we will focus on setting up a gateway and registering it on The Things Network Server to receive data from LoRa nodes. Earlier we learned to set up LPS8 LoRaWAN Gateway, but LPS8N is more advanced.

The LPS8N is an open-source LoRaWAN Indoor Gateway that bridges LoRa wireless to IP networks via WiFi, Ethernet, 3G, or 4G cellular network, allowing for low-data rate, long-range data transmission. It uses a Semtech packet forwarder and the LoRaWAN Station connection is fully compatible with LoRaWAN protocol and includes an SX1302 LoRaWAN concentrator with 10 programmable demodulation paths. LPS8N has pre-configured LoRaWAN frequency bands for different countries but can be customized. It can communicate with ABP LoRaWAN end nodes without a LoRaWAN server and can be used by system integrators to integrate with existing IoT services.

Setting up a LoRaWAN gateway is essential for building a LoRaWAN network. A gateway is responsible for forwarding data between the LoRa nodes and the Network Server, which then sends the data to the Application Server. The LPS8N Indoor LoRaWAN gateway supports both Ethernet and Wi-Fi connectivity and can connect to The Things Network Server with ease.

Purchase Link: LPS8N Gateway




Dragino LPS8N Indoor LoRaWAN gateway

The LPS8N is a LoRaWAN Indoor Gateway that operates on an open-source platform. With its WiFi, Ethernet, 3G, or 4G cellular network connectivity options, it enables the bridging of LoRa wireless networks to IP networks. The LoRa wireless technology provides users with the ability to transmit data over incredibly long distances at low data rates.

Dragino LPS8N Indoor LoRaWAN gateway

This device uses the Semtech packet forwarder and is fully compatible with the LoRaWAN protocol. It comes equipped with an SX1302 LoRaWAN concentrator that allows for 10 parallel demodulation paths to be programmed.

The LPS8N comes pre-configured with standard LoRaWAN frequency bands for use in different countries. Users can customize these frequency bands for their own LoRa network.

One of the key features of the LPS8N is its ability to communicate with ABP LoRaWAN end nodes without the need for a LoRaWAN server. This makes it an excellent option for system integrators looking to integrate the device into their existing IoT service without setting up their own server or using a third-party LoRaWAN service.

Additional features of the LPS8N include an OpenWrt system, a web GUI for management, SSH via WAN or WiFi for remote access, and the ability to emulate 49x LoRa demodulators. It also supports the Semtech Packet Forwarder, LoRaWAN basic station, and optional 3G/4G cellular connectivity. The device supports different levels of login and allows for the local decoding of ABP end node information and transfer to an MQTT server.


Hardware

The gateway has an antenna to receive the LoRa Packets in 8-channels. On the front side, it has a USB Type C port for Input Power of DC 5V,2A. Apart from the power, it also has an Ethernet port, USB Host Port & a Toggle button to reset the gateway.

The other sides of the Gateway have SIM Card slot to install a 4G Sim Card for Cellular Connectivity.

There are two antenna ports for connecting an antenna as LoRa Antenna and a 4G Antenna.

At bottom of the gateway, it has the LoRa Pico Station information Like Model-LPS8N, Frequency Band, Serial Number, and the WiFi mac address.



LED Indicators

LPS8N has totally four LEDs, They are:

  • Power LED: This RED LED will be solid if the device is properly powered.
  • Wireless LED: No function yet.
  • SYS LED: This RGB LED will show different colors on the different states:
    • SOLID BLUE: The device is alive with a LoRaWAN server connection.
    • BLINKING BLUE: a) Device has an internet connection but no LoRaWAN Connection.  or   b) Device is in the booting stage, in this stage, it will BLINKING BLUE for several seconds and then with SOLID RED and BLINKING BLUE together
    • SOLID RED: The device doesn’t have an Internet connection.
  • ETH LED:  This LED shows the ETH interface connection status.

Button Instruction

LPS8N has a black toggle button, which is:

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

LED status:  SYS LED will BLINKING BLUE Until the reload is finished.

➢ Long press more than 30s: The gateway will restart and restore factory settings.

LED status:  When the user releases the button, the LED will TURN OFF.


How to configure LPS8N Indoor LoRaWAN Gateway?

There are three methods to configure the LPS8N LoRaWAN Gateway. By default, the LPS8N is configured as a WiFi Access Point. To access and configure the LPS8, you can connect to its WiFi network or use its WAN Ethernet port.


1. Connect via WiFi

At the first boot of LPS8, it will auto-generate a WiFi network called dragino-xxxxxx with password: dragino+dragino

You can use a PC to connect to this WiFi network. The PC will get an IP address of 10.130.1.xxx and the LPS8N has the default IP 10.130.1.1.



2. Connect via Ethernet with DHCP IP from router

Alternatively, connect the LPS8N Ethernet port to your router and LPS8N 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. You can also use this IP to connect.


3. Connect via WiFi with DHCP IP from router

If the LPS8N already connects to the router via WiFi, use can use the WiFi IP to connect to LPS8N.


Configuring Network Connection to Gateway

You can use any of the methods mentioned above to connect the Gateway to WiFi Network. The LPS8N is configured as a WiFi Access Point by factory default. So I followed the first method to connect to the network.

The Gateway will generate WiFi access point called dragino-xxxxxx with password: dragino+dragino. Connect to that Access point by entering the password.

After successful connection, open any of the Web Browser. Then browse to the following IP: 10.130.1.1. A web page like the below will appear.

Enter the User Name: root & Password: dragino. Then hit enter. A webpage like below will appear.

Setting LPS8N LoRaWAN Gateway

The login page will show internet connectivity status. If it is connected to the internet, it is wifi or ethernet. The webpage will also show the status of LoRaWAN connection, the LoRa connection, and the Access point connection.

At this moment the Dragino LPS8N LoRaWAN Indoor Gateway doesn’t have an internet connection. So, first, we need to configure the LPS8N as a WiFi client by providing the Wifi credentials.


Go to the network, then click on WiFi.

The following Webpage will appear.

Click on the WiFi survey and select your WiFi Network. Then enter the WiFi password. Also “Enable WiFi client” option. Finally, you can click on save and apply.

Now you will get the following response as green. Congratulations, your Gateway is connected to the WiFi Network.

Now uncheck the above Enable WiFi access point option and click on the save and apply button. This will disable the Access Point. At this time you need to find the IP Address of your Gateway. You can get the IP Address from your WiFi Router Login page.

In case if you are unable to get the IP Address of your Gateway then you can connect the Gateway via Ethernet with fall back IP. The complete process is explained in the LPS8N User Manual.


Configuring Gateway Frequency & Gateway ID

Now, we need to setup the LoRa frequency. To do that go to the LoRa option as shown in the image below.

From the frequency option you need to select your LoRa frequency. Currently, I am using my LoRa devices from Canada which is in Nother America. The LoRaWAN frequency allocated for this region is 915MHz.

You can select the frequency band allowed in your region. There is also an option for GPS Enabling which you may enable or disable. Finally, click on save and apply.

The frequency band is allocated now. Now we need to get the Gateway ID. To get that go to the following option as LoRaWAN Semtech UDP.

Copy the Gateway ID as this will be required later. Then select the LoRaWAN Server as The Things Network V3. Select the server address as nam1.cloud.thethings.network.

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

Click on save & apply. So finally the setting up of LPS8N Dragino LoRaWAN Gateway completes.




Registering LPS8N LoRaWAN Gateway on The Things Network

Now we need to register the LoRaWAN Gateway on The Things Network. To do that go to thethingsnetwork.org.

LPS8N LoRaWAN The Things Network

Here you need to signup by providing all required details. Then log in to the platform using the same credentials. Get back to the homepage & Click on the username and select console.

The Things Network has divided all countries into 3 different clusters and assigned different server locations. Select the cluster according to your region. For me, I will select North America.

From the homepage of the things stack community edition, choose to register a gateway.

The registration page will appear. The owner will be selected by default. You may change it if you want. Enter the gateway ID that you copied earlier from the LoRaWAN page.

Then Give a name for your gateway, and also add a description for the gateway if you want.

Then set the gateway server address, frequency plan and keep all remaining selections as default. Then click on create Gateway. Finally, the gateway will be created successfully.

The status of the gateway will show disconnected initially. Refresh the page after some time. Hence the Gateway will show connected status.

Finally we configured the 8-channel LPS8N gateway to communicate with The things networks server & activated the LoRaWAN Pico station. This is how we can set up & register the Dragino LPS8N LoRaWAN Gateway to The Things Network Server TTN.




Configure frequency

We also need to set the frequency plan in LPS8N 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.

Now the LoRa Nodes can send data to the Gateway over long distances. The LoRa Nodes will pick up the data from a remote location and send it to the LPS8N LoRaWAN Gateway. The LoRaWAN Gateway can be configured with other servers where we can monitor the data remotely.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit Telegram WhatsApp
Previous ArticleIoT LED Control using Blynk 2.0 & Raspberry Pi Pico W
Next Article IoT Soil Moisture Monitor with Raspberry Pi Pico W & Blynk

Related Posts

DIY LoRa-Enabled IoT Geo-Fencing using GPS, Arduino & ESP8266

LoRa-Enabled IoT Geo-Fencing using GPS, Arduino & ESP8266

Updated:November 11, 202466K
LoRa Based Low Power GPS Tracker with Arduino & ESP8266

LoRa Based Low Power GPS Tracker with Arduino & ESP8266

Updated:November 11, 2024216K
LoRaWAN Temperature Humidity Soil Moisture Sensor Data on TTN & Thingspeak

Smart Soil Moisture Monitoring with LoRaWAN on TTN Server

Updated:March 12, 202313K
SX1272 Based LoRa USB Dongle Gateway 868/915MHz

SX1272 Based LoRa USB Dongle Gateway 868/915MHz

Updated:October 19, 20222K
OTAA LoRaWAN Node SX1276 Arduino

OTAA-based LoRaWAN Node with Arduino & LoRa SX1276

Updated:May 28, 2023213K
ABP LoRaWAN Node Arduino

ABP-based LoRaWAN Node with Arduino & LoRa SX1276

Updated:May 28, 20234K
Add A Comment

CommentsCancel reply

Latest Posts
IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

May 31, 2026
DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

May 10, 2026
IoT Activity Tracker with ESP32 & Accelerometer Gyroscope

IoT Activity Tracker with ESP32 & Accelerometer/Gyroscope

May 2, 2026
A Guide to Sourcing Obsolete ICs for Vintage Projects

Beyond AliExpress: A Guide to Sourcing Obsolete ICs for Vintage Projects

April 21, 2026

ESP32 IoT Vehicle Motion Analyzer with MPU6050 & LIS3MDL

April 27, 2026
Building a Smart Sensor Node with a BLE Microcontroller

Building a Smart Sensor Node with a BLE Microcontroller

February 26, 2026
High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

April 27, 2026
DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

February 1, 2026
Top Posts & Pages
  • IoT Based PM & Air Quality Monitoring System using ESP32
    IoT Based PM & Air Quality Monitoring System using ESP32
  • 12V DC to 220V AC Inverter Circuit & PCB
    12V DC to 220V AC Inverter Circuit & PCB
  • IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
    IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
  • Buck Converter: Basics, Working, Design & Application
    Buck Converter: Basics, Working, Design & Application
  • ECG Graph Monitoring with AD8232 ECG Sensor & Arduino
    ECG Graph Monitoring with AD8232 ECG Sensor & Arduino
  • How to use INA219 DC Current Sensor Module with Arduino
    How to use INA219 DC Current Sensor Module with Arduino
  • Interfacing PN532 NFC RFID Module with Arduino
    Interfacing PN532 NFC RFID Module with Arduino
  • IoT Based ECG Monitoring with AD8232 ECG Sensor & ESP32
    IoT Based ECG Monitoring with AD8232 ECG Sensor & ESP32
Categories
  • Arduino Projects (197)
  • Articles (60)
    • Learn Electronics (19)
    • Product Review (15)
    • Tech Articles (28)
  • Electronics Circuits (46)
    • 555 Timer Projects (21)
    • Op-Amp Circuits (7)
    • Power Electronics (13)
  • IoT Projects (204)
    • ESP32 MicroPython (7)
    • ESP32 Projects (81)
    • ESP32-CAM Projects (15)
    • ESP8266 Projects (76)
    • LoRa/LoRaWAN Projects (22)
  • Microcontrollers (38)
    • AMB82-Mini IoT AI Camera (4)
    • BLE Projects (18)
    • STM32 Projects (19)
  • Raspberry Pi (93)
    • Raspberry Pi Pico Projects (57)
    • Raspberry Pi Pico W Projects (12)
    • Raspberry Pi Projects (24)
Follow Us
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
About Us

“‘How to Electronics’ is a vibrant community for electronics enthusiasts and professionals. We deliver latest insights in areas such as Embedded Systems, Power Electronics, AI, IoT, and Robotics. Our goal is to stimulate innovation and provide practical solutions for students, organizations, and industries. Join us to transform learning into a joyful journey of discovery and innovation.

Copyright © How To Electronics. All rights reserved.
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Looks like you're using an ad blocker. Please allow ads on our site. We rely on advertising to help fund our site.