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 and some software issues

nrf24L01+ range and some software issues

Scheduled Pinned Locked Moved Hardware
13 Posts 2 Posters 3.3k 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.
  • rozpruwaczR rozpruwacz

    Hi @mfalkvidd, thanks for quick response.

    the info in the link you provided is not clear to me. on the pi side i launch the mysGeteway as a mqtt client that connects to mosquitto server, and have also openHab 1.8.3 with mqtt binding, all this works without a problem. so i don't realy know which of these components is a controller and should assign the node ids.

    regarding the powering the nrf, on the pi side the nrf module is connected with about 10cm cables directly to the pi header (3.3v pin #17 for the power). and there is also 10uF ceramic smd capacitor soldered directly between vcc and gnd pins on the nrf module pcb. On the atmega side the nrf module is almost directly soldered into the atmega board with maybe 1.5cm wires for the gnd and vcc (and also the 10uF ceramic smd capacitor between gnd and vcc pin on the nrf module pcb).
    So on the atmega side the power shouldn't be any issue, for the pi I will try to power the nrf module with separate 3.3v regulator to check if this will change anything.
    From the nrf datasheet the power consumption should be max 13.5mA so pi and atmega should easily deliver this amount of power, so maybe 10uF capacitor is not enough for the filtering ? As a side note the nrf modules are getting quite hot, considering power consumption of only 13.5 mA this is very wierd ...

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

    @rozpruwacz as mentioned on the list linked from the page I mentioned, OpenHab is a controller.

    However, I think I read somewhere that it is not possible to hand out node IDs through mqtt, so you'll need to either use a different type of gateway or continue assigning node IDs manually. Either way is fine.

    As for the power, the capacitor on the nrf module has proven, over and over again, to be insufficient. That is why the radio connection instructions and the troubleshooting instructions mention adding an extra capacitor. It is not about the amount of power, it is about the stability of the power. You are of course free to ignore the collective experience of the community, but why are you asking in the forum if you don't want to use the answers?

    The heat sounds strange. I haven't seen that in any of my modules. Maybe the vendor sent defect modules?

    rozpruwaczR 1 Reply Last reply
    0
    • mfalkviddM mfalkvidd

      @rozpruwacz as mentioned on the list linked from the page I mentioned, OpenHab is a controller.

      However, I think I read somewhere that it is not possible to hand out node IDs through mqtt, so you'll need to either use a different type of gateway or continue assigning node IDs manually. Either way is fine.

      As for the power, the capacitor on the nrf module has proven, over and over again, to be insufficient. That is why the radio connection instructions and the troubleshooting instructions mention adding an extra capacitor. It is not about the amount of power, it is about the stability of the power. You are of course free to ignore the collective experience of the community, but why are you asking in the forum if you don't want to use the answers?

      The heat sounds strange. I haven't seen that in any of my modules. Maybe the vendor sent defect modules?

      rozpruwaczR Offline
      rozpruwaczR Offline
      rozpruwacz
      wrote on last edited by
      #5

      @mfalkvidd said:

      @rozpruwacz as mentioned on the list linked from the page I mentioned, OpenHab is a controller.

      However, I think I read somewhere that it is not possible to hand out node IDs through mqtt, so you'll need to either use a different type of gateway or continue assigning node IDs manually. Either way is fine.

      ok, understand, i can assign node id's staticaly, no problem.

      As for the power, the capacitor on the nrf module has proven, over and over again, to be insufficient. That is why the radio connection instructions and the troubleshooting instructions mention adding an extra capacitor. It is not about the amount of power, it is about the
      stability of the power.

      so the additional 10uF should be sufficient, so what else could degrade the range ?
      btw. a did this trick (https://www.youtube.com/watch?v=NpMnauHeR7Y) and it helped a lot, but it gets a little big :)

      The heat sounds strange. I haven't seen that in any of my modules. Maybe the vendor sent defect modules?
      i will try to measure the current.

      and what about the issue with the communication not recovering from the blackout, e.g. if the mysGateway goes down the node would never recover unless i will recycle the power.

      mfalkviddM 1 Reply Last reply
      1
      • rozpruwaczR rozpruwacz

        @mfalkvidd said:

        @rozpruwacz as mentioned on the list linked from the page I mentioned, OpenHab is a controller.

        However, I think I read somewhere that it is not possible to hand out node IDs through mqtt, so you'll need to either use a different type of gateway or continue assigning node IDs manually. Either way is fine.

        ok, understand, i can assign node id's staticaly, no problem.

        As for the power, the capacitor on the nrf module has proven, over and over again, to be insufficient. That is why the radio connection instructions and the troubleshooting instructions mention adding an extra capacitor. It is not about the amount of power, it is about the
        stability of the power.

        so the additional 10uF should be sufficient, so what else could degrade the range ?
        btw. a did this trick (https://www.youtube.com/watch?v=NpMnauHeR7Y) and it helped a lot, but it gets a little big :)

        The heat sounds strange. I haven't seen that in any of my modules. Maybe the vendor sent defect modules?
        i will try to measure the current.

        and what about the issue with the communication not recovering from the blackout, e.g. if the mysGateway goes down the node would never recover unless i will recycle the power.

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

        @rozpruwacz not sure why it is not recovering. It should, but as your log shows it doesn't :( . Perhaps the trobleshooting recommendations in https://forum.mysensors.org/topic/5174/solved-non-healing-tsm-msg-len-error-hours-into-run/4 can help - enable the sanity check and see if the debug output says anything useful.

        1 Reply Last reply
        0
        • rozpruwaczR Offline
          rozpruwaczR Offline
          rozpruwacz
          wrote on last edited by
          #7

          i found the solution for not connection not recovering from the blackout (https://forum.mysensors.org/topic/4593/battery-sensor-and-re-connecting-to-gateway/2)
          the sketch i'm using is "sleeping" between button presses and the transport layer have no time to reestablish connection. adding the wait statement to the sketch solves the problem.

          mfalkviddM 1 Reply Last reply
          1
          • rozpruwaczR rozpruwacz

            i found the solution for not connection not recovering from the blackout (https://forum.mysensors.org/topic/4593/battery-sensor-and-re-connecting-to-gateway/2)
            the sketch i'm using is "sleeping" between button presses and the transport layer have no time to reestablish connection. adding the wait statement to the sketch solves the problem.

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

            @rozpruwacz great find!

            1 Reply Last reply
            0
            • rozpruwaczR Offline
              rozpruwaczR Offline
              rozpruwacz
              wrote on last edited by
              #9

              with wierd leds blinking is the same problem :) the sleeping causes them to sometimes turn on but not turn of and sometimes turn of but not turn on, without sleeping they work ok :)

              mfalkviddM 1 Reply Last reply
              0
              • rozpruwaczR Offline
                rozpruwaczR Offline
                rozpruwacz
                wrote on last edited by
                #10

                i measured the current drown by the nrf module connected to the pi, it is above 100mA ! no wonder it gets so hot ... i ordered new ones and one with external antenna.

                1 Reply Last reply
                0
                • rozpruwaczR rozpruwacz

                  with wierd leds blinking is the same problem :) the sleeping causes them to sometimes turn on but not turn of and sometimes turn of but not turn on, without sleeping they work ok :)

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

                  @rozpruwacz said:

                  with wierd leds blinking is the same problem :) the sleeping causes them to sometimes turn on but not turn of and sometimes turn of but not turn on, without sleeping they work ok :)

                  The blinking leds feature was originally created for gateways, which need to have power all the time to receive messages. The feature was recently extended to make it possible to enable on repeaters, which also need to have power all the time to receive messages.

                  Sleeping nodes generally want to minimize power consumption, so blinking leds is generally not something a sleeping node wants to do. Using remote debug might be better if troubleshooting is the goal.

                  So I am not surprised that the feature doesn't work for sleeping nodes, it was not designed with that in mind. But if you (or someone else) wants it, it should be possible to adjust the code to handle sleeping nodes as well.

                  1 Reply Last reply
                  1
                  • rozpruwaczR Offline
                    rozpruwaczR Offline
                    rozpruwacz
                    wrote on last edited by
                    #12

                    yeah, now it makes perfect sense. i saw how to configure leds in "Advanced Gateway Options" section and somehow assumed that this is the same for nodes ...
                    so now my problems are solved accept for the radio range which i hope will be solved when i get my new fresh radios :)
                    thank you very much for helping me !

                    1 Reply Last reply
                    1
                    • rozpruwaczR Offline
                      rozpruwaczR Offline
                      rozpruwacz
                      wrote on last edited by
                      #13

                      great news :) with the new nrf modules there is no more range problem :) for the gatewane i use nrf24l01+pa+lna and for the sensor node nrf24l01+. now from every place in my small flat the connection is perfect :)

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


                      18

                      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