Are you constantly being scared when people sneak up behind your back? Do you have bad hearing and can't hear people approaching you? Do you want to just build a super fun Arduino project?

If you answered yes to any of those questions, then this project is for you! I have a workbench in my basement that I use all of the time for homework and projects. The bench is right next to my furnace which is very loud when running. Whenever someone comes in my basement, it scares the life out of me. I made this to alert me when someone is coming. This is a motion alarm system that alerts you whenever motion is detected around you. It uses an Arduino Uno to control the PIR motion Sensor, LED, and the speaker. It is all enclosed and fits in a box from a deck of cards! It is powered using the USB power cord for the Arduino. To program the Arduino, you can make your own sketch, or use mine in the upcoming step. The whole project will probably only take you a day or two and anyone should be able to do it. I am 14 years old, and lacking the ability to buy a lot of parts, so I try to do the best with what I have.

Step 1: Tools and Materials

Not many materials or tools are required for this project. I only spent about $13.00 on this project.

An Arduino Uno
Parallax PIR Sensor (RadioShack- $9.99)
A PC Board (RadioShack- $2.49)
Assorted Wire. (Depending on how far away you want the sensor to be)
Small Speaker (anything should work)
Card Box (optional)
Some spray paint
Zip Ties (optional)
An LED of your choosing

Wire Strippers
A Small Saw
A Drill or Drill Press
A computer and Arduino USB cable
Soldering iron

Hi this project is very nice and simple method so it will be help full for me but i want schematic diagram pls
<p>Hi everyone,</p><p>One could also use https://kerberos.io/, it runs on the Raspberry Pi and it's also open source.</p>
<p>so will the motion sensor be somewhere across the room while the Arduino is connected to your computer?</p>
<p>Hi there,</p><p>Would it be possible for this alarm to trigger a recordable sound module instead of a piezo? Something like this -&gt; http://www.ebay.com.au/itm/141147691353?_trksid=p2060353.m2749.l2649&amp;ssPageName=STRK%3AMEBIDX%3AIT</p>
<p>how can i buy this?</p>
<p>how can i buy this?</p>
Okay, so I have a weird question... I made this, works great! <br>But when I removed the PIR to change the sensitivity jumper, the LED acted as a sensor... That is, when I got close to the LED it lit up and the alarm would go off... Why and how??
<p>The answer is simple... This is not the LED (which is output only), this is the input connected to nothing with a high impedance (INPUT mode); the 3-state pin (INPUT, OUTPUT+LOW, OUTPUT+HIGH you could see as -5V, 0V, +5V) is what is used for &quot;Charlieplexing&quot;. Practically, when you connect nothing to an INPUT pin, you get random magnetic noise on your pin, much like when you approach your hand from a radio antenna (the reception gets much better). As there is no &quot;debouncing&quot; (what for?) in the program, every time the input pin (called &quot;outpin&quot;) goes near-HIGH (that's TTL, even 1.8V would be &quot;HIGH&quot;), digitalRead(outpin) returns HIGH and you get a beep(50), which may happen every time there's movement in the air near the pin, call it your &quot;aura&quot; interfering :-D</p>
To be honest I have no idea. That is odd that that's happening.
how to if i want to used 3 PIR for the sensor?
<p>Nice tutorial!</p><p>You can get the hc-sr501 PIR motion sensor for cheap here:<a href="http://voltatek.com/en/sensors/69-motion-sensor-module-hc-sr501-pyroelectric-ir-infrared-adjustable.html" rel="nofollow">http://voltatek.com/en/sensors/69-motion-sensor-m...</a></p>
I second the suggestion of Tayda. Prices on almost anything can't be beat, and be sure to check out their FB page for coupons!
very nice. I'm working on my own alarm project and I used yours as inspiration. Thanks.
Very cute idea!
I'm glad my project helped you! So if you look at this diagram ( http://www.amazon.com/gp/aw/d/B007XQRKD4/ref=mw_dp_img_2?in=2&is=) you can see that the middle pin is the OUT. So connect that pin to pin 7 on the Arduino. Then connect the ground to ground and the Power to +5V. Hopefully that helps.
I bought a different PIR (this one http://www.amazon.com/gp/product/B007XQRKD4) and was wondering how to hook it up, your write-up was just what I needed. Thanks. <br>
Yes, you can use a buzzer!
can we use a buzzer? <br>sorry im new at this
excellent! <br>need chip crack or IC reverse? <br>touch me: techip688@hotmail.com
Thank you! I used a file to make my cuts really smooth!
Great job on the finished project! How did you make the cuts in the plastic box so clean?

About This Instructable


537 favorites


More by tommythehill: DIY Cat Water Fountain DIY Motion Sensor Alarm System Miniature Remote Control Airboat
Add instructable to: