Embedded Systems and IOT Project Report
Group members :
• Somya Sharma(21BIT0711)
• Arisha Tanveer(21BIT0511)
• Ishan Mishra(21BIT0138)
• Sarvesh Ashish (21BIT0724)
Submitted to: ATHIRA P SHAJI MAM
RFID Based CAR PARKING SYSTEM
Introduction :
An RFID-based car parking system can be a useful application of
embedded systems and IoT technology. It involves using RFID (Radio
Frequency Identification) tags and readers to automate the process
of car parking, allowing for efficient management and monitoring of
parking spaces
AIM :
The aim of the project is to develop an RFID-based car parking system using
Arduino that automates the process of parking vehicles and provides efficient
management and monitoring of parking spaces.
Abstract:
ABSTRACT:
The RFID-based car parking system using Arduino is designed to simplify and
streamline the car parking process. It utilizes RFID technology to identify and
track vehicles entering and exiting the parking lot. The system includes RFID
readers, tags, and an Arduino board to control the process. The collected data
is stored and managed in a database, allowing for real-time monitoring and
efficient utilization of parking spaces.
Hardware Requirement
➢ Arduino board (e.g., Arduino Uno or Arduino Mega)
➢ RFID Reader Module (compatible with Arduino)
➢ RFID Tags (for vehicles)
➢ Breadboard or PCB for circuit connections
➢ Jumper wires
➢ LEDs and resistors (for status indicators)
➢ Power supply (as per the requirements of the components)
➢ Optional: Display module (LCD or OLED) for user interface
Software requirement
➢ Arduino IDE (Integrated Development Environment)
➢ RFID Library for Arduino (e.g., MFRC522 library)
➢ Programming language: Arduino programming language (based
on C/C++)
Coding
//Viral Science
//RFID
#include <SPI.h>
#include <MFRC522.h>
#include <Servo.h>
#define SS_PIN 10
#define RST_PIN 9
#define LED_G 4 //define green LED pin
#define LED_R 5 //define red LED
#define BUZZER 2 //buzzer pin
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance.
Servo myServo; //define servo name
void setup()
{
Serial.begin(9600); // Initiate a serial communication
SPI.begin(); // Initiate SPI bus
mfrc522.PCD_Init(); // Initiate MFRC522
myServo.attach(3); //servo pin
myServo.write(0); //servo start position
pinMode(LED_G, OUTPUT);
pinMode(LED_R, OUTPUT);
pinMode(BUZZER, OUTPUT);
noTone(BUZZER);
Serial.println("Put your card to the reader...");
Serial.println();
}
void loop()
{
// Look for new cards
if ( ! mfrc522.PICC_IsNewCardPresent())
{
return;
}
// Select one of the cards
if ( ! mfrc522.PICC_ReadCardSerial())
{
return;
}
//Show UID on serial monitor
Serial.print("UID tag :");
String content= "";
byte letter;
for (byte i = 0; i < mfrc522.uid.size; i++)
{
Serial.print(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " ");
Serial.print(mfrc522.uid.uidByte[i], HEX);
content.concat(String(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " "));
content.concat(String(mfrc522.uid.uidByte[i], HEX));
}
Serial.println();
Serial.print("Message : ");
content.toUpperCase();
if (content.substring(1) == "23 E0 5C 1B") //change here the UID of the card/cards that you want
to give access
{
Serial.println("Authorized access");
Serial.println();
delay(500);
digitalWrite(LED_G, HIGH);
tone(BUZZER, 500);
delay(300);
noTone(BUZZER);
myServo.write(180);
delay(5000);
myServo.write(0);
digitalWrite(LED_G, LOW);
}
else {
Serial.println(" Access denied");
digitalWrite(LED_R, HIGH);
tone(BUZZER, 300);
delay(1000);
digitalWrite(LED_R, LOW);
noTone(BUZZER);
}
}
Code in Arduino And Output :
Implementation
➢ Connect the RFID reader module to the Arduino board according to the
manufacturer's instructions.
➢ Set up the circuit connections for LEDs, resistors, and optional display
module if needed.
➢ Upload the code to the Arduino board using the Arduino IDE.
➢ Test the system by placing an RFID tag near the reader and verify if the
tag information is correctly read and processed.
➢ Verify the parking status updates correctly based on the tag's entry and
exit events.
➢ Conduct extensive testing to ensure the system's reliability, accuracy, and
performance.
Output :
The output of the RFID-based car parking system using Arduino includes:
➢ Real-time monitoring and display of parking availability.
➢ Tracking and recording of entry and exit events for vehicles.
➢ User interface (if implemented) showing parking status, available spaces,
and other relevant information.
➢ Integration with a central server or database for data storage and
retrieval.
➢ Efficient management and utilization of parking spaces.
➢ Improved security measures, if implemented, such as user
authentication or access control.
➢ Overall automation and simplification of the car parking process.
VIDEO LINK OF OUR PROJECT :
https://drive.google.com/drive/folders/1D7nBCxfXJb6B7fuevmbiyeyNA4gIqapK
Reference :
➢ YouTube
https://www.youtube.com/watch?v=RpRKeuWOlbE&ab_channel=Yello
wPurple