loading

Okay, this is the list of the materials we need to build our infrared alarm:

1 Infrared Proximity Sensor

1 Piezo Speaker

2 LED

1 Arduino

Bredboard cable

Step 1: MAKING THE CONECTIONS

The first thing we have to do is to make all the conections as we see on the picture.

it is important to know which is your sensor, because the connection usually change from one sensor to another

Step 2: CODE

this is the code we will use to run our infrared alarm,

if you want you can change the leds by any other device, but remember that if you do it you have to change the code.

you can download the code in the following link.

CODE

to use it you will have to open a new project on Arduino and delete everything, then you will have to copy the code of the alarm.

Step 3: DEMO

<p>Do you have part number or link to a source for the proximity sensor?</p>
<p>Great idea for a DIY alarm system.</p>

About This Instructable

929views

17favorites

License:

More by hugom42:Arduino IR alarm 
Add instructable to: