LoRa Radio
The radio board is a RFM96W LoRa Radio Adafruit feather. It transmits on the european ISM band which is 433 MHz.
The radio is configured in LoRa mode. The sender transmits data data and any other modules with the same encryption key) will receive them. The transmit power can be adjusted up to 23 dB. Packet length is up to 252 bytes.
Connections
Antenna length should be 16.5 cm for 433 MHz (7.8 cm for 915 MHz).
Solder it to the ant
soldering hole which is near one of the fixing holes.
300 / 433 / 4 * 0.9 vit. lunmière / fréqu. / 4 (antenne lambda/4) * coeff vit. lumière dans cuivre
Connect
- the power supply : Gnd and 3.3V
- the SPI bus : SCl, MOSI, MISO and CS_n
- control signal RST to any I/O
CircuitPython
Install Adafruit_CircuitPython_RFM9x:
- download adafruit_rfm9x.py
- move it to the disk
CIRCUITPY
in thelib
folder
You will also need the adafruit_bus_device library.
Test it using rfm9x_simpletest.py. Change:
CS = digitalio.DigitalInOut(board.GP7) RESET = digitalio.DigitalInOut(board.GP0) LED = digitalio.DigitalInOut(board.GP25) spi = busio.SPI(clock=board.GP2, MOSI=board.GP3, MISO=board.GP4)