Python written library for an 125kHz RFID reader using the EM4100 protocol
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Moved licence files to base directory May 31, 2016
src
.hgignore
.hgtags Added tag v1.2 for changeset 3201aa5a7998 May 9, 2017
COPYING
LICENSE Moved licence files to base directory May 31, 2016
README.md

README.md

PyRfid

PyRfid is a Python written library for an 125kHz RFID reader. It was developed with the RDM6300 RFID-sensor which uses the EM4100 protocol.

Installation

Add PM Codeworks repository

  • Debian 8:

    ~# echo "deb http://apt.pm-codeworks.de jessie main" | tee /etc/apt/sources.list.d/pm-codeworks.list

  • Debian 9:

    ~# echo "deb http://apt.pm-codeworks.de stretch main" | tee /etc/apt/sources.list.d/pm-codeworks.list

Add PM Codeworks key

~# wget -qO - http://apt.pm-codeworks.de/pm-codeworks.de.gpg | apt-key add -
~# apt-get update

The library supports Python 2 and Python 3. There are one Debian package for each. It's up to you which version you install.

For Python 3 use:

~# apt-get install python3-rfid

For Python 2 use:

~# apt-get install python-rfid

Add group "dialout" for each user which should be able to use PyRfid

~# usermod -a -G dialout <username>
~# reboot

How to use the library

Read a tag

~$ python /usr/share/doc/python-rfid/examples/example_read.py

Questions and suggestions

If you have any questions to this project just ask me via email:

team@pm-codeworks.de