Wiegand 26ビットプロトコルを使用してRFIDリーダーをサポートすることは可能ですか?
可能性があります;-)現時点ではサポートされていません
#2915で要求されたRFIDリーダー
NFCリーダーのwiegandプロトコルはPN532リーダーと同じではないと思います。
私はウィーガンドインターフェースとNFCリーダーコンビの指紋を持っています。
tasmotaでこれを見たいです。 多分pn532と一緒に?
簡単にコーディングできると思いますが、ほとんどespeasyで行われます。
多分何人かの開発者は❤️を持っていて、重要なビットをコピーしてtasmotaに貼り付けます😄
wiegand行はここespeasyにあります-githubのソース
event->String1 = formatGpioName_input(F("D0 (Green, 5V)"));
event->String2 = formatGpioName_input(F("D1 (White, 5V)"));
githubのespeasy-sourceで割り込みからwiegandデータを取得する
*********************************************************************/
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リーダー