Hello everybody!!!
I have been messing around with a few components and my arduino. I figured out this project last week and just had to share it with all of you. What it is, is a laser beam hitting a  photo cell. The arduino reads the photo cell and when it detects the voltage level is below a certain amount, the beam must be broken while sounding an alarm. The alarm stays on until you punch in the code you have set up to the keypad in. Once the correct code is typed in, the arduino turns of the buzzer and gives you 15 seconds ( or what ever you set the delay time to) to reset the laser beam. You are able to change the code if you like. The steps are very easy to follow and i hope everyone makes one!!!

Step 1: Materials

You will need a few components to make this project. Here is the list and the links to were i got them. Everything will cost around $40

      1 x 5V regulator
http://www.radioshack.com/product/index.jsp?productId=2062549       1 x red/green LED
http://www.radioshack.com/product/index.jsp?productId=2102845       1 x PC board
http://www.radioshack.com/product/index.jsp?productId=2062347       5 x 10K resistors
http://www.radioshack.com/product/index.jsp?productId=2062281       1 x Project enclosure
http://www.radioshack.com/product/index.jsp?productId=2062395       1 x 5V buzzer
http://www.radioshack.com/product/index.jsp?productId=2062558       1 x led holder
http://www.radioshack.com/product/index.jsp?productId=2062338       1 x 10 Ohm resistor
http://www.sparkfun.com/products/7942                                                      1 x DIP socket 28 pin
http://www.sparkfun.com/products/9217                                                      1 x Atmega328
http://www.sparkfun.com/products/9420                                                      1 x 16MHz resonator
http://www.sparkfun.com/products/9088                                                      1 x Photo cell
http://www.sparkfun.com/products/8653                                                      1 x 12 button key pad
http://www.sparkfun.com/products/8375                                                      2 x 0.1 uF capacitor
http://www.sparkfun.com/products/115                                                        1 x female header
http://www.sparkfun.com/products/8588                                                      1 x Diode

Now were also going to need a laser. I have listed a very GOOD one and VERY cheap in cost laser. You can use any laser you want to, but if you don't have one, these work GREAT!!!

http://www.sparkfun.com/products/10356      or     http://www.sparkfun.com/products/8165  get one of these

also some spare wire, small mirrors, hot glue gun, solder, and a soldering iron.

 you can get all theses at Sparkfun and Radioshack

Now if you look at the list, you'll notice there is no switch to turn this device on and off. If there were to be an off and on switch, the person that sets of the alarm would just have to simply turn the device off. That defeats the purpose of the keypad to turn of the buzzer. You can add a switch if you like, but i'm not going to. To turn this off, your going to have to unplug the adapter from the wall.

About This Instructable




Bio: hmm lets see... my name is Thomas, but u call me what you like, Thomas Tom, Tommy, TJ or even THUGALIOUS!! lol. I love to ... More »
More by 1324itouch:Arduino laser detector with keypad
Add instructable to: