Arduino IR Alarm

1,273

18

2

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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    2 Discussions

    None
    CurtR

    3 years ago

    Do you have part number or link to a source for the proximity sensor?