Motion Detection Counter

Motion Detection Counter

Description:

The system is connected to a 7-segment display and a PIR motion sensor. The system has two states, on and off. When the system is on and detects motion, the system keeps track how many time it has detected motion and increments a counter. The amount of times motion has been detected is shown on the 7-segment display. Coded in C and ARM Assembly.

Reason for Project:
Real-world applications of this are used in cameras and automatic doors. For instance, an automatic door has to detect if a person is going to the door and if there is movement, then the door would open. Furthermore, having a count would allow for a more accurate method to which the door would have to hold. Additionally, having a counter that increments allows for data analysis to show how many people are entering and leaving the store. This allows for analytics in which the store can benefit financially by determining active sales and the flow of consumers.

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

Download Code Here