NRF24L01 radio not connecting
-
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.@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.
-
@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.
@mfalkvidd Awesome! I will check the debug logs from my node and gateway this evening.
-
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=1Here 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 -
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.
-
@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?
-
@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! -
@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.
-
@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.
@bgunnarb Thanks, I did update the gateway also.