mxgxw / MFRC522-python

A small class to interface with the NFC reader Module MFRC522
GNU Lesser General Public License v3.0
521 stars 419 forks source link

MFRC522 random problem to start Read.py #64

Open gasseritsolutions opened 5 years ago

gasseritsolutions commented 5 years ago

Hello I have a problem with my MFRC522: When I make a reboot and start the Read.py file like this: "python Read.py" it always looks like this: Code: Select all

root@raspberrypi:~/MFRC522-python# python Read.py 
Welcome to the MFRC522 data read example
Press Ctrl-C to stop.

Sometimes this works fine and I can read my NFC-cards. BUT sometimes it doesn't work and I have to abort and reopen the Read.py script, then it mostly works if not, I have to do a reboot.

How can this be?

Is there a log or something to see why it's not working?

I'm using the Raspberry 3b+ with the newest RASPBIAN STRETCH LITE.

gasseritsolutions commented 5 years ago

I finally found the solution:

I bought a batch of "defect" MFRC522-Reader :x ...

So it was a hardware defect and not a software.