Tutorial - Using a Raspberry Pi with an RFID Reader RC522
Channel: Luigi's Lab
Date: 2015-06-25

ENGLISH SUBS AVAILABLE 

This code has not been tested on the Raspberry Pi 3. Probably won’t work properly. 

Diagram:

(RC522) --- (GPIO RaspPi)
3.3v --- 1 (3V3)
SCK --- 23 (GPIO11)
MOSI --- 19 (GPIO10)
MISO --- 21 (GPIO09)
GND --- 25 (Ground)
RST --- 22 (GPIO25)

URLs:

GPIO RaspPi A & B - http://robig.net/blog/files/images/Raspberry-Pi-GPIO-Layout-Revision-2-e1347664831557.png

GPiO RaspPi B+ & 2 - http://www.rpi-spy.co.uk/wp-content/uploads/2012/06/Raspberry-Pi-GPIO-Layout-Model-B-Plus-rotated-2700x900.png

Link #1 01:15 - http://node-arm.herokuapp.com/node_latest_armhf.deb 
Link #2 01:41 - git+https://github.com/SebastianPozoga/rc522-rfid.git
Link #3 01:58 - http://www.airspayce.com/mikem/bcm2835/bcm2835-1.35.tar.gz
Link #4 02:34 - https://github.com/luigifreitas/Raspberry-Pi-RFID.git

Commands:

npm install git+https://github.com/SebastianPozoga/rc522-rfid.git
npm install express
npm install -g node-gyp
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.35.tar.gz
tar -zxf bcm2835-1.35.tar.gz
cd bcm2835-1.35
make install
npm install socket.io
git clone https://github.com/luigifreitas/Raspberry-Pi-RFID.git