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. General Discussion
  3. Alternatives for nRF24L01+ ?

Alternatives for nRF24L01+ ?

Scheduled Pinned Locked Moved General Discussion
39 Posts 13 Posters 11.5k Views 12 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.
  • G Offline
    G Offline
    gmccarthy
    wrote on last edited by
    #1

    So after a month or two of fiddling I've had enough of the unstable nRF24L01+.
    Been trying all sorts of tricks to try and these things working - the range is useless and everything I try doesn't seem to help.

    Tried nRF24L01+, nRF24L01+ PA, capacitor, making sure its a stable 3.3V, extending antenna on nRF24L01+, used tin foil to stop noise, change channel numbers, transfer speed, nothing seems to help. Trued multiple devices - no go.

    They only seem to work right next to each other. Going through 2 rooms is impossible. Sometimes it works, then it loses comms for 30 mins.
    Today I tried replacing gateway and sensor with PA - range is even worse :(

    Thinking of tossing them all out and going XBee. Expensive but its bound to be rock stable.

    Read through so many posts on how to extend the range and am wondering if I'm the only one having headaches.

    TheoLT 1 Reply Last reply
    0
    • G gmccarthy

      So after a month or two of fiddling I've had enough of the unstable nRF24L01+.
      Been trying all sorts of tricks to try and these things working - the range is useless and everything I try doesn't seem to help.

      Tried nRF24L01+, nRF24L01+ PA, capacitor, making sure its a stable 3.3V, extending antenna on nRF24L01+, used tin foil to stop noise, change channel numbers, transfer speed, nothing seems to help. Trued multiple devices - no go.

      They only seem to work right next to each other. Going through 2 rooms is impossible. Sometimes it works, then it loses comms for 30 mins.
      Today I tried replacing gateway and sensor with PA - range is even worse :(

      Thinking of tossing them all out and going XBee. Expensive but its bound to be rock stable.

      Read through so many posts on how to extend the range and am wondering if I'm the only one having headaches.

      TheoLT Offline
      TheoLT Offline
      TheoL
      Contest Winner
      wrote on last edited by TheoL
      #2

      @gmccarthy you do now that MySensors also supports RFM69 right? I runs on a lower frequency. And if I remember it correctly from high school, a lower frequency has a longer range. But there are people here that have more knowledge of that.

      http://www.aliexpress.com/item/RFM69HC-20dBm-RFM69HW-RFM69/32344130193.html?spm=2114.30010308.3.2.VppMGg&ws_ab_test=searchweb201556_9,searchweb201602_4_301_10034_10033_507_10032_508_10020_10017_10005_10006_10021_10022_401_10018_10019,searchweb201603_1&btsid=8bf462de-90bd-45b8-b7a5-41c292a00da3

      Much cheaper and more versatile than Xbee.

      Besides. If it isn't a hardware problem. You might end up with the same problems when you use Xbee. Just a thought though.

      G 1 Reply Last reply
      1
      • TheoLT TheoL

        @gmccarthy you do now that MySensors also supports RFM69 right? I runs on a lower frequency. And if I remember it correctly from high school, a lower frequency has a longer range. But there are people here that have more knowledge of that.

        http://www.aliexpress.com/item/RFM69HC-20dBm-RFM69HW-RFM69/32344130193.html?spm=2114.30010308.3.2.VppMGg&ws_ab_test=searchweb201556_9,searchweb201602_4_301_10034_10033_507_10032_508_10020_10017_10005_10006_10021_10022_401_10018_10019,searchweb201603_1&btsid=8bf462de-90bd-45b8-b7a5-41c292a00da3

        Much cheaper and more versatile than Xbee.

        Besides. If it isn't a hardware problem. You might end up with the same problems when you use Xbee. Just a thought though.

        G Offline
        G Offline
        gmccarthy
        wrote on last edited by gmccarthy
        #3

        @TheoL Thanks. Will have a look into those.

        In the meantime I've gone back to basics and have used the pingpong sketch from https://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo#lib and to my amazement its been running for an hour already with no errors. (And going through 2 floors!) Same hardware, power supply etc.

        Might be too early to jump for joy so will leave it running for a few days and see if it falls over.

        TheoLT 1 Reply Last reply
        0
        • G gmccarthy

          @TheoL Thanks. Will have a look into those.

          In the meantime I've gone back to basics and have used the pingpong sketch from https://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo#lib and to my amazement its been running for an hour already with no errors. (And going through 2 floors!) Same hardware, power supply etc.

          Might be too early to jump for joy so will leave it running for a few days and see if it falls over.

          TheoLT Offline
          TheoLT Offline
          TheoL
          Contest Winner
          wrote on last edited by
          #4

          @gmccarthy There can be many reasons why hardware sometimes doesn't work. But it's good to hear, that you are getting closer.

          G 1 Reply Last reply
          0
          • TheoLT TheoL

            @gmccarthy There can be many reasons why hardware sometimes doesn't work. But it's good to hear, that you are getting closer.

            G Offline
            G Offline
            gmccarthy
            wrote on last edited by gmccarthy
            #5

            @TheoL
            Really having some strange problems - if I use the script from the link above its successful in sending and receiving data.

            I've now tried the pingpong script from mysensors and its failing. If I go back to the script above it works again.

            Node1:
            Ying NodeReady.
            Init complete, id=200, parent=255, distance=255
            T received - starting test...
            Sending Ping to Yang Node
            find parent
            send: 200-200-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:

            Node2:
            Yang NodeReady.
            Init complete, id=201, parent=255, distance=255

            TheoLT 1 Reply Last reply
            0
            • G gmccarthy

              @TheoL
              Really having some strange problems - if I use the script from the link above its successful in sending and receiving data.

              I've now tried the pingpong script from mysensors and its failing. If I go back to the script above it works again.

              Node1:
              Ying NodeReady.
              Init complete, id=200, parent=255, distance=255
              T received - starting test...
              Sending Ping to Yang Node
              find parent
              send: 200-200-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:

              Node2:
              Yang NodeReady.
              Init complete, id=201, parent=255, distance=255

              TheoLT Offline
              TheoLT Offline
              TheoL
              Contest Winner
              wrote on last edited by
              #6

              @gmccarthy that my friend is something @Hek might be able to help you.

              1 Reply Last reply
              0
              • hekH Offline
                hekH Offline
                hek
                Admin
                wrote on last edited by
                #7

                "find parent" means your node hasn't got any id and tries to fetch one from the controller.

                So either set a static id or hook up the gateway to a controller which can hand out an id to it.

                1 Reply Last reply
                1
                • maltamiranoM Offline
                  maltamiranoM Offline
                  maltamirano
                  wrote on last edited by
                  #8

                  Hi!
                  I'm new to mysensors and trying to set up my first nodes.

                  My test units are a UNO and a NANO, both with nRF24L01+ and 10uF caps. I'm getting a similiar outcome as @gmccarthy is getting:

                  -"pingpair" and "pingpair_dyn" (RF24 library) sketches runs OK, tested up to 30ft apart.
                  -Similar output when running mysensor's 1.5.4 "PingPongSensor", except for the "Init complete, id=20x, parent=255, distance=255" part, which is not displaying. As follows:

                  Sender node:
                  Ying NodeReady.
                  T received - starting test...
                  Sending Ping to Yang Node
                  find parent
                  send: 200-200-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:

                  Receiver node:
                  Yang NodeReady.

                  What I'm supposed to see on screen when running this sketch?

                  Thanks for your help!

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    ripperle
                    wrote on last edited by
                    #9

                    @gmccarthy said in Alternatives for nRF24L01+ ?:

                    So after a month or two of fiddling I've had enough of the unstable nRF24L01+.
                    Been trying all sorts of tricks to try and these things working - the range is useless and everything I try doesn't seem to help.
                    Tried nRF24L01+, nRF24L01+ PA, capacitor, making sure its a stable 3.3V, extending antenna on nRF24L01+, used tin foil to stop noise, change channel numbers, transfer speed, nothing seems to help. Trued multiple devices - no go.
                    They only seem to work right next to each other. Going through 2 rooms is impossible. Sometimes it works, then it loses comms for 30 mins.
                    Today I tried replacing gateway and sensor with PA - range is even worse
                    Thinking of tossing them all out and going XBee. Expensive but its bound to be rock stable.
                    Read through so many posts on how to extend the range and am wondering if I'm the only one having headaches.

                    I have absolutely the same experience with my temperature sensors!
                    I use the DHT22 and the HTU21 sensors. Sometimes they are running for weeks and then stop working for a day or so and then start working again.

                    Has somebody the same experience?

                    G Nca78N 2 Replies Last reply
                    0
                    • R ripperle

                      @gmccarthy said in Alternatives for nRF24L01+ ?:

                      So after a month or two of fiddling I've had enough of the unstable nRF24L01+.
                      Been trying all sorts of tricks to try and these things working - the range is useless and everything I try doesn't seem to help.
                      Tried nRF24L01+, nRF24L01+ PA, capacitor, making sure its a stable 3.3V, extending antenna on nRF24L01+, used tin foil to stop noise, change channel numbers, transfer speed, nothing seems to help. Trued multiple devices - no go.
                      They only seem to work right next to each other. Going through 2 rooms is impossible. Sometimes it works, then it loses comms for 30 mins.
                      Today I tried replacing gateway and sensor with PA - range is even worse
                      Thinking of tossing them all out and going XBee. Expensive but its bound to be rock stable.
                      Read through so many posts on how to extend the range and am wondering if I'm the only one having headaches.

                      I have absolutely the same experience with my temperature sensors!
                      I use the DHT22 and the HTU21 sensors. Sometimes they are running for weeks and then stop working for a day or so and then start working again.

                      Has somebody the same experience?

                      G Offline
                      G Offline
                      gmccarthy
                      wrote on last edited by gmccarthy
                      #10

                      @ripperle I gave up with them and used a nodemcu with a esp8266 wifi module. Have been running without a hitch for months now.

                      R 1 Reply Last reply
                      0
                      • R ripperle

                        @gmccarthy said in Alternatives for nRF24L01+ ?:

                        So after a month or two of fiddling I've had enough of the unstable nRF24L01+.
                        Been trying all sorts of tricks to try and these things working - the range is useless and everything I try doesn't seem to help.
                        Tried nRF24L01+, nRF24L01+ PA, capacitor, making sure its a stable 3.3V, extending antenna on nRF24L01+, used tin foil to stop noise, change channel numbers, transfer speed, nothing seems to help. Trued multiple devices - no go.
                        They only seem to work right next to each other. Going through 2 rooms is impossible. Sometimes it works, then it loses comms for 30 mins.
                        Today I tried replacing gateway and sensor with PA - range is even worse
                        Thinking of tossing them all out and going XBee. Expensive but its bound to be rock stable.
                        Read through so many posts on how to extend the range and am wondering if I'm the only one having headaches.

                        I have absolutely the same experience with my temperature sensors!
                        I use the DHT22 and the HTU21 sensors. Sometimes they are running for weeks and then stop working for a day or so and then start working again.

                        Has somebody the same experience?

                        Nca78N Offline
                        Nca78N Offline
                        Nca78
                        Hardware Contributor
                        wrote on last edited by
                        #11

                        @ripperle said in Alternatives for nRF24L01+ ?:

                        Sometimes they are running for weeks and then stop working for a day or so and then start working again.

                        Has somebody the same experience?

                        This is a radio link quality problem.
                        Replace your gateway radio with this PA/LNA module from CDEbyte, make sure script is compiled with #define MY_RF24_PA_LEVEL RF24_PA_MAX and it should solve your problems, it has worked for anyone else who tried.
                        https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.html

                        A rozpruwaczR 2 Replies Last reply
                        1
                        • gohanG Offline
                          gohanG Offline
                          gohan
                          Mod
                          wrote on last edited by
                          #12

                          Agreed, I have the same from CDEBYTE on my RPI3 and it has been working flawlessly for over a month. I personally like the RFM69 better because you have more options to work with, but NRF24 from cdebyte are working ok, at least for me.

                          ileneken3I 1 Reply Last reply
                          0
                          • gohanG gohan

                            Agreed, I have the same from CDEBYTE on my RPI3 and it has been working flawlessly for over a month. I personally like the RFM69 better because you have more options to work with, but NRF24 from cdebyte are working ok, at least for me.

                            ileneken3I Offline
                            ileneken3I Offline
                            ileneken3
                            wrote on last edited by
                            #13

                            @gohan

                            Those CDEbyte modules work great for me too. So it becomes:

                            • short distance (or feeling lucky) : use the cheap nRF24L01+ clones
                            • long distance and you can use mains: use a nodemcu or equivalent
                            • long distance and you need battery powered: use the CDEbyte modules

                            Or, scrap it all, and use an NRF5 module for everything. I'm still hesitant to jump in - but that may be the future of mysensors. There is a huge forum on that.

                            1 Reply Last reply
                            0
                            • NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by NeverDie
                              #14

                              I would agree that the range on regular nRF24L01+ modules tends to be... less than stellar. The ones with the PA+LNA though seem OK.

                              The existing nRF5's have better range than regular nRF24L01's, and those with PA+LNA have good range. The nRF52840, which should soon be available,supposedly has fantastic range at not much Tx power.

                              RFM69 has good range, especially at high Tx power.

                              LoRa currently has the best range, and the Ra-01 modules are very cheap. LoRa's range comes at a price though: lower bitrates.

                              1 Reply Last reply
                              0
                              • G gmccarthy

                                @ripperle I gave up with them and used a nodemcu with a esp8266 wifi module. Have been running without a hitch for months now.

                                R Offline
                                R Offline
                                ripperle
                                wrote on last edited by
                                #15

                                @gmccarthy said in Alternatives for nRF24L01+ ?:

                                @ripperle I gave up with them and used a nodemcu with a esp8266 wifi module. Have been running without a hitch for months now.

                                My sensors are battery powered (I also did many test with stable power supplys and had the same connection problems after a few days or weeks...)

                                @Nca78 said in Alternatives for nRF24L01+ ?:

                                @ripperle said in Alternatives for nRF24L01+ ?:

                                Sometimes they are running for weeks and then stop working for a day or so and then start working again.

                                Has somebody the same experience?

                                This is a radio link quality problem.
                                Replace your gateway radio with this PA/LNA module from CDEbyte, make sure script is compiled with #define MY_RF24_PA_LEVEL RF24_PA_MAX and it should solve your problems, it has worked for anyone else who tried.
                                https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.html

                                I already upgraded the gateway with a PA/LNA
                                But not with the MY_RF24_PA_LEVEL RF24_PA_MAX option... Although I ordered 2 PA/LNA transmitter from CDEByte... Let see if it works...

                                By the way, my bathroom sensor (staple power supply, no battery 1 room away from gateway) stopped working a few days ago after many weeks without any problems... Yesterday it come back to life by itself and works... SOOOOOO STRANGE...

                                I dont understand, why a sensor works for weeks or months without problems and then stop working for a day or 2...

                                Thanks for your advises...

                                Nca78N rozpruwaczR 2 Replies Last reply
                                0
                                • gohanG Offline
                                  gohanG Offline
                                  gohan
                                  Mod
                                  wrote on last edited by
                                  #16

                                  It may also a be something else, why are you blaming only radio module? Have you tried changing to a very different channel than you are currently using?

                                  1 Reply Last reply
                                  1
                                  • NeverDieN Offline
                                    NeverDieN Offline
                                    NeverDie
                                    Hero Member
                                    wrote on last edited by
                                    #17

                                    Maybe try a watchdog?

                                    1 Reply Last reply
                                    0
                                    • R ripperle

                                      @gmccarthy said in Alternatives for nRF24L01+ ?:

                                      @ripperle I gave up with them and used a nodemcu with a esp8266 wifi module. Have been running without a hitch for months now.

                                      My sensors are battery powered (I also did many test with stable power supplys and had the same connection problems after a few days or weeks...)

                                      @Nca78 said in Alternatives for nRF24L01+ ?:

                                      @ripperle said in Alternatives for nRF24L01+ ?:

                                      Sometimes they are running for weeks and then stop working for a day or so and then start working again.

                                      Has somebody the same experience?

                                      This is a radio link quality problem.
                                      Replace your gateway radio with this PA/LNA module from CDEbyte, make sure script is compiled with #define MY_RF24_PA_LEVEL RF24_PA_MAX and it should solve your problems, it has worked for anyone else who tried.
                                      https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.html

                                      I already upgraded the gateway with a PA/LNA
                                      But not with the MY_RF24_PA_LEVEL RF24_PA_MAX option... Although I ordered 2 PA/LNA transmitter from CDEByte... Let see if it works...

                                      By the way, my bathroom sensor (staple power supply, no battery 1 room away from gateway) stopped working a few days ago after many weeks without any problems... Yesterday it come back to life by itself and works... SOOOOOO STRANGE...

                                      I dont understand, why a sensor works for weeks or months without problems and then stop working for a day or 2...

                                      Thanks for your advises...

                                      Nca78N Offline
                                      Nca78N Offline
                                      Nca78
                                      Hardware Contributor
                                      wrote on last edited by
                                      #18

                                      @ripperle said in Alternatives for nRF24L01+ ?:

                                      I dont understand, why a sensor works for weeks or months without problems and then stop working for a day or 2...

                                      Thanks for your advises...

                                      After x failed attempts to send messages MySensors will consider the radio link broken. Then when you will want to send a message it will need time to re-establish this link, and if your connection is not of good quality it takes some time, more than the time allowed in the settings to do that job. Then your node is invisible to the gateway.

                                      1 Reply Last reply
                                      0
                                      • Nca78N Nca78

                                        @ripperle said in Alternatives for nRF24L01+ ?:

                                        Sometimes they are running for weeks and then stop working for a day or so and then start working again.

                                        Has somebody the same experience?

                                        This is a radio link quality problem.
                                        Replace your gateway radio with this PA/LNA module from CDEbyte, make sure script is compiled with #define MY_RF24_PA_LEVEL RF24_PA_MAX and it should solve your problems, it has worked for anyone else who tried.
                                        https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.html

                                        A Offline
                                        A Offline
                                        arraWX
                                        wrote on last edited by
                                        #19

                                        @Nca78 I am about to order a few of the suggested modules (PA/LNA module from CDEbyte) from aliexpress. My first deal ever on aliexpress. What about antenna? Will I have to order it separately?

                                        NeverDieN 1 Reply Last reply
                                        0
                                        • A arraWX

                                          @Nca78 I am about to order a few of the suggested modules (PA/LNA module from CDEbyte) from aliexpress. My first deal ever on aliexpress. What about antenna? Will I have to order it separately?

                                          NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by
                                          #20

                                          @arraWX Which modules specifically?

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


                                          14

                                          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