RFID stands for Radio Frequency Identification. This technology basically works on the radio frequency of radio waves. Hence this technology is helpfull in automatically identifying or tracking the object. Objects can be anything in the real world that can be tracked using RFID.
Even animals and birds can be tracked by the radio waves used in RFID. The only condition is that the object should be in the range of the reader and should be able to send feedback signal back to the reader. In this blog we are going to learn about RFID reader and also how to use MFRC522 in different modules or projects.
Components required -:
- Bread Board
- Jumper Wires
- Arduino uno
- RFID reader
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Making Connections/ Schematic
Make connections according to the given Schematic. Connect RFID to the Arduino board according to the given schematic.
Pin Wiring to Arduino Uno
SDA == Digital 10
SCK == Digital 13
MOSI == Digital 11
MISO == Digital 12
IRQ == unconnected
GND == GND
RST == Digital 9
3.3V == 3.3V
Step 2: Downloading Libraries
Once the circuit is ready you can download the libraries from Github or you can even download libraries from the given link.
After downloading libraries -:
- Extract the given folder and rename this folder from "RFID Master" to "RFID". Copy this folder and place it in Arduino library folder.
- Open Arduino file location>Open libraries folder and paste it over there.
- Open Arudino IDE, go to files and then Examples, then navigate to MFRC522 and open DumpInfo folder. Here you will find the code which reads the RFID tag.
Step 3: Upload Code and Open Serial Monitor
After Uploading the code open the serial monitor. Bring the reader and the tag closer untill all the information is displayed on the serial monitor. Information held in the card can also be read in the serial monitor. The information stored in the memory is divided into segments and blocks. There is 1024 bytes of data storage divided into 16 sectors and each sector is protected by two different keys A & B
Step 4: Where to Buy??
Click here to buy RFID