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. Hardware
  3. RFM69 wireless

RFM69 wireless

Scheduled Pinned Locked Moved Hardware
13 Posts 5 Posters 6.7k 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.
  • FrancoisF Offline
    FrancoisF Offline
    Francois
    wrote on last edited by
    #1

    @kolaf Hi I like to use the RFM69 wireless transceiver as you get a bigger range than with the the NRF24L01+. What is your setup like and can I use the software in your github libary https://github.com/kolaf/mysensors. What is the things that I have to look out for before I start?

    K 1 Reply Last reply
    0
    • FrancoisF Francois

      @kolaf Hi I like to use the RFM69 wireless transceiver as you get a bigger range than with the the NRF24L01+. What is your setup like and can I use the software in your github libary https://github.com/kolaf/mysensors. What is the things that I have to look out for before I start?

      K Offline
      K Offline
      kolaf
      Hero Member
      wrote on last edited by
      #2

      @Fwessels I'm glad to see that someone else also finds that transceiver interesting. The source code in the repository is fully usable and up-to-date as a version 1.4+ something (I believe). Still, be aware that this will probably not become an official version since work is ongoing to figure out what is the best way of supporting multiple link layers.

      Nevertheless, feel free to use the code in that repository. You can look at the serial gateway to see how a sensor is initiated. Everything is identical to the official 1.4 version except for the initialisation phase where you define the radio driver. You also need to include the Radiohead library in your Arduino installation. Depending on which radio version you have you will have to tweak some of the initialisation parameters (power and frequency). The MQTTgateway has not been ported to work with the Radiohead library, so this is not working in my repository.

      Let me know how it goes, and you should keep an eye on the Radiohead topic in the developers forum to see how this develops.

      Z 1 Reply Last reply
      1
      • K kolaf

        @Fwessels I'm glad to see that someone else also finds that transceiver interesting. The source code in the repository is fully usable and up-to-date as a version 1.4+ something (I believe). Still, be aware that this will probably not become an official version since work is ongoing to figure out what is the best way of supporting multiple link layers.

        Nevertheless, feel free to use the code in that repository. You can look at the serial gateway to see how a sensor is initiated. Everything is identical to the official 1.4 version except for the initialisation phase where you define the radio driver. You also need to include the Radiohead library in your Arduino installation. Depending on which radio version you have you will have to tweak some of the initialisation parameters (power and frequency). The MQTTgateway has not been ported to work with the Radiohead library, so this is not working in my repository.

        Let me know how it goes, and you should keep an eye on the Radiohead topic in the developers forum to see how this develops.

        Z Offline
        Z Offline
        Zeph
        Hero Member
        wrote on last edited by
        #3

        @kolaf said:

        I'm glad to see that someone else also finds that transceiver interesting

        I think a lot of us find it interesting (hence the Radiohead effort), and we will see how the support evolves over time. It's lower speed but longer range.

        What kind of range and speed are you getting currently, by the way?

        1 Reply Last reply
        1
        • FrancoisF Offline
          FrancoisF Offline
          Francois
          wrote on last edited by
          #4

          @Zeph this guy a LowpowerLab and getting up to 1.5 mil. Have a look at this forum link.https://lowpowerlab.com/forum/index.php/topic,112.0.html

          1 Reply Last reply
          0
          • FrancoisF Offline
            FrancoisF Offline
            Francois
            wrote on last edited by
            #5

            @kolaf in what library will I have to set my frequency?

            1 Reply Last reply
            0
            • FrancoisF Offline
              FrancoisF Offline
              Francois
              wrote on last edited by
              #6

              @kolaf I just try to compile the SerialGateway to see if it will work and I am getting this error why?

              upload-4356e726-f8ee-4388-b9dd-aba333e99738

              K D 2 Replies Last reply
              0
              • FrancoisF Francois

                @kolaf I just try to compile the SerialGateway to see if it will work and I am getting this error why?

                upload-4356e726-f8ee-4388-b9dd-aba333e99738

                K Offline
                K Offline
                kolaf
                Hero Member
                wrote on last edited by
                #7

                @Fwessels I don't know. My best guess is that is has something to do with your Arduino IDE version. I'm using version 1.5.7 without problems.

                As for speed and range, I have not tested speed, but my range is about 60 m at the lowest power setting of the HW-version. This is with standard radio parameters.

                1 Reply Last reply
                0
                • FrancoisF Offline
                  FrancoisF Offline
                  Francois
                  wrote on last edited by Francois
                  #8

                  @kolaf where do I set the radio frequency in what libary. I look through all the library and I don't see where you set the radio frequency.

                  I am also busy downloading the latest IDE

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kolaf
                    Hero Member
                    wrote on last edited by
                    #9

                    Example:

                    void setup()  
                    {  
                      
                      if(gw.setRadio(&driver)) {
                    	driver.setFrequency(868);
                    	driver.setTxPower(14);
                    	gw.begin();
                      }
                     // Setup the button
                      pinMode(BUTTON_PIN,INPUT);
                      // Activate internal pull-up
                      digitalWrite(BUTTON_PIN,HIGH);
                      sensors.begin();
                      // After setting up the button, setup debouncer
                      gw.sendSketchInfo("Wave switch 3", "1.1");
                      // Register binary input sensor to gw (they will be created as child devices)
                      // You can use S_DOOR, S_MOTION or S_LIGHT here depending on your usage. 
                      // If S_LIGHT is used, remember to update variable type you send in. See "msg" above.
                      gw.present(CHILD_ID, S_LIGHT); 
                      gw.present(CHILD_TEMPERATURE, S_TEMP);
                      gw.request(2,V_LIGHT);
                    }
                    
                    1 Reply Last reply
                    0
                    • FrancoisF Offline
                      FrancoisF Offline
                      Francois
                      wrote on last edited by
                      #10

                      @kolaf thanks

                      1 Reply Last reply
                      0
                      • FrancoisF Francois

                        @kolaf I just try to compile the SerialGateway to see if it will work and I am getting this error why?

                        upload-4356e726-f8ee-4388-b9dd-aba333e99738

                        D Offline
                        D Offline
                        Demondreamer
                        wrote on last edited by
                        #11

                        @Francois I get this errors as well using Arduino IDE v1.0.6 and many many more errors when I use IDE v1.5.7. Did you figure out a solution? I'm running Windows 8.1 64 bit.

                        1 Reply Last reply
                        0
                        • FrancoisF Offline
                          FrancoisF Offline
                          Francois
                          wrote on last edited by
                          #12

                          @Demondreamer No I spend days on this trying to figure out why I am getting all the errors. I upgrade from IDE 1.5.6 to 1.5.7 and was getting the same errors. Im also running Win 8.1 64 bit. I was hoping that the team that was working on this would have released a new version by now but I don't see any activity on this front.

                          1 Reply Last reply
                          0
                          • RJ_MakeR Offline
                            RJ_MakeR Offline
                            RJ_Make
                            Hero Member
                            wrote on last edited by
                            #13

                            This may have already been answered by have you guys tried another IDE? Something like Atmel + Visual Micro

                            RJ_Make

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


                            22

                            Online

                            11.7k

                            Users

                            11.2k

                            Topics

                            113.1k

                            Posts


                            Copyright 2025 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