8051 Microcontroller Based RFID Car Parking System
8051 Microcontroller Based RFID Car Parking System
System
Shubham Aniket, Rahul Mahesh Awari, Samriddh Singh, Swapnil Shekhar
Vellore Institute of Technology, Vellore, Tamil Nadu
Vellore 632014
Abstract - The importance of automation is increasing day In this project “RFID based Car Parking System” we have
by day. In this paper we propose a car parking system which proposed an automatic car parking system. As in the modern
uses RFID sensors to check if the person is in the database world everything is going automatic we have created a
or not. If the person is in the database, then his/her car will system which will scan the user’s set password and then
be allowed to enter the car parking and then the motors will allow the person to enter the car parking space. When the
rotate clockwise which will mean the opening of the car person enters his/her password then the microcontroller will
parking gate, after some time the door will rotate search whether the password is available in its database or
anticlockwise which will mean the closing of the car not, if the password matches with the password the user
parking gate. entered then the motor will rotate clockwise for some time
indicating opening of parking gate and then close after some
Index Terms - 8051 Microcontroller, RFID, Motors, Car time indicating closing of the parking gate. The LCD is
Parking connected to the microcontroller which will display all
events happening like opening of door, closing of door,
INTRODUCTION password match confirmation string, password mismatch
string.
Automated car parking is a method of automatically parking
and retrieving cars that typically uses a very rigid method. HARDWARE DETAILS
The intention is to compact more cars in the same space,
reduce the space needed to park the same number of cars. 8051 Microcontroller
The issue of car parking has problems like with how to
control the number of the car inside it, how to monitor the
movement in/out side of the parking lot, how to check
whether there is a place inside for more cars or not, safety to
park & overcrowding of cars in the parking space. We aim
to solve these problems by designing a system to control the
parking area using a microcontroller. An Automatic RFID
based car parking system is a smart parking system which
will play an important role to reduce traffic in the city. Cars
parked callously on the streets limit the space. So with a
smart parking system this problem can be solved. Moreover,
this kind of system will reduce the manual work and save
time.
PROPOSED SYSTEM
Fig. 2. Pin Diagram of 8051 Microcontroller
Virtual Terminal All the Ground pins should be grounded. There are two
power pins for this IC, one is the Vss(Vcc1) which provides
the voltage for the IC to work, this must be connected to
+5V. The other is Vs(Vcc2) which provides voltage for the
motors to run, based on the specification of your motor you
can connect this pin to anywhere between 4.5V to 36V, here
I have connected to +12V.
The Enable pins (Enable 1,2 and Enable 3,4) are used to
Fig. 3. Virtual Terminal Component in Proteus Enable Input pins for Motor 1 and Motor 2 respectively.
CODE EXPLANATION
The code contains the following part: -
Input function & variable declarations
Fig. 6. DC Motor component in Proteus Main function initialization
Proteus Function descriptions
The maximum current that can be sourced or sunk from an In the first part we declare all the variables and function so
8051 microcontroller is 15 mA at 5v. But a DC Motor need that we can use them later in the program. The motor
currents very much more than that and it need voltages 6v, connection is defined in the output’s pins of the 8051
12v, 24v etc., depending upon the type of motor used. microcontroller using “sbit” which is a function used to
Another problem is that the back emf produced by the motor access bit addressable SFRs. The LCD functions are
may affect the proper functioning of the microcontroller. declared which includes functions for sending commands to
Due to these reasons we can’t connect a DC Motor directly LCD, sending strings to LCD, LCD initialization etc. A
to a microcontroller & hence we use a motor driver as a delay function is defined which includes the code for
medium. generating delay. In the second part of the code we define
the main function which contains the function “check()”
PROJECT FLOWCHART which is responsible for checking if the user entered
password matches with the one present in the database. The
third part of the code defines all the functions declared in
the first part of the code.
FUTURE MODIFICATION
The same project can be modified to hold a counter which
counts the value of cars entering and exiting the car parking
space. Whenever a car enters the parking space the entry
sensor is triggered and the initial count which is the total
number of car parking slots left is decremented, and
whenever a car exits the parking space, the exit sensor is
triggered and the count is incremented indicating the
availability of the slot.
CONCLUSION
The system can be used at all places starting from domestic
to the industrial sectors. The simplicity in the usage of
circuit helps it to be used by a large number of people,
because people with less knowledge of hardware can also
use it without facing any problem. This circuit can be
further modified to contain a counter which tells a person
Fig. 6. Code Flowchart coming from outside whether parking space is available or
not. The LCD will display all the content which can be
When the project file is executed we see a virtual terminal easily seen by a user making this hardware very easy to be
popping out, while in the LCD we see the welcome text. used by general public.
After some delay the LCD displays the text to enter the
ACKNOWLEDGEMENT
password, after the password is entered in the virtual
terminal, the 8051 microcontroller checks whether that We would like to extend our gratitude to our faculty Dr.
password is stored in the database or not. If the password Debashish Dash for facilitating the course and project work
matches with the password entered by the user, the motors, which enabled us to embark on the fulfilling and rewarding
which are connected with the output pins of the 8051 journey. We are also grateful to our peers who helped us out
microcontroller, rotates clockwise. After some delay the with technical queries and other doubts. Finally, we would
motor rotates anticlockwise indicating closing of gate, like to thank the VIT management for the necessary support
bestowed on us in every form, without which none of this
would have been possible.
REFERENCES
[1] Aseem Shukla, Basu Jain, Anshul Saraf, Ankit
Tiwari,―Automated Vehicle Parking System using
RFID‖,International Journal of Engineering and Technical
Research ISSN: 2321-0869, Special Issue.
[2] Sajeev, Anuja & Vidwans, Shreyas & Mallick,
Chandradeep & Jog, Yatin. (2015). Understanding Smart
and Automated Parking Technology. International Journal
of u- and e- Service, Science and Technology. 8. 251-262.
10.14257/ijunesst.2015.8.2.25.