Code based on: https://github.com/etrombly/RFM69
Communications to nodes based on: https://github.com/LowPowerLab/RFM69
Attach the RFM69 as follows: (to check)
RFM pin | Pi pin |
---|---|
3v3 | 17 |
DIO0 | 18 (GPIO24) |
MOSI | 19 |
MISO | 21 |
CLK | 23 |
NSS | 24 |
Ground | 25 |
RESET | 29 |
RPi.GPIO and spidev
If you are using newer firmware you'll need to get a newer spidev, the old one is no longer working:
git clone https://github.com/Gadgetoid/py-spidev
cd py-spidev
sudo make install