UIC UIC680 Operating and maintenance manual

UIC680
Contactless Smart Card Reader Module
-RS232 Interface-
Programmer’s Manual
Document #: PM063-U
Revision 4
Oct. 5, 2006

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
I
NOTICE
The issuer of this manual has made every effort to provide accurate information contained
in this manual. The issuer shall not be held liable for any technical and editorial omissions
or errors made herein; nor for incidental consequential damages resulting from the
furnishing, performance or use of this material.
This document contains proprietary information protected by copyright. All rights are
reserved. No part of this document may be photocopied, reproduced, or translated without
the prior written permission of the issuer. The information provided in this manual is subject
to change without notice.
AGENCY APPROVED
- Specification for FCC Class B
- Specification for UL/CUL
- Specification for CE Class B, CISPR 22 Class B
- Product Certificate by Taiwan BSMI (Bureau of Standards, Metrology and Inspection)
NOTE: This equipment has been tested and found to comply with the limits for a Class B
digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference in a residential installation. This
equipment generates, uses and can radiate radio frequency energy and, if not installed and
used in accordance with the instructions, 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 radio or
television reception, which can be determined by turning the equipment off and on, the user
is encouraged to try to correct the interference by one or more of the following measures:
—Reorient or relocate the receiving antenna.
—Increase the separation between the equipment and receiver.
—Connect the equipment into an outlet on a circuit different from that to which the receiver
is connected.
—Consult the dealer or an experienced radio/ TV technician for help.
You are cautioned that any change or modifications to the equipment not expressly approve
by the party responsible for compliance could void your authority to operate such
equipment.
WARNING
You are cautioned that changes or modifications not expressly approved by the party
responsible for compliance could void your authority to operate the equipment.
WARRANTY
This product is served under one-year warranty of defects in material and functionality to
the original purchasers. Within the warranty period, if the product found to be defective will
be repaired or replaced. This warranty applies to the products only under the normal use of
the original purchasers, and in no circumstances covers incidental or consequential
damages through consumers’ misuse or modification of the product.

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
II
PREFACE
This manual provides detailed information relating to the overall operational, electrical,
mechanical, environmental and functional aspects of the UIC680. This document should be
read and understood prior to initial operation of the product.
For ease of installation and programming use, we have addressed everything from its
attractive features to its various configurations.
When designing the UIC680, we selected what we feel are the most useful features and
functions. If in some cases you find that your specific needs differ from our existing
products, we welcome your comments and suggestions. Custom-designed models are also
available.
If further questions do arise, please call for technical support, our FAE will assist you in any
way we can.

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
III
Table of Contents
Section1 : General Description................................................................. 1-1
1.1 Features............................................................................................................. 1-1
1.2 Application........................................................................................................ 1-1
1.3 Part Number Description ................................................................................. 1-2
Section2 : Configurations ......................................................................... 2-1
2.1 Dimensions of UIC680 PCBA........................................................................... 2-1
2.2 Dimensions of Remote Antenna PCBA........................................................... 2-1
2.3 Accessories of UIC680..................................................................................... 2-2
Section3 : Technical Specifications ......................................................... 3-1
3.1 Functional Specifications ................................................................................ 3-1
3.2 Mechanical Specifications............................................................................... 3-1
Dimension.............................................................................................................................3-1
3.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 Assignment................................................................................................. 3-3
3.6 Communication................................................................................................. 3-4
RS232 Interface Data Output............................................................................................... 3-4
RS232 Interface Pass Through............................................................................................3-4
USB Interface .......................................................................................................................3-4
F2F TTL Interface (Optional)................................................................................................3-4
Transmission Protocol..........................................................................................................3-4
Self – Arm Mode...................................................................................................................3-5
Transmission Format............................................................................................................3-5
Section4 : Commands and Responses.................................................... 4-1
4.1 Reader Default Setting..................................................................................... 4-1
4.2 Reader Command Description ........................................................................ 4-2
% (25H) – Retransmit...........................................................................................................4-2
70 (3730H) or 90 (3930H) – Serial Number Report .............................................................4-2
71 (3731H) or 91 (3931H) – Copyright Report.....................................................................4-2

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
IV
72 (3732H) or 92 (3932H) – Reader Model Number Report................................................ 4-2
73 (3733H) or 93 (3933H) – Reader PCB Number Report..................................................4-2
77 (3737H) or 97 (3937H) – Reader Configuration Data Report .........................................4-3
78 (3738H) or 98 (3938H) – Reader Customer Configuration Data Report.........................4-3
79 (3739H) or 99 (3939H) – Reader Manufacturing Configuration Data Report .................4-3
9 (39H) – Version Report......................................................................................................4-4
? (3FH) – Select Verbose Responses Command ................................................................4-4
$ (24H) – Reader Status Request ........................................................................................4-4
L (4CH) – LED ON................................................................................................................4-5
l (6CH) – LED OFF...............................................................................................................4-5
( (28H) – LED Flash..............................................................................................................4-5
# (23H) – Configuration Request..........................................................................................4-5
<DC2> (12H) – RS232 pass through enable .......................................................................4-6
<CAN> (18H) – Clear Data Buffer........................................................................................4-6
<7FH> – Warm Reset...........................................................................................................4-6
<09H> – Configuration Setting.............................................................................................4-6
P (50H) – Arm to Read ......................................................................................................... 4-6
p (70H) – Arm to Read (Used for Manufacturing Test Only).................................................4-7
<ESC> (1BH) – Abort Arm to Read......................................................................................4-7
Q (51H) – 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) – ISO14443 type protocol select ............................................................................ 4-9
O (4FH) – Antenna power ON..............................................................................................4-9
o (6FH) – Antenna power OFF.............................................................................................4-9
b (62H) – Request................................................................................................................4-9
c (63H) – Anticollision(type A)/Slot-Marker(type B)............................................................4-10
f (66H) – Select(type A)/Attrib(type B)................................................................................4-10
g (67H) – Mifare classical card authentication (Support Mifare classical card only).......... 4-11
h (68H) – Mifare classical card read block (Support Mifare classical card only)................ 4-11
i (69H) – Mifare classical card write block (Support Mifare classical card only) ................4-12
t (74H) – Mifare Value Operation (Support Mifare classical card only)..............................4-12
X (58H) – Mifare classical card activation ..........................................................................4-13
x (78H) – Card halt.............................................................................................................4-13
J (4AH) – Activate PICC cpu card ......................................................................................4-14
j (6AH) – Load Mifare key (Support Mifare classical card only).........................................4-14
y (79H) – Send DESELECT command...............................................................................4-14
Z (5AH) – I/O to contactless CPU card with APDU format.................................................4-14

