loading

In this tutorial we are going to design a system to read the ID of RFID cards. RFID stands for Radio Frequency Identification. Each card has a unique ID embedded in it. These systems have many applications, like in offices, shopping malls and in many other places where only the person with authorization card is allowed to enter in the room. RFID is used in shopping malls to stop a theft from happening, here the product will be tagged with RFID chip and when a person leaves a building with the RFID chip an alarm is raised automatically and so the theft is stopped. The RFID tag is designed as small as grain of sand. The RFID authentication systems are easy to design and are cheap in cost. Some schools and colleges nowadays use RFID as attendance register.

Step 1: Components Required

  1. arduino uno x1
  2. 100uF capacitor x1
  3. buttons x 2
  4. 1k-ohm resistor x 2
  5. RFID reader module x1
  6. LED x1
  7. 16x2 LCD x1

software : arduino ide

Step 2: LCD CONNECTION

arduino and lcd

>PIN1 or VSS to ground

>PIN2 or VDD or VCC to +5v power

>PIN3 or VEE to ground (gives maximum contrast best for a beginner)

>PIN4 or RS (Register Selection) to PIN8 of ARDUINO UNO

>PIN5 or RW (Read/Write) to ground (puts LCD in read mode eases the communication for user)

>PIN6 or E (Enable) to PIN9 of ARDUINO UNO

>PIN11 or D4 to PIN10 of ARDUINO UNO

>PIN12 or D5 to PIN11 of ARDUINO UNO

>PIN13 or D6 to PIN12 of ARDUINO UNO

>PIN14 or D7 to PIN13 of ARDUINO UNO

Step 3: RFID Module

Step 4: CIRCUIT

Step 5:


#include

//initialise the library with the numbers of the interface pins

LiquidCrystal lcd(8, 9, 10, 11, 12, 13)//RS,EN,D4,D5,D6,D7

int count = 0; //integer for storing character of ID

void setup()

{

//set up the LCD's number of columns and rows:

lcd.begin(16,2);

Serial.begin(9600);//serial communication enabling by 9600 baud rate

pinMode(0,INPUT);//receive pin set all output

lcd.print("RFID");//write whatever name u want

lcd.setCursor(0,1);//move cursor to second line use buttons

}

void loop()

{

while(Serial.available() && count < 12) //read 12 characters and store them in input array

{

input[count] = Serial.read();//storing 12 characters one by one

count++;

lcd.print(input[count]);//storing 12 characters on LCD one by one

if(count==12)

{

lcd.print(" ");

count = 0;//once 12 characters are used get to start and wait for a second ID

lcd.setCursor(0,1);//move cursor to start

}

}

}

If u like my first intractable, please please vote for me in Circuits contest 2016

<p>where is the movie? ı wish that</p>

About This Instructable

4,427views

54favorites

Bio: time passing when in mood, do crazy stuff with friends and occasionally with gaming stuff and arduino and beagle bone
More by REGATTE:Hackintosh Phone Controlled Signal Jammer MINI AMPLIFIER SPEAKER 
Add instructable to: