Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Read RFID data from Chafon UHF readers

Project description

Chafon RFID reader

This project provides a script which can be used to connect to a Chafon RFID reader via TCP/IP or serial and upload the times recorded to a Google Sheet.


Optionally, install pyserial (for serial communication) and Google client (for writing results to a spreadsheet) libs, via pip

pip install --upgrade google-api-python-client oauth2client pyserial

Follow the steps in the Google Sheets API Python Quickstart, to allow times to be added to a spreadsheet (optional)


to install the package into your own project use pip

pip install wabson.chafon-rfid

Examples of how to to use the provided modules are provided in the examples directory.

To keep attempting to read tags continuously until Ctrl-C is pressed, run providing the IP of the reader and optionally the ID of the Google Sheet

PYTHONPATH="${PYTHONPATH}:$(pwd)/chafon-rfid" \
    python examples/ [spreadsheet_id]

A second script shows how to connect to different types of Chafon reader via serial or TCP/IP and obtain information about the reader as well as to perform a read.

Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wabson.chafon-rfid, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size wabson.chafon_rfid-0.0.4-py3-none-any.whl (11.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size wabson.chafon-rfid-0.0.4.tar.gz (7.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page