Application: Arduino RFID RC522 Card Reader Module

Application: Arduino RFID RC522 Card Reader Module
Application: Arduino RFID RC522 Card Reader Module
COMPONENT NEEDED:




Arduino RFID RC522 Card Reader Module
Arduino UNO
USB Cable
Jumper wire
CONNECTION:
_____________________________________________________________________________________
For purchase & enquiries, please contact sales@synacorp.com.my or call 04-5041617
1. Connect the circuit as shown in figure above.
2. Connect your Arduino UNO to Arduino IDE.
3. Open your Arduino IDE.
*Note: Download the AddicoreRFID library, and add zipped library into Arduino
IDE.
4. Select the right board type and COM port.
5. Upload the sketch. You can get the sketch from Application1_Sketch.
6. Open the serial monitor, take one of the RFID cards or RFID Key Chain Tag that
came in your RFID module, then hold it near the white graphic printed on your RFIDRC522 module and see the result.
RESULT:
*Note: First byte of the scanned tag’s ID
_____________________________________________________________________________________
For purchase & enquiries, please contact sales@synacorp.com.my or call 04-5041617


The tag you scan will have a different ID. My RFID card’s Id is 144 and my RFID
Key Chain Tag’s Id is 176.
This Id is used to display whatever you want when you scan the card.
HOW TO DISPLAY ON SERIAL MONITOR WHEN SCAN RFID CARD OR RFID
KEY CHAIN TAG:
 Close the Serial Monitor and find the following lines of code in
Application1_sketch:




Change the number in the following line of code to the number you wrote down
above, in my case it is 144 and 176.
You can change the text on the next full line of code to whatever you want to
display when you scan the same RFID tag. I put mine to say “Hello Isma!” and
“Hello Qeeya!”
Upload your changed code to your Arduino, reopen the Serial Monitor, and then
scan the same RFID tag as before.
Now when you scan the tag, the Arduino will recognize the ID and will display the
desired text.
_____________________________________________________________________________________
For purchase & enquiries, please contact sales@synacorp.com.my or call 04-5041617
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising