GW102 gateway supports LoRa wireless function and can be equipped with LoRa wireless communication module. It is equipped with Mini-PCIE interface and can install either LoRa gateway module or LoRa node module. The LoRa antenna interface is selected as SMA antenna socket (outer thread inner hole), located on the side of the gateway, and the silk-screened name is LoRa.

The physical drawing of the LoRa antenna is as follows:

gw102-loraant.png

 

LoRa Module
LoRa gateway module, most of the market is using the SX1301/1302 chip program, there are three kinds of communication methods

  • SPI interface, The gateway communicates directly with the sx1301/1302 chip in the module

  • USB interface, the internal circuitry of the module has USB to SPI conversion function. The gateway and the module communicate via USB signals.

  • Serial port interface. The module has an internal MCU. The gateway communicates with the MCU via serial port.

Currently, the default GW102 gateway is installed with the SX1302 gateway module.

There are two types of implementation schemes for LoRa node modules

  • The standalone SX1276/1278 chip solution, where the gateway and the module communicate via SPI interface.

  • The MUC+SX1276/1278 chip solution, where the gateway and the module communicate via UART serial port.

Connect to the ChirpStack service

The GW102 gateway only needs to configure the IP address or domain name of the ChirpStack service. The port number is 1700. After starting the service, the ChirpStack service can see that the device has been connected online.

SX1302 config file is /etc/lora1302-pktfwd/global_conf.json,After modification, the service needs to be restarted.。

Enable the data forwarding service of the SX1302 module

systemctl enable lora_sx1302_pktfwd
systemctl start lora_sx1302_pktfwd
作者:SteveChen  创建时间:2025-04-22 22:48
最后编辑:SteveChen  更新时间:2025-04-23 00:55
上一篇:
下一篇: