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
-
Welcome to the MySensors community @orhanyor
For a MySensors node, switching between nrf24 and rfm69 is just using#define MY_RADIO_RFM69
instead of
#define MY_RADIO_RF24
For 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.
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 28 days ago -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
Home Assistant/MySensors quirks
Development • 24 days ago • OldSurferDude 24 days ago -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07