UIC680 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

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
1-1
Section1: General Description
This section presents general information about the basic characters of the UIC680.
1.1 Features
The UIC680 provides the following features:
1 Small footprint PCB size: 50 L* 40 W (mm) without antenna board
2 Support ISO 14443 type A & B standard
3 Support American Express® ExpressPay, MasterCard® PayPassTM, Visa® MSD
applications.
4 Read/write Philips Mifare® classical contactless smart card
5 Provide the options for the direct coupling antenna and the remote antenna
6 RS232, USB 1.1 and serial TTL (optional) Interface
7 RS232 data pass through function
8 TTL F2F magnetic stripe decode data pass through (optional)
9 F2F decoder data emulation (optional)
10 Firmware upgradeable
1.2 Application
The contactless smart card reader module UIC680 is mainly to support the contactless
payment systems. The small footprint size of the module makes it easily to integrate to the
current transaction system such as Point-of-Sale terminal, kiosk, and vending machine
station as the part of the system. The module communicates with a host computer or
terminal using a standard RS-232, USB or TTL interface.
At the meantime, UIC680 offers both RS232 and TTL magnetic stripe decoder pass-thru
function to allow the terminal to share the same input port with other peripheral devices.
The TTL interface output is in the F2F decoder data emulation. This benefits the existing
system without change its hardware configuration to catch up the future payment trend.

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
1-2
1.3 Part Number Description
P/N Description
TBD UIC680 Contactless IC Card Reader/Writer Module

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
2-1
Section2: Configurations
This section shows the dimensions and accessories of the UIC680.
2.1 Dimensions of UIC680 PCBA
Figure 2-1 Dimensions of UIC680
2.2 Dimensions of Remote Antenna PCBA
Figure 2-2 Dimensions of Remote Antenna PCBA

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
2-2
2.3 Accessories of UIC680
The following accessories should be supplied along with UIC680. 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. Programmer’s manual or Simple manual
3. Power adapter 5VDC 500mA (RS232 interface only)

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
3-1
Section3: Technical Specifications
3.1 Functional Specifications
•Contactless communication at 13.56MHz
•Proximity operation distance of up to 100mm
•LED indication or 2 x 16 LCD display (support PayPass application)
•Audio buzzer
•USB 1.1 compliant interface to support USB HID (optional)
•Support RS232 data output baud rate up to 115.2K BPS
•Support RS232 pass through baud rate up to 38400 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)
•Support all layers of 14443 including the type A and B communication scheme
•Support contactless communication using MIFARE higher baud rate up to 424KHz
•Support the MIFARE Classic products
•Support American Express ExpressPay transaction application
•Support MasterCard PayPass transaction application
•Support Visa MSD transaction application
3.2 Mechanical Specifications
•Dimension
Without antenna board
Length: 50 mm
Width: 40 mm

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
3-2
3.3 Electrical Specifications
•Power Required
5VDC
•Power Consumption
100mA in idle mode; 250mA in operating mode
•Communication
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 +15 volts or TTL level 0 volt
3.4 Environmental Specifications
•Temperature
Operating: -10 ~ 50℃
Storage: -30 ~ 70℃
•Humidity
Operating: 10 ~ 85% (non condensing)
Storage: 10 ~ 90% (non condensing)

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
3-3
3.5 Pin Assignment
Table 3-1. Interface J3 Pin Assignment
DB9 Signal Direction PCB-J1 Signal
5 GND 1 GND
2 RxD
Å
Serial data to host 2 TXD1
3 TxD
Æ
Serial data from host 3 RXD1
4 VCC
Serial Pass-thru or
USB data 5 TXD2
(or USB D-)
Serial Pass-thru or
USB data 6 RxD2
(or USB D+)
Shield 7 Shield
Table 3-2. Extension Port J1 Pin 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 Extended IO
14 Extended IO
15 Extended IO
16 Extended IO
17 Extended IO
18 Extended IO
19 Extended IO
20 Extended IO
21 Extended IO
22 Extended IO
23 Extended IO
24 Extended IO
Table 3-3. 50 RF Antenna Port J2B Pin Assignment
Contact number Signal
1 RF output
2 GND
Table 3-4. Direct Match Antenna Port J2A Pin Assignment
Contact number Signal
1 RX
2 TX
3 GND
4 GND

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
3-4
3.6 Communication
•RS232 Interface Data Output
Synchronization
The interface receives and transmits serial asynchronous data at voltage levels
compatible with the RS232 specification.
Baud Rate
9600 BPS default (optional: 1200/2400/4800/9600/19200/38400/56000/115.2K BPS)
•RS232 Interface Pass Through
Baud Rate
9600 BPS default (optional: 1200/2400/4800/9600/19200/38400 BPS)
•USB Interface
Compatible with USB specification 1.1
•F2F TTL Interface (Optional)
Each track has the clock and data. Please refer to command set for the detail setting.
•Transmission Protocol
The user may select from three different protocols: Protocol 0, 1, and 2.
Upon reset, 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 unchangeable until a reset
occurs.
Protocol 0
In Protocol 0, all characters are transmitted and received using exactly the characters
listed in section 4. There are no headers and Block Check Characters (BCC). Protocol
0 presumes no transmission errors. If the host detects an error, it may request a
retransmission.
Table 3-5. Example for Protocol 0
Protocol 1
In Protocol 1, all messages are preceded by the ASCII character <STX> and
terminated with the ASCII character <ETX>, followed by a one byte <BCC>.
<BCC> is an XOR of the 7 data bits, excluding parity, of each character in the entire
message, including <STX>.
Format: <STX><MESSAGE><ETX><BCC>
Host Command Reader Response Comment
P Ready to read
^ Reader ACK

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
3-5
where STX=02Hex and ETX=03Hex.
Table 3-6. Example for Protocol 1
Protocol 2
In Protocol 2, all messages are preceded by the ASCII character <SOH>, followed by a
one byte reader address, two bytes character count and terminated with a one byte
<BCC>.
The <BCC> is an XOR of the characters (8 bits) in the entire message, including
<SOH>.
Format: <SOH><ADDRESS><00Hex><COUNT><MESSAGE><BCC>
Table 3-7. Example for Protocol 2
The <ADDRESS> field is for a multi-reader system. This function is not currently
supported. The recommended value for this field is NULL (00Hex), however, any value
will work.
For Protocols 1 and 2, if the reader detects an error in an incoming transmission, it will
respond with a “Communications Error” message. If the host detects a transmission
error, it may request a retransmission. Besides, all protocols enforce a 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
general magnetic stripe credit cards) reading functions to run automatically, reporting
the card data to the host without instruction from the host.
In the Self-Arm Mode, the reader also can accept commands from host. However, the
reader can be configured to only “Host Polled Mode” by disabling Self-Arm Mode. The
“Host Polled Mode” allows the card reading functions to run by commands.
•Transmission Format
In Self-ARM mode, the default setting of card data output doesn’t include the protocol
envelope code. The user can turn on the envelope code by utilized the configuration
command – SE, TO. (Please refer to the appendix section of UIC680 Configuration
Guide)
Host Command Reader Response Comment
02h 50h 03h 51h Ready to read
02h 5Eh 03h 5Fh Reader ACK
Host Command Reader Response Comment
01h 00h 00h 01h 50h 50h Ready to read
01h 00h 00h 01h 5Eh 5Eh Reader ACK

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
3-6
Card output format (Self-ARM mode)
Preamble Protocol
Envelope
code Tk1 prefix Tk1 Data Tk1 suffix
Separator Tk2 prefix Tk2 Data Tk2 suffix
Separator Tk3 prefix Tk3 Data Tk3 suffix Protocol
Envelope
code Postamble
The preamble/postamble is only available in the card data output format under
Self-ARM mode.
Read data for command (Host-Polled mode)
The reader replies the host command such as “Transmit Track Data” so called
“Host-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 suffix Protocol
Envelope
code
Read tk2 data for command
Protocol
Envelope code Tk2 prefix Tk2 Data Tk2 suffix Protocol
Envelope
code
Read tk3 data for command
Protocol
Envelope code Tk3 prefix Tk3 Data Tk3 suffix Protocol
Envelope
code
NOTE1: Tkx data: SS (option) track data ES (option) LRC (option)
NOTE2: Preamble/Postamble, prefix/suffix are optional based on reader’s configuration.
NOTE3: Protocol Envelope code can be <HEADERS>, <BCC> or NONE depended on
what protocol is in used.

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
4-1
Section4: Commands and Responses
4.1 Reader Default Setting
Item Description EEPROM Default Value
Interface type RS232
UART1 setting (Txd1/Rxd1) 9600-8-N-1
Data pass through mode Disable
UART2 setting (Txd1/Rxd2) 9600-8-N-1
Buzzer Enable
Protocol format USI0
Contactless Self-ARM mode Enable
Contactless smart card manual type Type A
NOTE1: When “Contactless self-arm mode” turns on, UIC680 will automatic read the
payment card1in the reading zone for both type A and B cards.
NOTE2: The contactless card operation commands are invalid when “Self-ARM mode” is
enabled. To switch manual operation mode, user needs to disable the “Self-ARM
mode” first.
1Payment card – the card with PayPass, ExpressPay, or MSD application.

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
4-2
4.2 Reader Command Description
•% (25H) – Retransmit
COMMENT Retransmits the last message sent by the reader.
NOTE Command is turned off in self-arm mode.
•70 (3730H) or 90 (3930H) – Serial Number Report
COMMENT Transmit serial number information.
The serial number will be stored in the EEPROM and stored as an eight-digit ASCII
character array.
Example: “00000000”
•71 (3731H) or 91 (3931H) – Copyright Report
COMMENT Transmit version and copyright information.
Send this when you want to know the version and copyright of the Model UIC680
firmware currently loaded. The response is an ASCII string giving the firmware date
(yymmdd), reader type and the firmware version number followed by the firmware
copyright statement. The firmware copyright statement is absent in OEM version.
Example: “60706,UIC 6800104C:V4.C”
•72 (3732H) or 92 (3932H) – Reader Model Number Report
COMMENT Transmit reader model information.
The model number will be stored in the reader code area.
Example: “UIC680-RR”
•73 (3733H) or 93 (3933H) – Reader PCB Number Report
COMMENT Transmit reader PCB number.
The PCB number will be stored in the EEPROM and stored as an eight-digit ASCII
character array.
Example: “680-REV1”

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
4-3
•77 (3737H) or 97 (3937H) – Reader Configuration Data Report
COMMENT Transmit the reader configuration data.
The data from the reader configuration area will be transmitted to the host as hex
values with the command “77” [offset] [num]. The reader will return any or all the bytes
from the reader configuration. The offset is an optional byte and the available value is
from 0x00 to 0x3F. The num is an optional byte specifying the number of configuration
bytes to be returned. If the offset and length bytes are omitted then the current
configuration starting at offset 0 is transmitted.
Example:
BE 4C 03 03 00 00 00 61 30 35 30 35 30 36 82 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 3A 36 38 30 2D 52 48 00
•78 (3738H) or 98 (3938H) – Reader Customer Configuration Data Report
COMMENT Transmit the 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 return any or all the bytes from the reader configuration. The offset is an optional
byte and the available value is from 0x00 to 0x3F. The num is an optional byte
specifying the number of configuration bytes to be returned. If the offset and length
bytes are omitted then the current configuration starting at offset 0 is transmitted.
Example:
00 30 30 30 30 30 30 30 30 36 38 30 2D 52 45 56
31 03 04 03 02 00 3C 00 80 00 00 00 00 00 00 00
00 00 00 00 00 00 00 45 00 2B FF FF FF FF FF FF
FF FF FF FF FF FF 3F 3F 12 FF 06 3F 05 13 50 03
•79 (3739H) or 99 (3939H) – Reader Manufacturing Configuration Data Report
COMMENT Transmit the reader manufacturing configuration data.
The data from the reader manufacturing configuration area of the flash will be
transmitted to the host as hex values with the command “79” [offset] [num]. The reader
will return any or all the bytes from the reader configuration. The offset is an optional

