Back to Parent

Process

Components used:


Particle Photon

LED (red) : Motion Indication

LED (blue) : ON/OFF Indication

2 Resistors 1k ohms

Jumper wires


I decided to use a Motion Sensor to build the device. I began working on a basic circuit with just the PIRsensor. I then decided to incorporate a switch to disable the device manually, to avoid unnecessary alerts when we were at home. I also added an indicator LED that light up when the device was activated. The next thing was to connect it to the cloud. Once I checked the data on the Serial monitor was correct, I connected the 'event' captured on the device to IFTTT so that it gave sent me a notification (e-mail alert in this case)  on my phone.

The system would be switched ON just before we left home, and switched OFF when we were back home.

Once the device is switched ON, and the PIR Sensor senses any movement and sends us notification.

The code used is a slightly modified version of a code provided in the PIR sensor guide by Adafruit. https://learn.adafruit.com/pir-passive-infrared-proximity-motion-sensor/how-pirs-work






Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0