Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. bob543
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    bob543

    @bob543

    0
    Reputation
    2
    Posts
    450
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    bob543 Follow

    Best posts made by bob543

    This user hasn't posted anything yet.

    Latest posts made by bob543

    • Bridging to remote location, only 2 conductors available.

      Hi,

      Am very new to this and am having an issue reaching an underground cistern via RF (have tried various antenna configs etc).

      Unfortunately, I only have 2 unused conductors from my house into that cistern,

      Does anyone have an idea how I can best get the data from a sr-04 ultrasound distance meter into my Mysensors network using only those 2 conductors (power is also available at the cistern)?

      Many thanks in advance,

      B

      posted in Hardware
      bob543
      bob543
    • RE: No debug data from sensors or gateway. Bad radios?

      Thanks for this great testing code.

      The default pong back role wasn't working for me (and therefore no data was received from the remote unit) so I changed the following section of your code from:

      radio.begin();
      // Openning for listening
      radio.openReadingPipe(1,pipes[1]);

      radio.startListening();

      To:

      radio.begin();
      // Openning for listening
      radio.openReadingPipe(1,pipes[0]);
      radio.openWritingPipe(pipes[1]);
      radio.startListening();

      Am not sure if the "radio.openWritingPipe(pipes[1])" (copied from the change role code further down in your source) line is required, but it works.

      Thanks again.

      B

      posted in Troubleshooting
      bob543
      bob543