Five Guys – Security System – Abstract

Our final project is the culmination of what we’ve been working on all semester. We set out to design a prototype “home security system” that would use an infrared (IR) distance sensor to detect the presence of an intruder, warn the intruder, prompt for a password, then set off an alarm if the proper password wasn’t given.

The IR sensor was set up in a logical loop with the LED and piezo-buzzer “alarm”, with the Atmel XmegaA3BU microcontroller being used as the power source and the “bridge” between the two control loops. This process will be discussed in greater detail in the “Body” section of this report.

Our equipment consisted of:

  • An Atmel XmegaA3BU Xplained microcontroller
  • An infrared (IR) distance sensor manufactured by SHARP
  • A green LED
  • A piezo-buzzer
  • Breadboarding
  • A constructed wooden platform for housing the components

All code was written in Atmel Studio 7.0 and debugged using a JTAGICE3.

The completed prototype was able to use the distance value returned from the sensor to set off different levels of alerts and prompt for a password that could be used to “disarm” the alerts.