Contactless Card Read/Write Module(QM-201C-HF)User’s Manual Contactless Card Read/Write Module QM-201C-HF User’s Manual (version 1.4) English WEB: MSN&EMAIL: PHONE: MOBILE: Contactless Card, RFID… www.quio-rfid.de www.quio-rfid.de kontakt@quio-rfid.
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual Content 1 2 Summary ....................................................................................................................................3 QM-200 Series Module..........................................................................................................3 3 4 QM-201C-HF Characteristic...........................................................................................................3 Function specification .....
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual 1 Summary QM-201C-HF contactless card Read/Write module was designed on high integrated reader ICs for contactless communication on 13.56MHz of Philips.QM-201 integrates MF RC500 RF base station . Engineers need not take care how to control MF RC500 RF base station. Just send command to module over IIC or UART.
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual ☞Communication Protocol: 1. UART: Baud Rate 19200bps。 2. IIC:Max rate 400Kbps。 ☞Auto request card: When the card put into antenna, the pin “CARDIN” will be low. ☞Power supply :+4.5~+5.5V. ☞Read Card distance 5~10cm.(Depend on the antenna) ☞You can get C51 source code example with theh module. 4 Function specification 4.
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual NC NC 9 10 Not Use Not Use Table 1 4.2 Dimension Pic 2 5 Protocols 5.1 UART Protocols of Commands Uart Protocols of Commands use data blocks.
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual c) Block Header STX=0x02, Block End ETX=0x03. From header to end ,but not include the header STX and the end ETX, if there is 0x02,0x03 or 0x10 , then must add 0x10 before it. d) Block Header STX=0x02. e) Package Length: the byte from Length itself to Checksum, but not include the added byte 0x10 due to 0x02,0x03 or 0x10. f) Command: Refer to the Command List. g) The Content of n bytes: the parameter.
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual c) Block Header STX=0x02, Block End ETX=0x03. From header to end ,but not include the header STX and the end ETX, if there is 0x02,0x03 or 0x10 , then must add 0x10 before it. d) Block Header STX=0x02. e) Package Length: the byte from Length itself to Checksum, but not include the added byte 0x10 due to 0x02,0x03 or 0x10. f) Command: Refer to the Command List.
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual g) CheckSum: XOR result from [Length] to then last byte of [DATA]. 2) Respond Format(QM-201C-HFmodule → MCU) [LEN] [CMD] [STATUS] [DATA] [CHK] Package Length Command 0x00:Success 0xFF: Fail The Content of n bytes CheckSum 1 1 1 n 1 Content Num of Byte Table 5 h) Package Length: the byte from Length itself to Checksum. i) Command: Refer to the Command List. j) Status: k) The Content of n bytes: the parameter.
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual Auto Request(BIT1) 0x03 0:Turn off Auto Request 1:Turn on Auto Request Retur n Send 2 Power Setting Retur n 0x04 0x00 0x01 0xFF 0x03 0x04 Status: 0x00:Success 0xFF:Fail 0x02 0x02 Status: 0x00:Success 0xFF:Fail 0x00 0xFF Contactless card Command Request card mode: 0x00 Send 0x04 0x00: request all card in antenna area 0x10 0x01: request card that have not halted in 0x01 3 Request antenna area Seri Card Retur 0x08 0x00 N
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual ->0~31 Retur n Status: 0x00:Success 0xFF:Fail 0x00 0x04 0x12 0xFF Key Set(1Byte)+Index of Sector(1Byte) +Key(6Bytes) a.Key Set(1Byte): Select Key A,B(BIT0)->0:Key A;1:Key B Send 6 0x0B 0x13 8bytes Key Mode(BIT1)-> 0:Use key passed. Read 1:Use key downloaded. Sector b.Index of Key Downloaded(BIT2~BIT7) ->0~31 Retur n 0x44 0x13 0x00 0x04 0x13 0xFF Dat a 0x00:success, 64bytes of data return.
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual Key Set(1Byte)+Index of Block(1Byte)+ Key(6Bytes) + value of decrement(4Bytes,LSB) a.Key Set(1Byte): decremen 9 Send 0x0F 0x16 12Byes Select Key A,B(BIT0)->0:Key A;1:Key B Key Mode(BIT1)-> 0:Use key passed. t 1:Use key downloaded. b.Index of Key Downloaded(BIT2~BIT7) ->0~31 Retur n 0x00 0x04 0x16 0xFF Status: 0x00:Success 0xFF:Fail Key Set(1Byte)+Index of Block(1Byte)+ Key(6Bytes) + value of Increment(4Bytes,LSB) a.
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual Retur n 0x00 0x04 Status: 0x00:Success 0xFF:Fail 0x19 0xFF Index of key(1Byte Send 0x0A 0x1A Key 13 ,0~31)+ Key Downloa (6Bytes) d Retur n Send Status: 0x00:Success 0xFF:Fail 0x00 0x04 0x1A 0xFF 0x06 Address(2Bytes)+Legnth(1Bytes) Ps: 0x1B Address: High byte afront Length: not more than 16 Read 14 RC500 EEPROM Retur n Send n+4 0x00 0x1B 0x04 n+5 0x1C Write 15 Dat a 0xFF 0xFF: fail N data Address(2Bytes)+Data(nBytes
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual 7.1.request card Send:02 04 10 10 00 14 03 Receive:02 08 10 10 00 4D 56 A2 57 F6 03 7.2.read block Send:02 0B 11 00 3E FF FF FF FF FF FF 24 03 Receive:02 14 11 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 03 7.3.write block Send:02 1B 12 00 3E FF FF FF FF FF FF 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 36 03 Receive:02 04 12 00 16 03 7.
Contactless Card Read/Write Module(QM-201C-HF)User’s Manual 7.9.4 read purse 2 Send:02 0B 15 00 3C FF FF FF FF FF FF 22 03 Receive:02 08 15 00 FF 04 00 00 E6 03 7.10.card halt Send:02 10 03 19 1A 03 Receive:02 04 19 00 1D 03 7.11.read RC500EEPROM Send:02 06 1B 00 70 10 10 7D 03 Receive:02 14 1B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 03 7.12.write RC500EEPROM Send:02 15 1C 00 70 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 79 03 Receive:02 04 1C 00 18 03 7.