Advertisement

Quick Links

Contactless Card Read/Write Module(YW-201)User's Manual
Contactless Card Read/Write Module
YW-201
User's Manual
(version 1.4)
English
WEB:
http://www.youwokeji.com.cn
MSN&EMAIL: Zhou21cn@126.com
PHONE: 086-10-87171913
MOBILE: 086-13671114914
MANAGER: Mr Zhou
Contactless Card, RFID...
Page 1 / 15
http://www.youwokeji.com.cn

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the YW-201 and is the answer not in the manual?

Questions and answers

Summary of Contents for Archive YW-201

  • Page 1 Contactless Card Read/Write Module(YW-201)User’s Manual Contactless Card Read/Write Module YW-201 User’s Manual (version 1.4) English WEB: http://www.youwokeji.com.cn MSN&EMAIL: Zhou21cn@126.com PHONE: 086-10-87171913 MOBILE: 086-13671114914 MANAGER: Mr Zhou Contactless Card, RFID… Page 1 / 15 http://www.youwokeji.com.cn...
  • Page 2: Table Of Contents

    Contactless Card Read/Write Module(YW-201)User’s Manual Content Summary ............................3 YW-200 Series Module......................3 YW-201 Characteristic.......................3 Function specification ........................4 Pin Function ........................4 Dimension ........................5 Protocols.............................5 UART Protocols of Commands..................5 IIC Protocol........................7 Switch of Uart and IIC ....................8 Command List..........................8 Command test sample ......................13 6.1.request card ......................13...
  • Page 3: Content 1 Summary

    YW-201 contactless card Read/Write module was designed on high integrated reader ICs for contactless communication on 13.56MHz of Philips.YW-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.
  • Page 4: Function Specification

    Contactless Card Read/Write Module(YW-201)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. ☞Package: DIP32. ☞ Power supply :+4.5~+5.5V. ☞Read Card distance 5~10cm.(Depend on the antenna)...
  • Page 5: Dimension

    Antenna Output 2 Table 1 4.2 Dimension Pic 2 5 Protocols 5.1 UART Protocols of Commands Uart Protocols of Commands use data blocks.The format of data block : 1) Format of TXD(MCU → YW-201 Module) [STX] [LEN] [CMD] [DATA] [CHK] [ETX]...
  • Page 6 Contactless Card Read/Write Module(YW-201)User’s Manual 1 Start bit + 7 Data bits + 1 Stop bit. Asynchronism half duplex, b) The default transfer speed is 19200 bit/s. 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.
  • Page 7: Iic Protocol

    CheckSum: XOR result from [Length] to then last byte of [Content], but not include the added byte 0x10 due to 0x02,0x03 or 0x10. j) Block End ETX=0x02. 5.2 IIC Protocol 1) Format of TXD(MCU → YW-201 Module) [Address of [LEN] [CMD]...
  • Page 8: Switch Of Uart And Iic

    Contactless Card Read/Write Module(YW-201)User’s Manual Command: Refer to the Command List. The Content of n bytes: the parameter. CheckSum: XOR result from [Length] to then last byte of [DATA]. 2) Respond Format(YW-201module → MCU) [LEN] [CMD] [STATUS] [DATA] [CHK] Content...
  • Page 9 Contactless Card Read/Write Module(YW-201)User’s Manual Antenna Status(BIT0) Setting 0x01 0:Turn off Antenna 0x02 1:Turn on Antenna Auto Request(BIT1) 0x03 0:Turn off Auto Request 1:Turn on Auto Request Status: 0x00 Retur 0x04 0x01 0x00:Success 0xFF:Fail 0xFF 0x03 0x02 Send Power Status:...
  • Page 10 Contactless Card Read/Write Module(YW-201)User’s Manual 0:Use key passed. 1:Use key downloaded. b.Index of Key Downloaded(BIT2~BIT7) ->0~31 Status: 0x00 Retur 0x04 0x12 0x00:Success 0xFF 0xFF:Fail Key Set(1Byte)+Index of Sector(1Byte) +Key(6Bytes) a.Key Set(1Byte): Select Key A,B(BIT0)->0:Key A;1:Key B 8bytes Key Mode(BIT1)-> Send...
  • Page 11 Contactless Card Read/Write Module(YW-201)User’s Manual 0x08 0x00 0x00: Success, 4bytes of purse value(LSB) Retur 0x15 0x04 0xFF 0xFF: Fail Key Set(1Byte)+Index of Block(1Byte)+ Key(6Bytes) + value decrement(4Bytes,LSB) a.Key Set(1Byte): Select Key A,B(BIT0)->0:Key A;1:Key B 12Byes Send 0x0F 0x16 Key Mode(BIT1)->...
  • Page 12 Contactless Card Read/Write Module(YW-201)User’s Manual 0xFF:Fail Send 0x03 0x19 Card Halt Status: 0x00 Retur 0x00:Success 0x04 0x19 0xFF 0xFF:Fail Index of key(1Byte ,0~31)+ Send 0x0A 0x1A (6Bytes) Downloa Status: 0x00 Retur 0x04 0x1A 0x00:Success 0xFF:Fail 0xFF Address(2Bytes)+Legnth(1Bytes) Send 0x06 0x1B...
  • Page 13: Command Test Sample

    Contactless Card Read/Write Module(YW-201)User’s Manual 7 Command test sample Samples below are based on uart protocol. 6.1.request card Send:02 04 10 10 00 14 03 Receive:02 08 10 10 00 4D 56 A2 57 F6 03 6.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...
  • Page 14: 6.9.2 Initial Purse 2

    Contactless Card Read/Write Module(YW-201)User’s Manual 6.9.2 initial purse 2 Send:02 0F 14 00 3C FF FF FF FF FF FF 05 00 00 00 22 03 Receive:02 04 14 00 10 10 03 6.9.3 purse backup from 1 to 2 Send:02 0C 18 00 3D 3C FF FF FF FF FF FF 15 03...
  • Page 15: Application

    Contactless Card Read/Write Module(YW-201)User’s Manual 8 Application Pic 3 9 About the Antenna For higher capability, we can select YW-300 antenna module on the system of YW-201 Contactless card module.For more information about YW-300 antenna module, please visit http://www.youwokeji.com.cn. 10 Order Web:http://www.youwokeji.com.cn Phone:+86-10-87171913 Cell phone:+86-13671114914 Email:Zhou21cn@126.com...

This manual is also suitable for:

Yw-202Yw-203Yw-204

Table of Contents