Content unavailable! (broken link)https://rpi-rfm69.readthedocs.io/en/latest/_images/wires.jpg |
This package provides a Python wrapper of the LowPowerLabs RFM69 libraryContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png and is largely based on the work of Eric TromblyContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png who ported the library from C.
The package expects to be installed on a Raspberry Pi and depends on the RPI.GPIOContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png and spidevContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png libraries. In addition you need to have an RFM69 radio module directly attached to the Pi. For details on how to connect such a module checkout this guide Connecting the RadioContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png.
There are links to an Arduino installation from Adafruit at the bottom of this page.
Connecting to Raspberry Pi#
- Connecting the RadioContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png from RPI RFM69Content unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png library
- Installing the libraryContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png, which comes down to the following:
sudo pip3 install rpi-rfm69
Pin Guide Raspberry Pi to RFM69HCW (Adafruit and Spark Fun breakouts) #
PI Name | 3v3* | Ground | MOSI | MISO | SCLK | ID_SC‡ | CE0 | |
---|---|---|---|---|---|---|---|---|
PI GPIO† | 10 | 9 | 11 | 8 | 5 | |||
PI Pin | 17 | 25 | 19 | 21 | 23 | 28 | 24 | 29 |
Adafruit | Vin | GND | MOSI | MISO | CLK | G0 | CS | RST |
Breakout Garden SPI | 3V3 | GND | MOSI | MISO | SCLK | GPIO | CS |
† These numbers refer to the pin index when you could from top left to bottom right i.e. odd number on the left and evens on the right. These are not the GPIO numbers. pinout.xyzContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png is an amazingly helpful tool.
‡ This is the interrupt pin. The RFM69HCW module calls an interrupt on the RPI when there is new data to process.
Connecting to Arduino#
- Adafruit RFM69HCW and RFM9X LoRa Packet Radio BreakoutsContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
- Using the RFM69 RadioContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png