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. Setting up the 2nd RF24 network..

Setting up the 2nd RF24 network..

Scheduled Pinned Locked Moved Hardware
nrf24networkrf24nrf24l01
5 Posts 3 Posters 857 Views 3 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.
  • pvojP Offline
    pvojP Offline
    pvoj
    wrote on last edited by
    #1

    Hi,

    I'm setting up a parallel network next to my existing one. Since I live in a dense area lot's of different equipment are being used around me. My goal is to find the best settings with the less interference. I have some specific questions about this:

    • How should I choose the best MY_RF24_CHANNEL? Do you use any scanner solution? (something like wifi analyzer on Android?)
    • Should I modify MY_RF24_BASE_RADIO_ID settings? Any recommendation?

    I guessed with the values and it's working now, but I would like to know if there is a more scientific method used to reach a better stability.

    config: MySensors 2.3.1, Raspberry Pi 3 B+, nRF24L01+ and nRF24L01+PA+LNA radios

    skywatchS 1 Reply Last reply
    0
    • pvojP pvoj

      Hi,

      I'm setting up a parallel network next to my existing one. Since I live in a dense area lot's of different equipment are being used around me. My goal is to find the best settings with the less interference. I have some specific questions about this:

      • How should I choose the best MY_RF24_CHANNEL? Do you use any scanner solution? (something like wifi analyzer on Android?)
      • Should I modify MY_RF24_BASE_RADIO_ID settings? Any recommendation?

      I guessed with the values and it's working now, but I would like to know if there is a more scientific method used to reach a better stability.

      config: MySensors 2.3.1, Raspberry Pi 3 B+, nRF24L01+ and nRF24L01+PA+LNA radios

      skywatchS Offline
      skywatchS Offline
      skywatch
      wrote on last edited by
      #2

      @pvoj There is something called the 'poor mans scanner' out there - This uses the nrf24l01 to scan all it's channels and record signal activity and levels.

      This might help you find the best channels, but be aware that some equipment can do this sutomatically, so from day to day it might change. Also, some routers etc look for clearest channel at power on and then stay there until next power up.

      Frequency hopping would help if your environment is 'noisy' but dynamic channel changing is not supported in mysensors (afaik), so that's something you would have to do yourself. I did try a 'slow hopping' solution years ago, but that was without mysensors and hopped at 1ch/sec. It worked well though.

      Just keep the rf modules and antennas as far apart as you can to avoid any cross interference.

      1 Reply Last reply
      1
      • pvojP Offline
        pvojP Offline
        pvoj
        wrote on last edited by pvoj
        #3

        @skywatch said in Setting up the 2nd RF24 network..:

        Thank you! It's something what I was searching for! :)
        https://forum.arduino.cc/index.php?topic=54795.0

        This is a snippet from the terminal window:

        >   1 2  3 4  5  6 7 8  9 10 11 12 13  14                     <
        |  .WRa**+a-:.:.....=..     :..--....                            | 19
        |  :aWaWWRR.:.....:....     .....::.:                            | 21
        |  :RWRaWRR......-.: ..     .:.:..::.                            | 19
        |  -*WRaWW*:.:. ::-:.-.     ==.----:=                            | 15
        |  :+**==-:-..-:::--.-.     +WW=***+=                            | 13
        |  -RWWRRa*.==:=-:+=-::     -..::::aR                            | 10
        |  :RaW++RW:.=:-+-:. ..     :.--=:.a+                            | 11
        |  .*+W=*+a.+--.-:.-:..     ..=-.:*::                            | 11
        |  :Waa+*-*= ...:..=:..     +:.=-*-.                             | 11
        |  :+WWaRW*=+:=====-==.     :.-= ::-                             | 10
        |  :+Ra+++W .:::...-:.:      :-=++::-                            | 14
        |  +aRaaaRW -+--:.*-++:     ++-::.-*-                            | 8
        |  aaa===aR ..=.aW+R.=      aa+: .:=:                            | 7
        |   WWWW*R*:                =     :                              | 5
        

        I start to find out and decode it. With MySensors library there are channels supported between 0-125 which means 2400MHz - 2525MHz range. I will need to map them to understand.

        YveauxY 1 Reply Last reply
        0
        • pvojP pvoj

          @skywatch said in Setting up the 2nd RF24 network..:

          Thank you! It's something what I was searching for! :)
          https://forum.arduino.cc/index.php?topic=54795.0

          This is a snippet from the terminal window:

          >   1 2  3 4  5  6 7 8  9 10 11 12 13  14                     <
          |  .WRa**+a-:.:.....=..     :..--....                            | 19
          |  :aWaWWRR.:.....:....     .....::.:                            | 21
          |  :RWRaWRR......-.: ..     .:.:..::.                            | 19
          |  -*WRaWW*:.:. ::-:.-.     ==.----:=                            | 15
          |  :+**==-:-..-:::--.-.     +WW=***+=                            | 13
          |  -RWWRRa*.==:=-:+=-::     -..::::aR                            | 10
          |  :RaW++RW:.=:-+-:. ..     :.--=:.a+                            | 11
          |  .*+W=*+a.+--.-:.-:..     ..=-.:*::                            | 11
          |  :Waa+*-*= ...:..=:..     +:.=-*-.                             | 11
          |  :+WWaRW*=+:=====-==.     :.-= ::-                             | 10
          |  :+Ra+++W .:::...-:.:      :-=++::-                            | 14
          |  +aRaaaRW -+--:.*-++:     ++-::.-*-                            | 8
          |  aaa===aR ..=.aW+R.=      aa+: .:=:                            | 7
          |   WWWW*R*:                =     :                              | 5
          

          I start to find out and decode it. With MySensors library there are channels supported between 0-125 which means 2400MHz - 2525MHz range. I will need to map them to understand.

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

          @pvoj the nrf24doctor can do exactly what you are looking for : https://forum.mysensors.org/topic/9178/nrf24doctor
          The last few posts in this thread address the channel scanning function.

          http://yveaux.blogspot.nl

          pvojP 1 Reply Last reply
          1
          • YveauxY Yveaux

            @pvoj the nrf24doctor can do exactly what you are looking for : https://forum.mysensors.org/topic/9178/nrf24doctor
            The last few posts in this thread address the channel scanning function.

            pvojP Offline
            pvojP Offline
            pvoj
            wrote on last edited by
            #5

            @yveaux thank you for letting me know about this great project! The thread is also very useful.
            I managed to find a relatively quiet range in channels.

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


            28

            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