Read and write RFID tags using the popular Chafon UHF-based readers and writers. Originally written to read race timing chips on a finish line, a range of hardware is now supported from small desktop USB devices to long-range fixed readers, including the following,
- CF-RU5102 desktop UHF reader/writer (not HID version)
- CF-RU5106 / CF-RU5112 UHF integrated reader with antenna
- CF-RU5202 desktop UHF reader/writer
- CF-RU6402 fixed UHF reader (Impinj R2000, 4-port)
- CF-MU801 / CF-MU804 (Impinj R2000, 1-port or 4-port) UHF module
- CF-MU904 UHF module (own brand, 1-port)
You can connect to the reader/writer via the following standard connections
- USB (recommended)
- Direct serial connection
- Ethernet connection
The library supports a basic set of commands to perform tag inventories, write tag EPC values and get and set reader parameters. Helpers are provided to allow you to implement any other documented commands, which automatically take care of constructing commands, generating and verifying checksums and connecting to the reader/writer.
See the examples folder for details of how to connect, send commands and read responses.
This module requires Python 3.4+ but should work under any OS.
For serial communication using the built-in transport class, pyserial is required. Other implementations are possible for MicroPython/CircuitPython environments.
Some examples may have additional requirements, see comments in the individual files.
To install the package into your own project, use pip
pip install --upgrade wabson.chafon-rfid
Examples of how to to use the provided module are provided in the examples directory.