Skip to content

0marAmr/Door-Locker-Security-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Door_Security_System_AVR

Implemented via AVR atmega32 MCU with 8 MHz internal clock frequency.

Project Description

  • The door is unlocked using a password entered via a keypad:
    i. The door opens by rotating the DC motor Anti-clockwise for 15 seconds.
      ii. It is then held open for 3 seconds.
      iii. Then it is closed by rotating the DC motor clockwise for 15 seconds.
  • If the user entered a wrong password 3 consecutive times:
    i. The keypad accepts no input for 1 minute.
      ii. A buzzer and a LED are triggered for 1 minute.

Project Specifications

  • Human Machine Interface Micro-controller Unit:
    - Responsible for interaction with the user.
      - System initialization: It prompts the user to enter a new password and confirm it.
      - It send the password input to the CONTROL ECU to be confirmed.
      - No input is accepted from keypad if the password is entered 3 consecutive times.
  • Control Micro-controller Unit:

Project Design

  • The Project follows modular design as shown in the diagram below:
Layered Model Layered Model Detailed
Abstraction_Layers_ Abstraction_Layers_Detailed

Project Simulation

Project Simulation GIF

Hardware Implementation

  • youtube video emb.

How to simulate

  • Clone the project repo via git clone https://github.com/0marAmr/Door-Locker-Security-System.
  • Open command prompt in the project directory.
  • Run make compile to compile project files.
  • Open project_simulation file found in simulation directory.
  • After simulating, run make clean to remove compilation files.