Last active
September 13, 2017 06:24
-
-
Save licensed/5c752a9a62974c6d01f1f8ed25825bbb to your computer and use it in GitHub Desktop.
[STEPS] RFID RC522 + RASPBERRY PI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+-----------+----------+---------------------------------+ | |
| | PCD | Raspberry | | |
| +----------+-------------+---------+---------+ | |
| | MFRC522 | B+ | | | | |
+-----------+----------+-------------+---------+---------+ | |
| Signal | Pin | Pin | | | | |
+===========+==========+=============+=========+=========+ | |
| 3.3v | 3.3v | 1 (3V3) | | | | |
+-----------+----------+-------------+---------+---------+ | |
| RST/Reset | RST | 22 (GPIO25) | | | | |
+-----------+----------+-------------+---------+---------+ | |
| Ground | GND | 25 (Ground) | | | | |
+-----------+----------+-------------+---------+---------+ | |
| SPI SS | SDA | 24 (GPIO08) | | | | |
+-----------+----------+-------------+---------+---------+ | |
| SPI MOSI | MOSI | 19 (GPIO10) | | | | |
+-----------+----------+-------------+---------+---------+ | |
| SPI MISO | MISO | 21 (GPIO09) | | | | |
+-----------+----------+-------------+---------+---------+ | |
| SPI SCK | SCK | 23 (GPIO11) | | | | |
+-----------+----------+-------------+---------+---------+ | |
http://i.stack.imgur.com/sVvsB.jpg | |
-= NODE.JS https://www.youtube.com/watch?v=PtKuQf8z7HI =- | |
mkdir rfid | |
cd rfid | |
wget http://node-arm.herokuapp.com/node_latest_armhf.deb | |
sudo dpkg -i node_latest_armhf.debn | |
pythpm 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 | |
./configure | |
make | |
make install | |
npm install socket.io | |
git clone https://github.com/luigifreitas/Raspberry-Pi-RFID.git | |
cd Raspberry-Pi-RFID | |
node rfid.js | |
http://localhost:8000 | |
-- | |
-= PYTHON https://www.youtube.com/watch?v=tZPWXnMdIRU =- | |
sudo apt-get install python-dev | |
git clone https://github.com/lthiery/SPI-Py.git | |
cd SPI-Py | |
sudo python setup.py install | |
git clone https://github.com/mxgxw/MFRC522-python.git | |
cd MFRC522-python | |
python Read.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment