+ All Categories
Transcript
Page 1: An RFID Module Basically Consists of Two Parts

7/30/2019 An RFID Module Basically Consists of Two Parts

http://slidepdf.com/reader/full/an-rfid-module-basically-consists-of-two-parts 1/6

Page 2: An RFID Module Basically Consists of Two Parts

7/30/2019 An RFID Module Basically Consists of Two Parts

http://slidepdf.com/reader/full/an-rfid-module-basically-consists-of-two-parts 2/6

sbit en=P1^2; //Enable pinunsigned char card_id[12];

void delay(unsigned int count) //Function to provide delay{

int i,j;for(i=0;i<count;i++)for(j=0;j<1275;j++);

}

void lcd_command(unsigned char comm) //Lcd command funtion{

lcd_data_pin=comm;en=1;rs=0;

rw=0;delay(1);en=0;

}

void lcd_data(unsigned char disp) //Lcd data function{

lcd_data_pin=disp;en=1;rs=1;rw=0;delay(1);en=0;

}

lcd_string(unsigned char *disp) //Function to send string{

int x;for(x=0;disp[x]!=0;x++)

{lcd_data(disp[x]);

}}void lcd_ini() //Function to initialize the LCD{

lcd_command(0x38);delay(5);lcd_command(0x0F);

Page 3: An RFID Module Basically Consists of Two Parts

7/30/2019 An RFID Module Basically Consists of Two Parts

http://slidepdf.com/reader/full/an-rfid-module-basically-consists-of-two-parts 3/6

delay(5);lcd_command(0x80);delay(5);

}

void recieve() //Function to recieve data serialy from RS232{

unsigned char k;for(k=0;k<12;k++){

while(RI==0);card_id[k]=SBUF;RI=0;

}}

void main(){

int l;TMOD=0x20; //Enable Timer 1TH1=0XFD;SCON=0x50;TR1=1; // Triggering Timer 1lcd_ini();lcd_command(0x81); //Place cursor to second position of first linelcd_string("UNIQUE CARD ID:");delay(200);while(1){

recieve();lcd_command(0xC1); //Place cursor to second position of

second linefor(l=0;l<12;l++){

lcd_data(card_id[l]);}

}}

Page 4: An RFID Module Basically Consists of Two Parts

7/30/2019 An RFID Module Basically Consists of Two Parts

http://slidepdf.com/reader/full/an-rfid-module-basically-consists-of-two-parts 4/6

27,829-Reads

MAX232 The MAX232 IC is used to convert the TTL/CMOS logic

levels to RS232 logic levels during serial communication of

microcontrollers with PC. The controller operates at TTL

logic level (0-5V) whereas the serial communication in PC

works...

96,471-Reads

AT89C51 Microcontroller

AT89C51 is an 8-bit microcontroller and belongs to Atmel's8051 family . ATMEL 89C51 has 4KB of Flashprogrammable and erasable read only memory (...

81,594-Reads

LCD

LCD (Liquid Crystal Display) screen is an electronic displaymodule and find a wide range of applications. A 16x2 LCD

display is very basic module and is very commonly used invarious devices and circuits. These modules are preferredover seven segments...

Store

Welcome to the Learning Zone, in partnership with element14

EngineersGarage and element14 brings you the learning and expertise ofindustries across the globe.1. Webinars & Videos: Together with our manufacturer partners, we offer Webinars on

a wide range of engineering topics. And as a member of the element14 Community,

access to live and pre-recorded events is always free. Check out some of our most

recent Webinars:

Page 5: An RFID Module Basically Consists of Two Parts

7/30/2019 An RFID Module Basically Consists of Two Parts

http://slidepdf.com/reader/full/an-rfid-module-basically-consists-of-two-parts 5/6

Analog Devices: An introduction to OPAMS ARM : Debugging an ARM design with Keil U

Agilent Technologies: Measuring RF using a spectrum analyzer EAO Corp: Design Consideration for HMI Sys

Eagle: Basics of PCB Designing

Register free for upcoming Webinars Checkout more Webinar, Video & Tutorial !

2. Ask industry experts: Have a question and can't find the answer? Here on

element14, we have a wide range of industry leading experts just waiting to answer your

questions.

Ask one of our expertstoday!

Arduino

Simon Monk is an author, writing books for

TAB/McGraw-Hill and O'Reilly. He is best known for his

Arduino books: 'Programming Arduino' and '30 Arduino

Projects for the Evil Genius'. He spent several years as

an academic before he returned to industry, co-

founding the mobile software company Momote Ltd.

Richard Hammerl Cad Soft EAGLE

Ken Boyce Communication

Claude de Lorraine Connectors

PCB

Molly O'Hara has 15 years of experience in the

electronics industry, specifically related to PCB

Fabrication. Her strong background in this space has

led to her holding a management role at SunstoneCircuits, the established leader in providing innovative

and reliable PCB solutions for the electronic design

industry.

Roy Lou

Development Kit

David Cox Legislation & Compliance

Page 6: An RFID Module Basically Consists of Two Parts

7/30/2019 An RFID Module Basically Consists of Two Parts

http://slidepdf.com/reader/full/an-rfid-module-basically-consists-of-two-parts 6/6

Max Jacob Passives and Battery

Embedded

Paul Clarke has 20+ years of working as a digital

electronics engineer and has strong software skills in

assembly and C for embedded systems. Currently

developing embedded electronics for thermal

management control solutions for the air movement

industry (HVAC & RAC).

Orlando Diaz Sensing

Bryan Thompson

Test and Measure

Stay tuned, Stay connected!

Thank you

element14 & EngineersGarage Teams

50571 reads


Top Related