Avatar for user75839

user75839

Member since Apr 2017 • Last active Apr 2017
  • 1 conversations
  • 4 comments

Most recent activity

  • in Puck.js
    Avatar for user75839

    Yes, I'm trying to scan for advertising data that's coming from my Puck.js.

    I indeed had a Bluetooth connection open (for the IDE). Thank you!

  • in Puck.js
    Avatar for user75839

    Hi @Gordon

    How did you test the advertising? I'm trying to test it using a WiPy and the nRF connect app, but I don't see any data.

  • in Puck.js
    Avatar for user75839

    Hi Robin

    Thanks for you response! It works using pinMode(PIN, "input_pullup") and digitalRead :-)

  • in Puck.js
    Avatar for user75839

    Hey guys!

    I want to check if the sliding door of my terrarium is closed using the Puck.js (light green LED if it is closed, else light red LED). I found a cool tutorial, where I can see how to do this using a magnet.

    But I think a better solution would be to attach 2 wires to the Puck.js and then put a metal plate on the side of the door. If the door is closed, the circuits is also closed and otherwise it's open.

    I'm not very familiar with the Puck.js so far, so I have two questions for this idea:

    1. To which pins should I connect the two wires?
    2. How can I determine, if the two wires are connected or not?

    Thanks for your help!

Actions