A library to integrate the MFRC522 RFID readers with the Raspberry Pi
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file joyit_mfrc522-0.1.0.tar.gz
.
File metadata
- Download URL: joyit_mfrc522-0.1.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
af36a3bf419508238ad8d63dc66668fdeb3b2c7a0860e261175cec012a75c1be
|
|
MD5 |
edd5d69a49a5d0a9489dc4975ca69422
|
|
BLAKE2b-256 |
5a0b68903580f51024b2dc178de00236d9890e391ccf9efd8483ea847f17ff4b
|
File details
Details for the file joyit_mfrc522-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: joyit_mfrc522-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0cdbe877a883fc8c08c760b85b2168a3fed9f1399a246318f447bbae85b0122f
|
|
MD5 |
1846a23e6763c461025fd55c7f16fc59
|
|
BLAKE2b-256 |
de446c39ea6f39c6cadf68fdb3e54cf0f8de329c45b71bef882f476521d03ef2
|