0% found this document useful (0 votes)
35 views24 pages

Interfacing EM-18 RFID with FireBird V

This document discusses interfacing an RFID module with a FireBird V microcontroller board. It begins with an introduction to RFIDs, explaining that RFIDs use radio waves to wirelessly transfer data and identify/track tags attached to objects. It then describes the EM-18 RFID reader module, noting its operating voltage, read frequency, range, and serial communication capabilities. Finally, it outlines how to interface the RFID module with the FireBird V board and test it, including connecting it to a USB-serial converter and writing C code.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views24 pages

Interfacing EM-18 RFID with FireBird V

This document discusses interfacing an RFID module with a FireBird V microcontroller board. It begins with an introduction to RFIDs, explaining that RFIDs use radio waves to wirelessly transfer data and identify/track tags attached to objects. It then describes the EM-18 RFID reader module, noting its operating voltage, read frequency, range, and serial communication capabilities. Finally, it outlines how to interface the RFID module with the FireBird V board and test it, including connecting it to a USB-serial converter and writing C code.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Introduction to RFID Module

EM-18 RFID Reader Module


Interfacing RFID Module On FireBird V
RFID Module Testing
C Code

Interfacing RFID Module with FireBird V

Embedded Real-Time Systems Lab


Indian Institute of Technology-Bombay

IIT Bombay
July 5, 2014

[Link] RFID Module Interface 1/11


Introduction to RFID Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
RFID Module Testing
C Code

Agenda for Discussion

1 Introduction to RFID Module


2 EM-18 RFID Reader Module
EM-18 RFID Reader Module
Continued...
3 Interfacing RFID Module On FireBird V
Application circuit of RFID Module
Interfacing RFID Module on FireBird V
4 RFID Module Testing
Connecting RFID Module to USB to Serial Converter
Sample output as seen on serial terminal
Sample output on LCD screen
5 C Code

[Link] RFID Module Interface 2/11


Introduction to RFID Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
RFID Module Testing
C Code

What is an RFID ??

X Radio-frequency identification (RFID) is the wireless non-contact use


of radio-frequency electromagnetic fields to transfer data.

[Link] RFID Module Interface 3/11


Introduction to RFID Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
RFID Module Testing
C Code

What is an RFID ??

X Radio-frequency identification (RFID) is the wireless non-contact use


of radio-frequency electromagnetic fields to transfer data.
X The main purpose of using RFID is to automatically identify and track
the active and passive tags attached to various objects in our daily life.

[Link] RFID Module Interface 3/11


Introduction to RFID Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
RFID Module Testing
C Code

What is an RFID ??

X Radio-frequency identification (RFID) is the wireless non-contact use


of radio-frequency electromagnetic fields to transfer data.
X The main purpose of using RFID is to automatically identify and track
the active and passive tags attached to various objects in our daily life.
X RFID tags are an improvement over bar codes because the tags have
read and write capabilities. Data stored on RFID tags can be
changed, updated and locked.

[Link] RFID Module Interface 3/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader

[Link] RFID Module Interface 4/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader

1 EM-18 operates on +5V power supply.

[Link] RFID Module Interface 4/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader

1 EM-18 operates on +5V power supply.


2 Read frequency of the reader is 125kHz

[Link] RFID Module Interface 4/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader

1 EM-18 operates on +5V power supply.


2 Read frequency of the reader is 125kHz
3 maximum read range is 10 cm

[Link] RFID Module Interface 4/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader

1 EM-18 operates on +5V power supply.


2 Read frequency of the reader is 125kHz
3 maximum read range is 10 cm
4 The serial transmission rate is 9600bps, TTL and
RS232 output

[Link] RFID Module Interface 4/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader Continued...

[Link] RFID Module Interface 5/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader Continued...

1 Pin 1 and 2: These are supply and ground pins

[Link] RFID Module Interface 5/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader Continued...

1 Pin 1 and 2: These are supply and ground pins


2 Pin 3: The Beep pin is the output pin which
provides series of pulses which could be connected
to an led or a buzzer for the read indication

[Link] RFID Module Interface 5/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader Continued...

1 Pin 1 and 2: These are supply and ground pins


2 Pin 3: The Beep pin is the output pin which
provides series of pulses which could be connected
to an led or a buzzer for the read indication
3 Pin 4 and 5: These two are antenna pins which
are left unconnected.

