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. Feature Requests
  3. NRF24 Radio Recouperation feature

NRF24 Radio Recouperation feature

Scheduled Pinned Locked Moved Feature Requests
10 Posts 2 Posters 1.1k Views 2 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.
  • alowhumA Offline
    alowhumA Offline
    alowhum
    Plugin Developer
    wrote on last edited by alowhum
    #1

    I have found that in order to keep my radios happy, it's best to give them a little time to catch their breath between transmissions.

    Recently, while trying to get the RF-Nano to work, I also discovered something that many others had before me: some hardware will work with MySensors 2.0, but not with the latest version.

    One explanation is that newer versions of MySensors communicates back and forth more at boot. This can overwhelm some NRF24 radios.

    My proposal is to add a new feature that simply always adds a small recuperation delay between each use of the radio. I don't mind the communication being slower if it makes the hardware work.

    I hope that in some cases this may alleviate the need to solder on extra capacitors.

    mfalkviddM 1 Reply Last reply
    0
    • alowhumA alowhum

      I have found that in order to keep my radios happy, it's best to give them a little time to catch their breath between transmissions.

      Recently, while trying to get the RF-Nano to work, I also discovered something that many others had before me: some hardware will work with MySensors 2.0, but not with the latest version.

      One explanation is that newer versions of MySensors communicates back and forth more at boot. This can overwhelm some NRF24 radios.

      My proposal is to add a new feature that simply always adds a small recuperation delay between each use of the radio. I don't mind the communication being slower if it makes the hardware work.

      I hope that in some cases this may alleviate the need to solder on extra capacitors.

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @alowhum https://github.com/mysensors/MySensors/issues/892 might be relevant

      alowhumA 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @alowhum https://github.com/mysensors/MySensors/issues/892 might be relevant

        alowhumA Offline
        alowhumA Offline
        alowhum
        Plugin Developer
        wrote on last edited by
        #3

        @mfalkvidd Yes it does sound relevant. I noticed a 2.4 label. Is this being worked on?

        mfalkviddM 1 Reply Last reply
        0
        • alowhumA alowhum

          @mfalkvidd Yes it does sound relevant. I noticed a 2.4 label. Is this being worked on?

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @alowhum to my knowledge, no-one is working on it.

          1 Reply Last reply
          0
          • alowhumA Offline
            alowhumA Offline
            alowhum
            Plugin Developer
            wrote on last edited by
            #5

            @mfalkvidd thanks.

            Would you perhaps have any suggestion as to how the radio could be alleviated a little bit, outside of setting a fixed node ID?

            mfalkviddM 1 Reply Last reply
            0
            • alowhumA alowhum

              @mfalkvidd thanks.

              Would you perhaps have any suggestion as to how the radio could be alleviated a little bit, outside of setting a fixed node ID?

              mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              @alowhum a debug log should show most of the communication (except nrf24's automatic/hardware repeat), so by looking at such a log it should be possible to understand what is happening, and, depending on the use case, it might be possible to change the sketch (or the library) to optimize for that use case.

              1 Reply Last reply
              0
              • alowhumA Offline
                alowhumA Offline
                alowhum
                Plugin Developer
                wrote on last edited by
                #7

                I tried to get some debug log data, and behold, the node started working in verbose debugging was on.

                https://forum.mysensors.org/topic/10327/rf-nano-nano-nrf24-for-just-3-50-on-aliexpress/27

                Perhaps the debugging to serial slows things down enough to give the radio some breathing room?

                mfalkviddM 1 Reply Last reply
                0
                • alowhumA alowhum

                  I tried to get some debug log data, and behold, the node started working in verbose debugging was on.

                  https://forum.mysensors.org/topic/10327/rf-nano-nano-nrf24-for-just-3-50-on-aliexpress/27

                  Perhaps the debugging to serial slows things down enough to give the radio some breathing room?

                  mfalkviddM Offline
                  mfalkviddM Offline
                  mfalkvidd
                  Mod
                  wrote on last edited by mfalkvidd
                  #8

                  @alowhum MY_DEBUG is sufficient to see which messages are sent.

                  And yes, the slowdown caused by printing to the serial console can slow down the node sufficiently. There have been some reports in this forum and on github. One example: https://github.com/mysensors/MySensors/issues/614

                  alowhumA 1 Reply Last reply
                  0
                  • mfalkviddM mfalkvidd

                    @alowhum MY_DEBUG is sufficient to see which messages are sent.

                    And yes, the slowdown caused by printing to the serial console can slow down the node sufficiently. There have been some reports in this forum and on github. One example: https://github.com/mysensors/MySensors/issues/614

                    alowhumA Offline
                    alowhumA Offline
                    alowhum
                    Plugin Developer
                    wrote on last edited by
                    #9

                    @mfalkvidd said in NRF24 Radio Recouperation feature:

                    And yes, the slowdown caused by printing to the serial console can slow down the node sufficiently

                    This would play into the idea of creating a feature to purposefully slow things down. Shall I make a feature request on Github?

                    mfalkviddM 1 Reply Last reply
                    0
                    • alowhumA alowhum

                      @mfalkvidd said in NRF24 Radio Recouperation feature:

                      And yes, the slowdown caused by printing to the serial console can slow down the node sufficiently

                      This would play into the idea of creating a feature to purposefully slow things down. Shall I make a feature request on Github?

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #10

                      @alowhum isn't the existing one sufficient?

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


                      19

                      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