I need a simple script that outputs ID of presented card in console. I tried a lot of opensource code that based on WiringPi library, e.g. Pidoorman, its forks by Kyle Mallory and E.J. Dyksen, RFID Access Control System by Laserbird from Instructables etc. but no one works correctly.
I'm sure that I connected all right cause that script (fork of Pidoorman wiegand.c by Kyle Mallory) changed its output when card presented:
Read 14 bits (2 bytes): DF31 : 1101111100110001
Read 15 bits (2 bytes): F701 : 1111011100000001
Read 18 bits (3 bytes): DFC001 : 110111111100000000000001
Read 19 bits (3 bytes): EFF001 : 111011111111000000000001
Read 17 bits (3 bytes): DFC300 : 110111111100001100000000
Read 76 bits (10 bytes): 9BBFC4EBDD57BA7E7C0D : 10011011101111111100010011101011110111010101011110111010011111100111110000001101
Read 30 bits (4 bytes): EEFF802E : 11101110111111111000000000101110
Read 14 bits (2 bytes): DF01 : 1101111100000001
Read 15 bits (2 bytes): EF66 : 1110111101100110
Read 15 bits (2 bytes): EF61 : 1110111101100001
Read 14 bits (2 bytes): DF21 : 1101111100100001
But I need something more human-readible and without constant (and wrong) output of pin state.
Any suggestion is much appreciated.