MQTT bridged LoRa networks - with MicroPython on ESP32

Опубликовано: 11 Сентябрь 2017
на канале: Wei Lin
2,000
10

From left to right are node2, gateway2, gateway1, node1
Use SF (Spreading Factor) isolation: node2, gateway2 SF = 9, node1, gateway1 SF = 8. This simulates two LoRa networks that are quite far apart and could not communicate with each other.
Node1, node2 randomly send a packet to their respective gateway every 2~4 seconds.
Node or gateway, on-board LED will flash after receiving a packet.
After receiving a package from node:
Internet topology data will be exchanged through MQTT, and routing tables are built among gateways.
The ACK is echoed by the closest gateway.
The package is routed according to the destinated EUI address.
The MQTT message command can be sent from a PC, in order to send a message to a LoRa node with destinated EUI address.
Node1 is made of ESP8266, the LED light is on the top, which can be seen more clearly with reflection of the computer screen.