321,952 views
19 votes
19 votes
Question 2: write a program for smart garage system using:

2 IR obstacle sensor, relay & LCD.
The garage have 25 space to 25 car & have also two doors entrance & exist; first IR sensor on
entrance and second IR sensor on exist. This system counts how many empty spaces for parking.
When the car enters the sensor on entrance activate & the counter decreases, when the car exists the
sensor on exist activate & the counter increase. Use LCD to print how many empty spaces in the
garage, and finally when the garage full the LCD must print this message "Garage Full "and the
relay close to shut down the entrance door.

User Carpeliam
by
3.2k points

1 Answer

23 votes
23 votes

Answer:

C

Step-by-step explanation:

User Phillip Elm
by
2.9k points