Showing posts with label RFID. Show all posts
Showing posts with label RFID. Show all posts

Sep 5, 2012

RFID Technology


What is a RFID 

System ?

Radio frequency identification (RFID) first appeared in tracking and access applications during the 1985 . These wireless devices systems allow for non -contact reading and are effective in manufacturing and other hostile environments where barcode labels could not survive . RFID has established it self in a wide range of m ar ket s including livestock identification and automated vehicle identification (AVI) systems because of its ability to track moving objects .

What is an Attendance Monitoring System ?

An attendance-monitoring system serves as a time log that is set up as a computerized database. An attendance- monitoring system maintains a daily record of a person's arrival and departure time from work or school. The attendance-monitoring system database is an application that contains electronic files about a person's history. An attendance-monitoring system contains a person's name, address, date of birth, medical history and attendance history. 

What is a RFID Card Based Attendance Monitoring System ?

RFID (Radio Frequency Identification) based Attendance Monitoring System is a compact unit to monitor the employees attendance through proximity access ID cards. The cards are supplied with the unit. They serve dual purpose, for both identification and for time entry.
Attendance monitoring is very simple. This System assigns a unique card number for each employee. An employee places the RFID card within 10 cm distance from the RFID Reader. The RFID Reader writes down the time, date and type of departure / arrival. The type of arrival / departure is indicated on the LCD display. The display also indicates the current time.
One RFID Reader can hold up to 50,000/80,000 event records. There 30,000/50,000 or more number is the card resister capacity. The Interface software is responsible for attendance record processing and it produces attendance reports in the customer-preferred format.

Why a Computerized Attendance Monitoring System ?

  • Want a comprehensive, flexible and extensible yet user friendly time clock software for PC?
  • Want to accurately track your employee time, attendance, punctuality and leave?
  • Want to save time by drastically reduce the time spent in calculating employee worked hours and pay?
  • Want to save money by not overpaying your employees?
  • Want to instantly know which employee is in or out of the office?
  • Want to prevent buddy punching (i.e. employee asking another employee to punch in/out for him)?
  • Want to provide your managers the convenience of tracking employee attendance remotely from their own computers?
  • Want to provide your employees the convenience of punching in/out on their own computers and at the same time have a secure network instant messaging system within your company?

Oct 10, 2010

RFID reader

RFID Reader Test Program for avr-gcc



/**************************************************************

Simple program to demonstrate the use of USART based Plug

and Play RFID reader. The program uses the following components.

* LCD Library : For Controlling a Standard 162 LCD Module
* USART Library : For Receiving Data from RFID Reader.

Program sets up USART @ 9600bps with following configuration.

*8 bit frame
*1 stop bit
*NO Parity

The UBRR Value Required is 103 (See page 168 on datasheet)

Program waits until more than 13 bytes are received over USART.

When 13 or more bytes are received we may have got one or
more RFID data packet. The program checks if the first data
byte is 2 or not. If it is 2 then it indicates that a valid
data packet is recived. The program then dumps the next 11
bytes to LCD Screen. These are the card data bytes. It then

ignores the last byte.

More information on every subject including

*Basic AVR MCU tutorials.
*USART and RS-232 Tutorial.
*LCD Interfacing Tutorial

and many other information is available on site

http://www.eXtremeElectronics.co.in

NOTICE
--------
NO PART OF THIS WORK CAN BE COPIED, DISTRIBUTED OR PUBLISHED WITHOUT A
WRITTEN PERMISSION FROM EXTREME ELECTRONICS INDIA. THE LIBRARY, NOR ANY PART
OF IT CAN BE USED IN COMMERCIAL APPLICATIONS. IT IS INTENDED TO BE USED FOR
HOBBY, LEARNING AND EDUCATIONAL PURPOSE ONLY. IF YOU WANT TO USE THEM IN
COMMERCIAL APPLICATION PLEASE WRITE TO THE AUTHOR.


WRITTEN BY:
AVINASH GUPTA
Mail: me@avinashgupta.com
Bio: www.avinashgupta.com


**************************************************************/
#include <avr/io.h>

#include "lcd.h"
#include "usart.h"

/* Simple Wait Function */
void Wait(uint8_t t)
{
uint8_t i;

for(i=0;i<t;i++)
_delay_loop_2(0);
}


void main()
{
Wait(50);

//Init LCD Module with NO Cursor
LCDInit(LS_NONE);

//Init USART @ 9600bps
USARTInit(103); //UBRR Value = 103 for 9600bps

//(See page 168 on Datasheet)

LCDClear();

LCDWriteString("RDIF Test #1");

Wait(50);

while(1)
{

LCDWriteStringXY(0,0,"Show Your Card"); //Message on line 1

LCDWriteStringXY(0,1,"Waiting "); //Message on line 2

//Check if USART has Got data from RFID
//RFID packet is always 13 bytes long

if(UDataAvailable() >= 13)
{

//Check the First byte it must be 2
if(UReadData() == 2)
{
//We got correct packet!
//Display it on LCD

LCDClear();
LCDWriteString("Card Data >>");

//Go to start of 2nd line on LCD
LCDGotoXY(0,1);

//Dump Remaining 11 bytes
uint8_t i;
for(i=0;i<11;i++)
{
LCDData(UReadData());
}

//Read and discard the last byte (Stop Byte)

UReadData();

//Wait so that user can read the LCD
Wait(200);

//Now Clear it
LCDClear();
}
}


}
}

RFID reader

RFID Reader Test Program for avr-gcc



/**************************************************************

Simple program to demonstrate the use of USART based Plug

and Play RFID reader. The program uses the following components.

* LCD Library : For Controlling a Standard 162 LCD Module
* USART Library : For Receiving Data from RFID Reader.

Program sets up USART @ 9600bps with following configuration.

*8 bit frame
*1 stop bit
*NO Parity

The UBRR Value Required is 103 (See page 168 on datasheet)

Program waits until more than 13 bytes are received over USART.

When 13 or more bytes are received we may have got one or
more RFID data packet. The program checks if the first data
byte is 2 or not. If it is 2 then it indicates that a valid
data packet is recived. The program then dumps the next 11
bytes to LCD Screen. These are the card data bytes. It then

ignores the last byte.

More information on every subject including

*Basic AVR MCU tutorials.
*USART and RS-232 Tutorial.
*LCD Interfacing Tutorial

and many other information is available on site

http://www.eXtremeElectronics.co.in

                            NOTICE
                           --------
NO PART OF THIS WORK CAN BE COPIED, DISTRIBUTED OR PUBLISHED WITHOUT A
WRITTEN PERMISSION FROM EXTREME ELECTRONICS INDIA. THE LIBRARY, NOR ANY PART
OF IT CAN BE USED IN COMMERCIAL APPLICATIONS. IT IS INTENDED TO BE USED FOR
HOBBY, LEARNING AND EDUCATIONAL PURPOSE ONLY. IF YOU WANT TO USE THEM IN 
COMMERCIAL APPLICATION PLEASE WRITE TO THE AUTHOR.


WRITTEN BY:
AVINASH GUPTA
Mail: me@avinashgupta.com
Bio:  www.avinashgupta.com


**************************************************************/
#include <avr/io.h>

#include "lcd.h"
#include "usart.h"

/* Simple Wait Function */
void Wait(uint8_t t)
{
   uint8_t i;

   for(i=0;i<t;i++)
      _delay_loop_2(0);
}


void main()
{
   Wait(50);

   //Init LCD Module with NO Cursor
   LCDInit(LS_NONE);

   //Init USART @ 9600bps
   USARTInit(103);   //UBRR Value = 103 for 9600bps 

               //(See page 168 on Datasheet)

   LCDClear();

   LCDWriteString("RDIF Test #1");

   Wait(50);

   while(1)
   {

      LCDWriteStringXY(0,0,"Show Your Card");   //Message on line 1

      LCDWriteStringXY(0,1,"Waiting    ");   //Message on line 2

      //Check if USART has Got data from RFID
      //RFID packet is always 13 bytes long

      if(UDataAvailable() >= 13)
      {

         //Check the First byte it must be 2
         if(UReadData() == 2)
         {
            //We got correct packet!
            //Display it on LCD

            LCDClear();
            LCDWriteString("Card Data >>");

            //Go to start of 2nd line on LCD
            LCDGotoXY(0,1);

            //Dump Remaining 11 bytes
            uint8_t i;
            for(i=0;i<11;i++)
            {
               LCDData(UReadData());
            }

            //Read and discard the last byte (Stop Byte)

            UReadData();

            //Wait so that user can read the LCD
            Wait(200);

            //Now Clear it
            LCDClear();
         }
      }


   }
}