Today I will show your how to use a Raspberry Pi with a RFID Reader.
For this project you will need any Raspberry Pi
one RC522 RFID Reader
and jump wires.
With everything in place we can start building our project.
Now we have to connect the Raspberry Pi GPIO with the RC522 pins.
The Connection Diagram is on description.
Using the Terminal connect to the Raspberry Pi using SSH.
Type SSH pi @ and the IP address of the Pi.
Now type the Raspberry Pi password.
"sudo su" to root access
Create a new folder typing "mkdir RFID".
And access it typing "cd RFID".
If your didn't have Node.js on the Raspberry Pi.
Type "wget" and the first link on the description.
Remember that all the links are on the description.
When finish type "dpkg -i node_latest_armhf.deb"
and press enter.
To install the app dependencies type all description codes.
"npm install" and the second link on the description.
"npm install express"
"npm install -g node-gyp"
"wget" and the third link on the description.
"tar -zxf" and the name of the file previously downloaded.
"cd bcm2835-1.35"
"./configure"
Finally "make install"
npm install socket.io
Remember that these steps can take a while.
"git clone" and the fourth link on the description.
Access the folder that you just download typing
"cd Raspberry-Pi-RFID"
Now test our app typing "node rfid.js".
If the message "App Successfully Launched" appears
your app is working :D
Now go the the browser and type the
Raspberry Pi IP followed by ":8000"
If you are seeing this page your app is work correctly.
To test take you RFID card and tag and
observe the ID of the card on the browser.
If you like the video like, share and subscribe :D
Thanks for watching!
