Hello,
I am trying to get your RFID Qwiic + ID-12LA sensor working and I’ve come upon a problem.
I have I2C enabled, I have the libraries downloaded. I have the example python code from Git hub… but running the code gets me the following error message “SparkFun Qwiic RFID reader example 1, error connecting to Device: 13, [Errno 121] Remote I/O error”
So I ran “sudo i2cdetect -y 1” and that came back with the grid of addresses… but it’s all empty.
The RFID board’s pwr LED is on, and when I bring a card to it, the blue light flashes.
One possible reason is the INT connection. Reading through the “SparkFun Qwiic RFID-IDXXLA Hookup Guide” it shows the reader connected to a RedBoard with the Qwwic cable, but also a wire soldered on the INT pin from the reader, connected to pin 8 on the RedBoard.
I am using the Qwiic pHAT with the Raspberry Pi 4… so do I still need to connect the INT pin to something on the Pi? If so, where?
And if not… any help getting the reader to be recognized would be great.
Thanks!
The INT isn’t required for it to show up on i2c; try this example https://github.com/sparkfun/Qwiic_RFID_ … address.py and see if it appears with a non-default address? Is anything else connected to the Pi’s i2c bus?
Hi,
thanks for the reply. I tried running this code, but had the same result: “Error connecting to device: 13, [Errno 121] Remote I/O error. The qwiic RFID reader isn’t connected to the system. Please check your connection.”
Right now, I only have the Qwiic pHAT (V2) on the Pi, and the RFID reader attached to it.
The RFID reader has pins I could solder wires to the Pi… would that be worth trying?
Would it be as straightforward as: RFID SDA pin to Pi SDA pin (3), RFID SCL pin to Pi SCL pin (5), 3.3v to Pi pin 1, GRN to Pi pin 9?
Thanks!
So, I just realized I have another qwiic compatible sensor (Adafruit LIS3DH Triple-Axis Accelerometer https://www.adafruit.com/product/2809)
I plugged that into the pHAT, ran “sudo i2cdetect -y 1” in the terminal, and it showed up. I tried daisy chaining the RFID reader to it, just for fun, but still only one device was detected.