是否可以使用 Wiegand 26 位协议支持 RFID 阅读器?
可能可能 ;-) 目前不支持
#2915 请求的 RFID 阅读器
我认为 NFC 阅读器的韦根协议与 PN532 阅读器不同。
我有带韦根接口的指纹,还有 NFC 阅读器组合。
我很想在塔斯莫塔看到这个。 也许与pn532一起?
可能很容易编码,我猜,它几乎是在 espeasy 上完成的。
也许一些开发人员有一个❤️并将重要的部分复制并粘贴到 tasmota 😄
github 上的 espeasy-source 上的韦根线
event->String1 = formatGpioName_input(F("D0 (Green, 5V)"));
event->String2 = formatGpioName_input(F("D1 (White, 5V)"));
简单地从github 上的 espeasy-source 上的中断获取韦根数据
*********************************************************************/
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
}
最有用的评论
#2915 请求的 RFID 阅读器