Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Modifying a code to work with RFM69

Modifying a code to work with RFM69

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 550 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • orhanyorO Offline
    orhanyorO Offline
    orhanyor
    wrote on last edited by
    #1

    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

    mfalkviddM 1 Reply Last reply
    0
    • orhanyorO orhanyor

      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

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      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.

      orhanyorO 1 Reply Last reply
      1
      • mfalkviddM mfalkvidd

        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.

        orhanyorO Offline
        orhanyorO Offline
        orhanyor
        wrote on last edited by
        #3

        @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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        6

        Online

        11.7k

        Users

        11.2k

        Topics

        113.0k

        Posts


        Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular