Please help, motion sensor doesn't show radio transmission value on serial monitor



  • I connected MySensors motion sensor V.2.0 with Arduino Nano and nRF24L01p. I have a serial gateway with the same configuration . When I open serial monitor on motion sensor side, it show only 0 and 1 detection value on serial monitor. it doesn't show anything about radio transmission response as shown below.

    0
    0
    1
    1
    1
    1
    0
    0
    0
    

    I'm running 3 other sensors , distance ,air quality and relay sensor. All of them show correct radio transmission value on the serial monitor. Before wiring connections. I have tested motion sensor with MySensors serial gateway sketch 2.0, it show that radio transmission is ok.

    What could be the reason why motion sensor doesn't show radio transmission response on serial monitor? Please kindly suggest , Thank you very much in advanced.


  • Mod

    @parnu2000 is

    #define MY_DEBUG
    

    enabled in the sketch? Without it, the node will not print debug information.



  • @mfalkvidd Thank you very much for your reply.
    I have done as you suggested. it works. Thank a lot, it's very kind of you.


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.