UIC680 Programmer’s Manual UDN PM063-U Rev. 4
4-4
byte and the available value is from 0x00 to 0x7F. The num is an optional byte
specifying the number of configuration bytes to be returned to the host. If the offset and
length bytes are omitted then the current configuration starting at offset 0 is
transmitted.
Example:
BE 4C 03 03 00 00 00 61 30 35 30 35 30 36 82 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 3A 36 38 30 2D 52 48 00
•9 (39H) – Version Report
COMMENT Transmit version information.
Send this when you want to know the version of UIC680 firmware currently loaded.
The response is an ASCII string giving the firmware date (mmddyy), reader type and
firmware version number.
Example: “060706,UIC680-RR:V4.C¨.
•? (3FH) – Select Verbose Responses Command
COMMENT Most error responses until the reader receives a reset command
will include a short descriptive message.
•$ (24H) – Reader Status Request
COMMENT Interrogate the reader about its operational status. Two bytes of status
information will be returned.
First Status Byte
Bit Value: 0 Value: 1
0 – 4 Reserve for future use Reserve for future use
5 No Magnetic Stripe Card data Magnetic Stripe Card data
6 Not armed to read Armed to read
7 Reserve for future use Reserve for future use
Second Status Byte (reserve for future use)
Table of contents
Other UIC Card Reader manuals

UIC
UIC MSR240U Series Specification sheet

UIC
UIC MSR112 Series Operating and maintenance manual

UIC
UIC MSR213V Series Specification sheet

UIC
UIC BEZEL8-S User manual

UIC
UIC MSR213U-12 Operating and maintenance manual

UIC
UIC Bezel 5 Operating and maintenance manual

UIC
UIC UIC681 Operating and maintenance manual
Popular Card Reader manuals by other brands

Brivo
Brivo B-SS Installation

Motorline professional
Motorline professional MIM-1100U User's and installer's manual

Advanced Card
Advanced Card ACR38U-I1 Technical specifications

Korecen
Korecen FV-100 user manual

Rosslare
Rosslare AY-U9**BT series Installation & user guide

Kade
Kade KDH-C330U-BLACK installation manual