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.
  • N Offline
    N Offline
    nunver
    wrote on last edited by
    #2

    @sundberg84 I have the same problem. Can't get those radios talking to each other over a distance longer than 3 meters. I did everything described in many other posts. Capacitors, seperate 3.3v power source, etc, etc.

    Only thing is, gateway is Uno powered from the USB port on my computer and sensor is Pro Mini powered through a phone charger. I supply 3.3V regulated power through LM1117 on the sensor. However, I use Uno's 3.3V on the gateway. I am using MYSController to test the connection.

    I am really enthusiastic about MySensors project, but really got stuck at this very first stage. Please, need help.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      ericvdb
      wrote on last edited by
      #3

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

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