Design a car parking system whose barrier will only open when the correct password is entered by the user. If the user enters an incorrect password, a message should be displayed on the LCD stating "INVALID PASSWORD". If the password is correct, the message "CORRECT PASSWORD" should be displayed and the barrier will open, allowing cars to enter the parking area for a duration of 18 seconds.
After 18 seconds, the number of cars that have entered the parking area should be displayed on a unit consisting of a 2-digit, seven segment module. A reset button should be connected to restart the system.
*NOTE: The correct password will be the Student ID of the group leader.
Maximum group members: 3
You can only use PIC18F452 as the controller. Write your code on MPLAB IDE and verify it using Proteus. Assume a Crystal Frequency of 20MHz.
You have to design the complete hardware to demonstrate your project.
You will have to design a keypad for entering the password.
The LCD will be interfaced.
The 18-second delay should be generated using a timer. (If the Delay file is found, 10 marks will be deducted).
A switch will be used as the car entrance in Proteus. (For example, pressing the switch will represent the number of cars entering).
A 7-segment display should be used to display the total number of cars that have entered the parking area.