Unable to get started



  • Hello all.

    I cannot wait to get started and since I already own some arduinos and some radio modules, I tried to get the "door sensor" example running. But unfortunately it doesn't work at all.

    I've searched the forum, but even more unfortunately, all matching threads I found end before there was a solution ...

    This is what I did:

    • I connected two Arduinos and two radios and triple checked the wires
    • I uploaded the "serial gateway" example to one of them, the "door sensor" example to the other
    • I started both and looked at the serial monitors

    On the sensor node I have the following output:
    Sensor Node:
    req node id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
    sensor started, id 255
    req node id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
    req node id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
    req node id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    req node id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
    req node id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
    req node id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
    req node id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
    req node id
    send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=fail:

    Note there is one "st=ok" and lots of "st=fail".

    I've read about "assigning id not working without controller" and so on so I do not wonder why assigning an ID does not work. I will do further investigations in that direction (assigning a static id and so on).

    But my question is: why are there such a lot of failed transmissions and only a few are working?

    I will order some capacitors and try again, but since I've powered the Arduinos by a battery driven notebook I did not expect that much noise on the power line, or am I wrong?

    Marcus.



  • ehm.. on first set node ID manually ..
    sensor_node.begin(NULL,25);
    with this set node ID manually to 25 ..

    try it ..

    regards.


  • Admin

    Adding capacitors will do wonders to your failed ack:s.



  • ... ehm .. I also have this idea .. but can't find example photo from this forum..





  • I think node ID is given by controller on serial gateway.



  • Oha, you are right.

    The capacitor was the solution. I never thought that a battery-powered notebook could be a bad power source. Sorry for asking before having tried it ...

    Thank you!!

    Marcus.


Log in to reply
 

Suggested Topics

  • 3
  • 24
  • 3
  • 2
  • 2
  • 4

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts