Steps:
1. I wired up an LED as an indicator for a motion detection. The LED is used to show that the motion sensor is working.
2. I wired up a PIR sensor to detect any motion.
3. I wired up a simple push button and used that as an ON/OFF button for the motion detector device. When the button is pushed, the device is OFF meaning that even though there is motion, it does not give any indication to the user. When it is not pushed, the device is ON, meaning that LED flashes and a notification is sent to the user when a motion is detected.
4. I enabled the product to publish an event to Particle Cloud every time a motion is detected. I needed to ensure that when the device is OFF (Push button is pressed), it shouldn't publish any event to the cloud. It should only publish when the device is ON. (Push button is not pressed.)
5. I downloaded IFTTT app to send notification to the user's phone every time motion is detected. I connected IFTTT with Particle Dev and built the IFTTT scenario.
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. .