[Link] RFID Module Interface 5/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader Continued...

1 Pin 1 and 2: These are supply and ground pins


2 Pin 3: The Beep pin is the output pin which
provides series of pulses which could be connected
to an led or a buzzer for the read indication
3 Pin 4 and 5: These two are antenna pins which
are left unconnected.
4 Pin 6: SEL Pin is pulled high to get RS232
output. If the Pin is held low then data is received
from DO and D1 pins.

[Link] RFID Module Interface 5/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader Continued...

1 Pin 1 and 2: These are supply and ground pins


2 Pin 3: The Beep pin is the output pin which
provides series of pulses which could be connected
to an led or a buzzer for the read indication
3 Pin 4 and 5: These two are antenna pins which
are left unconnected.
4 Pin 6: SEL Pin is pulled high to get RS232
output. If the Pin is held low then data is received
from DO and D1 pins.
5 Pin 7: The serial output is taken from this pin in
RS232 format

[Link] RFID Module Interface 5/11


Introduction to RFID Module
EM-18 RFID Reader Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
Continued...
RFID Module Testing
C Code

EM 18 RFID Reader Continued...

1 Pin 1 and 2: These are supply and ground pins


2 Pin 3: The Beep pin is the output pin which
provides series of pulses which could be connected
to an led or a buzzer for the read indication
3 Pin 4 and 5: These two are antenna pins which
are left unconnected.
4 Pin 6: SEL Pin is pulled high to get RS232
output. If the Pin is held low then data is received
from DO and D1 pins.
5 Pin 7: The serial output is taken from this pin in
RS232 format
6 Pin 8 and 9: These Data signal Pins used to
output the data in 26 bit Wiegand format

[Link] RFID Module Interface 5/11


Introduction to RFID Module
EM-18 RFID Reader Module
Application circuit of RFID Module
Interfacing RFID Module On FireBird V
Interfacing RFID Module on FireBird V
RFID Module Testing
C Code

Application circuit

[Link] RFID Module Interface 6/11


Introduction to RFID Module
EM-18 RFID Reader Module
Application circuit of RFID Module
Interfacing RFID Module On FireBird V
Interfacing RFID Module on FireBird V
RFID Module Testing
C Code

Application circuit


To RX pin of MCU i.e., Pin 46
on expansion slot

[Link] RFID Module Interface 7/11


Introduction to RFID Module
EM-18 RFID Reader Module Connecting RFID Module to USB to Serial Converter
Interfacing RFID Module On FireBird V Sample output as seen on serial terminal
RFID Module Testing Sample output on LCD screen
C Code

USB to Serial Converter

[Link] RFID Module Interface 8/11


Introduction to RFID Module
EM-18 RFID Reader Module Connecting RFID Module to USB to Serial Converter
Interfacing RFID Module On FireBird V Sample output as seen on serial terminal
RFID Module Testing Sample output on LCD screen
C Code

USB to Serial Converter

1 The figure shows the USB to Serial converter


2 The figure shows the connections to be made for
serial transmission
3 connect the common ground - pin of the converter
4 VCC Pin of the Converter need not be connected
5 The RS232 output pin is connected to RX pin of
the Converter

[Link] RFID Module Interface 8/11


Introduction to RFID Module
EM-18 RFID Reader Module Connecting RFID Module to USB to Serial Converter
Interfacing RFID Module On FireBird V Sample output as seen on serial terminal
RFID Module Testing Sample output on LCD screen
C Code

Serial terminal

1 1. Open the serial terminal software


2 2. Set the COM port for the device
3 3. Set the baud rate to 9600
4 4. Set the number of start bits, stop bits and parity
bits
5 5. Change the Data mode to Text

[Link] RFID Module Interface 9/11


Introduction to RFID Module
EM-18 RFID Reader Module Connecting RFID Module to USB to Serial Converter
Interfacing RFID Module On FireBird V Sample output as seen on serial terminal
RFID Module Testing Sample output on LCD screen
C Code

Sample output on LCD screen of FBV

[Link] RFID Module Interface 10/11


Introduction to RFID Module
EM-18 RFID Reader Module
Interfacing RFID Module On FireBird V
RFID Module Testing
C Code

C Code

C Code

[Link] RFID Module Interface 11/11

You might also like