TSM:FPAR:No Reply
-
Dear All!
Im beginner in the wireless sensor node + gateway world, and I started to build a simple MQTTClient Gateway (UNO R3 + W5100 + nrf24) with an DHT11 Sensor node (Arduino nano + DHT11 + nrf24).
The gateway and the node are seems to be working, but the node says that
"!TSM:FPAR:NO REPLY"Could someone help me what might be the problem?
The full messages:
NODE
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
3 TSM:INIT
4 TSF:WUR:MS=0
11 TSM:INIT:TSP OK
13 TSM:INIT:STATID=2
14 TSF:SID:OK,ID=2
16 TSM:FPAR
53 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2060 !TSM:FPAR:NO REPLY
2062 TSM:FPAR
2098 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
4106 !TSM:FPAR:NO REPLY
4108 TSM:FPAR
4144 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
6152 !TSM:FPAR:NO REPLY
6154 TSM:FPAR
6190 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
8198 !TSM:FPAR:FAIL
8199 TSM:FAIL:CNT=1
8201 TSM:FAIL:PDT
18204 TSM:FAIL:RE-INIT
18206 TSM:INIT
18213 TSM:INIT:TSP OK
18215 TSM:INIT:STATID=2
18217 TSF:SID:OK,ID=2
18220 TSM:FPAR
18256 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
20264 !TSM:FPAR:NO REPLY
20267 TSM:FPAR
20303 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:GW
0;255c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
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
IP: 100.100.13.150
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
IP: 100.100.13.150
0;255;3;0;9;Attempting MQTT connection...
0;255;3;0;9;MQTT connected
0;255;3;0;9;Sending message on topic: mygateway1-out/0/255/0/0/18
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
0;255;3;0;9;!TSF:MSG:LEN,0!=7
0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0: -
Dear gonhan!
First of all, thank you for your help.
I have two power module (https://www.ebay.com/itm/262102860958 ) with an mb102 bread board and i use it for powering my nrf24. I use a 7.5v 1000mA adapter to power the modules.
The capacitor is a 47uF one.
I power the two microcontrollers through USB connected to my laptop at the same time, because at this way i can switch the console output between the two controllers when i would like to see the output.I try to follow the guides described here. All parts are from keyestudio except the two nrf24(with antenna) module.
I use the mysensors latest library , gatewayW5100mqttclient and a dht11 example sketch (but i have tried already another official mysensors lightsensor sketch) on the node.
-
Are you using the PA lna? If so try a bigger cap, set pa power to min and you could also wrap the radio module with plastic and aluminum foil for shielding
-
Look at the examples of other sketches, it's a define to be added, or you can set the default value in myconfig.h inside the library folder (look for the nrf24 section in the file)
-
Hi Guys,
i have the same Problem
I've build a Serial-Gateway (Arduino Nano clone + nrf24) and a node (Arduino Nano clone + DHT22 + nrf24)
I do the connecition from this Site and added a 10µF capacitor to VCC and GND.
I try to set a fix Node-ID, but there is the same problem
This 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=1And the Node:
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1 3 TSM:INIT 4 TSF:WUR:MS=0 11 TSM:INIT:TSP OK 13 TSF:SID:OK,ID=10 14 TSM:FPAR 1613 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 3621 !TSM:FPAR:NO REPLY 3623 TSM:FPAR 5223 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 7230 !TSM:FPAR:NO REPLY 7232 TSM:FPAR 8832 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 10839 !TSM:FPAR:NO REPLY 10841 TSM:FPAR 12440 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 14448 !TSM:FPAR:FAIL 14449 TSM:FAIL:CNT=1 14451 TSM:FAIL:PDT 24454 TSM:FAIL:RE-INIT 24456 TSM:INIT 24463 TSM:INIT:TSP OK 24465 TSF:SID:OK,ID=10 24467 TSM:FPAR 26066 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 28075 !TSM:FPAR:NO REPLY 28077 TSM:FPARI think the node is send some data but the gateway not answer.
I increase the distance between the gateway and the node, but still the same problem.
Sorry for my bad english :blush: -
do you see any message in the GW log when node is trying to connect? Because if not it may be a problem ot the radio module of the note not sending correctly, one of the radio modules could be a fake module and very poor quality. In the beginning I bought some modules that had a blob instead of an IC on the module and they were all not working. I can suggest to try some sample sketches to check if modules are communicating and also you could give a try to mysensors library from development branch
-
No that is the full log from the GW. Damn...all my radiomodules have this blob like this one on the left picture.
I have also tested other NRF receivers (with the blob) -
Oh ok. Thanks.
I tried to attach 100uF capacitor but the results are same.(no reply) . The node ID is defined, the parent ID isnt.
It seems that im out of ideas. I wait for the new nrf24 without pa lna.
Im attaching some pictures about the project.
Should i foil the nrf24 modul?https://cloud.freeforall.hu/owncloud/public.php?service=files&t=1f73fddc20c6d9a2560f88f78affd499
-
I can't see the link but I trying to foil the radio module could be an idea, as I wrote a few posts earlier
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login