Connect HT-M00 to LoRa Server

[简体中文]

Summary

This article aims to describe how to connect HT-M00 Gateway to a LoRa server, such as TTN, ChirpStack, Heltec Cloud Server, which facilitates secondary development and rapid deployment of LoRa devices.

Before all operation, make sure the HT-M00 is runing well . If not, please refer to this HT-M00 Quick Start document.

 

Connect to TTN

Register a LoRa gateway in TTN

Create and active an account in TTN. Select Gateway in the console page.

Fill in the HT-M00 information as shown below and complete the addition.

  • Gateway EUI – The unique ID of HT-M00 gateway, view from the display screen of the HT-M00 or view through the serial port (the gateway ID will be printed through the serial port when the HT-M00 starts);

  • I’m using the legacy packet forwarder – Must select this;

  • Frequency Plan – Must matach the LoRa band configuration in HT-M00.

  • Router – Must use the default router allocated by TTN system.

Tip

That four points are the key to success connection with TTN.

Connect to TTN

Users need config the server address, port and channel in the HT-M00 gateway. The server address, port and channel are configured in the “HT-M00 Config” interface, Please refer to HT-M00 Quick Start document.

The TTN’s router addresses for different region:

https://www.thethingsnetwork.org/docs/gateways/packet-forwarder/semtech-udp.html#router-addresses

View gateway status, it is runing:

 

Connect to ChirpStack server

ChirpStack is the most popular LoRa server open source project, widely used in many fields, and also the best choise for a private LoRa server.

ChirpStack Gateway Bridge

One thing need attention! the ChirpStack need a special service named Gateway Bridge, which converts LoRa® Packet Forwarder protocols into a ChirpStack Network Server common data-format(JSON and Protobuf).

the Gateway Bridge service can running on the Raspberry Pi or the ChirpStack server.

Install ChirpStack Gateway Bridge: https://www.chirpstack.io/gateway-bridge/install/debian/

Register LoRa Gateway in ChirpStack

Fill in the HT-M00 information as shown below and complete the addition.

  • Gateway ID – The unique ID of HT-M00 gateway, view from the display screen of the HT-M00 or view through the serial port (the gateway ID will be printed through the serial port when the HT-M00 starts).

Connect to ChirpStack server

Users need config the server address, port and channel in the HT-M00 gateway. The server address, port and channel are configured in the “HT-M00 Config” interface, Please refer to HT-M00 Quick Start document.

View gateway status, it is runing: