Datasheet

Module Install
Next you'll need to install the Adafruit CircuitPython RFM9x (https://adafru.it/BjD) module on your CircuitPython board.
Before you do that make sure you are running the latest version of Adafruit CircuitPython (https://adafru.it/Amd) for
your board too (again be sure to the load the Feather M0 RFM9x version if you're using that board and want to use its
built-in radio module).
Next you'll need to install the necessary libraries to use the hardware--carefully follow the steps to find and install these
libraries from Adafruit's CircuitPython library bundle (https://adafru.it/zdx). Our introduction guide has a great page on
how to install the library bundle (https://adafru.it/ABU) for both express and non-express boards.
Remember for non-express boards like the, you'll need to manually install the necessary libraries from the bundle:
adafruit_rfm9x.mpy
adafruit_bus_device
You can also download the adafruit_rfm9x.mpy from its releases page on Github (https://adafru.it/Bl1).
Before continuing make sure your board's lib folder or root filesystem has
the adafruit_rfm9x.mpy, and adafruit_bus_device files and folders copied over.
Next connect to the board's serial REPL (https://adafru.it/Awz)so you are at the CircuitPython >>> prompt.
Usage
To demonstrate the usage of the radio we'll initialize it and send and receive data from the board's Python REPL.
Run the following code to import the necessary modules and initialize the SPI connection with the radio:
Now define a few of the pins connected to the RFM9x, specifically the CS and RST pins:
Adafruit Feather M0 RFM96 LoRa Radio - 433MHz
$34.95
IN STOCK
ADD TO CART
import board
import busio
import digitalio
spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO)
cs = digitalio.DigitalInOut(board.D5)
reset = digitalio.DigitalInOut(board.D6)
© Adafruit Industries
https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-
breakouts
Page 51 of 70