[{Image src='https://rpi-rfm69.readthedocs.io/en/latest/_images/wires.jpg' link='https://rpi-rfm69.readthedocs.io/en/latest/_images/wires.jpg' caption='Connecting the Radio (click to enlarge)' width='400' align='right' class='imgFloatRight'}]

This package provides a Python wrapper of the  [LowPowerLabs RFM69 library|https://github.com/LowPowerLab/RFM69]  and is largely based on the work of  [Eric Trombly|https://github.com/etrombly/RFM69]  who ported the library from C.

The package expects to be installed on a Raspberry Pi and depends on the [RPI.GPIO|https://pypi.org/project/RPi.GPIO/]  and [spidev|https://pypi.org/project/spidev/] 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 Radio|https://rpi-rfm69.readthedocs.io/en/latest/hookup.html].

There are links to an Arduino installation from Adafruit at the bottom of this page.


!! Connecting to Raspberry Pi

* [Connecting the Radio|https://rpi-rfm69.readthedocs.io/en/latest/hookup.html] from  [RPI RFM69|https://rpi-rfm69.readthedocs.io/en/latest/index.html] library
* [Installing the library|https://rpi-rfm69.readthedocs.io/en/latest/install.html#installing-the-library], which comes down to the following:
{{{
sudo pip3 install rpi-rfm69
}}}


! Pin Guide Raspberry Pi to RFM69HCW (Adafruit and Spark Fun breakouts) 
%%(margin-left:4em;max-width:80%;text-align:left)
||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  |  
%%

%%(font-size:x-small;margin-right:33%)
  * This pin can only support low power mode. Use different supply if you want to use the RFM69HCW in high power mode.
\\
  † 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.xyz|https://pinout.xyz/]  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 Breakouts|https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts]
** [Using the RFM69 Radio|https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts/using-the-rfm69-radio]




[{Tag RFM69 Telerobotics}]