Page 1
YHY638F 13.56MHz RFID Reader/Writer User Manual Ordering Information: Item No. Description YHY638FU 13.56MHz Multi Protocol Reader/Writer USB Interface YHY638FR 13.56MHz Multi Protocol Reader/Writer RS232 Interface 1 Supported cards ISO 14443 TypeA: Mifare_One(S50&S70)/UltraLight/Mifare_ProX ISO 14443 TypeB: AT88RF020/SR176/SRIX4K ISO 15693: Tag_it(2k), HF-1/I.CODE SLI and more...
Page 2
160g (YHY638FR) 3 Connecting Connect the YHY638F to the USB or RS232 port of PC, after power on the RED led and GREEN led will flash one time, then the GREEN led will light on again, next the buzzer will beep twice, it means that the reader is ready now.
Page 3
YHY638F 13.56MHz RFID Reader/Writer User Manual Connect one of the A type USB connector to the rear side of the YHY638FR, another USB connector which near the serial connector connect to the host USB port for power the device, and connect the 9pin COM port to HOST COM port.
YHY638F 13.56MHz RFID Reader/Writer User Manual 4 Electrical Characteristics 4.1 Operating Condition Range Relative humidity:up to 90% Symbol Parameter Conditions Unit ℃ Tamb Ambient Temperature DC Supply DVSS = Voltage Table 1 - Operating Condition Range 4.2 Current Consumption Symbol...
YHY638F 13.56MHz RFID Reader/Writer User Manual baud rate 115200 RS232 baud rate 9600 115200 115200 baud Table 4 - Serial Interface 5. DEMO This software rfidxray.exe run on Win32 system. 5.1 COM setup First run RFIDXray.exe, then connect the reader to PC COM port.Choose the correct COM number, click [Connect] button to connect the Reader to PC.Baud...
Page 6
YHY638F 13.56MHz RFID Reader/Writer User Manual 5.3 Mifare_1K (STD S50) Click the [Request] button to obtain the card serial number. Input the correct password to read, write, increase or decrease the card. Version 1.0 Page 6 of 28 Apr 2010...
Page 7
YHY638F 13.56MHz RFID Reader/Writer User Manual 5.4 Mifare_4K (STD S70) Click the [Request] button to obtain the card serial number. Input the correct password to read, write, increase or decrease the card. 5.5 Mifare_ProX Click [Reset] button to obtain the serial number and the reset information of Version 1.0...
Page 8
YHY638F 13.56MHz RFID Reader/Writer User Manual the card according to ISO14443-4 protocol. Input the COS command, click [Send] button to commute data to card. 5.6 SR176 Click [Req] button to obtain the ID number of the card. Then you can read, write and lock blocks of the card.
Page 9
YHY638F 13.56MHz RFID Reader/Writer User Manual 5.7 SRIX4K Click [Req] button to obtain the ID number of the card and click [Read UID] to obtain the UID of the card. Then you can read, write and lock blocks of the card.
Page 10
YHY638F 13.56MHz RFID Reader/Writer User Manual Click [INVENTORY] button to obtain the serial number of the card. You can operate 4 cards at most. Choose certain card according to the UID to read or write. This demo can display 4 label’s id only.
Page 11
YHY638F 13.56MHz RFID Reader/Writer User Manual Click [INVENTORY] button to obtain the serial number of the card. You can operate 4 cards at most. Choose certain card according to the UID to read/write. 5.11 HELP You can search DLL function defined in the help file.
Page 12
YHY638F 13.56MHz RFID Reader/Writer User Manual 5.12 DISCONNECT READER 5.13 EXIT 6. DLL INFORMATION ( icdev=0 ) 6.1 SYSTEM FUNCTION 6.1.1 INT WINAPI LIB_VER Function: Get DLL Version Prototype: int WINAPI lib_ver (unsigned int *pVer) Parameter: pVer: [OUT] DLL version Version 1.0...
Page 13
YHY638F 13.56MHz RFID Reader/Writer User Manual Return: return 0 if successful 6.1.2 INT WINAPI RF_INIT_COM Function: Connect Prototype: int WINAPI rf_init_com (int port, long baud) Parameter: port: [IN] serial port number baud: [IN] communication baud rate, 19200 ~ 115200 bps...
Page 14
YHY638F 13.56MHz RFID Reader/Writer User Manual Function: Manage LED Prototype: int WINAPI rf_light (unsigned short icdev, unsigned char color) Parameter: icdev: [IN] Device ID color: [IN] 0 = off 1 = red 2 = green 3 = yellow (RFU) Return: return 0 if successful 6.1.8 INT WINAPI RF_BEEP...
Page 15
YHY638F 13.56MHz RFID Reader/Writer User Manual unsigned char block, unsigned char *pData, unsigned char *pLen) Parameter: icdev: [IN] Device ID block: [IN] block absolute address pData: [OUT] response data from card pLen: [OUT] length of response data Return: return 0 if successful Explanation: this function is also applicable for UltraLight card.
YHY638F 13.56MHz RFID Reader/Writer User Manual Parameter: icdev: [IN] Device ID bcnt: [IN] must be 4 pSnr: [OUT] response data from card, unique serial number pLen: [OUT] length of response data Return: return 0 if successful 6.2.2.3 INT WINAPI RF_SELECT...
Page 17
YHY638F 13.56MHz RFID Reader/Writer User Manual Prototype: int WINAPI rf_M1_write (unsigned short icdev, unsigned char block, unsigned char *pData) Parameter: icdev: [IN] Device ID block: [IN] block absolute address pData: [IN] written data, 16 bytes Return: return 0 if successful 6.2.2.7 INT WINAPI RF_M1_INITVAL...
Page 18
YHY638F 13.56MHz RFID Reader/Writer User Manual 6.2.2.11 INT WINAPI RF_M1_RESTORE Function: Mifare_Std Restore Prototype: int WINAPI rf_M1_restore (unsigned short icdev, unsigned char block) Parameter: icdev: [IN] Device ID block: [IN] block absolute address Return: return 0 if successful 6.2.2.12 INT WINAPI RF_M1_TRANSFER...
YHY638F 13.56MHz RFID Reader/Writer User Manual cmdLen: [IN] length of COS command pData: [OUT] response data from card, including SW1& SW2 pMsgLg: [OUT] length of response data Return: return 0 if successful 6.2.3.3 INT WINAPI RF_CL_DESELECT Prototype: int WINAPI rf_cl_deselect (unsigned short icdev)
YHY638F 13.56MHz RFID Reader/Writer User Manual Parameter: icdev: [IN] Device ID page: [IN] page address, 0 ~ 31 pData: [OUT] response data from card pMsgLen: [OUT] length of response data Return: return 0 if successful 6.3.2.5 INT WINAPI RF_ AT020_WRITE...
YHY638F 13.56MHz RFID Reader/Writer User Manual pLen: [OUT] length of response data Return: return 0 if successful 6.3.3.3 INT WINAPI INT_RF_SR176_WRITEBLOCK Function: SR176 Write Prototype: int WINAPI int rf_sr176_writeblock (unsigned short icdev, unsigned char block, unsigned char *pData) Parameter: icdev:...
YHY638F 13.56MHz RFID Reader/Writer User Manual block: [IN] block address pData: [OUT] response data from card pLen: [OUT] length of response data Return: return 0 if successful 6.3.3.7 INT WINAPI INT_RF_SRIX4K_ WRITEBLOCK Function: SRIX4K Write Prototype: int WINAPI int rf_srix4k_writeblock(unsigned short icdev,...
Page 23
YHY638F 13.56MHz RFID Reader/Writer User Manual unsigned char *pData, unsigned char *pLen) Parameter: icdev: [IN] Device ID pData: [OUT] response data from tag, every 9 bytes is a team, the structure every team is: 1byte DSFID + 8 bytes UID...
Page 24
YHY638F 13.56MHz RFID Reader/Writer User Manual 6.4.6 INT WINAPI ISO15693_STAY_QUIET Function: ISO15693_Stay_Quiet Prototype: int WINAPI ISO15693_Stay_Quiet (unsigned short icdev, unsigned char *pUID) Parameter: icdev: [IN] Device ID pUID: [IN] 8 bytes UID Return: return 0 if successful 6.4.7 INT WINAPI ISO15693_GET_BLOCK_SECURITY...
Page 25
YHY638F 13.56MHz RFID Reader/Writer User Manual 6.4.9 INT WINAPI ISO15693_WRITE Function: ISO15693_Write Prototype: int WINAPI ISO15693_Write ( unsigned short icdev, unsigned char model, unsigned char *pUID, unsigned char block, unsigned char *pData) Parameter: icdev: [IN] Device ID model: [IN] bit0=Select_flag, bit1=Addres_flag, bit2=Option_flag...
Page 26
YHY638F 13.56MHz RFID Reader/Writer User Manual If set Address_flag, only the cards that the UID are congruous will respond this command If write TI card, set Option_flag, If write I.CODE SLI card, clear Option_flag 6.4.12 INT WINAPI ISO15693_LOCK_AFI Function: ISO15693_Lock_AFI...
Page 27
YHY638F 13.56MHz RFID Reader/Writer User Manual If write I.CODE SLI card, clear Option_flag 7 Pictures YHY638 size picture YHY638 Top View Version 1.0 Page 27 of 28 Apr 2010...
YHY638F 13.56MHz RFID Reader/Writer User Manual YHY638 Side View YHY638 Back Side View YHY638 Rear Side View Contact Information: EHUOYAN Technology Co., Ltd. Tel: +86 -010-59870151 Fax: +86 -010-59754725 email: info@ehuoyan.com WebSite: www.ehuoyan.com FILE END _________________________________________________________ Version 1.0 Page 28 of 28...
Need help?
Do you have a question about the YHY638F and is the answer not in the manual?
Questions and answers