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.
  • Igor KatkovI Igor Katkov

    It appears that I was quite foolish expecting FTDI adapter board to power my nrf24 :-(
    datasheet says it can provide at most 50mA.

    I'll try 2AA batteries and a step up regulator

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

    @Igor-Katkov said:

    datasheet says it can provide at most 50mA

    Don't count on that ftdi chip being genuine for only a few $$. I doubt if that data sheet applies to your unit...

    http://yveaux.blogspot.nl

    1 Reply Last reply
    0
    • Igor KatkovI Igor Katkov

      I was/am trying to make a battery powered wireless sensor so there would be no AC if I can avoid it.

      I intended to use the step up regulator to 3v3 to extend sensor life on a pair of AA batteries. I think voltage would drop fairly quickly below nrf24 lower limit.

      AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by AWI
      #36

      @Igor-Katkov Your AA batteries will be as good as dead before these drop below the nrf24 minimum voltage (1.9V). See below the graph for one cell. If the arduino survives depends on hardware/ fuse-settings.

      0_1455694674730_upload-9c67f65a-394a-4e60-a5fb-e25d0d8d2ba3

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

        OK, so I tried with AA cells, no regulators.
        Plain and simple. TMRh20 lib.
        Not any better.
        I then tried with a chunk of bare copper wire 83mm long, soldered to the end of that curly PCB antenna - not any better either.
        Not sure what might I've done wrong. Layout is pretty simple
        image of nrf24 transmitter
        Voltage with load is 3.1V, current never goes above 19.2mA
        image of multimeter

        I tried with direct line of sight, range has doubled to say 20m, but again - nothing to write home about.

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

          [Update for future generation]
          I think I found my issue. It was the large transceiver see image below, with power amplifier and external antenna.
          Once I replaced both receiver and transmitter with identical units, range got significantly better.
          60m clear sight and almost whole house through multiple walls.

          For whatever reason small unit can't hear ACK from the PA unit. I tried to reduce power on the PA end to

           radio.setPALevel(RF24_PA_MIN); 
          

          but it did not seem to have any effect. My best guess now is that oscillator on the PA unit is slightly off. PCB antenna unit is battery powered.
          Power source to arduino UNO that drives PA unit is good, 5V less that 2mV ripple. The transceiver is powered via 3V3 output (onboard regulator) of UNO though, could it be the problem?

          petewillP 1 Reply Last reply
          1
          • OitzuO Offline
            OitzuO Offline
            Oitzu
            wrote on last edited by
            #39

            @Igor-Katkov said:
            The transceiver is powered via 3V3 output (onboard regulator) of UNO though, could it be the problem?

            Yes. But depends on which onboard regulator is used on your UNO.
            Also have an look here: http://forum.mysensors.org/topic/3168/long-range-transmission/27

            1 Reply Last reply
            0
            • Igor KatkovI Igor Katkov

              [Update for future generation]
              I think I found my issue. It was the large transceiver see image below, with power amplifier and external antenna.
              Once I replaced both receiver and transmitter with identical units, range got significantly better.
              60m clear sight and almost whole house through multiple walls.

              For whatever reason small unit can't hear ACK from the PA unit. I tried to reduce power on the PA end to

               radio.setPALevel(RF24_PA_MIN); 
              

              but it did not seem to have any effect. My best guess now is that oscillator on the PA unit is slightly off. PCB antenna unit is battery powered.
              Power source to arduino UNO that drives PA unit is good, 5V less that 2mV ripple. The transceiver is powered via 3V3 output (onboard regulator) of UNO though, could it be the problem?

              petewillP Offline
              petewillP Offline
              petewill
              Admin
              wrote on last edited by
              #40

              @Igor-Katkov said:

              I think I found my issue. It was the large transceiver see image below, with power amplifier and external antenna.

              I have had issues with my NRF radio like the one you mention here. I'm not sure about range issues but it totally stopped my Z-Wave network from communicating. It was easier for me to just use one of the smaller radios instead of doing further troubleshooting. I know there are some other threads (that I can't think of off the top of my head) where users have found that shielding it has helped. Also, as @Oitzu said, try powering it from a separate 3.3v source instead of from the Uno.

              My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

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

                @petewill about shielding: you should have looked on the link http://blog.blackoise.de/2016/02/fixing-your-cheap-nrf24l01-palna-module/ . I explained it that often that i decided to write a blog article about it. :P

                petewillP 1 Reply Last reply
                1
                • OitzuO Oitzu

                  @petewill about shielding: you should have looked on the link http://blog.blackoise.de/2016/02/fixing-your-cheap-nrf24l01-palna-module/ . I explained it that often that i decided to write a blog article about it. :P

                  petewillP Offline
                  petewillP Offline
                  petewill
                  Admin
                  wrote on last edited by
                  #42

                  @Oitzu Awesome! I have one of these sitting in a drawer because of all the issues it caused me. :) I may need to pull it out and try your method one of these days. For now I have been getting by with the external hack but I'm sure I'll want further range at some point...

                  My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

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

                    @petewill great to hear. Let me know if you are successful. :)

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