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. Troubleshooting
  3. RFM69 Range issues

RFM69 Range issues

Scheduled Pinned Locked Moved Troubleshooting
35 Posts 9 Posters 360 Views 10 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.
  • boanjoB Offline
    boanjoB Offline
    boanjo
    wrote on last edited by
    #14

    I agree with @Yveaux that it's a good idea to fire up the RTL-SDR dongle if you have one. I've been using it quite extensively in the past when working with more plain OOK devices and it's a real eye-opener when you see the spectrum. A lot of noise and garbage where i live at least in the 433Mhz spectrum. In the 868MHz you "shouldn't" have that much (mainly your own devices) perhaps. I used mainly SDR# (SDRSHARP) which (IMHO) is the best option if you run windows. GQRX (linux) does the job too but is a bit harder i think. Move the RTL dongle around (close to GW etc) to see if the actual GW is radiating or if you pick up some other sources.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      evb
      wrote on last edited by
      #15

      Besides the 'how to' question, what are the models used?
      I see the Airspy R2 at 219 euros or the Airspy Mini (dongle) at 138 euros, still quite expensive...
      And I see a RTL-SDR kit with dipole antenna for 34.95 dollars or 40 to 50 euros in Europe.

      boanjoB 1 Reply Last reply
      0
      • E evb

        Besides the 'how to' question, what are the models used?
        I see the Airspy R2 at 219 euros or the Airspy Mini (dongle) at 138 euros, still quite expensive...
        And I see a RTL-SDR kit with dipole antenna for 34.95 dollars or 40 to 50 euros in Europe.

        boanjoB Offline
        boanjoB Offline
        boanjo
        wrote on last edited by boanjo
        #16

        @evb Ah, sorry i ment to write which models i used too... No i have only tried the really cheap ones :)

        Here are the ones i've used:
        20210101_133218.jpg

        The mini is just crap if you compare it with the two bigger sized dongles so i didn't link to it. The two bigger ones work well so it's more up to you what kind of antenna connector you want (and price). See the links for more details
        RTL-SDR.COM is ~28$
        https://www.ebay.com/itm/272411458376

        The middle DVB-T TV kit is ~11$
        https://www.ebay.ca/itm/USB2-0-Digital-DVB-T-SDR-DAB-FM-TV-Tuner-Receiver-Stick-RTL2832U-FC0012-Z-/124383617220?oid=182403360614

        The how part i actually not much harder than to hook it upp connect to the device, turn the frequency to the wanted range and view the energy mass on the center frequency (it's often good to set the decay a bit longer so the eye can capture the peaks). But if there are questions feel free to ask!

        1 Reply Last reply
        0
        • E Offline
          E Offline
          evb
          wrote on last edited by
          #17

          Ok, the RTL-SDR.COM kit is ordered. So, now waiting for it :-)

          1 Reply Last reply
          0
          • TmasterT Offline
            TmasterT Offline
            Tmaster
            wrote on last edited by
            #18

            The best antena that i tried on rfm69 is the dipole. Direct solder to the rfm69 board. One wire 0.8mm with 8.2cm long on Ant pin,and other in ground in oposite Direction,same size.thos for 868mhz.
            I have the gate sensor at 50m outdoor and never seen a miss comunication.

            I tried spring antenna and same dipole with an coax cable and didn't work at that range. And a mono-pole without ground plane(wire) have more lost packets( i just try communicate directly,dont have any signal scanner).

            i'm a arduino fan .Even sometimes don't undestanding how to use it :P

            1 Reply Last reply
            0
            • E Offline
              E Offline
              evb
              wrote on last edited by evb
              #19

              Did receive yesterday my RTL-SDR.COM USB stick :-)

              A first measure of the spectrum around the 868MHz band from my fix desktop computer with the Airspy SDR# software recommended on the RTL-SDR.COM website.
              2021-01-16 15_56_20-AIRSPY SDR# Studio v1.0.0.1784 - RTL-SDR USB (Original).png

              You see clearly the lines in the waterfall blue section when a node sends something.
              With my limited knowledge about radio signals and use of this Airspy SDR# Studio software, I think that the spectrum around my house is relatively quiet?

              Yet another printscreen with the SDR Console version software
              SDR Console version 3.0.26_868MHz.jpeg

              Will install the software now on my laptop to be able to go near the nodes and gateway.
              To be continued.

              Already a question, my RFM69HW are working in the 868Mhz band, yet I see movement at 867.970 MHz and 868.020 MHz. At the center 868 MHz, I see no movement.
              Someone with more knowledge about this, can explain this? I would expect a signal at 868 MHz...

              mfalkviddM boanjoB 2 Replies Last reply
              0
              • E evb

                Did receive yesterday my RTL-SDR.COM USB stick :-)

                A first measure of the spectrum around the 868MHz band from my fix desktop computer with the Airspy SDR# software recommended on the RTL-SDR.COM website.
                2021-01-16 15_56_20-AIRSPY SDR# Studio v1.0.0.1784 - RTL-SDR USB (Original).png

                You see clearly the lines in the waterfall blue section when a node sends something.
                With my limited knowledge about radio signals and use of this Airspy SDR# Studio software, I think that the spectrum around my house is relatively quiet?

                Yet another printscreen with the SDR Console version software
                SDR Console version 3.0.26_868MHz.jpeg

                Will install the software now on my laptop to be able to go near the nodes and gateway.
                To be continued.

                Already a question, my RFM69HW are working in the 868Mhz band, yet I see movement at 867.970 MHz and 868.020 MHz. At the center 868 MHz, I see no movement.
                Someone with more knowledge about this, can explain this? I would expect a signal at 868 MHz...

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

                @evb that's how frequency shift keying works. 867.970 is a "0" and 868.020 is a "1" (in the default MySensors configuration, which uses 50kHz deviation).

                1 Reply Last reply
                1
                • skywatchS Offline
                  skywatchS Offline
                  skywatch
                  wrote on last edited by skywatch
                  #21

                  A better SDR would be the airspy R2. It puts the others to shame. (even the mini).

                  They are cheaper from itead in China than a local supplier (as with some other things).

                  It showed me that quite a few neighbours use 868MHz for garage door openers.

                  mfalkviddM E 2 Replies Last reply
                  0
                  • skywatchS skywatch

                    A better SDR would be the airspy R2. It puts the others to shame. (even the mini).

                    They are cheaper from itead in China than a local supplier (as with some other things).

                    It showed me that quite a few neighbours use 868MHz for garage door openers.

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

                    @skywatch why would the rtlsdr be insufficient for this task?

                    skywatchS 1 Reply Last reply
                    0
                    • skywatchS skywatch

                      A better SDR would be the airspy R2. It puts the others to shame. (even the mini).

                      They are cheaper from itead in China than a local supplier (as with some other things).

                      It showed me that quite a few neighbours use 868MHz for garage door openers.

                      E Offline
                      E Offline
                      evb
                      wrote on last edited by
                      #23

                      @skywatch Yes, it should be better for his price of 219 euros ;-)
                      I bought now the rtlsdr for 29 euros directly from the RTLSDR site from their Chinese store.
                      My purpose was to see if there was much noise or not in my environment.

                      skywatchS 1 Reply Last reply
                      1
                      • mfalkviddM mfalkvidd

                        @skywatch why would the rtlsdr be insufficient for this task?

                        skywatchS Offline
                        skywatchS Offline
                        skywatch
                        wrote on last edited by
                        #24

                        @mfalkvidd It all depends on range and signal to noise ratio. The longer the range the better the receiver SNR nedds to be for the same signal to be received - This thread is about 'Range Issues' so therefore it matters.

                        You might run into problems if your SDR is less sensitive than your chosen tx/rx pair.

                        mfalkviddM 1 Reply Last reply
                        0
                        • E evb

                          @skywatch Yes, it should be better for his price of 219 euros ;-)
                          I bought now the rtlsdr for 29 euros directly from the RTLSDR site from their Chinese store.
                          My purpose was to see if there was much noise or not in my environment.

                          skywatchS Offline
                          skywatchS Offline
                          skywatch
                          wrote on last edited by
                          #25

                          @evb From itead it is 139.84 euros. see here https://www.itead.cc/airspy.html

                          If you can wait until December they usually have a sale on with about 30% discount. That is how I got them for less than £90 GBP....

                          E 1 Reply Last reply
                          0
                          • skywatchS skywatch

                            @mfalkvidd It all depends on range and signal to noise ratio. The longer the range the better the receiver SNR nedds to be for the same signal to be received - This thread is about 'Range Issues' so therefore it matters.

                            You might run into problems if your SDR is less sensitive than your chosen tx/rx pair.

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

                            @skywatch that's incorrect. The reason sdr is discussed in this thread is because yveaux said

                            if you have a cheap sdr lying around you could use that to verify transmission frequencies and signal levels to some extent

                            1 Reply Last reply
                            1
                            • skywatchS skywatch

                              @evb From itead it is 139.84 euros. see here https://www.itead.cc/airspy.html

                              If you can wait until December they usually have a sale on with about 30% discount. That is how I got them for less than £90 GBP....

                              E Offline
                              E Offline
                              evb
                              wrote on last edited by
                              #27

                              @skywatch Based on your answers, I see that you seemingly have knowledge in this matter.
                              I have range issues and just wanted to see if this is due to external environmental factors (neighbors using the same frequency, etc)
                              And to spend more than 200 euros for something that I will use maybe one time, that was way too much.
                              (Purchase price manufacturer 140 euros + 10 euros shipping + import taxes because more than 22 euros + customs clearance = 219 euros). I live in Europe where they specialize in taxes :-(

                              I know you usually get what you paid for, so I don't expect extraordinary performance either...

                              skywatchS 1 Reply Last reply
                              0
                              • E evb

                                Did receive yesterday my RTL-SDR.COM USB stick :-)

                                A first measure of the spectrum around the 868MHz band from my fix desktop computer with the Airspy SDR# software recommended on the RTL-SDR.COM website.
                                2021-01-16 15_56_20-AIRSPY SDR# Studio v1.0.0.1784 - RTL-SDR USB (Original).png

                                You see clearly the lines in the waterfall blue section when a node sends something.
                                With my limited knowledge about radio signals and use of this Airspy SDR# Studio software, I think that the spectrum around my house is relatively quiet?

                                Yet another printscreen with the SDR Console version software
                                SDR Console version 3.0.26_868MHz.jpeg

                                Will install the software now on my laptop to be able to go near the nodes and gateway.
                                To be continued.

                                Already a question, my RFM69HW are working in the 868Mhz band, yet I see movement at 867.970 MHz and 868.020 MHz. At the center 868 MHz, I see no movement.
                                Someone with more knowledge about this, can explain this? I would expect a signal at 868 MHz...

                                boanjoB Offline
                                boanjoB Offline
                                boanjo
                                wrote on last edited by
                                #28

                                @evb Yes, i agree your 868MHz doesn't look that busy and shouldn't be the root cause. Have you been able to establish the specific sensor that you have range issues with (i.e. how it look in the spectrum analyzer)? This is a bit easier when working with "dumb" sensors that sends repeatedly every minute or so. Might be a good idea to add a frequent send (just temporarily while troubleshooting this).

                                1 Reply Last reply
                                0
                                • E evb

                                  @skywatch Based on your answers, I see that you seemingly have knowledge in this matter.
                                  I have range issues and just wanted to see if this is due to external environmental factors (neighbors using the same frequency, etc)
                                  And to spend more than 200 euros for something that I will use maybe one time, that was way too much.
                                  (Purchase price manufacturer 140 euros + 10 euros shipping + import taxes because more than 22 euros + customs clearance = 219 euros). I live in Europe where they specialize in taxes :-(

                                  I know you usually get what you paid for, so I don't expect extraordinary performance either...

                                  skywatchS Offline
                                  skywatchS Offline
                                  skywatch
                                  wrote on last edited by skywatch
                                  #29

                                  @evb said in RFM69 Range issues:

                                  @skywatch Based on your answers, I see that you seemingly have knowledge in this matter.

                                  Yup! - 40+ years as a licenced radio amateur along with years working on aircraft radar receivers, air-to-air missile seeker heads, underwater systems and satcomms. We had some great equipment at work!

                                  My point is that if the sdr has a noise floor of say -70dBm and the RFM has a noise floor of -80dBm then the RFM can still 'see' interfereing signals that the sdr doesn't, You can see the signal to noise ration in sdr# by looking at the blue bar to the right of the main spectrum display. To get your sdr set to the optimum level you need to adjust the gain to maximise this figure, then you are operating in the optimal domain for SNR and hence what you can see'hear.

                                  When you say 'range issues' what sort of range are we talking about and in what conditions? Have you tried small movements of the radio module as often that can make a difference.

                                  E 1 Reply Last reply
                                  0
                                  • skywatchS skywatch

                                    @evb said in RFM69 Range issues:

                                    @skywatch Based on your answers, I see that you seemingly have knowledge in this matter.

                                    Yup! - 40+ years as a licenced radio amateur along with years working on aircraft radar receivers, air-to-air missile seeker heads, underwater systems and satcomms. We had some great equipment at work!

                                    My point is that if the sdr has a noise floor of say -70dBm and the RFM has a noise floor of -80dBm then the RFM can still 'see' interfereing signals that the sdr doesn't, You can see the signal to noise ration in sdr# by looking at the blue bar to the right of the main spectrum display. To get your sdr set to the optimum level you need to adjust the gain to maximise this figure, then you are operating in the optimal domain for SNR and hence what you can see'hear.

                                    When you say 'range issues' what sort of range are we talking about and in what conditions? Have you tried small movements of the radio module as often that can make a difference.

                                    E Offline
                                    E Offline
                                    evb
                                    wrote on last edited by
                                    #30

                                    @skywatch said in RFM69 Range issues:

                                    My point is that if the sdr has a noise floor of say -70dBm and the RFM has a noise floor of -80dBm then the RFM can still 'see' interfereing signals that the sdr doesn't, You can see the signal to noise ration in sdr# by looking at the blue bar to the right of the main spectrum display. To get your sdr set to the optimum level you need to adjust the gain to maximise this figure, then you are operating in the optimal domain for SNR and hence what you can see'hear.

                                    Like said my knowledge is limited in this matter.
                                    Can you give more information about how to do it? Or point me to some How To's?
                                    I use the software SDR Console version software and I think you mean this:
                                    MySensorsForumGain.png

                                    But how to adapt the gain? I played with this, you can move the little white line in this vertical bar up and down, but not knowing what I'm doing is not getting me further :-(

                                    I think that from the picture I can conclude that my environment spectrum is quite, today at least.
                                    My problem is that some messages from this node are not making it to the gateway.
                                    Sometimes it works great for days and then suddenly the node does not send anything.
                                    For this I added already a repeater node between, thinking it would get better, but nada.

                                    My idea is now to measure with the SDR at these moments:

                                    • Is the node trying to send a message or not? If I see nothing, then it is a hardware/battery problem of the node itself. If I see the same signal figure, then it is not my node who has a problem
                                    • Is my environment suddenly filled with other signals? blocking my signal?
                                    skywatchS 1 Reply Last reply
                                    0
                                    • E evb

                                      @skywatch said in RFM69 Range issues:

                                      My point is that if the sdr has a noise floor of say -70dBm and the RFM has a noise floor of -80dBm then the RFM can still 'see' interfereing signals that the sdr doesn't, You can see the signal to noise ration in sdr# by looking at the blue bar to the right of the main spectrum display. To get your sdr set to the optimum level you need to adjust the gain to maximise this figure, then you are operating in the optimal domain for SNR and hence what you can see'hear.

                                      Like said my knowledge is limited in this matter.
                                      Can you give more information about how to do it? Or point me to some How To's?
                                      I use the software SDR Console version software and I think you mean this:
                                      MySensorsForumGain.png

                                      But how to adapt the gain? I played with this, you can move the little white line in this vertical bar up and down, but not knowing what I'm doing is not getting me further :-(

                                      I think that from the picture I can conclude that my environment spectrum is quite, today at least.
                                      My problem is that some messages from this node are not making it to the gateway.
                                      Sometimes it works great for days and then suddenly the node does not send anything.
                                      For this I added already a repeater node between, thinking it would get better, but nada.

                                      My idea is now to measure with the SDR at these moments:

                                      • Is the node trying to send a message or not? If I see nothing, then it is a hardware/battery problem of the node itself. If I see the same signal figure, then it is not my node who has a problem
                                      • Is my environment suddenly filled with other signals? blocking my signal?
                                      skywatchS Offline
                                      skywatchS Offline
                                      skywatch
                                      wrote on last edited by skywatch
                                      #31

                                      @evbI have not used SDR console yet, I was talking about SDR# (a.k.a. SDR sharp) - It is free to download from the airspy web site and will work with your rtlsdr. I can help you with that if you like.

                                      I had similar problems with nodes suddenly not sending. I don't think it is RF signals that are the problem based on my experience. If a repeater didn't help then in my mind that just confirms it.

                                      I suggest to take a step back and look at things again. Power supply, cabling, solder joints, dupont connectors (only useful for testing really).

                                      Really look at solder joints with a good magnifing glass. If in doubt re-solder. Try and solder as many connections as you can. Dupont connectors have a habit of moving due to thermal expansion and contraction as well as through environmental vibrations (think busy road nearby). If you have to use them then take a pair of pliers and squish the connectors so that they really grip! ;) (remembering of course to take the plastic shield off first!)

                                      Can you post a photo of the node that is causing trouble? And again, what distance are you expecting and in what environment? 10M in an apartment block or 100M in a rural setting?

                                      E 1 Reply Last reply
                                      1
                                      • skywatchS skywatch

                                        @evbI have not used SDR console yet, I was talking about SDR# (a.k.a. SDR sharp) - It is free to download from the airspy web site and will work with your rtlsdr. I can help you with that if you like.

                                        I had similar problems with nodes suddenly not sending. I don't think it is RF signals that are the problem based on my experience. If a repeater didn't help then in my mind that just confirms it.

                                        I suggest to take a step back and look at things again. Power supply, cabling, solder joints, dupont connectors (only useful for testing really).

                                        Really look at solder joints with a good magnifing glass. If in doubt re-solder. Try and solder as many connections as you can. Dupont connectors have a habit of moving due to thermal expansion and contraction as well as through environmental vibrations (think busy road nearby). If you have to use them then take a pair of pliers and squish the connectors so that they really grip! ;) (remembering of course to take the plastic shield off first!)

                                        Can you post a photo of the node that is causing trouble? And again, what distance are you expecting and in what environment? 10M in an apartment block or 100M in a rural setting?

                                        E Offline
                                        E Offline
                                        evb
                                        wrote on last edited by evb
                                        #32

                                        @skywatch Thanks for wanting to help me.
                                        I have also the SDR# software installed, but was getting quicker a visual result with the other software, that's why I used this software.
                                        So I'm curious how to set my sdr to the optimum level by adjusting the gain.
                                        2021-01-17 22_37_55-AIRSPY SDR# Studio v1.0.0.1784 - RTL-SDR USB (Original).png

                                        For photo's you can see them here : https://forum.mysensors.org/topic/11499/checking-mechanical-locked-doors-by-a-battery-based-windows-door-sensor-node
                                        At the end, you have photos of the problem node.

                                        Like said, today, the node was working.
                                        I've reprogrammed also the repeater node, because I was doing a new temperature repeater node and remarked that my sketch code of the first repeater node was missing my encryption key???
                                        I don't know what did happen here. The repeater node was recognized by the gateway and the controller, so the used encryption key is normally correct. Or is a presentation message not encrypted???
                                        Maybe I did a mistake in saving my github sketch where I delete my keys of course :astonished: :thinking_face:
                                        To be sure, I reprogrammed the repeater node with the correct encryption key.

                                        If it happens again, I will check the spectrum and in case it isn't sending something, I will check the node on soldering errors and move also the node upwards in the doorframe.

                                        I will check also the MySensors docs to see how we can see if a repeater node is working and how we can see that a sensor node is using the repeater and not trying to send directly to the gateway.

                                        caniqueC skywatchS 2 Replies Last reply
                                        2
                                        • E evb

                                          @skywatch Thanks for wanting to help me.
                                          I have also the SDR# software installed, but was getting quicker a visual result with the other software, that's why I used this software.
                                          So I'm curious how to set my sdr to the optimum level by adjusting the gain.
                                          2021-01-17 22_37_55-AIRSPY SDR# Studio v1.0.0.1784 - RTL-SDR USB (Original).png

                                          For photo's you can see them here : https://forum.mysensors.org/topic/11499/checking-mechanical-locked-doors-by-a-battery-based-windows-door-sensor-node
                                          At the end, you have photos of the problem node.

                                          Like said, today, the node was working.
                                          I've reprogrammed also the repeater node, because I was doing a new temperature repeater node and remarked that my sketch code of the first repeater node was missing my encryption key???
                                          I don't know what did happen here. The repeater node was recognized by the gateway and the controller, so the used encryption key is normally correct. Or is a presentation message not encrypted???
                                          Maybe I did a mistake in saving my github sketch where I delete my keys of course :astonished: :thinking_face:
                                          To be sure, I reprogrammed the repeater node with the correct encryption key.

                                          If it happens again, I will check the spectrum and in case it isn't sending something, I will check the node on soldering errors and move also the node upwards in the doorframe.

                                          I will check also the MySensors docs to see how we can see if a repeater node is working and how we can see that a sensor node is using the repeater and not trying to send directly to the gateway.

                                          caniqueC Offline
                                          caniqueC Offline
                                          canique
                                          wrote on last edited by canique
                                          #33

                                          @evb I'm doing RFM69W based tests rights now. It would be good to compare figures about packet loss in a more scientific way.
                                          Right now I am sending from 5 custom nodes (max 10 meters from custom gateway) every 30 seconds. That's 600 messages per hour.
                                          I have a second gateway only listening on that frequency and counting messages. This 2nd gateway has missed 11 messages in 1 hour.
                                          That's a packet miss rate of 1.8% (while RSSI is always stronger than -80 dBm).
                                          A quick research in the internet shows ~1% should be more or less normal.

                                          One thing that caught my eye was data whitening. If a message contains multiple zeros in succession, this can lead to the receiver not waiting till the end of the message.
                                          Solutions: Using dating whitening or encryption.

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


                                          23

                                          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