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. nrf24 range issues

nrf24 range issues

Scheduled Pinned Locked Moved Troubleshooting
23 Posts 5 Posters 6.9k Views 5 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.
  • L Offline
    L Offline
    LeKrist
    wrote on last edited by LeKrist
    #8

    About my assumptions that the "base module" had some bypass capacitors, I read it there: http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo

    If you look for the words "base module" in this page you will find:

    "There are also nice low-cost base modules like THIS (RIGHT) that you can plug nRF24L01 modules into. These have a 3.3V regulator built in, AND good power bypass capacitors. You can also find these on Ebay etc. They make it easier to get started and keep operation reliable."

    you can also read somewhere else in the page:

    "Solution: ADD bypass capacitors across GND and 3.3V ON the radio modules or use the Base Modules shown above. One user said, "Just Solder a 100nF ceramic cap across the gnd and 3.3v pins direct on the nrf24l01+ modules!" Some have used a 1uF to 10uF capacitor."

    I now doubt the idea of soldering another capacitor on my radio if the base module already has some. Do you still think it's the way to go @Nca78 ? Be sure I took your answer into account (the capacitors are for stability of the power supply), I just want to double check considering the different opinion on the website mentioned above.

    Thanks.

    [EDIT]
    To see if adding a capacitor "on top" of the base module helps, I took my cheapest radio without antenna (https://www.amazon.fr/gp/product/B01BVAAASY/ref=oh_aui_search_detailpage?ie=UTF8&psc=1) and put in on top of the base module. I tested it without capacitor and was getting roughly 5-10 meters range. I soldered a capacitor (4.7 microF) and got 20 meters range. Thus I reached the same range as the antenna version.
    So I decided to try soldering a capacitor on my radios with antenna (still sitting on top of my base module). Unfortunately, I get the same range (~= 20 meters).

    YveauxY 1 Reply Last reply
    0
    • Nca78N Offline
      Nca78N Offline
      Nca78
      Hardware Contributor
      wrote on last edited by
      #9

      You can try to solder bigger capacitors and see what's best, so people go as high as 47uF. I usually solder 10uF by default on the non pa/lna modules.

      For the module I use it's the one below but I don't advise you to buy it for the following reasons :

      • it's not through hole but SMD version, so it's only if you have a PCB for it
      • by default, antenna is PCB antenna and the performance is not that great
      • changing to external antenna is a real pain, because you have to move a capacitor from one location to another and that capacitor is extremely small. I lost it on my desk and in the end I soldered a 0603 cap of the same capacity that looks like a monster and is way bigger than the pads :)

      https://www.aliexpress.com/store/product/High-quality-CDEBYTE-2PCS-Lot-Transceiver-Module-E01-ML01SP2-1800m-20dBm-2-4G-SMD-nRF24L01-PA/2077046_32805651311.html

      1 Reply Last reply
      0
      • L LeKrist

        About my assumptions that the "base module" had some bypass capacitors, I read it there: http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo

        If you look for the words "base module" in this page you will find:

        "There are also nice low-cost base modules like THIS (RIGHT) that you can plug nRF24L01 modules into. These have a 3.3V regulator built in, AND good power bypass capacitors. You can also find these on Ebay etc. They make it easier to get started and keep operation reliable."

        you can also read somewhere else in the page:

        "Solution: ADD bypass capacitors across GND and 3.3V ON the radio modules or use the Base Modules shown above. One user said, "Just Solder a 100nF ceramic cap across the gnd and 3.3v pins direct on the nrf24l01+ modules!" Some have used a 1uF to 10uF capacitor."

        I now doubt the idea of soldering another capacitor on my radio if the base module already has some. Do you still think it's the way to go @Nca78 ? Be sure I took your answer into account (the capacitors are for stability of the power supply), I just want to double check considering the different opinion on the website mentioned above.

        Thanks.

        [EDIT]
        To see if adding a capacitor "on top" of the base module helps, I took my cheapest radio without antenna (https://www.amazon.fr/gp/product/B01BVAAASY/ref=oh_aui_search_detailpage?ie=UTF8&psc=1) and put in on top of the base module. I tested it without capacitor and was getting roughly 5-10 meters range. I soldered a capacitor (4.7 microF) and got 20 meters range. Thus I reached the same range as the antenna version.
        So I decided to try soldering a capacitor on my radios with antenna (still sitting on top of my base module). Unfortunately, I get the same range (~= 20 meters).

        YveauxY Offline
        YveauxY Offline
        Yveaux
        Mod
        wrote on last edited by Yveaux
        #10

        @LeKrist it could very well be that the adapter boards are the culprit. They normally use an ams1117-3v3 to generate the 3v3 supply, but I've seen Chinese copies of this chip that could barely generate 100mA.
        The best results I always obtain with 2xAA battery powered sensors. You could always give this a try as it is a quick test (assuming you're also using a 3v3 arduino; eg pro mini) and additional capacitors are not required.
        Just make sure you start with fresh batteries so the supply will be around 3v and power both the radio and arduino directly from the batteries - no step up/down converter needed.

        http://yveaux.blogspot.nl

        1 Reply Last reply
        1
        • L Offline
          L Offline
          LeKrist
          wrote on last edited by
          #11

          @Nca78 good idea I will try different capacitors sizes.

          @Yveaux thanks for pointing that potential point of failure. I decided to test the max amp at the output of my base modules. I put a couple of LEDS in parallel and a 470ohm resistor in front. With my multimeter I measured max 400mA (after that adding more LEDS was not changing this max amp). I think 400mA is way enough for the radio right?

          1 Reply Last reply
          0
          • L Offline
            L Offline
            LeKrist
            wrote on last edited by
            #12

            @Nca78 I would like to make sure I understand the purpose of adding an extra capacitor. Is it to be able to give the needed current when a surge happens? Is it to filter the noise? Both?

            Thanks !

            1 Reply Last reply
            0
            • L Offline
              L Offline
              LeKrist
              wrote on last edited by
              #13

              @Nca78 I've tried 47uF capacitors and it does not solve the issue (it might be a touch worse)

              1 Reply Last reply
              0
              • Nca78N Offline
                Nca78N Offline
                Nca78
                Hardware Contributor
                wrote on last edited by
                #14

                When you tried with normal module, did you try with only "normal" NRF24 or with 1 normal and 1 amplified module ?

                Purpose of capacitor is mainly to filter out noise. Did you solder it directly on the vcc/gnd pins of the radio modules, with leads as short as possible ?
                If it's not making a difference or getting worse, reduce the size to get closer to the 4.7uF, and search the culprit somewhere else.

                L 1 Reply Last reply
                0
                • Nca78N Nca78

                  When you tried with normal module, did you try with only "normal" NRF24 or with 1 normal and 1 amplified module ?

                  Purpose of capacitor is mainly to filter out noise. Did you solder it directly on the vcc/gnd pins of the radio modules, with leads as short as possible ?
                  If it's not making a difference or getting worse, reduce the size to get closer to the 4.7uF, and search the culprit somewhere else.

                  L Offline
                  L Offline
                  LeKrist
                  wrote on last edited by
                  #15

                  @Nca78 when I tried with the "normal" module, I tested both situations at the other hand (another normal and one with antenna).
                  I soldered the capacitor directly to the VCC + GND on the radio. But I did not make the leads of the capacitor as short as possible: they're still 2cm long I guess. I'm gonna try with reducing that as much as I can.

                  Let's assume I've got my capacitors correct to filter the noise. Can I assume that I don't have a problem with my power source as I checked I can deliver 400mA to my radio module? Or should I still try with the batteries as @Yveaux suggested? (I'm asking because it's a bit less convenient to try that for me right now)

                  1 Reply Last reply
                  0
                  • Nca78N Offline
                    Nca78N Offline
                    Nca78
                    Hardware Contributor
                    wrote on last edited by
                    #16

                    I think before cutting the capacitors legs you should try with the AA/AAA batteries.
                    I've used modules with relatively long capacitor legs and with power source from a battery it didn't create a range problem so either you have a noise problem with your power source, or you have bad modules, or both. Testing with the batteries will give you an answer for the power source.

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      LeKrist
                      wrote on last edited by
                      #17

                      @Nca78 said in nrf24 range issues:

                      answer

                      I'm confused: I thought the potential noise in my power source is not a problem as I have soldered a capacitor to filter that. Why trying the batteries then?

                      Anyway, I've tried and it does not help :(

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        LeKrist
                        wrote on last edited by LeKrist
                        #18

                        FYI I just read this article https://bigdanzblog.wordpress.com/2015/02/21/the-very-frustrating-nrf24l01/

                        At one point he mentioned:

                        "There are multiple resources that document needing the capacitor and a better power supply. You might want to heed them so you don’t get as frustrated as I did.

                        Even after I made those changes, I was still having issues with packet loss. I decided to power the Nano from the external 5V power supply and it began working much more reliably."

                        I don't see why that worked: he was already powering the radio with an external 3.3V so the Nano was already not providing power to the radio. Perhaps there was still noise conveyed through the non-power related pins between the nano and the radio?
                        I'll try that anyway and I will report

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          LeKrist
                          wrote on last edited by
                          #19

                          So I've tried everything mentioned before (batteries and shortening the capacitors leads to a minimum feasible). Still the same results.
                          My last chance: I'll buy other modules (the shielded ones) and cross fingers.

                          1 Reply Last reply
                          0
                          • L Offline
                            L Offline
                            LeKrist
                            wrote on last edited by LeKrist
                            #20

                            Resolved !

                            I finally ordered 2 of these (https://www.aliexpress.com/item/2PC-Lot-E01-ML01DP5-nRF24L01-PA-LNA-Long-Range-2-4GHz-RF-Wireless-Transceiver-Original/32797433295.html?spm=a2g0s.9042311.0.0.wuTpjZ) . Thanks @Nca78 for recommending them earlier.

                            I plugged them on my base modules and did my usual test.
                            The range is now way beyond my needs! I have 100m+ of range (I was too lazy to take the boat to cross the river at the bottom of my property..)

                            I'm a bit bitter to have wasted so much time but very relieved too. I have the feeling that radio will not be an issue anymore (and so I'll save hours of troubleshooting)

                            I've got a few conclusions:
                            _ It's good to ask help: thanks @Nca78 and @Yveaux !
                            _ As mentioned earlier in the topic with @Yveaux I think the modules recommended on the mysensors websites should be changed to these ones (or at least others that have been tested and work). Yes they are more expensive (3.4€ in my case) but it's still cheap and definitely worth the saved dozens of hours trying to figure out the radio issues. I'm also sure it would help not losing new users that get too frustrated
                            _ I think the whole set of tips/tricks to improve the range of some modules (solder, capacitors, clean power source, base module...) can be a bit of a trap. I don't deny that it can help marginally or drastically on some modules. But my experience has proven that even with all of these tricks applied it still would not make it with some modules. Even with modules advertised as "long range". As @Nca78 said it in is very first post, if we know that some modules just work "out of the box" we should stop recommending dodgy ones that can sometimes be fixed with tricks or not.

                            If I have the motivation I may even try to remove the base modules (making sure I still provide 3.3v and not 5v) and will see if they're still needed with my new radio modules.

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

                              These also work well, and they come with an antenna too!
                              https://www.aliexpress.com/item/1sets-Special-promotions-2-4G-wireless-modules-1100-Meters-Long-Distance-NRF24L01-PA-LNA-wireless-modules/32787846044.html?ws_ab_test=searchweb0_0,searchweb201602_5_10152_10065_10151_10130_10068_10344_10342_10343_10340_10341_5560012_10307_10060_10155_10154_10056_5370012_10055_10054_10059_10534_10533_10532_100031_10099_10338_10339_10103_10102_5580012_10052_10053_10107_10050_10142_10051_10324_10325_10084_513_10083_10080_10082_10081_10178_10110_10111_10112_10113_5590012_10114_143_10312_10314_5570012_10078_10079_10073,searchweb201603_30,ppcSwitch_5&btsid=d1cc11b2-1c6a-4d4c-833a-d0478b2a7344&algo_expid=8f936264-769a-4720-a66a-a313d8e96a46-3&algo_pvid=8f936264-769a-4720-a66a-a313d8e96a46

                              I'm not sure which is better: this or the Ebyte ones. They seem about the same to me, but I haven't done a rigorous comparison. Anyone else compared them?

                              I agree that the limited range of the regular, non-amplified modules, can be quite a frustration! If anything, maybe beginners should start with these and then perhaps later dial it back if so inclined for energy savings or the like.

                              1 Reply Last reply
                              0
                              • L LeKrist

                                Resolved !

                                I finally ordered 2 of these (https://www.aliexpress.com/item/2PC-Lot-E01-ML01DP5-nRF24L01-PA-LNA-Long-Range-2-4GHz-RF-Wireless-Transceiver-Original/32797433295.html?spm=a2g0s.9042311.0.0.wuTpjZ) . Thanks @Nca78 for recommending them earlier.

                                I plugged them on my base modules and did my usual test.
                                The range is now way beyond my needs! I have 100m+ of range (I was too lazy to take the boat to cross the river at the bottom of my property..)

                                I'm a bit bitter to have wasted so much time but very relieved too. I have the feeling that radio will not be an issue anymore (and so I'll save hours of troubleshooting)

                                I've got a few conclusions:
                                _ It's good to ask help: thanks @Nca78 and @Yveaux !
                                _ As mentioned earlier in the topic with @Yveaux I think the modules recommended on the mysensors websites should be changed to these ones (or at least others that have been tested and work). Yes they are more expensive (3.4€ in my case) but it's still cheap and definitely worth the saved dozens of hours trying to figure out the radio issues. I'm also sure it would help not losing new users that get too frustrated
                                _ I think the whole set of tips/tricks to improve the range of some modules (solder, capacitors, clean power source, base module...) can be a bit of a trap. I don't deny that it can help marginally or drastically on some modules. But my experience has proven that even with all of these tricks applied it still would not make it with some modules. Even with modules advertised as "long range". As @Nca78 said it in is very first post, if we know that some modules just work "out of the box" we should stop recommending dodgy ones that can sometimes be fixed with tricks or not.

                                If I have the motivation I may even try to remove the base modules (making sure I still provide 3.3v and not 5v) and will see if they're still needed with my new radio modules.

                                pihomeP Offline
                                pihomeP Offline
                                pihome
                                wrote on last edited by
                                #22

                                i m in same boat, i have order 3 of those as well. until i read your post i was about to give up on using wireless. thanks for reporting back and sharing your experience.

                                @LeKrist said in nrf24 range issues:

                                hat even with all of these tricks applied it still would not make it with some modules. Even with modules advertised as "long range". As @Nca78 said it in is very first post, if we know that some modules just work "out of the box" we should stop recommending dodgy ones that

                                PiHome - Smart Heating Control

                                1 Reply Last reply
                                0
                                • pihomeP Offline
                                  pihomeP Offline
                                  pihome
                                  wrote on last edited by
                                  #23

                                  Just to contribute some experience, i had NRF24L01+PA+LNA on my wifi gateway, all my battery powered sensors (NRF24L01+) were communicating fine but my relay node wasn't communicating at all i tried different arduino (nano, mini) different combination of NRF24L01+ and NRF24L01+PA+LNA but no joy, i just change NRF24L01+PA+LNA radio of my gateway and now my battery powered temperature sensors and relay node can talk to gateway. my conclusion if one node isn't working it may not be that node is faulty. so node and gateway should get checked.

                                  PiHome - Smart Heating Control

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


                                  19

                                  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