[SOLVED] Testing Serial Gateway?



  • Hi,

    Being new to Sensors, I have build my first serial gateway (Aruino Pro Mini (328P 3.3V) & NRF24L01) according to the instruction video on this site. The gateway seems to be working according to the debug log; my controller (Domoticz) also 'sees' the gateway.

    0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGA---,REL=255,VER=2.3.1
    0;255;3;0;9;14 TSM:INIT
    0;255;3;0;9;22 TSF:WUR:MS=0
    0;255;3;0;9;34 !TSM:INIT:TSP FAIL
    0;255;3;0;9;43 TSM:FAIL:CNT=1
    0;255;3;0;9;51 TSM:FAIL:DIS
    0;255;3;0;9;59 TSF:TDI:TSL
    0;255;3;0;9;10070 TSM:FAIL:RE-INIT
    0;255;3;0;9;10078 TSM:INIT
    0;255;3;0;9;10090 !TSM:INIT:TSP FAIL
    0;255;3;0;9;10100 TSM:FAIL:CNT=2
    0;255;3;0;9;10110 TSM:FAIL:DIS
    0;255;3;0;9;10119 TSF:TDI:TSL
    

    However, when I fire up a (DHT22) client, it does not see the Gateway.

    __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.1
     
    
    51 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1
    81 TSM:INIT
    86 TSF:WUR:MS=0
    94 TSM:INIT:TSP OK
    100 TSM:FPAR
    104 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2125 !TSM:FPAR:NO REPLY
    2131 TSM:FPAR
    2136 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4157 !TSM:FPAR:NO REPLY
    4163 TSM:FPAR
    4167 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6189 !TSM:FPAR:NO REPLY
    6195 TSM:FPAR
    6199 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8220 !TSM:FPAR:FAIL
    8224 TSM:FAIL:CNT=1
    8230 TSM:FAIL:DIS
    8235 TSF:TDI:TSL
    

    I use 47uF capacitors, the gateway and client are 1-5m apart. I tried seperate power supply..

    Any suggestions?
    Is there any way I can test if the Gateway is working?

    Regards, Frank


  • Mod

    Hi @frankvk, welcome to the MySensors community!

    !TSM:INIT:TSP FAIL
    

    this means that the node is unable to communicate with the radio chip. The most common cause is a mistake in wiring. Triple-check your wiring, and post photos here - often a new pair of eyes is helpful to spot mistakes.

    If you haven't already, see https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/ for a handy flowchart on how to troubleshoot the most common problems.



  • Thanks for your reply!

    It appears to be a newby mistake: I overpowered the NRF24L01 radios: the FTDI board did put out 5.0V although the output Voltage selectors witch wat at the 3.3V position..

    Another lesson learned today... always doublecheck !



  • Now that we have communication: if I run the (standard) DhtTemparatureAnd HumiditySensor sketch, the Setup() en Loop() never seem to run.. The Serial.println commands don't make it to the Serial monitor..

    Am I missing something here?


  • Mod

    @frankvk what does the debug output of the node and the gateway say?



  • Recompiled & uploaded the sektch and now I see the Temperature and Humidity values allright!
    Thanks again!


Log in to reply
 

Suggested Topics

56
Online

11.4k
Users

11.1k
Topics

112.6k
Posts