Our project consists of a small shop security system that allows the owner to know how many customers the store had while it was open and notifies the owner if someone crossed the door while triggering an alarm to scare the thief away when the store is closed. It uses an ultrasonic distance sensor that triggers the system every time the distance is less than expected( it would mean that something or somebody reduces that distance).

BreadBoard pictures

This is how the system has been placed on the doorframe.

BreadBoard wiring

Here's is how the system is organized.

Project demo

In this video you will see an actual demo of the system.