Testing the Feather M0 RFM69 Radio

Posted By on Feb 13, 2017 | 2 comments


 

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.

 

Example

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:

RH_RF69 driver(8, 3); //RH_RF69 driver;

 

then set the frequency:

 

while (!driver.setFrequency(915.0));

 

and voila, it worked.

 

Demo

 

Downloads

Download

2 Comments

  1. Hi!! Hey, so, you are using the sketch that uses the RH_RF95.h ? I’m asking, because I upload to the Feather M0 RFM69 the examples (Client and server) on the RadioHead library and it is not working for me.
    Are you using the same Feather?

    Post a Reply
    • Yes, the example is for the Feather M0 RFM69. The sketches I was using were the rf69_reliable_datagram_client and rf69_reliable_datagram_server, both of which use the RH_RF69.h (not RH_RF95.h). So maybe you are just using the wrong sketches. Another thing is, I made two small changes to get them working (at least for me), you can see them and download them above… maybe that’ll work for you. Good luck!

      Post a Reply

Submit a Comment

Your email address will not be published. Required fields are marked *