People make motion sensors all the time so there was a lot of information on how to set on up. I found the wiring for both the piezo and the PIR sensor from the link below where a guy set up an alarm for his dog to stop drinking from the toilet. I used his code as a guy as to how to put this together.
https://particle.hackster.io/31043/toilet-water-protector-119a4d?ref=search&ref_id=pir&offset=4
Key to success of this process was the being able to communicate between photons through the particle cloud. This is example was used write the code that allows the photons to talk through events.
The buttons and led I was able to set up from past experience with Arduino.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .