esprfid / esp-rfid

ESP8266 RFID (RC522, PN532, Wiegand, RDM6300) Access Control system featuring WebSocket, JSON, NTP Client, Javascript, SPIFFS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect UID read with Wiegand 32 bit device - anyone know protocol

windy54 opened this issue · comments

We currently use a 522 reader and have been donated several Wiegand devices.

These output 32 bits when a card is read.

The displayed UID is totally different to the UID stored on the card.

I have investigated the code and have a fix but this is to the Wiegand.cpp library file not the esp-rfid code.

If we had not already been using a 522 reader this issue would never have arisen.

So my question is, does anyone have a reference to the Wiegand 32 bit protocol? I can't find one.

I am going to post a similar question in the github repository for the code.

Try to check if D0 and D1 are inverted.

hey @windy54 do you confirm this is something to do with the Wiegand library? Am I right?

I'm going to close this for now, but if you still need help on this one let me know. Maybe can you provide a couple of examples of RFID reads from the two sensors for the same card?