- Raspberry Pi
- IR Motion Sensor
- Jumper Wire to connect the sensors to the Raspberry Pi
While I have no software or hardware development experience, I do have the benefit of working for a company called niolabs with a platform built to help bridge the gap between developers and non-developers (shameless plug, sorry). With that air cleared... I built this service using the nio System Designer.
Using nio, a Raspberry Pi, IR motion sensor, and Twilio, I created a motion-detecting notification system. As this is my first hack project, I decided to start simple, but I hope to build off this first iteration and create a more complex motion-sensing service that has much greater utility.
Currently, every time the sensor detects motion, I receive a text message (via Twilio) on my phone.
Once I start the service within the System Designer, one signal is generated from the CounterIntervalSimulator block (SensorInterval) every half second, which then flows to the motion sensor's GPIO. The signal is read by the GPIO Read8 block (ReadSensor). If motion is detected, the motion sensor value goes from false to true.
Then, the Filter block (FilterMotion) removes filters out all signals with a value of False, which prompts the TwilioSMS block (SendText) to send me a message each time it receives a True value from the FilterMotion block.
System Designer ServiceThat's all! Please let me know if you have any questions or suggestions for something I can build next!
Comments