MQTT bridged LoRa networks with MicroPython on ESP32

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Wei Lin
Posts: 7
Joined: Sat Jan 21, 2017 1:07 pm

MQTT bridged LoRa networks with MicroPython on ESP32

Postby Wei Lin » Thu Oct 12, 2017 4:01 am

Image

Hi,

I use MQTT to bridge LoRa networks, in a Cellular-Network fashion.

A "LoRa gateway" is an ESP32, it is also a MQTT client and a worker (like a Celery worker), so via MQTT, gateways can do RPC (Remote-Procedure-Call) to communicate and cooperate with each others .

All code is written in MicroPython.

For an ESP32 to function as a gateway to bridge LoRa networks, it needs three parts of code (in the order of uploading to ESP32):

1. MQTT client as a worker - so ESP32 can communicate and cooperate with each others :
https://github.com/Wei1234c/Elastic_Net ... icroPython

2. SX127x driver - for ESP32 to drive SX127x:
viewtopic.php?f=16&t=3871

3. LoRa gateway - for ESP32 to bridge LoRa networks:
https://github.com/Wei1234c/MQTT_bridge ... n_on_ESP32

Regards.

Wei Lin

Who is online

Users browsing this forum: No registered users and 3 guests