• Hi,

    Tut mir leid, dass ich nicht auf Deutsch antworte, aber hoffentlich kannst du Google Translate auf meine Antwort verwenden?

    Sorry for not replying in German, however hopefully you can use Google Translate on my response?

    You can measure distance between devices using signal strength (rssi). To start, you can use rssi from NRF.findDevices: http://www.espruino.com/Reference#l_NRF_­findDevices

    However, signal strength can be altered by many things - walls, desks, people in the way. Depending on where you are, you may find that you can't reliably get below 3M accuracy - but if you used multiple sensors

    To make something happen on another Puck.js device (like the light/sound) you can use the link that @Robin has suggested.

    While Puck.js doesn't contain a speaker, it's pretty easy to wire one up. There's some information on making sounds and wiring here: http://www.espruino.com/Making+Music

    If you used a Piezo transducer like you might find on a musical birthday card (eg this) then you could easily fit it inside the Puck.js case.

    Hope that helps!

About

Avatar for Gordon @Gordon started