Recently I bought a Feather M0 RFM69 Packet Radio (this one), and setting up a hello world radio transmitter-receiver turned out to be more difficult than I expected. Mainly, because none of the examples worked out of the box. So, this is my hello world example. Maybe it’ll help someone in the same situation.
For the most part I followed Adafruit’s tutorial instructions (here). I downloaded Arduino as a zip, installed the latest Arduino SAMD boards (v 1.6.17) and Adafruit SAMD boards (v1.0.22), and downloaded the RadioHead library (v1.6.2) from the link they provide. The only thing I did different was using a slightly modified version of an example in the RadioHead library (the one downloaded from Adafruit’s link). In particular, the rf69_reliable_datagram examples. Those examples did not work at first either, but then based on Adafruit’s example I changed the driver declaration line:
then set the frequency:
and voila, it worked.
DownloadsDownload Read More