1

I connected a RFID-RC522 to my RPi 4. It was working perfectly to read data until now. I don't know why but I cannot read anymore data now. Nothing changed in the hardware, neither the software. Maybe a configuration of the Pi changed, but I'm not sure.

I connected the pins like that:

Name    Pin #   Pin name
SDA     24      GPIO8
SCK     23      GPIO11
MOSI    19      GPIO10
MISO    21      GPIO9
IRQ     None    None
GND     Any     Any Ground
RST     22      GPIO25
3.3V    1       3V3

Here is my code (I also tried with pirc522 library):

import RPi.GPIO as GPIO
from mfrc522 import SimpleMFRC522

reader = SimpleMFRC522() print("Wait RFID tag...") try: id, text = reader.read() print(id) print(text) finally: GPIO.cleanup()

Nothing happens now, the code is waiting even if I put a tag front of the reader. I don't know what I can check to see if everything is well configured. I already went to raspi-config to enable SPI. I don't understand why it suddenly stopped to work.

Thanks in advance for your help.

Dark Patate
  • 211
  • 2
  • 10

0 Answers0