I know this topic has been already discussed in many aspects here and other forums but I haven't found help for my problem (which I guess may be just slightly different than in older topics because literally nothing worked).
My problem is RFID module not working (not reading any data) with RPi 3. I have Raspberry Pi 3B (40-pins board) and RFID RC-522 module. I soldered the module's pins and connected them as follows with my RPi:
Name Pin # Pin name
SDA 24 GPIO8
SCK 23 GPIO11
MOSI 19 GPIO10
MISO 21 GPIO9
IRQ None None
GND Any Any Ground
RST 22 GPIO25
3.3V 1 3V3
I am sure my RFID module works fine, checked it with Arduino. On RPi this module reads no data from any RFID tag. Every examplary program I tried to read data just starts and waits for data to print which never occures.
On my RPi I have tried to use different versions of Raspbian OS, currently running latest Jessie. Wheezy was not booting up on my RPi 3.
I enabled SPI. In my /dev
there are visible spi
's:
$ ls /dev/spi*
/dev/spidev0.0 /dev/spidev0.1
My lsmod
lists spi_bcm2835
module.
I have installed and tried to use few different libraries for the module, according to different instructions I found, libraries I tried were (sorry I cannot insert more than two links, they all are on github): lthiery/SPI-Py, mxgxw/MFRC522-python, rasplay/MFRC522-python, ondryaso/pi-rc522. I checked these libs on clean installs of different Raspbian's.
Finally, I guess I have tried every solution mentioned in this topic: https://github.com/raspberrypi/linux/issues/1547 and still couldn't make my RPi work with my module.
So if somebody solved this issue with latest versions of RPi and Raspbian please point me the direction how to solve this problem, how to get RC522 module working on RPi 3 and latest Raspbian Jessie (or other Linux OS)?