Arduino IR Alarm

1,104

16

2

Posted in TechnologyArduino

Introduction: Arduino IR Alarm

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

Share

    Recommendations

    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Spotless Contest

      Spotless Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    2 Comments

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