Giter Site home page Giter Site logo

yahiayasser / door_locker Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 1.0 217 KB

Door_Locker Two micro-controllers, one acts as a HMI (Human Machine Interface) This micro-controller has a Dio module, LCD Module, Keypad Module and UART Module This one will be used just interfacing with user. The other micro-controller will be responsible for controlling the motor (actuation part) This micro-controller has a Dio module, Timer Module, DC_Motor Module and UART Module This one will be used for just Controlling the motor that will act as the lock for the door. The scenario will be as following: 1- first use Mode: the user will be prompted to enter pass and confirm it using keypad, if passwords are matched the password will be saved to the internal EEPROM of the first micro-controller. If the passwords are not matched it will tell you that the passwords are not matched and ask you to re-enter passwords. 2- Operating Mode: LCD Shows Supported Operations: a- Open the door: If the user choose to open the door he will be prompted to enter the password, if he fails with 4 trials, he will have to wait for 30 seconds to re-enter the password again. if the password is right, a message will be sent to the other micro-controller using uart to open the door. b- Change Password : user must enter the old password first to change. 3- Opening the door: When the message of opening the door will be received at the second micro-controller, it will rotate the motor 0.5 in the clockwise direction. 4- Closing the door: At first micro-controller, a message will be shown: "[1]Close Lock", if the user entered 1 a message will be sent to the other micro-controller to close the door, the second micro-controller will receive the message and rotate motor will rotate 0.5 in the anticlockwise direction. The LCD at the first micro controller will reflect any action / State happens at the system. for example if the door is opening it should show : Lock is opened

embedded embedded-systems avr avr-programming microcontroller atmega16 atmega door-lock door-controller hmi

door_locker's Introduction

Door_Locker


Door_Lock_project Two micro-controllers, one acts as a HMI (Human Machine Interface) This micro-controller has a Dio module, LCD Module, Keypad Module and UART Module This one will be used just interfacing with user.

The other micro-controller will be responsible for controlling the motor (actuation part) This micro-controller has a Dio module, Timer Module, DC_Motor Module and UART Module This one will be used for just Controlling the motor that will act as the lock for the door.

The scenario will be as following:

1- first use Mode: the user will be prompted to enter pass and confirm it using keypad, if passwords are matched the password will be saved to the internal EEPROM of the first micro-controller. If the passwords are not matched it will tell you that the passwords are not matched and ask you to re-enter passwords.

2- Operating Mode: LCD Shows Supported Operations: a- Open the door: If the user choose to open the door he will be prompted to enter the password, if he fails with 4 trials, he will have to wait for 30 seconds to re-enter the password again. if the password is right, a message will be sent to the other micro-controller using uart to open the door. b- Change Password : user must enter the old password first to change.

3- Opening the door: When the message of opening the door will be received at the second micro-controller, it will rotate the motor 0.5 in the clockwise direction.

4- Closing the door: At first micro-controller, a message will be shown: "[1]Close Lock", if the user entered 1 a message will be sent to the other micro-controller to close the door, the second micro-controller will receive the message and rotate motor will rotate 0.5 in the anticlockwise direction.

The LCD at the first micro controller will reflect any action / State happens at the system. for example if the door is opening it should show : Lock is opened

door_locker's People

Contributors

yahiayasser avatar

Stargazers

 avatar  avatar  avatar

Forkers

hishamelreedy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.