Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. NRF24L01+ range of only few meters

NRF24L01+ range of only few meters

Scheduled Pinned Locked Moved Hardware
81 Posts 21 Posters 39.7k Views 25 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.
  • pkjjnealP Offline
    pkjjnealP Offline
    pkjjneal
    wrote on last edited by
    #44

    This is great info. I actually had great luck with the chip antenna version with a mini pro and an UNO, and the range I wanted was just not there. I moved to the one with the PA+ ext antenna, and having a strange issue. If I swap out the chip antenna version for the PA+ ext antenna version on the mini pro, it only sends packets if I am physically touching the nRF board itself with my finger. The one connected to the UNO does not have this issue. It seems to be grounded sufficiently (only the GND pin on the nRF connector), and I changed the power source from the FTDI module to a separate 3.4V source with no difference in this behavior. Any ideas?

    OitzuO 1 Reply Last reply
    0
    • pkjjnealP pkjjneal

      This is great info. I actually had great luck with the chip antenna version with a mini pro and an UNO, and the range I wanted was just not there. I moved to the one with the PA+ ext antenna, and having a strange issue. If I swap out the chip antenna version for the PA+ ext antenna version on the mini pro, it only sends packets if I am physically touching the nRF board itself with my finger. The one connected to the UNO does not have this issue. It seems to be grounded sufficiently (only the GND pin on the nRF connector), and I changed the power source from the FTDI module to a separate 3.4V source with no difference in this behavior. Any ideas?

      OitzuO Offline
      OitzuO Offline
      Oitzu
      wrote on last edited by
      #45

      @pkjjneal said:
      it only sends packets if I am physically touching the nRF board itself with my finger.

      Also read: http://blog.blackoise.de/2016/02/fixing-your-cheap-nrf24l01-palna-module/
      Its a typical behaviour i observed on badly shielded modules.

      pkjjnealP 1 Reply Last reply
      1
      • G Offline
        G Offline
        gmccarthy
        wrote on last edited by
        #46

        I'm also getting poor range (Around 5m) and have tried most of the tricks. One thing with the homemade antenna from the video, which direction should the antenna be pointing?

        1 Reply Last reply
        0
        • Igor KatkovI Offline
          Igor KatkovI Offline
          Igor Katkov
          wrote on last edited by
          #47

          Typically you point it up. It gives you vertical polarization.
          You point both transmitter and received wire antennas same directions.
          It's possible that your chips are at fault, if non of other tricks worked (capacitors, clear power, enough current, short wires, lo-noise rf spectrum channel) try other transceivers.

          G 1 Reply Last reply
          0
          • OitzuO Oitzu

            @pkjjneal said:
            it only sends packets if I am physically touching the nRF board itself with my finger.

            Also read: http://blog.blackoise.de/2016/02/fixing-your-cheap-nrf24l01-palna-module/
            Its a typical behaviour i observed on badly shielded modules.

            pkjjnealP Offline
            pkjjnealP Offline
            pkjjneal
            wrote on last edited by
            #48

            @Oitzu So I covered the nRF module in plastic and foil to create the shield. Previously, I had to touch a specific part of the board. Now I just touch any part of the foil, and it starts working. Makes sense, but I still cannot get transmissions without touching with my finger. I did try grounding the foil to the Arduino ground, but no change. The behavior makes me think I am on the correct path. Any other suggestions?

            1 Reply Last reply
            0
            • OitzuO Offline
              OitzuO Offline
              Oitzu
              wrote on last edited by
              #49

              @pkjjneal would try to let the foil touch the ground from the antenna socket.
              Grounding the foil on the arduino probably creates a ground loop.

              May also try to add a filter.

              Igor KatkovI 1 Reply Last reply
              0
              • OitzuO Oitzu

                @pkjjneal would try to let the foil touch the ground from the antenna socket.
                Grounding the foil on the arduino probably creates a ground loop.

                May also try to add a filter.

                Igor KatkovI Offline
                Igor KatkovI Offline
                Igor Katkov
                wrote on last edited by
                #50

                @Oitzu
                I though antenna ground and MCU ground is the same thing

                1 Reply Last reply
                0
                • OitzuO Offline
                  OitzuO Offline
                  Oitzu
                  wrote on last edited by
                  #51

                  @Igor: Yes, that is right, but you are possible creating a ground loop.
                  Grounding something should ever be as short as possible, because also in the GND wires electrical charges can build up and create interferences.

                  1 Reply Last reply
                  0
                  • Igor KatkovI Igor Katkov

                    Typically you point it up. It gives you vertical polarization.
                    You point both transmitter and received wire antennas same directions.
                    It's possible that your chips are at fault, if non of other tricks worked (capacitors, clear power, enough current, short wires, lo-noise rf spectrum channel) try other transceivers.

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

                    @Igor-Katkov said:

                    It's possible that your chips are at fault, if non of other tricks worked (capacitors, clear power, enough current, short wires, lo-noise rf spectrum channel) try other transceivers.

                    I've tried the cling wrap and tin foil trick - this seems to have worked. Was getting 5m or so, now I"m getting constant readings from one side of the house to the other (through multiple walls!). 20m

                    Update: Just as I posted this the sensor stopped working :(

                    I'm really having major reliability issues with these sensors and am thinking of scrapping them altogether now. Its a pity these are such a hit and miss affair.

                    I 1 Reply Last reply
                    0
                    • G gmccarthy

                      @Igor-Katkov said:

                      It's possible that your chips are at fault, if non of other tricks worked (capacitors, clear power, enough current, short wires, lo-noise rf spectrum channel) try other transceivers.

                      I've tried the cling wrap and tin foil trick - this seems to have worked. Was getting 5m or so, now I"m getting constant readings from one side of the house to the other (through multiple walls!). 20m

                      Update: Just as I posted this the sensor stopped working :(

                      I'm really having major reliability issues with these sensors and am thinking of scrapping them altogether now. Its a pity these are such a hit and miss affair.

                      I Offline
                      I Offline
                      Ironbar
                      wrote on last edited by
                      #53

                      @gmccarthy

                      My guess is if the sensors work and suddenly stop, you have something else interfering with the radios. Could be a microwave, AC unit, etc.

                      I about gave up on this project last year. I had several units built that worked fine and then one day all of them quit. After several frustrating weeks, I discovered my wifi router somehow was interfering with the units. It was an old unit and I needed to replace it. After it was gone, everything went back to working correctly.

                      1 Reply Last reply
                      0
                      • OitzuO Offline
                        OitzuO Offline
                        Oitzu
                        wrote on last edited by
                        #54

                        @gmccarthy don't give up. You seem to be on the right track and already got great results. :+1:

                        Maybe go bare bones and try the rf24 scanner,
                        https://maniacbug.github.io/RF24/scanner_8pde-example.html
                        to find the best nrf24 channel for your. :)

                        G 1 Reply Last reply
                        0
                        • OitzuO Oitzu

                          @gmccarthy don't give up. You seem to be on the right track and already got great results. :+1:

                          Maybe go bare bones and try the rf24 scanner,
                          https://maniacbug.github.io/RF24/scanner_8pde-example.html
                          to find the best nrf24 channel for your. :)

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

                          @Oitzu said:

                          @gmccarthy don't give up. You seem to be on the right track and already got great results.
                          Maybe go bare bones and try the rf24 scanner

                          Thanks. This looks interesting. Will give it a shot.

                          N 1 Reply Last reply
                          0
                          • G gmccarthy

                            @Oitzu said:

                            @gmccarthy don't give up. You seem to be on the right track and already got great results.
                            Maybe go bare bones and try the rf24 scanner

                            Thanks. This looks interesting. Will give it a shot.

                            N Offline
                            N Offline
                            nunver
                            wrote on last edited by
                            #56

                            @gmccarthy As far as I know, NRF channels above 100 should not have interference from Wifi 2.4 Ghz. I was getting 2-3 meters at best. I changed the channel to 110 and corrected the power supply a little. I am yet to implement cling wrap.

                            I get 10-15 meters between two standard modules inside an apartment. The apartment is like a faraday cage and sometimes I cannot get wifi on the outer extremes while router is in the middle. I am getting sensor readings from one end to the other now, passing through the area where I have the router. So, I think interference is critical in distance.

                            1 Reply Last reply
                            0
                            • L Offline
                              L Offline
                              LastSamurai
                              Hardware Contributor
                              wrote on last edited by
                              #57

                              Hey guys I seem to have similar (but even worse) problems here. I am building a rgbwController and have huge problems connecting that to my gateway although it's only ~3m and no obstacle away.
                              I am using 4,7uF caps on both sides. Stepdown from 12V + another cap on the rgbwController's side and the arduino uno's 3.3V on the other side. I also tried another external 3.3V power source here (but that did not help either).
                              I tried changing the channel to 111 but that seems to have made it even worse.

                              Any ideas how to debug that or what to change?
                              It's really sad to have the setup up and running and then being unable to really use it due to radio problems ;(

                              1 Reply Last reply
                              0
                              • OitzuO Offline
                                OitzuO Offline
                                Oitzu
                                wrote on last edited by
                                #58

                                @LastSamurai Which nrf24l01+ modules are you using on which side?
                                Whats the typical error pattern you get? (Failed transmission from gw to node or from node to gw?)
                                Need to know your exact construction, before guessing what could be wrong.

                                L 1 Reply Last reply
                                0
                                • OitzuO Oitzu

                                  @LastSamurai Which nrf24l01+ modules are you using on which side?
                                  Whats the typical error pattern you get? (Failed transmission from gw to node or from node to gw?)
                                  Need to know your exact construction, before guessing what could be wrong.

                                  L Offline
                                  L Offline
                                  LastSamurai
                                  Hardware Contributor
                                  wrote on last edited by LastSamurai
                                  #59

                                  @Oitzu
                                  I am using the "standard" ones on both sides ("sodial" ones. I think these). My logs from the controller from my thread look like this:

                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=2,pt=0,l=1,sg=0:1
                                  123;1;1;1;2;1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:0
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=2,pt=0,l=1,sg=0:0
                                  123;1;1;1;2;0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=2,pt=0,l=1,sg=0:0
                                  123;1;1;1;2;0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=2,pt=0,l=1,sg=0:1
                                  123;1;1;1;2;1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:0
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=2,pt=0,l=1,sg=0:0
                                  123;1;1;1;2;0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:0
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=2,pt=0,l=1,sg=0:0
                                  123;1;1;1;2;0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=2,pt=0,l=1,sg=0:0
                                  123;1;1;1;2;0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=2,pt=0,l=1,sg=0:1
                                  123;1;1;1;2;1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=41,pt=0,l=9,sg=0,st=fail:#00000
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=41,pt=0,l=9,sg=0:#000000FF
                                  123;1;1;1;41;#000000FF
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=3,pt=0,l=3,sg=0,st=fail:100
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:0
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=2,pt=0,l=1,sg=0:0
                                  123;1;1;1;2;0
                                  0;0;3;0;9;send: 0-0-123-123 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
                                  0;0;3;0;9;read: 123-123-0 s=1,c=1,t=2,pt=0,l=1,sg=0:1
                                  123;1;1;1;2;1
                                  

                                  Sometimes I get a fail message but the lights are reacting (so I guess the ack didn't reach the gateway). I wasn't able to debug the rgbw controller in its position yet because it's sitting on top of a cupboard.
                                  If you need more infos just tell me.

                                  I'll try out another arduino as gateway later.

                                  PS according to this post they might be "fake" though ;) Although others seemed to have used them for mysensors too (comments)

                                  1 Reply Last reply
                                  0
                                  • L Offline
                                    L Offline
                                    LastSamurai
                                    Hardware Contributor
                                    wrote on last edited by
                                    #60

                                    Something seems to be off with the controller. I tried the same code on another arduino uno and it worked just fine. A little less distance perhaps but no errors at all. I'll try to do some hardware testing and measuring tomorrow.

                                    1 Reply Last reply
                                    0
                                    • OitzuO Offline
                                      OitzuO Offline
                                      Oitzu
                                      wrote on last edited by
                                      #61

                                      @LastSamurai also keep in mind that if you are using the LM2596 buck converter that you need to use a post ripple filter.
                                      I explained that here: http://blog.blackoise.de/2016/03/building-a-lc-filter-for-your-nrf24l01-palna-module/.

                                      L 1 Reply Last reply
                                      0
                                      • OitzuO Oitzu

                                        @LastSamurai also keep in mind that if you are using the LM2596 buck converter that you need to use a post ripple filter.
                                        I explained that here: http://blog.blackoise.de/2016/03/building-a-lc-filter-for-your-nrf24l01-palna-module/.

                                        L Offline
                                        L Offline
                                        LastSamurai
                                        Hardware Contributor
                                        wrote on last edited by
                                        #62

                                        @Oitzu Thanks for the hint! That might actually have been a reason why it worked for some time and then stoped, right? I have ordered the components needed and will test it soon.
                                        I don't actually use the LM2596 modules but these smaller ones but I guess they use similar parts.

                                        Did you have similar issues?

                                        1 Reply Last reply
                                        0
                                        • OitzuO Offline
                                          OitzuO Offline
                                          Oitzu
                                          wrote on last edited by
                                          #63

                                          @LastSamurai can't really say for this modules.
                                          The datasheet for the LM2596 says you should use a post ripple filter for low noise, because it generates sawtooth ripple at its switching frequency (150khz). The china-clones of the lm2596 seem to be even worse generating even greater ripple with 50khz.

                                          Whats the ic on the mini dc-dc converter called? The ebay offer says it has a output ripple of 30mV bute more then often these values are the best case. Maybe a datasheets is available.

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


                                          11

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


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