forked from Telos4/LoRa-Workshop
23 lines
1.3 KiB
Markdown
23 lines
1.3 KiB
Markdown
|
This code is based on Lemariva's [uPyLora repository](https://github.com/lemariva/uPyLora)
|
||
|
|
||
|
I made a few minor changes to make it work with LoRaWAN. In particular, support for the 868.1MHz frequency (used for channel 0 according to the TTN EU868 frequency plan) was added, as well as a function for sending raw binary data (bytearrays) instead of strings.
|
||
|
|
||
|
# uPyLora
|
||
|
ESP32 using MicroPython meets lora.
|
||
|
|
||
|
# Setup
|
||
|
* `LoRaPingPong.py`: sends ping-pong messages between the nodes (bidirectional communication)
|
||
|
* `LoRaReceiver.py` and `LoraSender.py`: unidirectional communication between the nodes (Note: deploy the `LoRaReceiver.py` on one node and the `LoraSender.py` on another node)
|
||
|
|
||
|
# Hardware
|
||
|
* [Wemos® TTGO LORA32 868/915Mhz](https://www.banggood.com/2Pcs-Wemos-TTGO-LORA32-868915Mhz-ESP32-LoRa-OLED-0_96-Inch-Blue-Display-p-1239769.html?p=QW0903761303201409LG) board.
|
||
|
|
||
|
# Revision
|
||
|
* 0.1 first commit
|
||
|
|
||
|
# Licenses
|
||
|
* Apache 2.0
|
||
|
|
||
|
# References
|
||
|
* Basically based on: [Wei1234c GitHub](https://github.com/Wei1234c/SX127x_driver_for_MicroPython_on_ESP8266). The original project was cleaned and made compatible with the [Wemos® TTGO LORA32 868/915Mhz](https://www.banggood.com/2Pcs-Wemos-TTGO-LORA32-868915Mhz-ESP32-LoRa-OLED-0_96-Inch-Blue-Display-p-1239769.html?p=QW0903761303201409LG) board.
|