/arduino-wiegand

Wiegand-26 library for communicating with 2-wire wiegand protocol.

Primary LanguageC++

arduino-wiegand

Arduino library for communicating with Wiegand interface.

Wiegand interface operates through two wires (DATA0 and DATA1).

Data 0Data 1Output
HIGHHIGHNo data
LOWHIGH0-bit
HIGHLOW1-bit
LOWLOWNo data

It sends 26 bits in total, outputting a leading bit (even), 8 facility code bits, 16 card number bits and a trailing parity bit (odd).

  • site codes can be from 0 - 255.
  • serial number can be from 0 - 65535

Notice! The library is untested. Use with caution.