Closed Sanduur closed 1 year ago
Hi, just for clarification: do you have the IRQ pin connected to Pin 18/GPIO 24? https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/Wiring_for_RC522_card_reader
This is needed in this project and differs from your linked tutorial.
I did NOT connect Pin 18 / GPIO 24... Even if "You have to wire the IRQ Pin from RC522 to Raspberry Pin 18/GPIO 24" in the manual is written in bold.
Thank you very much! Now it works as designed
So this can be closed, right?
Yes. Thank you very much.
pirc522 is not working in Reader.py
I installed this github on a freshly clean Raspian Environment, but for me, the code in the Reader.py.experimental file is not working. I have the blue RFID-RC522 module, connected to GPIO. Here is the original Code:
class Mfrc522Reader(object): def init(self): import pirc522 self.device = pirc522.RFID()
However I found a Tutorial (Sorry, its german language: https://devdrik.de/pi-mit-rfid-rc522/) and I found out that my Module is working fine.
Unfortunately I am not a really good python developer but in 2023 we have access to chatGPT :) I asked to convert the class to work with SimpleMFRC522 and chatGPT entered this code for me (which is working well):
class Mfrc522Reader(object): def init(self): from mfrc522 import SimpleMFRC522 self.device = SimpleMFRC522()
Just wanted to share because some others may have the same issue. Feel free to import this code in the github, I love this project!! I use the following version:
$ uname -r; python -V 6.1.21-v8+ Python 3.9.2