hi

hi

hi

RFID Reader (RC522)

Download Code

Schematic

Code

Download the RFID-master zip file library and add it to your Arduino IDE. Then download the RFID txt file and copy and paste that contents into an Arduino sketch. Be sure to include the library into the new sketch.

Get Tag UID

Run the sketch and open up the serial monitor in the Arduino IDE. Then place a tag of your choosing up to the scanner. The serial monitor will tell you "access denied" but will also tell you the UID of the tag you scanned. Use this UID and change the RFID code section:

if (content.substring(1) == "19 8F CF 20") //change here the UID of the card/cards that you want to give access

Change the UID and re-upload your code.

Test

Present your newly upload tag to the reader and ensure the LED lights up for that tag!