Vous êtes sur la page 1sur 1

TECHNIC AL BULLETIN

TECHNICAL
January 1996; Rev. 1.0

Wiegand Interface Definition


ELECTRICAL CHARACTERISTICS
Wiegand card readers contain a digital buffering circuit in which the signals generated in the read head
by the Wiegand wires are separated into discrete digital “1” and “0” data pulses.
Typically the data is buffered and then output on two separate electrical signal lines with a common
signal ground line. The data is transmitted at a fixed rate independent of the speed that the card was
pulled through the reader. Both data lines are normally held high (typically +5vDC referenced to logic
common), and are pulled low (typically TTL logic levels) for the duration of each output pulse. A data
“0” is represented by lowering the Data-0 output line while the Data-1 output line remains high. A “1” is
represented by lowering the Data-1 output line while the Data-0 output line remains high. A typical
pulse width is 50 microseconds with an inter-pulse spacing of 1 millisecond (refer to the diagram below).
The actual timing values and tolerances and output circuitry are determined by the card reader manufac-
turer.

D ata-0 line
1 m se c
D ata-1 line +5v
5 0 µ se c w id e 0v

The data packets are separated by a short dwell time (i.e. 500 milliseconds between cards).
“Wiegand” proximity tag readers emulate the data stream of a card containing Wiegand wires.

DATA PROTOCOL
There are several different protocols used for transmitting serial data in a “Wiegand” format.
One common format consists of a 26 bit long serial stream consisting of 24 data bits and leading and
trailing parity bits. The leading bit in the stream is set to generate an even parity for the first 13 bits
transmitted while the trailing bit is set to result in an odd parity for the final 13 bits transmitted. The 24
bits of data is then divided into an 8 bit “site code” followed by a 16 bit “user code” with the most signifi-
cant bit for each code transmitted first. In the following diagram P represents the parity bits and D
represents the data bits.
1 2 3 4 5 6 7 8 9 1 0 11 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 2 6
“ Site Code” “ User Code”
P D D D D D D D D D D D D D D D D D D D D D D D D P
B it set to 1 or 0 such that the total instances B it set to 1 or 0 such that the total instances
of “1”s is an even number of “1”s is an odd number

Other “Wiegand” formats send different numbers of data bits (ranging from 4 to 44) with different (or
no) parity and with possibly some of the bits set high or low at fixed locations in the serial stream. The
data itself can be partitioned in to any form imaginable.
Specifications subject to change TD2058

Northern Computers, Inc. Northern Computers – UK Northern Computers – Europe Systémes Ordinés Northern
5007 S. Howell Ave. Module C, Jenner Road The Blue Tower 1250, boul. René-Lévesque O.
Milwaukee, WI 53207 Manor Royal Industrial Park 326 Avenue Louise, 6th Floor Bureau 2250
USA Crawley, Sussex B-1050 Brussels Montréal, PQ
England RH10 2GA Belgium Canada H3B 4W8
Tel: (414) 769-5980 • Toll-Free: (800) 323-4576
Fax: (414) 769-5989 Tel: +44 (0) 1293 552599 Tel: +32 2 645 1694 Tel: 1-800-323-4576 / 514-989-3114
Fax: +44 (0) 1293 523061 Fax: +32 2 646 9934 Fax: 1-800-495-7050 / 514-989-3116

Vous aimerez peut-être aussi