هل من الممكن دعم قارئ RFID باستخدام بروتوكول Wiegand 26 بت؟
ممكن ربما ؛-) في الوقت الحالي غير مدعوم
تم طلب قراء RFID في # 2915
أعتقد أن بروتوكول wiegand لقارئ NFC ليس مثل قارئ PN532.
لدي بصمات أصابع مع واجهات Wiegand ، وكذلك NFC-Reader combis.
أحب أن أرى هذا في تسموتا. ربما مع pn532؟
يمكن أن يكون من السهل ترميز ، أعتقد أنه على وشك الانتهاء على espeasy.
ربما يكون لدى بعض المطورين ❤️ وانسخ وألصق البتات المهمة في tasmota 😄
خطوط wiegand هنا على espeasy-source على جيثب
event->String1 = formatGpioName_input(F("D0 (Green, 5V)"));
event->String2 = formatGpioName_input(F("D1 (White, 5V)"));
احصل على بيانات wiegand ببساطة من المقاطعة هنا على 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
}
التعليق الأكثر فائدة
تم طلب قراء RFID في # 2915