background image

UIC681 Programmer’s Manual 

                                   UDN PM063-U Rev. 4 

 

5-2

Host Polled Application Example 
 
A.  UIC681 setting changed 
 
In this example, it assumes UIC681 is in factory default and the user would like to change it 
to protocol USI2 and Self-ARM disable. 
 

 

This process should be done only once to set the UIC681 to the proper state. 
 
Due to the EEPROM life limitation, it is recommended that don’t change the 

EEPROM value very frequently. Normally, the configuration setting has done in the 
factory production stage, please contact UIC Sales representative for more detail 
information. 

 
 

   Initial State 

1.  Send the configuration command to set 

UIC681 to protocol 2. 

2.  Send the configuration command to set 

UIC681 to Self-ARM disable. 

   Done 

Summary of Contents for UIC681

Page 1: ...UIC681 Contactless Smart Card Reader Module RS232 Interface Programmer s Manual Document PM063 U Revision 4 Oct 5 2006...

Page 2: ...may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to...

Page 3: ...ease of installation and programming use we have addressed everything from its attractive features to its various configurations When designing the UIC681 we selected what we feel are the most useful...

Page 4: ...3 Electrical Specifications 3 2 Power Required 3 2 Power Consumption 3 2 Communication 3 2 Communication Signal RS232 3 2 3 4 Environmental Specifications 3 2 Temperature 3 2 Humidity 3 2 3 5 Pin Ass...

Page 5: ...H Transmit Track 1 data 4 7 R 52H Transmit Track 2 data 4 7 S 53H Transmit Track 3 data 4 7 H 48H Self ARM function disable enable 4 7 4 3 Contactless Card Operation Command Description 4 9 G 47H ISO1...

Page 6: ...UIC681 Programmer s Manual UDN PM063 U Rev 4 V z 7AH I O to contactless card for block data exchange 4 15 4 4 Responses to the Host 4 16 Section5 Application Example 5 1...

Page 7: ...de data pass through optional 9 F2F decoder data emulation optional 10 Firmware upgradeable 1 2 Application The contactless smart card reader module UIC681 is mainly to support the contactless payment...

Page 8: ...UIC681 Programmer s Manual UDN PM063 U Rev 4 1 2 1 3 Part Number Description P N Description TBD UIC681 Contactless IC Card Reader Writer Module...

Page 9: ...v 4 2 1 Section2 Configurations This section shows the dimensions and accessories of the UIC681 2 1 Dimensions of UIC681 PCBA Figure 2 1 Dimensions of UIC681 2 2 Dimensions of Remote Antenna PCBA Figu...

Page 10: ...lowing accessories should be supplied along with UIC681 Make sure all the following accessories are contained in your package 1 Interface cable DB9 male connector 1 5M or USB type A plug optional 2 Pr...

Page 11: ...0 BPS Support TTL level for serial data output optional Support TTL level for F2F decoder data output emulation optional Support direct matching antenna Support Remote 50 ohm matching antenna optional...

Page 12: ...Standard RS232 signal level Compatible with USB 1 1 specification optional TTL 5V signal level optional Communication Signal RS232 Logic 1 3 volts to 15 volts or TTL level 5 volts Logic 0 3 volts to...

Page 13: ...n Assignment Pin Signal Comment 1 Extended IO 2 Extended IO 3 Extended IO 4 Extended IO 5 GND 6 VCC 5Vdc 7 Extended IO 8 Extended IO 9 Extended IO 10 Extended IO 11 Buzzer output 12 Buzzer output 13 E...

Page 14: ...the reader sends the power on response depending upon the configuration setting The reader then configures itself to the protocol of the first command from the host From this point on the protocol is...

Page 15: ...10mSec timeout between characters Self Arm Mode The default reader configuration is the Self Arm Mode which allows the payment cards Including PayPass Magnetic Stripe VISA MSD ExpressPay card and the...

