É possível suportar leitor RFID usando protocolo Wiegand 26 bits ?
Possível talvez ;-) No momento não suportado
Leitores RFID solicitados em #2915
eu acho que o protocolo wiegand para o leitor NFC não é o mesmo que o leitor PN532.
eu tenho impressões digitais com interfaces Wiegand, e também combis NFC-Reader.
eu adoraria ver isso em tasmota. talvez junto com o pn532?
poderia ser codificado fácil, eu acho, está quase pronto no espeasy.
talvez algum desenvolvedor tenha um ❤️ e copie e cole as partes importantes no tasmota 😄
linhas wiegand aqui no espeasy-source no github
event->String1 = formatGpioName_input(F("D0 (Green, 5V)"));
event->String2 = formatGpioName_input(F("D1 (White, 5V)"));
obtenha dados wiegand simplesmente da interrupção aqui no espeasy-source no 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
}
Comentários muito úteis
Leitores RFID solicitados em #2915