Using Rfid
Using Rfid
(RADIO-FREQUENCY
IDENTIFICATION)
OBJECTIVE:
to have a mini security
system that will notify
the user which card or
tag is worthy to have
access
USING RFID
(RADIO-FREQUENCY IDENTIFICATION)
LED
SCHEMATIC DIAGRAM
In this activity, I selected to
have a Green LED to indicate an
“Access Granted” for a correct
card scanned and a Red LED for an
“Access Denies”.
PROCEDURES:
• Using a Male to Male Dupont wire, connect the “SDA“
pin of the RFID Reader and “pin10” of the Arduino.
Once you have tapped your card, you must be seeing an output like this but with a
different “Tap card key”:
CODING:
Don’t worry if it says “Access Denied” for now, because as of the moment, my own
tap cad key is copied in your code. Now to correct this, copy the number and
letter combination after the label “Tap card key” and replace the number and
letter combination of your code in this part:
after the label “Tap card key” and replace the number and letter combination of
your code in this part:
CODING:
Replace that “D1:7E:2B:2D” with your own tap card key but don’t forget the
quotation marks. Now that you have replaced my code, you should now be able to
see an output like this:
CODING:
Of course, you will still be having a different card key. But now you should be
able to read that “Authorized Access” and a blue LED should be notifying you that
you have tapped the right card. Now try, tapping a wrong card, to see if the red
LED will notify you that you have tapped the wrong card.
Prepared by:
KRIS CRISTHOPHER C. DELA CRUZ
[email protected]