joyit_mfrc522
A python library to read/write RFID tags via the MFRC522 RFID module.
This code was edited for the use with Raspberry Pi 5 by Joy-IT. The source code was published in relation to a blog post and you can find out more about how to hook up your MFRC reader to a Raspberry Pi there.
Installation
This library is for the use with virtual environments for the Raspberry Pi 5 and older models.
mkdir your_project
cd your_project
python3 -m venv --system-site-packages env
source env/bin/activate
pip install spidev
git clone https://github.com/joy-it/MFRC522-python
cd MFRC522-python
python3 setup.py install
cd ..
Example
In this library are two example codes. One is for reading from a tag and the other is for writing on a tag. You can execute them like the following.
python3 MFRC522-python/examples/write.py
python3 MFRC522-python/examples/read.py
Release files for joyit-mfrc522 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| joyit_mfrc522-0.1.0.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| joyit_mfrc522-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / joyit_mfrc522-0.1.0.tar.gz
| Download URL | joyit_mfrc522-0.1.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af36a3bf419508238ad8d63dc66668fdeb3b2c7a0860e261175cec012a75c1be
|
|
BLAKE2b-256 checksum How to use checksums |
5a0b68903580f51024b2dc178de00236d9890e391ccf9efd8483ea847f17ff4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / joyit_mfrc522-0.1.0-py3-none-any.whl
| Download URL | joyit_mfrc522-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0cdbe877a883fc8c08c760b85b2168a3fed9f1399a246318f447bbae85b0122f
|
|
BLAKE2b-256 checksum How to use checksums |
de446c39ea6f39c6cadf68fdb3e54cf0f8de329c45b71bef882f476521d03ef2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|