Interfacing EM-18 μRFID reader TTL protocol with Arduino Uno

µRFID Reader used to read our RFID cards. Using the module with microcontrollers to read a card’s data is very simple and required just a serial connection. The module should be powered at 3.3 – 5.5 VDC, and it requires a direct connection to the microcontroller’s Serial Rx pin. The card data is transmitted over the serial line when the card is brought near the module.

RFID is Radio Frequency Identification. An RFID reader is used to read RFID tags (which contain certain unique data stored in a chip). An RFID reader and an RFID tag, both have a coil surrounding them. When an RFID tag is shown near an RFID Reader, it collects the unique tag data (a combination of digits and characters) from the RFID tag. Power the μRFID reader; when an RFID tag is shown near the reader, electromagnetic induction will take place between the coils and this powers the chip inside tag. This chip will send data electromagnetically to the reader. The reader will receive this electromagnetically transferred data and outputs it serially. Every RFID reader comes with Serial output pins. We can collect the read data through these serial pins using arduino.

  • When a high value is sent to the SEL pin of the reader, TTL Serial communication is enabled.
  • The output in this mode is the 10 digit card no (ASCII) + 2 digit XOR result (ASCII)

Communication parameters are-For eg: If the RFID tag number is 500097892E, output of µRFID reader will be 500097892E60 where 60 is 50 xor 00 xor 97 xor 89 xor 2E

Interfacing μRFID reader TTL protocol with Arduino Uno

Arduino Uno is an open source physical computing platform based on ATmega328 microcontroller and provides a development environment for writing software for the board. It can be used for a variety of projects.

A TTL compatible output pin can be connected directly to Arduino. Make sure you connect Ground Pin of RFID reader to Ground Pin of Arduino.

Sample Code to read TTL data via Arduino UNO

Upload the program

Resources

How to Buy?

Support

Please share your ideas with us, visit our forum for discussion

Frequently Asked Questions(FAQ):

Q. What is the frequency range of μRFID reader?
Ans. The operating frequency range of RFID card is 125kHz.

Q. What are the protocols μRFID reader supported?
Ans. There are two supported protocols namely TTL Serial & Wiegand 26 as per the system design.

Leave a Reply to Interfacing EM-18 μRFID reader TTL protocol with AT89S52 Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">