So the idea for the project started when I wanted to find a solution, in order not to let people come into my room without my permission.
Before I want to use the motion sensor module, and a buzzer to make my own alarm. But recently I have a stock of ultrasonic sensor and an idea come to my mind, why don't I fused this ultrasonic sensor with servo, and used that servo to push soda can fall by putting a long stick above the servo.
What I mean is for a long time people built soda can as one of many tools to built alarm, and I thought why not combine this soda can with modern technology that was available now.
Step 1Assemble the circuit by using the schematic I give below
Find any soda can and stick you can find, I used chopstick if you curious and put the chopstick on the top of the servo. Don't forget to put the soda can in front of the servo, and adjust the x inside the code to your distance need mine is 17 m.
Integrate those stick and soda can, and put the alarm in any place you like. Me personally I put near my room door and put it in the top of printer, because it's the closest thing in my room to the door.
FutureI have a few idea to incoporate this alarm in future, like connected it to ESP36 or IFTTT so it can send notification if the alarm trigger. Feel free to add additional module or improvement on my project.
If I left anything important in this guide, feel free to contact me by commenting below.
Comments
Please log in or sign up to comment.