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:


  • Mod

    How are you powering the radio modules? What capacitors did you use on the radios if any?



  • 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.


  • Mod

    Try to put the radios a couple of meters apart and see if you see any change



  • @gohan

    Dear gohan!

    I have tried but nothing change. I bought two nrf24 from keyestudio without pa/lna , if it arrives i will try those.
    I will write the experiences with the new ones.

    Best regards
    T


  • Mod

    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



  • @gohan

    Hi gohan!

    Oh, OK! Im trying today. How can i set the power to minimum?

    Have a Good day!
    T


  • Mod

    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)



  • Did you define the node_Id and parent_ID in the sketch ?



  • @ben999

    Hi Ben!

    I havent define the parent ID because i havent known that i should do. i will try these settings as soon as i can.

    I have already defined the node id in the node sketch

    Thank you!
    T



  • This post is deleted!


  • @ben999

    Hi Ben!

    How can i define the parent id on the gateway?

    Thanks
    T


  • Mod

    You don't have to define a parent ID in your case.



  • 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=1
    

    And 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:FPAR
    

    I 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 😊


  • Mod

    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)


  • Mod

    Those are the kind that normally doesn't work. Return them if you can or you can just dump them and get the good ones (look at the threads about genuine NRF24)



  • @gohan

    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


  • Mod

    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



  • @gohan

    Dear gohan!

    Sorry, it is a private home server and it was in maintenance mode when you were trying to connect. Now it should be working.
    (The new nrf24 have just arrived so im going to try these as soon as i can)

    Best regards
    T



  • @gohan

    Dear Gohan!

    I have just tried the new nrf24 standard, and it works!
    It seems that the GND should be common (im newbie).
    I would like to test further with the pa+lna version, but....
    I have an other question.
    I would like to power the board with 5V from the power module 5V output, and i would like to program the board via USB at the same time. How should i connect the power module to the board?


  • Mod

    why do you want to do that? And yes, GND is normally common



  • @gohan

    Dear Gohan!
    Everyone suggests that if you use pa+lna version you should power it from external regulated 3.3 V because the arduino clones 3.3V isnt strong enough. So i bought externaI power source.... i have figured out today that i can common the power source's gnd with the arduino gnd. It is working....

    What is last that i would like to power the arduino uno from power module 5V and connect it to my computer same time... i dont know how to do it.

    I have tested the two nrf24 pa+lna and these arent working together only. Separately is OK.

    I will go with the standard nrf24 , make it working than i will try to buy branded nrf24 pa+lna.
    Have you got favourite brand for cheaper electronic parts?


  • Mod

    Not really an external power source, you can just use the 5V output from the arduino and use a voltage regulator to 3.3v.
    I bought some of these http://www.gearbest.com/transmitters-receivers-module/pp_453011.html and I am very happy as they allow for quick swap of the radio and already have caps



  • @gohan

    Dear gohan!

    Thank you for your help. I will buy from ebay this one: https://www.ebay.com/itm/200960749614

    And im planning that i will buy a shielded nrf24 pa+lna .
    Today im installing an openhab and try to transfer the datas from gateway to the openhab...

    What projects have you done already?

    Best regards
    T


  • Mod

    The one on ebay it's missing the capacitor so remember to add one on the radio



  • @gohan

    Oh! I missed that. I will look for another one with cap.



  • @gohan
    According to this site, the ebay-modules have also caps included. There are also some sellers providing according schematics.
    I myselfe use a couple of them (also with +pa+nla-modules) and never ran into bigger trouble.

    Anyone with different experiences?



  • @rejoe2

    Dear rejoe2!

    Thank You for the infos.
    Than i will buy two of this ebay version.

    Best regards,
    T


  • Mod

    I probably missed that because I never seen the caps being specified

    If they work, good find



  • @gohan

    On ebay, i cant find the bypass capacitor in the specs. I have written to a seller asked about it. I will report to you about the answer.

    I have tried once again the two high power nrf24 pa+lna (I put foil onto these) but these dont work. I think these are broken or very very bad ones.

    Could you suggest to me a seller who sells High power nrf24 which ones you have got good experinces?

    Thanks,
    T



  • @Tommas
    The caps are small SMD parts, explicitely mentioned you may find them on ebay here. (This is a 10PIN-Version, but as you see, despite the number of PINs, it's similar to the 8-PIN version you find everywhere.

    But to be honest: I never saw the necessity to make measurements on this topic...



  • @rejoe2

    Hi rejoe2!

    What kind of nrf24 do you use, and where did you buy these?
    I think that you use capacitor as well, and stable 3.3V dont you?
    Do you think that this shield is good for my node? It would be very good if i didnt have to use cables for nrf24....
    https://www.itead.cc/wiki/Arduino_Nano_IO_shield

    Best regards
    T


  • Mod

    Get some easy pcb instead or other similar solution 😀



  • @Tommas
    I use nRF-Modules in the "normal" format and several pa+nla-Variants,. The first ones I probably bought from the ebay source mentionned on the mysensors-site (build-page), but by now, I may have used parts from around 4-5 different ebay-sellers as source. They look different, but until now, I only got "non-blob"-modules which all seemed to work reliably in the end. One time, I really was convinced to have bought fake and bad ones, but in the end it turned out these problems where mainly sw-related.

    For powering, I initially used AMS1117-only-Modules and additional caps, but using the above adaptor-modules made things much easier, as they have all relevant parts on-board (3.3V+caps, space is no problem in my personal use-cases).

    Fyi: As I now prefer wires over rf, I'm about to replace most of my nodes by RS485-variants.



  • @rejoe2

    Thanks for the suggestions.
    Had you got problems with nrf24?
    Tomorrow i will try to configure openhab. I have tried to find a quick up to date guide for openhab 2 + mqtt mysensors but font find one.
    Mysensors said that their bindigs support only ethernet or serial gateway officially.
    I dont understand what is the diff (or why mqtt used mostly) the ethernet and mqtt solution but i have started the mqtt already.

    Best regards
    T



  • @Tommas
    I indeed had some troubles with nRF nodes, but related to this.
    FHEM is used as a controller and two serial GW's, so: no experience with the MQTT stuff.



  • @rejoe2

    I see. I hope, i can use it for a while:).
    I think im closed this topic. The solution was to change the nrf24 modules, because i could not pair them.
    The anoother problem was that i use two power source, and i didnt common the GND.

    Thank you everyone who helped to me!

    (I run into another problem, if you had some free time:) openhab-mysensors-ethernet-gateway-value-missing



  • Reading through your posts: am I right in assuming that these NRF24L01 are rubbish and I should buy some proper ones with a chip instead of a blob?

    alt text

    Or has anybody a pair of them up and running?

    Thanks and best regards,
    Joachim



  • @trasrik

    I havent had got blob one yet so i havent got experience with it. But i red about the blob version and it should work....
    But I suggest to you that you should buy these from reliable brand/shop. I think Itead or keyestudio are reliable brands. And i bought a pair nrf24 from ebyte, but it hasnt arrived yet.


  • Mod

    Yes, those are rubbish. I lost countless hours trying to get them working but without success



  • Ok, spent half the day trying to figure out what I was doing wrong and all I had to do was read the forum. The radios I purchase were junk. Not one of the 10 worked. Had everything placed on a board figured my workmanship was a little off or something. The radio was last to be checked.
    WOOOOOOWWWWO

    Thanks Everyone this post saved me a lot more time.


 

399
Online

7.7k
Users

8.6k
Topics

92.3k
Posts