P2P communication between two Grove Lora-E5 modules using CircuitPython
Usage Code.py:
- Connect a pair of Grove LORA-E5 to two separate microcontrollers
- Copy code.py in each microcontroller
- On the receiver open Serial and send this command AT+MODE=TEST AT+TEST=RXLRPKT
- On transmiter microcontroller, open Serial and send This command. i.e send byte "AA" AT+MODE=TEST AT+TEST=TXLRPKT, "AA:
- See console on receiver to confirm that the byte is received
- Usage of code-text-sender.py & code-text-receiver.py in the comment, used to send full text string. we are using binascii hexlify and unhexlify
- code-sensor-receiver.py and code-sensor-sender.py is an example how to send sensor data thru P2P LORA-E5
- code-receiver-MQTT.py is an example how to receive LORA P2P and then send the variable thru MQTT broker over TDP port 1883. Using wifi esp8266 shield.
- Create code-LORAWAN-TTN-sendsensordata.py is example how to send sensor data to The Things Network LORAWAN.