Motion Detection Alarm (Interrupt Processing)

Motion Detection Alarm (Interrupt Processing)

Description:

The objective of this project is to develop a motion detection alarm by using the interrupt system within the Tiva C. The system is very similar to the Motion Detection Alarm (GPIO) but instead the interrupt process is used. Coded in C and ARM Assembly.

System Summary: the system has two states: On and Off. To activate the system, the user presses SW1 button which sets the system to On. Therefore, SW2 would deactivate the system and set its state to Off; thus, the LED and buzzer are off. The system's LED is set to green when there is no motion detected by the PIR sensor. When there is motion, the system's LED turns red and a buzzer is set off for a few seconds.

Materials Used:
  • Tiva C TM4C123G Micro-controller
  • Grove Base BoosterPack (BOOSTXL-GROVEBP)
  • Grove PIR Motion Sensor (D) [Connected to Port J16]
  • Grove - Buzzer (D) [Connected to Port J17]
  • Git (Partner Collaboration)
  • Code Composer Studio 10.0 (IDE)

Download Code Here