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.
  • 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
                            • NeverDieN NeverDie

                              @arraWX Which modules specifically?

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

                              @NeverDie This one: https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.html

                              NeverDieN 1 Reply Last reply
                              0
                              • A arraWX

                                @NeverDie This one: https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.html

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

                                @arraWX My purchase for that didn't come with an antenna, whereas @Nca78 's did. So, don't count on it. I'm pretty sure they mean to charge extra for it.

                                A ahmedadelhosniA 2 Replies Last reply
                                1
                                • NeverDieN NeverDie

                                  @arraWX My purchase for that didn't come with an antenna, whereas @Nca78 's did. So, don't count on it. I'm pretty sure they mean to charge extra for it.

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

                                  @NeverDie Thank you!

                                  To me it seems as if it is not an option to order an antenna from CDEbyte through aliexpress.

                                  Can I use any 2.4 GHz SMA antenna? Anything to be particularly aware of? Any suggestions?

                                  NeverDieN 1 Reply Last reply
                                  0
                                  • A arraWX

                                    @NeverDie Thank you!

                                    To me it seems as if it is not an option to order an antenna from CDEbyte through aliexpress.

                                    Can I use any 2.4 GHz SMA antenna? Anything to be particularly aware of? Any suggestions?

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

                                    @arraWX This will fit it:
                                    https://www.aliexpress.com/item/Free-Shipping-ESP8266-serial-WIFI-wireless-transceiver-module-MT7681-3DBI-gain-antenna/32223853645.html?spm=a2g0s.9042311.0.0.3qUb1A

                                    It's already cheap, but maybe you can find it even cheaper without the cabling adapter part of it.

                                    That said, I'm not at all sure the CDEbyte is any better than the cheaper alternative, which includes an antenna: https://www.aliexpress.com/item/5pcs-Free-Shipping-Special-promotions-1100-meter-long-distance-NRF24L01-PA-LNA-wireless-modules-1100meters-with/1037554818.html?spm=a2g0s.9042311.0.0.3qUb1A

                                    Nca78N 1 Reply Last reply
                                    1
                                    • 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...

                                      rozpruwaczR Offline
                                      rozpruwaczR Offline
                                      rozpruwacz
                                      wrote on last edited by
                                      #25

                                      @ripperle in your sensor node, do you give time for link recovery in the case of link fail ?

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        manutremo
                                        wrote on last edited by
                                        #26

                                        I went through a lot of problems when trying to build my network using the nrf24 modules. I jept using more and more powerful modules but never really managed to get a robust connection at all nodes.

                                        The nrf24L01 do not provide signal level reporting capabilities, so it's not easy to imagine what's oging on when communication fails.

                                        I finally understood by using the connection quality meter here. BY using I found that:

                                        • Increasing the power is sometimes a problem instead of a solution, since the nrf24L01 tend to overload at some point.
                                        • In my home there where "shadow" areas where the 2.4GHz simply didn't reach at a good enough level. I then checked the 2.4GHz signal from my router and found that it was also weak (not as weak as the nrf24L01, of course, but you could see the decrease).
                                        • Isolating the nrf24L01 by wrapping them on a plastic film foil and then another later of tin foil helped a litlle.

                                        From the results of my investigation I decided to move to using rfm69 modules, which have a better penetration power. They are working quite well, and certainly much better than the nrf24's.

                                        Maybe in your case it might be worth using a similar tool to understand what is going on.

                                        R 1 Reply Last reply
                                        3
                                        • NeverDieN NeverDie

                                          @arraWX This will fit it:
                                          https://www.aliexpress.com/item/Free-Shipping-ESP8266-serial-WIFI-wireless-transceiver-module-MT7681-3DBI-gain-antenna/32223853645.html?spm=a2g0s.9042311.0.0.3qUb1A

                                          It's already cheap, but maybe you can find it even cheaper without the cabling adapter part of it.

                                          That said, I'm not at all sure the CDEbyte is any better than the cheaper alternative, which includes an antenna: https://www.aliexpress.com/item/5pcs-Free-Shipping-Special-promotions-1100-meter-long-distance-NRF24L01-PA-LNA-wireless-modules-1100meters-with/1037554818.html?spm=a2g0s.9042311.0.0.3qUb1A

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

                                          @NeverDie said in Alternatives for nRF24L01+ ?:

                                          That said, I'm not at all sure the CDEbyte is any better than the cheaper alternative, which includes an antenna: https://www.aliexpress.com/item/5pcs-Free-Shipping-Special-promotions-1100-meter-long-distance-NRF24L01-PA-LNA-wireless-modules-1100meters-with/1037554818.html?spm=a2g0s.9042311.0.0.3qUb1A

                                          I never got good resuts with similar pa/lna modules. Some work, some don't, some do only after tinkering.
                                          With the one from CDEByte it just gave instant coverage to all my nodes, no tinkering necessary and nothing like what @manutremo is describing above. My nodes which had problem to report from the other side of my appartment became 100% reliable.

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


                                          15

                                          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