You are on page 1of 35

RFID BASED LIBRARY

MANAGENMENT
SYSTEM

SUBMITTED TO: SUBMITTED BY:

Mr. MUKESH CHAUHAN BHAVIKA KHURANA


SHASHIKANT
ANISHA SHARMA
ARUNA RANA
PRESENTATION OUTLINE

 About RFID

 RFID in library

 Benefits of our project

 Conclusion
WHAT IS RFID?

Radio Frequency Identification


Identification system that consists of

ANTENNA TRANSCEIVER RF TAG


ANTENNA
Receives and transmits the
radio frequency signals
Wireless data transfer
integrated in the reader for short
range applications
TRANSCEIVER

 Interrogate an RFID Tag


 has an antenna that emits radio wave,
the tag receives that wave and send
back to it’s data
RF TAG
CHIP

PACKAGING

ANTENNA

TAGS ARE OF TWO TYPES


 PASSIVE TAG
ACTIVE TAG
RF TAG - ACTIVE VS. PASSIVE

Active RFID Passive RFID


Tag Power Source Internal to tag Energy transferred using
RF from reader
Tag Battery Yes No
Availability of power Continuous Only in field of reader
Required signal strength Very Low Very High
to read tag
Range Up to 100 meters Up to 3-5m, usually less
Multi-tag reading 1000’s of tags recognized – Few hundred within 3m of
speeds up to 100 miles/hour. reader

Data Storage Up to 1Mb of read/write with 128 bytes of read/write


sophisticated search and
access
8
WHY RFID?

 LONG READ RANGE

 SPEED OF FREQUENCY

 LOW COST
HOW RFID WORKS
RFID IN LIBRARY
BENEFITS OF OUR PROJECT

 INVENTORY TRACKING

 AUTOMATIC ISSUEING AND


RETURNING

 ANTI-THEFT SECURITY
MAIN CIRCUIT DIAGRAM

RF MODULE

LCD

MICROCONTROLLER

POWER SUPPLY

BUZZER
WORKING

BUZZER
LED(GREEN
)
RFID
MICROCONTROLLER LCD READER

LED(RED)

TAG ANTENNA

POWER
SUPPLY
KEIL UVISION 3

 Provides with software development tools


for 8051 based microcontrollers

 Keil software converts the C-codes into


the Intel Hex
PROGRAM
#include<reg51.h>

sbit RS=P3^4;
sbit EN=P3^5;

void Rxmsg(void);
void lcdinit(void);
void lcdData(unsigned char l);
void lcdcmd(unsigned char k);
void DelayMs(unsigned int count);
void Welcome(void);
void Student(void);
void Book1(void);
void Book2(void);
void unknown(void);
void Issue(void);
void Return(void);
void display(unsigned char s, t);
void main()
{
unsigned char i=0,issue1=0, issue2=0,student=0;
unsigned int j=0;
unsigned char c[15];

TMOD=0x20; // Configure the serial port to 9600 baud rate


TH1=0xFD;
SCON=0X50;
TR1=1;

lcdinit();
Welcome();
DelayMs(1000);

while(1)
{
back:

for(i=0;i<15;i++) //command to recv data


{
c[i]=0xFF;
}
while(RI==0);

for(i=0;i<15;i++) //command to recv data


{
j=0;
while(RI==0)
{
if(j>=1000)
goto timeout;
j++;
}
c[i]=SBUF;
RI=0;
}

timeout:
for(i=0;i<15;i++)
{
if(c[i]=='0' && c[i+1]=='0' && c[i+2]=='B' && c[i+3]=='7' && c[i+4]=='2'
&& c[i+5]=='7' && c[i+6]=='C' && c[i+7]=='E')
{
Student();
student=1;
goto back;
}
if(c[i]=='0' && c[i+1]=='0' && c[i+2]=='7' && c[i+3]=='C' &&
c[i+4]=='D' && c[i+5]=='5' && c[i+6]=='9' && c[i+7]=='5')
{
if(student==1 && issue1==0)
{
Book1();
Issue();
issue1=1;
}
else if(student==1 && issue1==1)
{
Book1();
Return();
issue1=0;
}
else
Book1();
student=0;
goto back;
}
if(c[i]=='0' && c[i+1]=='0' && c[i+2]=='7' && c[i+3]=='C' && c[i+4]=='A' &&
c[i+5]=='B' && c[i+6]=='5' && c[i+7]=='2')
{
if(student==1 && issue2==0)
{
Book2();
Issue();
issue2=1;
}
else if(student==1 && issue2==1)
{
Book2();
Return();
issue2=0;
}
else
Book2();
student=0;
goto back;
}
if(c[i]=='0' && c[i+1]=='0' && c[i+2]=='B' && c[i+3]=='7' && c[i+4]=='6' && c[i+5]=='1'
&& c[i+6]=='E' && c[i+7]=='0')
{
unknown();
goto back;
}
}
}
}

