Ok, so I’ve wanted to setup a Raspberry Pi (RPi) in a sort of kiosk mode reading RFID tags to identify a person without the need for them to login (more about the whole project later I’m sure).
I’ve seen many people have issue with the ACR122U (as pictured below) on linux systems (which I got from )
I too have had quite an issue, so this post is as much for me to remember how I did it as it is for you to find out…
This article assumes you want to run an ACR122u USB RFID reader on an RPi running raspbian, it’s default OS.
First you need install libudev-dev:
sudo apt-get install libudev-dev
Then you need to install libusb, this should do the trick:
sudo apt-get install libusb-dev
Now we need to install NFC Tools:
tar xjf libnfc-1.7.1.tar.bz2
./configure –prefix=/usr –sysconfdir=/etc
sudo make install
You have to blacklist two items for it to work, I believe this is so the system doesn’t take control of the RFID reader thus locking it up for you to check it directly…
sudo nano /etc/modprobe.d/blacklist.conf
Paste the following text:
Ctrl-X, Y, enter…
sudo modprobe -r pn533 nfc
Step 5 – Give it a go:
At this point you should plug in the RFID reader, with an RFID card on it, give it 30 seconds, and then the following line should show you details of the card on the reader, if it doesn’t then something’s gone wrong…
I’ve tested this on a fresh image of raspbian (wheezy 2015-02-16 image) with zero problems.
Great thanks to the following articles for reference in making this post: