Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Wiegand 26 reader #3647

Closed
wirelesssolution opened this issue Aug 31, 2018 · 3 comments
Closed

Support Wiegand 26 reader #3647

wirelesssolution opened this issue Aug 31, 2018 · 3 comments
Labels
duplicated Result - Duplicated Issue

Comments

@wirelesssolution
Copy link

It is possible to support RFID reader using Wiegand 26 bits protocal ?

https://www.letscontrolit.com/wiki/index.php/Wiegand-26

@Jason2866
Copy link
Collaborator

Possible maybe ;-) At the moment not supported

@ascillato
Copy link
Contributor

RFID readers requested at #2915

@ascillato2 ascillato2 added the duplicated Result - Duplicated Issue label Oct 8, 2018
@ozett
Copy link

ozett commented Jan 2, 2019

i think that wiegand-protocol for NFC-reader is not the same as PN532 reader.
i have fingerprints with Wiegand-interfaces, and also NFC-Reader combis.

i would love to see this in tasmota. maybe together with the pn532?

could be easy coded, i guess, it is almost done on espeasy.
maybe some developer has a ❤️ and copy and paste the important bits over to tasmota 😄

wiegand lines here on espeasy-source on github

event->String1 = formatGpioName_input(F("D0 (Green, 5V)"));
event->String2 = formatGpioName_input(F("D1 (White, 5V)"));

get wiegand data simply from interrupt here on espeasy-source on github

*********************************************************************/
void Plugin_008_interrupt1()
/*********************************************************************/
{
  // We've received a 1 bit. (bit 0 = high, bit 1 = low)
  Plugin_008_keyBuffer = Plugin_008_keyBuffer << 1;     // Left shift the number (effectively multiplying by 2)
  Plugin_008_keyBuffer += 1;         // Add the 1 (not necessary for the zeroes)
  Plugin_008_bitCount++;         // Increment the bit count
}

/*********************************************************************/
void Plugin_008_interrupt2()
/*********************************************************************/
{
  // We've received a 0 bit. (bit 0 = low, bit 1 = high)
  Plugin_008_keyBuffer = Plugin_008_keyBuffer << 1;     // Left shift the number (effectively multiplying by 2)
  Plugin_008_bitCount++;           // Increment the bit count
}

arendst added a commit that referenced this issue Jan 16, 2021
Add support for 24/26/32/34 bit RFID Wiegand interface (D0/D1) by Sigurd Leuther (#3647, #10565)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicated Result - Duplicated Issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants