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.
  • sundberg84S Offline
    sundberg84S Offline
    sundberg84
    Hardware Contributor
    wrote on last edited by
    #4

    Well, you should be able to debug by changing position of the sensor and see if that helps. If you have a 3.3 try to power it with 2xAA (little noice) to see if that helps. Also if you move the sensor it might need some time to find its way through the network if you have repeaters and so...

    Controller: Proxmox VM - Home Assistant
    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

    1 Reply Last reply
    0
    • E ericvdb

      the 3.3V on the arduino boards suck. Do not use that, instead use the 5V with your own 3.3V regulator.

      HenryWhiteH Offline
      HenryWhiteH Offline
      HenryWhite
      wrote on last edited by HenryWhite
      #5

      @ericvdb said:

      the 3.3V on the arduino boards suck. Do not use that, instead use the 5V with your own 3.3V regulator.

      I'm using 7 nodes with nRF directly connected to my 3.3v pro mini's vcc. Never had any problems with range, since I'm using the nRF Version with antenna on my gateway.

      @Anduril are you using capacitors? Try exchanging the nRF which is attached to your gateway.

      AndurilA 1 Reply Last reply
      0
      • S Offline
        S Offline
        sven
        wrote on last edited by sven
        #6

        I also have such problems, the following video helps me. I use 3.3V pro mini.
        https://www.youtube.com/watch?v=NpMnauHeR7Y

        mfalkviddM epierreE 2 Replies Last reply
        0
        • S sven

          I also have such problems, the following video helps me. I use 3.3V pro mini.
          https://www.youtube.com/watch?v=NpMnauHeR7Y

          mfalkviddM Online
          mfalkviddM Online
          mfalkvidd
          Mod
          wrote on last edited by
          #7

          @sven said:

          the following video helps me

          @petewill strikes again ;-)

          1 Reply Last reply
          0
          • epierreE Offline
            epierreE Offline
            epierre
            Hero Member
            wrote on last edited by epierre
            #8

            I have an issue in a room where nothing goes out (but before yes...) : nor Zwave or nrf24L01 from itead in normal or amplified, either on batteries or on AC... any idea how to investigate this ?

            Some wifi is in, I am wondering of a local gateway to wifi to circumvent this...

            z-wave - Vera -> Domoticz
            rfx - Domoticz <- MyDomoAtHome <- Imperihome
            mysensors -> mysensors-gw -> Domoticz

            1 Reply Last reply
            0
            • S sven

              I also have such problems, the following video helps me. I use 3.3V pro mini.
              https://www.youtube.com/watch?v=NpMnauHeR7Y

              epierreE Offline
              epierreE Offline
              epierre
              Hero Member
              wrote on last edited by
              #9

              @sven is this a quartew or half wave what he proposes ?

              z-wave - Vera -> Domoticz
              rfx - Domoticz <- MyDomoAtHome <- Imperihome
              mysensors -> mysensors-gw -> Domoticz

              S 1 Reply Last reply
              0
              • epierreE epierre

                @sven is this a quartew or half wave what he proposes ?

                S Offline
                S Offline
                sven
                wrote on last edited by
                #10

                @epierre
                petewill propose full wave antenna, please look here: http://forum.mysensors.org/topic/775/8-lamp-outlet-smart-plug-module/67

                1 Reply Last reply
                0
                • epierreE Offline
                  epierreE Offline
                  epierre
                  Hero Member
                  wrote on last edited by epierre
                  #11

                  @sven I did ad a home made half wave on a 433Mhz device (Imagitronix), and also added a quater wave on the RFXTRX to improve the range.

                  Frequency = 868 MHz
                  Quarter Wavelength: 82.2 mm = 3.235 inch
                  Half Wavelength: 164.3 mm = 6.470 inch

                  so it is a quarter Wave as the amplified version propose

                  z-wave - Vera -> Domoticz
                  rfx - Domoticz <- MyDomoAtHome <- Imperihome
                  mysensors -> mysensors-gw -> Domoticz

                  S 1 Reply Last reply
                  0
                  • epierreE epierre

                    @sven I did ad a home made half wave on a 433Mhz device (Imagitronix), and also added a quater wave on the RFXTRX to improve the range.

                    Frequency = 868 MHz
                    Quarter Wavelength: 82.2 mm = 3.235 inch
                    Half Wavelength: 164.3 mm = 6.470 inch

                    so it is a quarter Wave as the amplified version propose

                    S Offline
                    S Offline
                    sven
                    wrote on last edited by
                    #12

                    @epierre
                    The NRF24L01+ is working on an other frequency, it is 2400 MHz and not 868 MHz. I think to post http://forum.mysensors.org/topic/775/8-lamp-outlet-smart-plug-module/67 might be correct.

                    1 Reply Last reply
                    0
                    • epierreE Offline
                      epierreE Offline
                      epierre
                      Hero Member
                      wrote on last edited by epierre
                      #13

                      @sven on the video he shows 83.38 ?? you are right, it is 2.4GHz

                      1/4 wave antenna is 31.25 mm long
                      1/2 wavelength is 62.5mm.

                      so why did he mesured 83.38 ? was it inches ? (imperial non universal?)

                      z-wave - Vera -> Domoticz
                      rfx - Domoticz <- MyDomoAtHome <- Imperihome
                      mysensors -> mysensors-gw -> Domoticz

                      mfalkviddM ร 2 Replies Last reply
                      0
                      • HenryWhiteH HenryWhite

                        @ericvdb said:

                        the 3.3V on the arduino boards suck. Do not use that, instead use the 5V with your own 3.3V regulator.

                        I'm using 7 nodes with nRF directly connected to my 3.3v pro mini's vcc. Never had any problems with range, since I'm using the nRF Version with antenna on my gateway.

                        @Anduril are you using capacitors? Try exchanging the nRF which is attached to your gateway.

                        AndurilA Offline
                        AndurilA Offline
                        Anduril
                        wrote on last edited by
                        #14

                        @HenryWhite yeah I have caps at all my nrfs. Will try with a different power source, as mine is attached to my pc usb as well. At least for testing it should work on batteries.

                        HenryWhiteH 1 Reply Last reply
                        0
                        • epierreE epierre

                          @sven on the video he shows 83.38 ?? you are right, it is 2.4GHz

                          1/4 wave antenna is 31.25 mm long
                          1/2 wavelength is 62.5mm.

                          so why did he mesured 83.38 ? was it inches ? (imperial non universal?)

                          mfalkviddM Online
                          mfalkviddM Online
                          mfalkvidd
                          Mod
                          wrote on last edited by
                          #15

                          @epierre said:

                          @sven on the video he shows 83.38 ?? you are right, it is 2.4GHz

                          1/4 wave antenna is 31.25 mm long
                          1/2 wavelength is 62.5mm.

                          so why did he mesured 83.38 ? was it inches ? (imperial non universal?)

                          As Pete explains in the video, you need to add 83.38mm to the pcb antenna to get a full wavelength.

                          epierreE 1 Reply Last reply
                          0
                          • mfalkviddM mfalkvidd

                            @epierre said:

                            @sven on the video he shows 83.38 ?? you are right, it is 2.4GHz

                            1/4 wave antenna is 31.25 mm long
                            1/2 wavelength is 62.5mm.

                            so why did he mesured 83.38 ? was it inches ? (imperial non universal?)

                            As Pete explains in the video, you need to add 83.38mm to the pcb antenna to get a full wavelength.

                            epierreE Offline
                            epierreE Offline
                            epierre
                            Hero Member
                            wrote on last edited by
                            #16

                            @mfalkvidd said:

                            83.38mm to the

                            I'd like to understand @petewill

                            z-wave - Vera -> Domoticz
                            rfx - Domoticz <- MyDomoAtHome <- Imperihome
                            mysensors -> mysensors-gw -> Domoticz

                            1 Reply Last reply
                            0
                            • AndurilA Anduril

                              @HenryWhite yeah I have caps at all my nrfs. Will try with a different power source, as mine is attached to my pc usb as well. At least for testing it should work on batteries.

                              HenryWhiteH Offline
                              HenryWhiteH Offline
                              HenryWhite
                              wrote on last edited by
                              #17

                              @Anduril said:

                              @HenryWhite yeah I have caps at all my nrfs. Will try with a different power source, as mine is attached to my pc usb as well. At least for testing it should work on batteries.

                              If that doesn't help try exchanging the Gateway Radio module.

                              AndurilA 1 Reply Last reply
                              0
                              • N Offline
                                N Offline
                                nunver
                                wrote on last edited by
                                #18

                                Basically, from what I understand, a few meters of range is abnormal, and there is something I am doing wrong (a lot of which you outlined above and elsewhere). I understand that if powered correctly and fitted with capacitors and, if need be, some home made antennas, they should communicate through concrete walls up to 10-20 meters.

                                Do you confirm? Only then I will have the stamina to go back and spend another weekend crouched on that desk. :wink:

                                1 Reply Last reply
                                0
                                • mfalkviddM Online
                                  mfalkviddM Online
                                  mfalkvidd
                                  Mod
                                  wrote on last edited by mfalkvidd
                                  #19

                                  The nrf should have about the same range as regular wifi. So if regular wifi works in that room, you should be able to get the nrf working. If wifi doesn't work, you are not likely to get the nrf working either. In that case you'll probably be better off using ethernet (place an ethernet gateway in that room, with wired access to your home network) or use rs485.

                                  10-20m solid concrete is going to be tough (for almost any type of radio signal), but with regular walls you should get at least 10m, probably 20-50.

                                  1 Reply Last reply
                                  1
                                  • petewillP Offline
                                    petewillP Offline
                                    petewill
                                    Admin
                                    wrote on last edited by
                                    #20

                                    @epierre my notes are in inches so forgive me not converting it here. My thinking was to make a full wavelength antenna using the existing pcb antenna. A full wavelength antenna for 2.4GHz is 4.92 in. I measured the existing pcb antenna on the nRF and it was 1.64 in. So, 4.92 - 1.64 = 3.28 in. (or 8.3312 cm). I'm not claiming to be an expert at all (an other people have said this shouldn't work) but it has worked well for me so I keep doing it. :) Others have reported success too so hopefully it will help you.

                                    (thanks for your help @mfalkvidd)

                                    @nunver Have you changed the PA level to MAX in myconfig.h?

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

                                    epierreE N 2 Replies Last reply
                                    1
                                    • VooDooXV Offline
                                      VooDooXV Offline
                                      VooDooX
                                      wrote on last edited by
                                      #21

                                      Have you tried changing #define RF24_DATARATE in MyConfig.h from RF24_250KBPS to RF24_1MBPS or RF24_2MBPS?

                                      That helped in my case. But you have to recompile gateway and node(s).

                                      1 Reply Last reply
                                      0
                                      • HenryWhiteH HenryWhite

                                        @Anduril said:

                                        @HenryWhite yeah I have caps at all my nrfs. Will try with a different power source, as mine is attached to my pc usb as well. At least for testing it should work on batteries.

                                        If that doesn't help try exchanging the Gateway Radio module.

                                        AndurilA Offline
                                        AndurilA Offline
                                        Anduril
                                        wrote on last edited by
                                        #22

                                        @HenryWhite I tried with my ESP on battery and only get few meters range, too.
                                        Also changing radio did not change anything. But my radios are from the same seller, even if my second batch was ordered months after the first. So maybe still same typ of radios.
                                        I will check for @VooDooX hint and change datarates. I will report back...

                                        1 Reply Last reply
                                        0
                                        • petewillP petewill

                                          @epierre my notes are in inches so forgive me not converting it here. My thinking was to make a full wavelength antenna using the existing pcb antenna. A full wavelength antenna for 2.4GHz is 4.92 in. I measured the existing pcb antenna on the nRF and it was 1.64 in. So, 4.92 - 1.64 = 3.28 in. (or 8.3312 cm). I'm not claiming to be an expert at all (an other people have said this shouldn't work) but it has worked well for me so I keep doing it. :) Others have reported success too so hopefully it will help you.

                                          (thanks for your help @mfalkvidd)

                                          @nunver Have you changed the PA level to MAX in myconfig.h?

                                          epierreE Offline
                                          epierreE Offline
                                          epierre
                                          Hero Member
                                          wrote on last edited by epierre
                                          #23

                                          @petewill when you solder you are at the end of the existing antenna, so you should add both length right ? and yes using imperial unit is well... non international ;-)

                                          z-wave - Vera -> Domoticz
                                          rfx - Domoticz <- MyDomoAtHome <- Imperihome
                                          mysensors -> mysensors-gw -> Domoticz

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


                                          27

                                          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