Introduction: Intruder Alarm With Arduino

About: Makeistan is a makerspace at Information Technology University in Lahore, Pakistan.

Today we will be making an intruder alarm using Arduino. This is a simple project for beginners. Since all humans emit infrared rays, we will use an infrared sensor and a buzzer, so that when the infrared sensor detects infrared rays, the buzzer will start beeping.

Step 1: What You Will Need

You will need:

- an Arduino

- a breadboard

- 5 male-male jumper wires

- a 470k ohm resistor

- an infrared sensor

- and a buzzer

Step 2: Making the Circuit

Refer to the diagram:

Step 3: The Code

Attached is the code.