Hello Readers, welcome to my Blog - A Blog For Bloggers By A Blogger. I'm Arun, an entrepreneur Blogger from India.

EM-18 RFID Reader Interfacing with ATmega16

12316
Mark as Favourite

RFID stands for Radio Frequency Identification. RFID is a basic technology that allows the identification of a device (read tag / sticker / label) to be read wirelessly by a reader (RFID reader) using radio frequency. The Tag contains a small IC containing the unique identity information. The IC is attached to an antenna which transmits its identity to a reader when it detects a reader. It detects a reader by detecting the electromagnetic energy produced by the reader. The unique identity information is transmitted as radio frequencies. The reader then converts the received radio frequencies into the identity data. Most RFID readers provide a serial interface for connecting to a microcontroller. Some of the readers also provide another interface called the Weigand Interface. The RFID Card Readers can be used in a wide variety of hobbyist and commercial applications, including access control, automatic identification, robotics navigation, inventory tracking, payment systems, and car immobilization. In this project we will use EM-18 RFID Reader. EM-18 is a 125 KHz RFID Reader module and comes with both Serial and Weigand interfaces. In serial interface, the EM-18 RFID Reader provides a 12 byte data when it reads any RFID tag.

In this project, we will learn How to interface an EM-18 RFID Reader with AVR ATmega16 microcontroller. Here, we will use the serial interface of EM-18 RFID Reader to interface the reader with the USART of microcontroller in asynchronous mode. When the RFID reader reads any RFID tag, the ATmega16 microcontroller will read the 12 byte data transmitted from RFID reader and it will display the 12 byte data in a 16X2 alphanumeric LCD.

Softwares Required

Hardwares Required

Name / Unit Price Quantity Total Price
AVR Trainer Board-100 with ATmega16
Rs. 700.00
1pc
Rs.700.00
AVR USB Programmer
Rs. 350.00
1pc
Rs.350.00
12V, 1A DC SMPS Adaptor
Rs. 130.00
1pc
Rs.130.00
EM-18 RFID Reader Module
Rs. 450.00
1pc
Rs.450.00
125KHz RFID Card
Rs. 30.00
2pc
Rs.60.00
RG1602A 16X2 Alphanumeric LCD Green
Rs. 150.00
1pc
Rs.150.00
1 to 1 Connector-Female to Female
Rs. 4.00
6pc
Rs.24.00
10 to 10 FRC Female to Female Connector
Rs. 15.00
2pc
Rs.30.00
TOTAL Rs.1894.00

Circuit Diagram

EM-18-RFID-Reader-Interfacing-with-AVR-ATmega16-Microcontroller-Circuit-Diagram-ABLab-Solutions-1024x747

Video

Connection Guide

The step-by-step connection guide for EM-18 RFID Reader Interfacing with ATmega16 is as follows:

  • Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.

    Steps - 1 ( 0f 9 )

  • Connect PortB header with LCD data header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.

    Steps - 2 ( 0f 9 )

  • Connect RS, RW & EN pins of LCD control header with PC0, PC1 & PC2 pins of PortC header respectively in AVR Trainer Board-100 with 1 to 1 Connectors.

    Steps - 3 ( 0f 9 )

  • Connect the 16X2 Alphanumeric LCD to the LCD header of AVR Trainer Board-100.

    Steps - 4 ( 0f 9 )

  • Connect the VCC, GND, SEL and RS232 pins of EM-18 RFID Reader header to VCC, GND, VCC and PD0 pins of AVR Trainer Board-100 with 1 to 1 Connectors.

    Steps - 5 ( 0f 9 )

  • Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.

    Steps - 6 ( 0f 9 )

  • Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-FM Cable.

    Steps - 7 ( 0f 9 )

  • Switch on the power with the help of Power Switch of AVR Trainer Board-100.

    Steps - 8 ( 0f 9 )

  • Download the EM-18 RFID Reader Interfacing with ATmega16 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

    Steps - 9 ( 0f 9 )

  • Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.

    Steps - 1 ( 0f 9 )

  • Connect PortB header with LCD data header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.

    Steps - 2 ( 0f 9 )

  • Connect RS, RW & EN pins of LCD control header with PC0, PC1 & PC2 pins of PortC header respectively in AVR Trainer Board-100 with 1 to 1 Connectors.

    Steps - 3 ( 0f 9 )

  • Connect the 16X2 Alphanumeric LCD to the LCD header of AVR Trainer Board-100.

    Steps - 4 ( 0f 9 )

  • Connect the VCC, GND, SEL and RS232 pins of EM-18 RFID Reader header to VCC, GND, VCC and PD0 pins of AVR Trainer Board-100 with 1 to 1 Connectors.

    Steps - 5 ( 0f 9 )

  • Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.

    Steps - 6 ( 0f 9 )

  • Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-FM Cable.

    Steps - 7 ( 0f 9 )

  • Switch on the power with the help of Power Switch of AVR Trainer Board-100.

    Steps - 8 ( 0f 9 )

  • Download the EM-18 RFID Reader Interfacing with ATmega16 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

    Steps - 9 ( 0f 9 )

Downloads

EM-18 RFID Reader Interfacing with ATmega16 C File
  • 163 downloads 4 Kb
EM-18 RFID Reader Interfacing with ATmega16 Circuit Diagram
  • 77 downloads 158 Kb
EM-18 RFID Reader Interfacing with ATmega16 Hex File
  • 81 downloads 3 Kb
USART Header File v1.0
  • 1840 downloads 2 Kb
Alphanumeric LCD Header File v1.0
  • 2593 downloads 1 Kb

Post a Comment