Code Monkey home page Code Monkey logo

smart-garage-system's Introduction

Smart-Garage-System πŸš—

Overview about the project

This project simply manages entry and exit from the garage where the entrance and exit gate is closed with a rotating metal barrier

  • 1- There is a PIR sensor at the entrance and exit gate ,if a car approaches it, it will sense the infrared signal radiation, Signal is sent to the microcontroller that has a car at the entrance gate, then the microcontroller checks the number of cars inside the garage (because the garage capacity is only 3 cars) If an empty space is found, it will send a signal to servo motor rotates by +90 Β° and raise it ,the metal barrier that closed the road it does the 2sec Delay until the car gets in completely and turns back at an angle of -90 Β° and closes The way and all the cases are printed on the lcd and the number of cars inside the garage and whether entry is available or not By the number of cars inside.

  • 2- In case there is no car The entry or exit area of ​​the sensor has a low signal for the microcontroller,so there are no cars ,then will be printed "car number inside equal ... " ,also, permissibility of entry is printed if the number of cars inside is less than 3, but if the number inside is 3 cars, then it is printed "It is not allowed to enter the garage is full " " Max number of car is only three cars " .

  • 3-In the case of exit, if a car approaches the exit gate The same cycle will occur in one step, the sensor will have a High signal for the microcontroller that there is a car at the exit gate, it will be displayed on the LCD that "There is a car at the exit gate" Then the servo motor rotates at an angle of + 90 Β° in order to raise the metal barrier and open the way Delay by 2sec until the car comes out, and then the servo rotates at -90 Β° so that the metal barrier descends and closes the road, and the lcd displays the new number of cars inside the garage, the permissibility of entry or nothing, and so on..

In addition, I simulate the entry and exit of cars through 3 LEDs entering a car means LED lighting, and leaving the car means turning off the LED

  • The components used for the interface with the ATmega AVR 32 microcontroller

    • 1- PIR Passive infrared sensor πŸ“Ό

    • 2- LCD LM32 πŸ–₯️

    • 3- Servo motor

    • 4- logic state

    • 5- Led πŸ’‘

smart-garage-system's People

Contributors

mostafa-elshiekh avatar

Watchers

 avatar

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.