-
Notifications
You must be signed in to change notification settings - Fork 179
Open
Description
Hi,
I am using a PI400 with the JOY-It reader (https://joy-it.net/en/products/SBC-RFID-RC522)
When i read the card with this code i have some errors even if the ID is read:
#!/usr/bin/env python
import RPi.GPIO as GPIO
from mfrc522 import SimpleMFRC522
reader = SimpleMFRC522()
try:
id, text = reader.read()
print(id)
print(text)
finally:
GPIO.cleanup()
AUTH ERROR!!
AUTH ERROR!!
AUTH ERROR(status2reg & 0x08) != 0
AUTH ERROR(status2reg & 0x08) != 0
584190898496
And when i use this code to write:
#!/usr/bin/env python
import RPi.GPIO as GPIO
from mfrc522 import SimpleMFRC522
reader = SimpleMFRC522()
try:
text = input('New data:')
print("Now place your tag to write")
reader.write(text)
print("Written")
finally:
GPIO.cleanup()
I have this message:
New data:0123456
Now place your tag to write
AUTH ERROR!!
AUTH ERROR!!
AUTH ERROR(status2reg & 0x08) != 0
AUTH ERROR(status2reg & 0x08) != 0
Error while reading!
Error while reading!
Written
Any ideas ?
alexandrecaze and I4LYT
Metadata
Metadata
Assignees
Labels
No labels