Sensor cannot find Gateway



  • Hello, im using a Rock-Pi 4b (Like Raspberry Pi 3+) i got the gateway working and connected the NRF Antenna the right way. On The Sensor Side im using the Motion Sensor Sketch to just test if the connection between sensor and gateway will be established. I also ran the Clear Eprom Example Script before i reloaded the Motion Sensor Sketch onto the Arduino.

    My Actual Situation: I ran MYSGW on my Raspberry and i used this configuration string:
    ./configure --my-gateway=ethernet --my-port=5003 --spi-spidev-device=/dev/spidev1.0 --my-transport=rf24
    And then i connected to the gateway via MysController - i dont use any other Controller right now as i just wanted to see if its working. Maybe this is the error?!

    The Console Shows:

    Apr 18 03:49:05 INFO  Starting gateway...
    Apr 18 03:49:05 INFO  Protocol version - 2.3.2
    Apr 18 03:49:05 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=255,VER=2.3.2
    Apr 18 03:49:05 DEBUG TSF:LRT:OK
    Apr 18 03:49:05 DEBUG TSM:INIT
    Apr 18 03:49:05 DEBUG TSF:WUR:MS=0
    Apr 18 03:49:05 DEBUG TSM:INIT:TSP OK
    Apr 18 03:49:05 DEBUG TSM:INIT:GW MODE
    Apr 18 03:49:05 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
    Apr 18 03:49:05 DEBUG MCO:REG:NOT NEEDED
    Apr 18 03:49:05 DEBUG Listening for connections on @����:5003
    Apr 18 03:49:05 DEBUG MCO:BGN:STP
    Apr 18 03:49:05 DEBUG MCO:BGN:INIT OK,TSP=1
    Apr 18 03:49:05 DEBUG TSM:READY:NWD REQ
    Apr 18 03:49:18 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    

    The Sensor (based on a Arduino Nano) latest Library Files Shows

    16 MCO:BGN:INIT NODE,CP=RNNNA---,FQ=16,REL=255,VER=2.3.2
    26 TSM:INIT
    28 TSF:WUR:MS=0
    34 TSM:INIT:TSP OK
    36 TSM:FPAR
    38 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2048 !TSM:FPAR:NO REPLY
    2050 TSM:FPAR
    2052 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4060 !TSM:FPAR:NO REPLY
    4062 TSM:FPAR
    4064 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6072 !TSM:FPAR:NO REPLY
    6074 TSM:FPAR
    6076 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8084 !TSM:FPAR:FAIL
    8085 TSM:FAIL:CNT=1
    8087 TSM:FAIL:DIS
    8089 TSF:TDI:TSL
    18091 TSM:FAIL:RE-INIT
    

    Both sides, gateway and sensor have a 10uf capacitor connected to its vcc and gnd. I also brought the Sensor very close to the gateway (10centimeters...)

    (by the way when i was using the same hardware 2 years ago but not with an Raspberry as gateway but an arduino Uno it was working fine)

    Here a Screenshot of my MYSController
    2020-04-18 04_00_12-Window.png


Log in to reply
 

Suggested Topics

  • 4
  • 9
  • 9
  • 2
  • 35
  • 7
  • 14
  • 14

182
Online

9.4k
Users

10.0k
Topics

104.4k
Posts