13.56Mhz RFID module - IOS/IEC 14443 type a
Introduction
Specification
- Model No. RDM880-T-A
- R/W chip MFRC500,MFRC400,MFRC531,MFRC632
- Standard ISO/IEC 14443 type a
- Frequency 13.56MHz
- Baud Rate 9600-115200bit/s(configurable, default9600)
- Power supply DC5V(5%)
- Current <70mA
- Operating range 30-100mm(reading range depend on antenna and card/tag)
- interface TTL electrical level
- Working temperature -10 degree to 70 degree
- Storage temperature -20 degree to 80 degree
- Size 39199 mm(DIP28)
External Links
Links to external webpages which provide more application ideas, documents/datasheet or software libraries.
- Basic example, use the RDM880 with a buspirate: http://neophob.com/2010/03/bus-pirate-fun-rdm880-rfid-module/
- Python library to access the RDM880 https://github.com/synack/rfid
- Maker’s site http://www.datarfid.com/doce/Product/pic_69.html
Connecting to an Arduino
The SeeedStudio 13.56Mhz RFID module is an RFID reader capable support ISO14443A, Mifare series card over a serial line. It can easely be attached to an arduino to have RFID fun.
Schematics
.-----------------------------. | [1][2] [5][4][3][2][1] | | J3 J1 | | RDM880 (top view) | | J2 | | [5][4][3][2][1] | .-----------------------------.
J1:(accessory pins) PIN 1 -- LEDG (Green led) PIN 2 -- 5V (DC) PIN 3 -- GND PIN 4 -- LEDR (Red led) PIN 5 -- BUZ (Buzzer)
J1 Alt: Note that some units are arranged:
PIN 1 -- PIN 2 -- PIN 3 -- LED1 (Green led) PIN 4 -- LED2 (RED led) PIN 5 -- BUZ (Buzzer)
J2:(Communication using serial 9600 8N1 TTL level) PIN 1 -- RESET (pull low to reset e.g. set default baudrate) PIN 2 -- RX PIN 3 -- TX PIN 4 -- GND PIN 5 -- 5V (in) J3: PIN 1 -- + Antenna PIN 2 -- - Antenna
Connecting to an Arduino
Use the J2 pin headers to connect 5 volt and the ground as shown in the picture. Connect the TX (Pin 3) to the Arduino digital pin 2 and RX to digital pin 3 as shown bellow. It is not needed to connect the reset as long as you don’t change the default connection speed.
Software
[PROTOCOL-821-880_2_.pdf] describes the protocol used for now we only created a small program to read the RDIF tag number when pressing enter in the Serial monitor of the Arduino IDE
Warning: when writing your sketches use only system, Type-A and Mifare commands. ISO14443-B and ISO15693 are accepted only by RDM880-T-E (not ‘A’) reader! And as of today (21 may, 2012) remember that this module does not support anticollision for Mifare cards – sometimes it tells there’s more than one card, but there’s no way to address the non-default card. It’s a firmware issue, confirmed by manufacturer.
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3);
char txrxbuffer[255];
char get_readID[] = { 0xAA , 0x00, 0x03, 0x25, 0x26, 0x00, 0x00, 0xBB };
void setup()
{
Serial.begin(57600);
Serial.println("Hit Enter to read the RFID number");
mySerial.begin(9600);
}
void loop() // run over and over
{
int counter = 0;
if (mySerial.available())
Serial.print(mySerial.read(),HEX);
if (Serial.available()){
Serial.read();
Serial.println(">");
for (counter =0 ; counter < 8 ; counter++){
mySerial.write(get_readID[counter]);
}
}
}
Resource
- API and Demo Code on Windows and Linux for13.56M RFID Reader (download this tools if you want to write data to your tag)
Help us make it better
Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:
- Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
- Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
- Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.
An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.
Happy hacking
댓글 없음:
댓글 쓰기