This code allows two Raspberry Pis to communicate via the LoRa wireless protocol.
This is prototyped on a RPi 3B and a RPi 4.
The transceiver is a RFM95C, based on the SX1276.
The antenna is 17.5mm long, has 2.15dBi of gain and 50Ω impedance.
Working on 868MHz.
https://thepihut.com/products/lora-antenna-with-pigtail-868mhz-black
To see the HAT used, visit https://www.adafruit.com/product/4074
Information on using the transceiver: https://www.hoperf.com/data/upload/portal/20190730/RFM95W-V2.0.pdf
- Setup radio settings in main.py
- Main loop for receiving, or moving to send mode
- radio object - may not be needed - can repurpose other code
- listen function
- send function
- button read
- message writing