[SOLVED] Stuck at I_FIND_PARENT_REQUEST presentation



  • Hi,

    I currently have a couple of MySensors boards with Arduino Pro Mini + nRF24 radios communicating with a Raspberry Pi Gateway.

    Today, I wanted to add a new sensor to my network (moisture level sensor). I placed on my protoboard the Arduino Pro Mini, a DCDC boost, a connector for the 2xAA battery and the nRF24L01+, connected as described here: https://www.mysensors.org/build/connect_radio

    When I power my sensor, messages seem to be transmitted to the gateway but the sensor seems stuck at the find parents state (from my understanding). As I already have running sensors, I assume the gateway is working fine.

    Here is the logs on the sensor side :

    108560 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    110569 !TSM:FPAR:NO REPLY
    110571 TSM:FPAR
    110575 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    112584 !TSM:FPAR:NO REPLY
    112586 TSM:FPAR
    112590 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    114601 !TSM:FPAR:NO REPLY
    114604 TSM:FPAR
    114608 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    116617 !TSM:FPAR:FAIL
    116619 TSM:FAIL:CNT=7
    116621 TSM:FAIL:DIS
    116623 TSF:TDI:TSL
    176627 TSM:FAIL:RE-INIT
    176629 TSM:INIT
    176635 TSM:INIT:TSP OK
    176640 TSM:INIT:STATID=40
    176642 TSF:SID:OK,ID=40
    176644 TSM:FPAR
    176650 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    178659 !TSM:FPAR:NO REPLY
    178661 TSM:FPAR
    178665 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    180674 !TSM:FPAR:NO REPLY
    180676 TSM:FPAR
    180680 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    182689 !TSM:FPAR:NO REPLY
    182691 TSM:FPAR
    182695 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    184705 !TSM:FPAR:FAIL
    184707 TSM:FAIL:CNT=7
    184709 TSM:FAIL:DIS
    184711 TSF:TDI:TSL
    244715 TSM:FAIL:RE-INIT
    244717 TSM:INIT
    244723 TSM:INIT:TSP OK
    244727 TSM:INIT:STATID=40
    244729 TSF:SID:OK,ID=40
    244731 TSM:FPAR
    244738 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    246747 !TSM:FPAR:NO REPLY
    246749 TSM:FPAR
    246753 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    248762 !TSM:FPAR:NO REPLY
    248764 TSM:FPAR
    248768 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    250777 !TSM:FPAR:NO REPLY
    250779 TSM:FPAR
    250783 ?TSF:MSG:SEND,40-40-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    252792 !TSM:FPAR:FAIL
    252794 TSM:FAIL:CNT=7
    252796 TSM:FAIL:DIS
    252798 TSF:TDI:TSL
    

    And here are the logs on the gateway side :

    !TSF:MSG:SEND,0-0-40-40,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    TSF:MSG:READ,26-26-0,s=1,c=1,t=0,pt=7,l=5,sg=0:25.8
    TSF:MSG:READ,40-40-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSF:MSG:BC
    TSF:MSG:FPAR REQ,ID=40
    TSF:PNG:SEND,TO=0
    TSF:CKU:OK
    TSF:MSG:GWL OK
    !TSF:MSG:SEND,0-0-40-40,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    TSF:MSG:READ,40-40-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSF:MSG:BC
    TSF:MSG:FPAR REQ,ID=40
    TSF:CKU:OK,FCTRL
    TSF:MSG:GWL OK
    !TSF:MSG:SEND,0-0-40-40,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    TSF:MSG:READ,40-40-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSF:MSG:BC
    TSF:MSG:FPAR REQ,ID=40
    TSF:PNG:SEND,TO=0
    TSF:CKU:OK
    TSF:MSG:GWL OK
    !TSF:MSG:SEND,0-0-40-40,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    TSF:MSG:READ,40-40-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSF:MSG:BC
    TSF:MSG:FPAR REQ,ID=40
    TSF:PNG:SEND,TO=0
    TSF:CKU:OK
    TSF:MSG:GWL OK
    !TSF:MSG:SEND,0-0-40-40,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    TSF:MSG:READ,40-40-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSF:MSG:BC
    TSF:MSG:FPAR REQ,ID=40
    TSF:CKU:OK,FCTRL
    TSF:MSG:GWL OK
    !TSF:MSG:SEND,0-0-40-40,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    TSF:MSG:READ,40-40-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSF:MSG:BC
    

    Using https://www.mysensors.org/build/parser, it seems that the gateway received the find_parent request and send its response. The sensor however does not seem to get it.

    I tried adding a 4.7uF capacitor on the VCC / GND pins of the radio but nothing changed.

    Do you have any idea ?



  • Solved!

    I fixed it by connecting the radio directly to the battery without using the DCDC boost I use for powering the Arduino Pro Mini.



  • @nono8223 I've this same problem... stock for days. I tried powering the radio directly with a 3.3volts regulator and capciator between GND and 3.3V pin of the nrf24 but still no luck.

    I don't want to duplicate posts but the details of my issue can by found here
    @Eme said in MySensors Raspberry Pi Gateway + Domotics Controller:

    Please someone help me...


Log in to reply
 

Suggested Topics

  • 3
  • 6
  • 2
  • 1
  • 5

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts