Back to Parent

Process

Components:

  1. Breadbord x1
  2. Particle Photon x1
  3. PIR Motion Sensor x1
  4. LED x1
  5. 1 kOhm resistor x1
  6. Push Button x1
  7. Jumper Cables x6
  8. Smartphone x1

Building Phase:

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!

0