Introduction: Proof of Concept Door Alarm
First project using the Android Cayenne App. A proof of concept of an alarm than notifies me via email when a door is opened.
Step 1: Set Up the Components and the Cayenne App
First project using the Android App. A proof of concept of an alarm than notifies me via email when a door is opened. Still needs to be set up to be battery powered but the concept works.
The capacitive touch sensor is attached to digital pin 2 of the arduino and Cayenne reads that input and inverts it. When the door is closed the magnet is near enough to the capacitive touch sensor to give a logic high level. This is inverted by cayenne so while the door is closed, cayenne outputs a 1. When the door is opened, the magnet moves away from the sensor, the capacitive touch sensor outputs a 0, so cayenne outputs a 1 and triggers the notification to email me.
We have a be nice policy.
Please be positive and constructive.