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 radio not connecting

NRF24L01 radio not connecting

Scheduled Pinned Locked Moved Hardware
14 Posts 4 Posters 1.9k Views 4 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.
  • K kontrollable

    Hello, please help me since I'm stuck!
    My sensor node has problem with the radio communication. I am using an NRF24L01.
    Actually I do not think that the radio, nor the Arduino is faulty. I have tested both on an Easy/Newbie PCB and they are working good.
    I have designed my own PCB (https://www.openhardware.io/view/374/MyQTherm-replace-IQTherm-heating-thermostat). The radio does not communicate with my gateway when I use this PCB.
    The strange thing is that if I touch the radio chip with a finger the signals get through! Or even if I let the chip lie on a plastic surface it works. I also tested to fix a short cable with tape onto the chip and it works. When I remove my finger, cable or move the chip from a surface, the communication is interupted.
    As I said above, I have tested the radio chip and the Arduino (Pro Mini 5V clone) in another setup so I know they are good.
    In my investigations I tried with a fresh PCB (MyQTherm) an soldered just the NRF24L01, Arduino, LE33 voltage regulator and 4.7 uF capacitor for the radio. Leaving out all other stuff. Then I connected the Arduino to a serial chip connected to USB. So the node was then powered from USB. In this test the radio was also behaving faulty as described above.
    I have tested 3 of my own designed PCBs with the same result.
    Any ideas?

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

    @kontrollable if I'm understanding the PCB design correctly, the nrf24l01 module will be placed so the nrf's antenna is in the middle of the PCB. Is that correct? If so, I'm pretty sure we have an answer: there is a lot of metal close to the antenna, which will interfere with the radio signal.

    1 Reply Last reply
    0
    • mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #3

      See https://forum.mysensors.org/topic/8869/troubleshooting-communication-solved for more details on a similar case. You have found the same solution as I did: find something to extend the antenna

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kontrollable
        wrote on last edited by
        #4

        Thanks!
        The NFR chip is oriented in such a way that the antenna is way outside the PCB. So I'm not sure that this is he problem.

        mfalkviddM 1 Reply Last reply
        0
        • K kontrollable

          Thanks!
          The NFR chip is oriented in such a way that the antenna is way outside the PCB. So I'm not sure that this is he problem.

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

          @kontrollable ok. Good. Then it is probably something else. Have you looked at the troubleshooting diagram at https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/ ?

          Debug logs from the node and the gateway will probably be very useful when troubleshooting.

          K 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            @kontrollable ok. Good. Then it is probably something else. Have you looked at the troubleshooting diagram at https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/ ?

            Debug logs from the node and the gateway will probably be very useful when troubleshooting.

            K Offline
            K Offline
            kontrollable
            wrote on last edited by
            #6

            @mfalkvidd Awesome! I will check the debug logs from my node and gateway this evening.

            1 Reply Last reply
            1
            • K Offline
              K Offline
              kontrollable
              wrote on last edited by
              #7

              OK, so enabled MY_DEBUG on my serial gateway. MY_DEBUG was already enabled in my sensor node.
              I found that the gateway did not receive any signals from the node at all.
              The node reports that it does not find any parent.
              So my conclusion is that the radio on the node sends a weak signal.

              Here is the log from the gateway:
              0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
              0;255;3;0;9;TSM:INIT
              0;255;3;0;9;TSF:WUR:MS=0
              0;255;3;0;9;TSM:INIT:TSP OK
              0;255;3;0;9;TSM:INIT:GW MODE
              0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
              0;255;3;0;9;MCO:REG:NOT NEEDED
              0;255;3;0;14;Gateway startup complete.
              0;255;0;0;18;2.1.1
              0;255;3;0;9;MCO:BGN:STP
              0;255;3;0;9;MCO:BGN:INIT OK,TSP=1

              Here is the log from the node:
              0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
              3 MCO:BGN:BFR
              19 TSM:INIT
              20 TSF:WUR:MS=0
              27 TSM:INIT:TSP OK
              28 TSF:SID:OK,ID=6
              30 TSM:FPAR
              50 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              2057 !TSM:FPAR:NO REPLY
              2059 TSM:FPAR
              2077 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              4085 !TSM:FPAR:NO REPLY
              4087 TSM:FPAR
              4106 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              6114 !TSM:FPAR:NO REPLY
              6116 TSM:FPAR
              6134 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              8142 !TSM:FPAR:FAIL
              8143 TSM:FAIL:CNT=1
              8145 TSM:FAIL:PDT
              18148 TSM:FAIL:RE-INIT
              18150 TSM:INIT
              18157 TSM:INIT:TSP OK
              18159 TSF:SID:OK,ID=6
              18161 TSM:FPAR
              18181 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              20188 !TSM:FPAR:NO REPLY
              20190 TSM:FPAR
              20209 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              22216 !TSM:FPAR:NO REPLY
              22218 TSM:FPAR
              22238 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              24245 !TSM:FPAR:NO REPLY
              24247 TSM:FPAR
              24266 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              26273 !TSM:FPAR:FAIL
              26274 TSM:FAIL:CNT=2
              26276 TSM:FAIL:PDT

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kontrollable
                wrote on last edited by
                #8

                I used a multimeter to measure 3.3 V on the output from my voltage regulator. 3.3 V on the radio chip and capacitor. So it seems to power the radio alright.

                1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #9

                  Is there a reason why are you still using version 2.1.1?

                  K 1 Reply Last reply
                  0
                  • gohanG gohan

                    Is there a reason why are you still using version 2.1.1?

                    K Offline
                    K Offline
                    kontrollable
                    wrote on last edited by
                    #10

                    @gohan said in NRF24L01 radio not connecting:

                    Is there a reason why are you still using version 2.1.1?

                    The only reason is that I have not bothered to update. But do you really think that updating would help? Could it really be a software problem?

                    1 Reply Last reply
                    0
                    • gohanG Offline
                      gohanG Offline
                      gohan
                      Mod
                      wrote on last edited by
                      #11

                      Always stay up-to-date as many bugs get corrected

                      K 1 Reply Last reply
                      0
                      • gohanG gohan

                        Always stay up-to-date as many bugs get corrected

                        K Offline
                        K Offline
                        kontrollable
                        wrote on last edited by
                        #12

                        @gohan

                        @gohan said in NRF24L01 radio not connecting:

                        Always stay up-to-date as many bugs get corrected

                        Oh my god! Updated the sensor (not the gateway yet) and now it seems to work! Am I surprised? Yes!
                        Thanks so much!

                        1 Reply Last reply
                        0
                        • bgunnarbB Offline
                          bgunnarbB Offline
                          bgunnarb
                          wrote on last edited by
                          #13

                          @kontrollable I think you should update the GW as well. I had a lot of problems with downlink messages from GW to an RGB controller. Updating the GW solved all of this immediately.

                          I have never been so busy since I retired!

                          K 1 Reply Last reply
                          0
                          • bgunnarbB bgunnarb

                            @kontrollable I think you should update the GW as well. I had a lot of problems with downlink messages from GW to an RGB controller. Updating the GW solved all of this immediately.

                            K Offline
                            K Offline
                            kontrollable
                            wrote on last edited by
                            #14

                            @bgunnarb Thanks, I did update the gateway also.

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


                            15

                            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