Tasmota: 支持韦根26读卡器

创建于 2018-08-31  ·  3评论  ·  资料来源: arendst/Tasmota

是否可以使用 Wiegand 26 位协议支持 RFID 阅读器?

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

duplicated

最有用的评论

#2915 请求的 RFID 阅读器

所有3条评论

可能可能 ;-) 目前不支持

#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
}
此页面是否有帮助?
0 / 5 - 0 等级

相关问题

he-so picture he-so  ·  3评论

TylerDurden23 picture TylerDurden23  ·  3评论

esp32x picture esp32x  ·  3评论

Vujagig picture Vujagig  ·  3评论

JoergZ2 picture JoergZ2  ·  3评论