Arduino library for communicating with Wiegand interface.
Wiegand interface operates through two wires (DATA0 and DATA1).
Data 0 | Data 1 | Output |
---|---|---|
HIGH | HIGH | No data |
LOW | HIGH | 0-bit |
HIGH | LOW | 1-bit |
LOW | LOW | No 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.