This repository will show both the software and hardware simulation for a smart garage project.
Starting simulation!
After the entrance servo rotates, it opens entrance gate, empty slots number decreases and a green LED is still illuminated as an indication that empty slots are available.
Once the garage is full, red LED is illuminated and entrance servo doesn't rotate again.
After the exit servo motor rotates, the exit gate opens and a car leaves, empty slots number increases once again.
LDR sensor responsible for smart illumination system (4 red LEDS).