Skip to content

Latest commit

 

History

History
executable file
·
23 lines (18 loc) · 697 Bytes

README.md

File metadata and controls

executable file
·
23 lines (18 loc) · 697 Bytes

Wiegand Reader for Raspberry Pi

Use this repository to read RFID cards with the Raspberry Pi.

Wires Function
Red Typical operation 5V-12V -- 3.3V + 5V from GPIO is connected
Black Ground
Green Data 0 - Logic 5V coming out, regulate down to 3.3V for rPi GPIO
White Data 1 - Logic 5V coming out, regulate down to 3.3V for rPi GPIO
Yellow Programmatic Beep Control (Reader beeps when Yellow is set to ground)

To compile:

$ gcc -lpthread -lwiringPi -lrt reader.c -o reader.o

Sample output:

Output

Wiring:

Fritzing Cable attachments