Skip to content

[Q] Cannot read tag with this version mfrc522-python #6

@streithausen

Description

@streithausen

good day,

i a a litte bit stuck in reading RFID tag with your version of MFRC522 implementation.
If i use https://pypi.org/project/mfrc522/ i can read and write tags

pip install mfrc522

file simpleread.py

#!/usr/bin/env python
from mfrc522 import SimpleMFRC522
import RPi.GPIO as GPIO

GPIO.setmode(GPIO.BOARD)
reader = SimpleMFRC522()
id, text = reader.read()
print(f"ID: {id}")
print(f"Text: {text}")

./simpleread.py

Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(pin_rst, GPIO.OUT)
ID: 497702468104
Text: mytag
pip uninstall mfrc522
pip install mfrc522-python

./simpleread.py

nothing is displayed.
I would like to use your module as it looks like maintained :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions