cscuilla
Posts: 58
Joined: Tue Apr 26, 2016 6:35 pm

MFRC522 RFID reader on Raspberry Pi 3

Wed May 18, 2016 8:55 pm

I have been using the MFRC522 rfid reader on previous raspberry pi versions (B, B+, and 2) without issue. I recently got a rpi 3 and cannot get the card reader to work. The script loads with no errors, but when I place a card over the reader I don't get any output. Here are the instructions which work successfully for previous PI versions. Please let me know if you can think of a way to get this working on rpi3. Thank You

Code: Select all

1. sudo nano /boot/config.txt
    - Add to bottom:
       device_tree_param=spi=on
       dtoverlay=spi-bcm2708

2. Install SPI-Py Library
    git clone https://github.com/lthiery/SPI-Py.git
    cd /home/pi/SPI-Py
    sudo python setup.py install

3. Install Sample RFID Reader Program
    git clone https://github.com/rasplay/MFRC522-python.git
    cd MFRC522-python
    sudo python read.py

cscuilla
Posts: 58
Joined: Tue Apr 26, 2016 6:35 pm

Re: MFRC522 RFID reader on Raspberry Pi 3

Wed May 18, 2016 8:56 pm

Forgot to add, I also have to install the following..

Code: Select all

sudo apt-get install python-dev

Return to “HATs and other add-ons”