-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFID-RC522 module usage instructions #2613
Comments
Closing to escape the attentions of the @JamesH65 bot. |
Too late... Is this something that out to be in docs somewhere, or perhaps the projects section (not my domain)? |
Is there any equivalent, application-specific documentation? It does seem like more of a project to me, but just having this short (but growing...) thread with the important information at the top should be sufficient. |
There's also a simple Python app that uses the SPI-Py library to read registers here. When you run it you should see output like this:
|
A few years ago I wrote some tried and tested instructions for wiring up the RFID-RC522 module, installing the SPI-Py library, and the MFRC-522 python library and test application. The thread where it appeared (#1547) is now so long that the relevant comment is hidden by default, and the whole thread takes ages to load.
This issue is a repost of that comment.
========
Starting from a clean current Raspbian install:
Note that there are multiple versions of the module with different pin-outs - I've shown the pin names from two that I know.
Run
sudo raspi-config
, choose Advanced Options -> SPI -> Yes . You can reboot, but it isn't necessary (dtoverlay -l
will show that there is a run-time overlay that enables the SPI interface).Install git and python-dev:
If it still doesn't work, triple-check your wiring then upload a photo of it. Also make sure your power-supply is up to the task - 2.5A for a Pi3.
The text was updated successfully, but these errors were encountered: