Last summer was one of the hottest in my town and with great heat comes great laziness so I didn't even want to stand up and shut my own windows so I decided to control them using my smartphone and since I had lots of time on my hands, I decided to add a security system as well. In this project I used Arduino uno and 1Sheeld and here's why.
Arduino is the fastest prototyping board out there and it is really easy to use, the built in examples cover a wide range of applications and by integrating it with 1Sheeld almost anything is possible.
How to build this project?
1- Gather all the components mentioned in the Hardware section.
2- Connect them as shown in this picture or simply download the attached fritzing files.
3- Download the code in the software section.
4- Connect your Arduino Uno to your pc or laptop using a USB cable.
5- Check the getting started tutorial on the 1Sheeld website to make your build much easier.
6- Using the Arduino IDE compile the code and upload it
7- Download the 1Sheeld app on your smartphone and open your Bluetooth and scan for your 1Sheeld, the procedure is explained in detail in the getting started tutorial on 1Sheeld website.
8- Select the buzzer, toggle button, terminal, and slider shields.
Now you're done with the project whenever your hand gets too close the ultrasonic sensor the buzzer on your smartphone will be triggered given that you already activated this - flawless :D - security system using the toggle button shield, also you open your windows close them or even keep them slightly ajar using the slider shield.
One practical tip would be to hang your ultrasonic sensor slightly high so that it wouldn't go off when detecting a cat or a dog.
Happy Hacking everyone!
Comments