Using Arduino/RFID/LCD/Servo to make sample security project


Using Arduino/RFID/LCD/Servo to make sample security project

RFID – Radio Frequency Identification, has become part of everyday life, for example, with electronic vehicle tolling, door access control, public transport fare systems and so on.

RFID normally has two components: RFID key and RFID reader(sensor). In this project, we will use RFID reader to get the hidden ID from the key.

If Key ID does not match record, then RED LED will turn on, LCD shows “Card not recognized! contact admin”. In serial window(upright corner of Arduino IDE), you will see following information: “Card found – code: ** ** ** ** ** ” , ‘** ** ** ** **’ is 5-byte Hex ID of your key.

If the ID matches our record(security passed), make servo motor turn 180 degree(imitating door opening) and turn on the green LED and LCD screen show “ID Found!… Welcome X!”.

If the key Hex ID codes matches the any of the Hex ID array of user A,B,C (defined in line 25,26 27 in file RFID_Simples_V3_English.ino), system will consider the key is authorized ID card. So you can change the line 25, 26, 27 and make user A/B/C match your real key code( get from serial window) to test scenario of authorized Key situation.

2 . Devices used in this project

Arduino UNO R3 x 1 ;

Servo Motor x 1;

RFID key and receiver;

Buzzer x 1

220 ohm resistor x 2;

Red LED x 1;

Green LED x 1;

I2C LCD x 1;

Breadboard and jumper wires;

3) Circuit Connection:


Arduino/RFID sensor pin connection:

RFID sensor Arduino
Reset D5
3.3v 3.3v

Arduino/LCD(i2c) pin connection:

I2C LCD Arduino

Arduino/LED and Servo connection:

device Arduino
Red LED long leg D3
Green LED long leg D2
servo signal(orange line) D9
servo VCC(red line) 5v
servo GND(brown line) GND
Buzz VCC D8

4)Software installation

Download Arduino Library code and library from following link

Unzip above file and you will see a folder called ArduinoRFID, enter into this folder, you will see a sub-folder “library”, this folder has libraries required by this project. Copy all these 5 folders in library into your Arduino IDE library folder(normally it should be in Arduino\library )

5)Run the project
Go to ArduinoRFID/RFID_Simples_V3_English folder and run RFID_Simples_V3_English.ino with your Arduino IDE

In IDE serial window, you will see following info:


Once you put a valid RFID key to sensor, you will see:



Servo will turn 180 green,buzzer will beep and green LED will turn on

About the Author

amber administrator

5 Comments so far

cialis genericPosted on  3:25 pm - May 23, 2020

generic cialis canada pharmacy

cialis from canada no prescription you have posted in this thread – female cialis – cialis reviews

buy tadalafil onlinePosted on  5:37 am - Jun 1, 2020


cialis dosage side effects tag search – where can i buy genuine cialis – cialis 5mg i forgot my password

viagra pricesPosted on  9:27 pm - Jun 5, 2020

viagra coupons

buy cheap viagra – viagra and alcohol side effects last post – prozac compatibility with viagra

cialis over the counter at walmartPosted on  6:59 am - Aug 23, 2020

cialis over the counter

cialis beech – cialis for bph – $1 53 pill of cialis = take advantage of the final price

cialis over the counter at walmartPosted on  7:44 pm - Aug 29, 2020

cialis at walmart

cialis and alcohol safe joined – genuine cialis online – cialis for 70 year olds

You must be logged in to post a comment