¿Es posible admitir el lector RFID utilizando el protocolo Wiegand de 26 bits?
Posible tal vez ;-) Por el momento no soportado
Lectores RFID solicitados en #2915
Creo que el protocolo wiegand para el lector NFC no es lo mismo que el lector PN532.
tengo huellas dactilares con interfaces Wiegand, y también combis NFC-Reader.
Me encantaría ver esto en tasmota. tal vez junto con el pn532?
podría codificarse fácilmente, supongo, está casi hecho en espeasy.
tal vez algún desarrollador tenga un ❤️ y copie y pegue las partes importantes en tasmota 😄
líneas wiegand aquí en espeasy-source en github
event->String1 = formatGpioName_input(F("D0 (Green, 5V)"));
event->String2 = formatGpioName_input(F("D1 (White, 5V)"));
obtenga datos wiegand simplemente desde la interrupción aquí en espeasy-source en 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
}
Comentario más útil
Lectores RFID solicitados en #2915