This is an old revision of the document!


Unlock computer with RFID

by DUMITROF Dan-Stefan from 1221B Group

Introduction

I built this project because I wanted to make it easier for me to log into my computer. We have many types of verification methods these days, like password, pin, pattern, gesture, fingerprint recognition, face recognition and much more.

General description

The Arduino Board and RFID reader will always be connected to the computer. It only needs to sweep the RFID tag over RFID reader to unlock the system. The computer will log in after the Arduino sends the UID of the RFID tag to the computer.

Block Diagram:

Hardware Design

Parts list:

  • Computer
  • Arduino Nano
  • RC522 RFID module
  • RFID tag/card
  • Breadboard
  • Wires
  • 4N35 Optocoupler (Optional | used to boot up the computer)

Electric diagram:

Software Design

Using MFRC522 and SPI Arduino Library

In the void setup, we have initialized the serial and SPI communication and RFID reader.

In loop function, we are waiting for the card. If the card found send_tag_val called an RFID tag data will be transferred to the system using serial print. This serial print value will be compared with the file that we placed earlier and if it a match the windows will unlock itself.

The Arduino code and the Windows Library can be found in the Download section.

Obtained results

Conclusion

I am very happy with what I built.

Download

Journal

The project was built initially using an Arduino Pro Micro, but the board bricked. I chose Arduino Pro Micro for it's compatibility with “Keyboard.h” library. After the board gave up, I used an Arduino Nano. I had problems with the Arduino Nano seeing the Windows Library. After all, everything went smooth.

Bibliography/Resources

pm/prj2022/agmocanu/unlockwithrfid.1653676096.txt.gz · Last modified: 2022/05/27 21:28 by dan_stefan.dumitrof
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0