HydraFW Wiegand guide - hydrabus/hydrafw GitHub Wiki
HydraFW Bus Wiegand
This guide is updated towards firmware release HydraFW v0.10 and later
Bus: Wiegand
Connections: two pins (D0/D1) and ground.
Output types: 3.3volt normal output, or open drain
(pull-up/pull-down resistors integrated in MCU or external).
Pull-up resistors: required for open collector output mode (2K – 10K).
Pull-up/down resistors Integrated in MCU: Between 30 to 50K (Typical 40K).
Maximum Voltage: 5.5volts (5volt safe).
Protocol configuration syntax description:
-
show
Show wiegand parameters orshow pins
Show pins used in this mode -
pull
with parameterup
ordown
orfloating
to choose internal MCU pull up/down or no pull/external -
exit
to exit wiegand mode
Note default value:
> wiegand
Device: wiegand1
GPIO resistor: floating
Pulse timing: 100us
Pulse gap timing: 20000us
Configuration options:
Hardware Informations:
wiegand1> show pins
D0: PB8
D1: PB9
Protocol configuration example:
Protocol interaction syntax description:
Protocol interaction example usage wiegand1 write/read:
wiegand1> 0x01 0x02 ~ r 0x00:4
WRITE: 0x01 0x02 0x8B
READ: 1
WRITE: 0x00 0x00 0x00 0x00
Additional informations about wiegand
For more information about the protocol, see https://en.wikipedia.org/wiki/Wiegand_interface