Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Reads an UID from a RFID tag using an Arduino and types it as simple keyboard input using python.

License

Notifications You must be signed in to change notification settings

joaohenrifranco/py-rfid-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PC RFID reader

Reads an UID from a RFID tag and types it on a PC as a simple keyboard input. Useful for filing forms while registering tags at a desktop interface. Tested with MEGA 2560 board and Python3

How does it works?

Uses python code running on the computer connected to the Arduino to read from serial and send data as keystrokes.

Arduino reader

Uses a RFID module with the MFRC522.h lib.

Reads the card, sends as HEX to serial.

Inside arduino/ directory you will find a Platformio project however code can be used normally with the default Arduino IDE.

Don't forget to set the pins you are using with your module.

Python driver

Inside driver/ directory.

Uses pyserial to read what the Arduino is sending, then types each character as a keyboard input with pynput. Install them through pip before running driver.py

About

Reads an UID from a RFID tag using an Arduino and types it as simple keyboard input using python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published