Friday, January 9, 2015

Reading RFID tags with Arduino

Last night I tried a little thing, following the details provided in this link. I received a simple RFID reader module which I wanted to try by connecting to an Arduino board. According to the details provided in the above link, I succeeded in reading a passive RFID tag details. For my future reference, I'm writing it down in this article. The RFID module I used for this task is RDM6300 which comes as a small PCB together with externally pluggable coil for the antenna. We have to connect this gadget with an Arduino board to be able to access it from our Arduino program. Pin connectivity details of the device is as follows.

Arduino pin RFID module pin
2 LED
6 TX
+5V +5V
GND GND

Pins of the RFID module can be identified from the following diagram.


After connecting the RFID module to the Arduino board, we have to program the Arduino board with a special firmware which can read RFID tag details. In Maniacbug's blog post, there are two programs provided where first one just print the raw data read from RFID tags while the second one prints the correct TAG ID after making some processing with checksum calculations. I forked his codes from GIST for my purposes which can be accessed from following links.


Running the second program resulted in the following output in my serial monitor which shows the tag ID correctly.

Serial monitor output when reading a tag.


2 comments:

  1. I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.RFID tags

    ReplyDelete
  2. I simply discovered this site and have high trusts in it to proceed. Keep up the considerable work, its elusive great ones. I have added to my top picks. Much thanks to You. RFID tags

    ReplyDelete