Modifying a code to work with RFM69
-
Hello guys. I have this transmitter and receiver code which is written to work with Nrf24L01 modules using RF24 library by TMRh20. I would like to use RFM69 modules instead of nrf modules. Can you please give me some pointers so i can start working on it. I dont even know which library should i use for the RFM69 modules. Any help is appreciated as im quite a noob in coding :) thank you
-
Hello guys. I have this transmitter and receiver code which is written to work with Nrf24L01 modules using RF24 library by TMRh20. I would like to use RFM69 modules instead of nrf modules. Can you please give me some pointers so i can start working on it. I dont even know which library should i use for the RFM69 modules. Any help is appreciated as im quite a noob in coding :) thank you
Welcome to the MySensors community @orhanyor
For a MySensors node, switching between nrf24 and rfm69 is just using#define MY_RADIO_RFM69instead of
#define MY_RADIO_RF24For a sketch that does not use MySensors, I guess LowPowerLab’s library is the way to go. That’s whay MySensor uses underneath. I have never used it directly though.
-
Welcome to the MySensors community @orhanyor
For a MySensors node, switching between nrf24 and rfm69 is just using#define MY_RADIO_RFM69instead of
#define MY_RADIO_RF24For a sketch that does not use MySensors, I guess LowPowerLab’s library is the way to go. That’s whay MySensor uses underneath. I have never used it directly though.
@mfalkvidd
hey man thanks for the input. i was thinking to find radio related lines and see what kind of classes they use there and try to find the equivalents in lets say LowPowerLab’s library. is that a good way to go? i wish it was coded with mysensors it would have been much easier to switch in between :(
i also found this library https://www.airspayce.com/mikem/arduino/RadioHead/annotated.html it also seems to support both modules. honestly i dont know which one is easier.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login