Connect HT-M01S to LoRa Server

简体中文

Summary

This article aims to describe how to connect HT-M01S 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-M01S 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.

../../_images/0139.png

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

../../_images/0230.png

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

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

  • Frequency Plan – Must matach the LoRa band configuration in HT-M01S;

  • 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

In the HT-M01S gateway, the server address, port, frequency band, and channel need to be configured. The server address, port, frequency band and channel are configured in the “HT-M01S Config” interface, please refer to the HT-M01S Quick Start document.

../../_images/0323.png

The TTN’s router addresses for different region:

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

../../_images/0416.png

View gateway status, it is runing:

../../_images/0512.png

 

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-M01S information as shown below and complete the addition.

../../_images/0610.png

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

Connect to ChirpStack server

In the HT-M01S gateway, the server address, port, frequency band, and channel need to be configured. The server address, port, frequency band and channel are configured in the “HT-M01S Config” interface, please refer to the HT-M01S Quick Start document.

../../_images/0323.png

View gateway status, it is runing:

../../_images/0710.png

 

Connect to HelTec server

Register LoRa Gateway in HelTec Cloud Server

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

../../_images/089.png

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

Connect to HelTec server

In the HT-M01S gateway, the server address, port, frequency band, and channel need to be configured. The server address, port, frequency band and channel are configured in the “HT-M01S Config” interface, please refer to the HT-M01S Quick Start document.

../../_images/0323.png

The server addresses corresponding to different regions are as follows:

CN470cn01.cloud.heltec.cn

EU868eu01.cloud.heltec.org

US915us01.cloud.heltec.org

AU915au01.cloud.heltec.org

AS923as01.cloud.heltec.org

View gateway status, it is runing:

../../_images/099.png