Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4919

General discussion • MFRC522 issues on Rpi zero2

$
0
0
Hi there,

I'm having some issues with a project I'm currently working on. I have a project using an MFRC522 RFID module and 3 16x2 adafruit LCDs.
I started my project on the raspberry pi zero 2w and got the MFRC522 reader to work no issues, I then included an i2c lcd and they were working in tandem and everything was fine for a few days. Then there had started being issues. when I ran the code, it would run as usual but when I presented a card or key fob there would be no response (they're generic mifare tags that came with the reader) I then went looking for what would cause the issue and people were recommending venv, lthierys SPI-Pi, freenoves SPI-Pi and all assortment of things. I had a suspicion that the reader may be faulty so I hooked the same module and ran the same code on my raspberry pi 4 (which I cannot substitute into the project as it is running my home nas), changed nothing in the code or setup barring the pi amd the code ran flawlessly. I then reached out on Facebook groups and someone asked for the output of "pip freeze | grep --ignore-case spi" and the output on the pi zero2 had 2 other instances of spi more than the 4 (bearing in mind this was from a fresh install of the latest debian bookworm) pi 4 only has spidev whereas the zero has spi SPI-Pi and spidev. I'm thoroughly scratching my head here and would appreciate any assistance. I can post anything I've missed that may assist.

Thank you for your time

Statistics: Posted by Nicholasp1996 — Sun Dec 08, 2024 11:57 pm



Viewing all articles
Browse latest Browse all 4919

Trending Articles