You are hired to create a security system for a warehouse.
Your boss has asked you to create a prototype for such a system.
The system will have two arming modes – stay and away.
You will need two push buttons to enter the code to arm or disarm the system.You will use a buzzer to sound the alarm if there is a security breach.
The warehouse has only one door that needs to be controlled by a motor.
The door will automatically close when the security system is armed (either mode). It will automatically open when the security system is disarmed.
You will use a sensor for the door to determine if it is open or closed. When armed in stay mode, the system monitors the door and if anyone opens the door, it will sound the alarm.
When the system is armed in away mode, it will detect any motion inside the warehouse as well as monitor the door.
You need to use a sensor to detect any motion inside the warehouse. This sensor should be mounted on a motor so that it is rotating when the system is armed in this mode to cover the whole warehouse.
In this project variable A is your sensor for the door and B is your sensor to detect motion. Variables C & D are your push buttons.
You need to use 2 motors can use DC motor, Servo or Stepper motor.
Y = A⋅(C⋅D)+(A+B)⋅(C⋅D) (6.29)