void Welcome(void)
{
unsigned int i=0;
unsigned char c[]="accurate library";
unsigned char d[]="Management Sys.";

lcdcmd(0x01);
DelayMs(10);
lcdcmd(0x80);
DelayMs(10);
i=0;
while(c[i]!='\0')
{
lcdData(c[i]);
i++;
}

lcdcmd(0xc0);
DelayMs(10);

i=0;
while(d[i]!='\0')
{
lcdData(d[i]);
i++;
}
}

void Student()
{
unsigned int i=0;
unsigned char c[]="shishir mishra";
lcdcmd(0x01);
DelayMs(10);
lcdcmd(0x80);
DelayMs(10);

while(c[i]!='\0')
{
lcdData(c[i]);
i++;
}
}

void unknown(void)
{
unsigned int i=0;
unsigned char c[]="unissued book";

lcdcmd(0x01);
DelayMs(10);
lcdcmd(0x80);
DelayMs(10);
while(c[i]!='\0')
{
lcdData(c[i]);
i++;
}
}

void Book1(void)
{
unsigned int i=0;
unsigned char c[]="Mazidi & Mazidi";

lcdcmd(0x01);
DelayMs(10);
lcdcmd(0x80);
DelayMs(10);

while(c[i]!='\0')
{
lcdData(c[i]);
i++;
}
}
void Book2(void)
{
unsigned int i=0;
unsigned char c[]="A. K. Sawhney";

lcdcmd(0x01);
DelayMs(10);
lcdcmd(0x80);
DelayMs(10);

while(c[i]!='\0')
{
lcdData(c[i]);
i++;
}
}

void Issue(void)
{
unsigned int i=0;
unsigned char c[]="Book Issued";

lcdcmd(0xC0);
DelayMs(10);
while(c[i]!='\0')
{
lcdData(c[i]);
i++;
}
}

void Return(void)
{
unsigned int i=0;
unsigned char c[]="Book Returned";

lcdcmd(0xC0);
DelayMs(10);

while(c[i]!='\0')
{
lcdData(c[i]);
i++;
}
}
/*
void display(unsigned char s, t)
{
s=s+0x30;
t=t+0x30;

lcdData(s);
DelayMs(10);
lcdData(t);
DelayMs(10);
}*/
//---------------------------------------
// Lcd initialization subroutine
//---------------------------------------
void lcdinit(void)
{
lcdcmd(0x38);
DelayMs(250);
lcdcmd(0x0E);
DelayMs(250);
lcdcmd(0x01);
DelayMs(250);
lcdcmd(0x06);
DelayMs(250);
lcdcmd(0x80);
DelayMs(250);
}
//---------------------------------------
// Lcd data display
//---------------------------------------
void lcdData(unsigned char l)
{
P2=l;
RS=1;
EN=1;
DelayMs(1);
EN=0;
return;
}
//---------------------------------------
// Lcd command
//---------------------------------------
void lcdcmd(unsigned char k)
{
P2=k;
RS=0;
EN=1;
DelayMs(1);
EN=0;
return;
}
//---------------------------------------
// Delay mS function
//---------------------------------------
void DelayMs(unsigned int count)
{ // mSec Delay 11.0592 Mhz
unsigned int i; // Keil v7.5a
while(count) {
i = 115; // 115 exact value
while(i>0)
i--;
count--;
}
}
RFID VS BARCODE
RFID VS BARCODE
Non line-of-sight, reliable
Dynamic information carrier
Anti-collision
Robust, reliable and highly efficient
Performs in rugged, harsh environment
Cheaper in long term
No human intervention
Scanning can be done at greater distances.
ADVANTAGES OF RFID

 Non-line-of-sight nature.

 Reductions in Costs

 Reduction in Inventory and Theft

 Planning and overall customer


experience
APPLICATIONS

ASSET TRACKING

PEOPLE TRACKING

DOCUMENT TRACKING

 HEALTHCARE
CONCLUSION
Integration of RFID with digital
libraries ensure considerable security
and facilitate the librarians

information scientists to provide


more value added services to users
community in digital environment and
work comfortably for digital future.

You might also like