Jump to content

Wiegand interface

From Wikipedia, the free encyclopedia
(Redirected from Weigand Protocol)

The Wiegand interface is a de facto wiring standard which arose from the popularity of Wiegand effect card readers in the 1980s. It is commonly used to connect a card swipe mechanism to the rest of an access control system. The sensor in such a system is often a "Wiegand wire", based on the Wiegand effect, discovered by John R. Wiegand. A Wiegand-compatible reader is normally connected to a Wiegand-compatible security panel.

Physical layer

[edit]

The Wiegand interface uses three wires, one of which is a common ground and two of which are data transmission wires usually called DATA0 and DATA1, alternatively labeled "D0" and "D1" or "Data Low" and "Data High".[1] When no data is being sent, both DATA0 and DATA1 are pulled up to the "high" voltage level — usually +5 VDC. When a 0 is sent the DATA0 wire is pulled to a low voltage while the DATA1 wire stays at a high voltage. When a 1 is sent the DATA1 wire is pulled to a low voltage while DATA0 stays at a high voltage.[2]

The high signaling level of 5 VDC is used to accommodate long cable runs from card readers to the associated access control panel, typically located in a secure closet. Most card reader manufacturers publish a maximum cable run of 500 feet (150 m). An advantage of the Wiegand signalling format is that it allows very long cable runs, far longer than other interface standards of its day allowed.

Protocol

[edit]

The communications protocol used on a Wiegand interface is known as the Wiegand protocol. The original Wiegand format had one parity bit, 8 bits of facility code, 16 bits of ID code, and a trailing parity bit for a total of 26 bits. The first parity bit is calculated from the first 12 bits of the code and the trailing parity bit from the last 12 bits.[3] However, many inconsistent implementations and extensions to the basic format exist.

Many access control system manufacturers adopted Wiegand technology, but were unhappy with the limitations of only 8 bits for site codes (0-255) and 16 bits for card numbers (0-65535), so they designed their own formats with varying complexity of field numbers and lengths and parity checking.[4]

The physical size limitations of the card dictated that a maximum of 37 Wiegand wire filaments could be placed in a standard credit card, as dictated by CR80 or ISO/IEC 7810 standards, before misreads would affect reliability. Therefore, most Wiegand formats used in physical access control are less than 37 bits in length.

See also

[edit]

References

[edit]
  1. ^ "Wiegand Interface". Techopedia. June 2017. Retrieved 2019-09-26.
  2. ^ "Micro RWD EM4001 "Mag swipe" Decimal Output Version Data Sheet" (PDF). ib technology. 5 March 2005. Retrieved 8 February 2021.
  3. ^ "Understanding Card Data Formats - Technology Basics White Paper" (PDF). HID Technology. 2006. Retrieved 14 February 2023.
  4. ^ "What Is Wiegand? A Brief History". Keri Systems. 27 July 2017. Retrieved 8 February 2021.
[edit]