Free shipping €150+
Blog/tutorials

Setting Up Dragino LPS8 Gateway with The Things Network: Complete Tutorial

Step-by-step guide to configure your Dragino LPS8 LoRaWAN gateway with The Things Network (TTN). Includes troubleshooting tips and best practices for optimal coverage.

Robotics3D TeamJanuary 15, 202515 min read
LoRaWAN Gateway installed for IoT network
A professional LoRaWAN gateway installation - the foundation of any IoT network. Image: Wikimedia Commons (CC-BY-SA)

Introduction

Setting up your first LoRaWAN gateway is an exciting milestone in building IoT applications. The Dragino LPS8 is one of the most popular gateways for hobbyists and professionals alike, offering excellent performance at an affordable price point.

What You'll Learn

  • How to physically set up and connect your Dragino LPS8
  • Step-by-step TTN (The Things Network) registration
  • Gateway configuration and network settings
  • Antenna placement optimization for maximum range
  • Troubleshooting common connection issues

This comprehensive tutorial walks you through every step of configuring your Dragino LPS8 gateway to connect with The Things Network (TTN), the world's largest community-operated LoRaWAN network.

Hardware Requirements

Component Description Required?
Dragino LPS8 Gateway8-channel indoor LoRaWAN gatewayYes
Power Adapter12V DC power supply (included)Yes
LoRa Antenna868 MHz (EU) or 915 MHz (US)Yes
Ethernet CableFor initial network setupYes
External AntennaHigh-gain for extended rangeOptional
4G/LTE ModuleFor remote deploymentsOptional

You can find all necessary hardware components in our Dragino collection.

Gateway Physical Setup

LoRa antenna module setup
LoRa module with antenna - always connect before powering on! Image: Wikimedia Commons (CC-BY-SA)

Step 1: Unboxing and Inspection

Carefully unpack your gateway and verify all components are present:

  • LPS8 gateway unit
  • LoRa antenna (868 or 915 MHz)
  • 12V DC power adapter
  • Quick start guide

Step 2: Antenna Installation

CRITICAL WARNING

Always attach the antenna BEFORE powering on the gateway. Operating a LoRa gateway without an antenna can permanently damage the radio transceiver.

  1. Locate the RP-SMA antenna connector on the gateway
  2. Carefully screw the antenna onto the connector (clockwise)
  3. Hand-tighten only - do not use tools
  4. Position antenna vertically for omnidirectional coverage

Step 3: LED Indicators

LED Color Status
Power Green (solid)Power connected
System Green (blinking)Normal operation
LAN Yellow (blinking)Network activity
LoRa Blue (blinking)Receiving packets

Registering Gateway on The Things Network

LoRaWAN network architecture diagram
LoRaWAN network architecture: Devices → Gateway → Network Server → Application. Image: Wikimedia Commons (CC-BY-SA)

Step 1: Create TTN Account

  1. Visit thethingsnetwork.org and click "Sign Up"
  2. Complete registration with your email address
  3. Verify your email and log in
  4. Accept the Fair Use Policy terms

Step 2: Register Your Gateway

Gateway Registration Details

  • Gateway EUI: Find on sticker or in web interface
  • Gateway ID: Choose unique name (e.g., "my-lps8-home")
  • Frequency Plan:
    • Europe: EU 863-870 MHz
    • North America: US 902-928 MHz
    • Asia: Check local regulations

Network Configuration

Access the Gateway Web Interface

Find your gateway's IP address using your router's admin panel or a network scanner, then:

  1. Open browser and enter the IP (e.g., http://192.168.1.150)
  2. Login with default credentials:
    • Username: root
    • Password: dragino

Security Note

Change the default password immediately after first login to prevent unauthorized access to your gateway.

Configure TTN Connection

Navigate to LoRaWAN → LoRaWAN and configure:

Service Provider: The Things Network V3
Server Address: eu1.cloud.thethings.network (for Europe)
Server Port Up: 1700
Server Port Down: 1700
Frequency Plan: EU868 (or your region)

Click "Save & Apply" and wait 30-60 seconds for the gateway to restart.

Testing Gateway Connection

Server infrastructure for LoRaWAN network
Network server infrastructure powering IoT applications. Image: Wikimedia Commons (CC-BY-SA)

Verify TTN Console Connection

  1. Return to TTN Console
  2. Navigate to your registered gateway
  3. Click "Live data" tab
  4. Look for "Gateway status received" messages every 30 seconds

Success Indicator

If you see status messages and a green "Connected" indicator, your gateway is properly configured!

Antenna Placement Optimization

Indoor Placement

  • Top floor, near windows
  • Away from metal objects
  • Antenna vertical
  • Expected range: 1-3 km urban

Outdoor Placement

  • Roof or elevated pole
  • Clear line-of-sight
  • Weatherproof enclosure
  • Expected range: 5-10+ km

Troubleshooting Common Issues

Gateway Not Connecting to TTN

  • Verify Gateway EUI matches TTN registration
  • Check server address (eu1.cloud.thethings.network)
  • Ensure UDP port 1700 is not blocked by firewall
  • Power cycle the gateway

Can't Access Web Interface

  • Verify same network as gateway
  • Try default IP: 10.130.1.1
  • Disable firewall temporarily
  • Factory reset (hold reset 10 seconds)

No Packets from Devices

  • Check device DevEUI and AppKey on TTN
  • Verify same frequency plan
  • Test with device very close to gateway
  • Check device batteries

Next Steps

Ready to Build IoT Applications!

  • Deploy sensors: Add Dragino LHT65, LSE01, or other sensors
  • Build dashboards: Use Node-RED, Grafana, or TTN integrations
  • Expand coverage: Deploy additional gateways
  • Join community: The Things Network forums

For more advanced tutorials, check out our articles on smart agriculture with LoRaWAN and building a weather station.

Frequently Asked Questions

What is the default IP address of Dragino LPS8 gateway?

The Dragino LPS8 typically obtains an IP address automatically via DHCP from your router. If DHCP is not available, some models default to 10.130.1.1. Check your router's connected devices list to find the assigned IP address.

Can I use Dragino LPS8 with a private LoRaWAN server instead of TTN?

Yes, the Dragino LPS8 supports multiple network servers including ChirpStack, AWS IoT Core for LoRaWAN, and other Semtech Packet Forwarder compatible servers. Simply change the 'Service Provider' setting in the gateway configuration to 'Custom' and enter your server details.

How many devices can one Dragino LPS8 gateway support?

The LPS8 is an 8-channel gateway that can theoretically handle thousands of devices, depending on how frequently they transmit. With devices sending data every hour, a single LPS8 can easily support 1000+ sensors. The actual limit depends on total message volume and network congestion.

Do I need to configure firewall rules for the gateway?

The Dragino LPS8 needs outbound UDP traffic on port 1700 to communicate with the network server. Most home routers allow outbound UDP by default. If using a corporate firewall, ensure UDP port 1700 is allowed for outbound traffic to your network server address.

Can I power the Dragino LPS8 with Power over Ethernet (PoE)?

The standard LPS8 does not support PoE and requires the included 12V DC power adapter. However, Dragino offers the LPS8N model which includes PoE support, making deployment easier in locations where power outlets are limited.

Related Products

Ready to Build?

Get all the components you need for your next project.

Shop Products
Contact1