Page 16: ...Polled The requested message is encapsulated in the protocol envelope The response of Transmit Track Data command list as below Read tk1 data for command Protocol Envelope code Tk1 prefix Tk1 Data Tk1...

Page 17: ...Enable Protocol format USI0 Contactless Self ARM mode Enable Contactless smart card manual type Type A NOTE1 When Contactless self arm mode turns on UIC681 will automatic read the payment card1 in the...

Page 18: ...when you want to know the version and copyright of the Model UIC681 firmware currently loaded The response is an ASCII string giving the firmware date yymmdd reader type and the firmware version numbe...

Page 19: ...reader customer configuration data The data from the reader customer configuration area of the EEPROM will be transmitted to the host as hex values with the command 78 offset num The reader will retur...

Page 20: ...Send this when you want to know the version of UIC681 firmware currently loaded The response is an ASCII string giving the firmware date mmddyy reader type and firmware version number Example 060706 U...

Page 21: ...sent 1 Track 2 not present Track 2 present 2 Track 3 not present Track 3 present 3 7 Reserved for future use Reserved for future use Extended Configuration Bytes 16 bytes Byte 0 1 2 3 4 5 15 Remark Eq...

Page 22: ...ctions and cause the device to execute all initialization functions The device will respond as it would for a power up cycle but always returning a 3AH This operation will take at least 3 seconds 09H...

Page 23: ...it Track 3 data COMMENT 1 Detect the card type automatically and process data in the read buffer 2 If error is detected transmit proper error response or refer to Responses to the Host section 3 Else...

Page 24: ...UIC681 Programmer s Manual UDN PM063 U Rev 4 4 8 RESPONSE Acknowledgement Cannot execute Bad parameter...

Page 25: ...power up RESPONSE Acknowledgement Bad parameter O 4FH Antenna power ON COMMENT Apply power on the antenna This command is for manual command operation RESPONSE Acknowledgement Failed the reader is in...

Page 26: ...ype A Binary Hex or ATQB 16 bytes type B Binary Hex if command executed successfully No card response or No power on the antenna c 63H Anticollision type A Slot Marker type B COMMENT In type A mode th...

Page 27: ...e key stored in EEPROM or g Block number 3 bytes Key type Key 12 bytes Authenticate the card with the key in key field Block number There are two types of block format 000 to 255 30h30h30h to 32h35h35...

Page 28: ...a 4 bytes or 16 bytes Block number There are three types of block number format 000 to 255 30h30h30h to 32h35h35h ASCII Hex General Mifare Block or B 00 00 to B 00 FF 42h00h00h to 42h00hFFh ASCII Hex...

Page 29: ...0h to FFh For option 3 only the data format is same as block number RESPONSE Acknowledgement No card response or No power on the antenna Bad parameter X 58H Mifare classical card activation COMMENT P...

Page 30: ...Key number 1 byte Key data 12 bytes Key number 0 to 4 30h to 39h ASCII Hex Key data 0 to 9 or A to F 30h 39h or 41h 46h ASCII Hex RESPONSE acknowledgement No card response or No power on the antenna...

Page 31: ...s used to pass a block data to a card z CRC mode 1 bytes Wait time 4 bytes Block data 384 bytes max CRC mode 0 30h ASCII Hex Block data contain 2 bytes CRC and enable CRC transmission 1 31h ASCII Hex...

Page 32: ...most recent command 2AH Command was received correctly But could not be completed 2BH No Magnetic Stripe Card Data Command was received correctly 3FH Communication Error Command was not received corr...

Page 33: ...er configuration Once UIC681 receives the Self ARM disable command H0 see the command description section it turns off auto read function and waits for the Arm to Read command P for next transaction S...

Page 34: ...uld be done only once to set the UIC681 to the proper state Due to the EEPROM life limitation it is recommended that don t change the EEPROM value very frequently Normally the configuration setting ha...

Page 35: ...reading read zone or any magnetic stripe card swiped the magnetic stripe reader is optional device No matter the card is decoded succeed or failed it will return to indicate the card has been read Th...

Reviews: