Subscribe to Arduino Academy and start learning today for FREE!

RFID Access Control

Need to identify a RFID card, and allow access to a controlled space? Maybe log the time and date when a user swipes their card?

Now you can with an inexpensive (<$10) RFID solution. Just supply a Arduino, and maybe a relay to control a door strike, or a real time clock module to log date and time with the card number and user name.

We connected our RFID Module as follows:

RFID     Arduino
SDA      10
SCK      13
MOSI    11
MISO    12
IRQ       N/C
Gnd       Gnd
RST       9
3.3v       3.3v

Become the Maker you were born to be. Try Arduino Academy for FREE!

We also connected the anode of a Red LED to pin 6 and the anode of a Green LED to Pin 5. Cathodes of each connect to a 330 ohm resistor and then to Gnd. Look in void loop() for the interesting bits.

Code

Subscribe
Notify of
guest
12 Comments
Inline Feedbacks
View all comments
ibrahim aeraq
6 years ago

Where code

Steve Spence
6 years ago

Click the link above that says code.

Unknown
6 years ago

I dont find a N/C port on my Arduino uno, what yo do?

Steve Spence
6 years ago

N/C means "no connection"

Ponsky
6 years ago

I tried to upload the code but I had an error. error: espcomm_upload_mem failed

Steve Spence
6 years ago

Sounds like you are using a esp8266, not an arduino. Make sure you have the correct board and upload speed selected.

Unknown
6 years ago

Hey, May I ask you an Question? How to connect database(Microsoft Access) with arduino UNO?

Steve Spence
6 years ago

Use VBA to connect access to the arduino. VBA has a serial object that is ideal for this.

Lynsey Evans
5 years ago

Hey could that reader detect my contactless bank card?

Steve Spence
5 years ago

I doubt it, but check here for more details – https://en.wikipedia.org/wiki/Contactless_smart_card

Unknown
4 years ago

Where is the code

Steve Spence
4 years ago

On the link "Code"

Archives

12
0
Would love your thoughts, please comment.x
()
x