RFID Computer login

I wanted a simple way of quickly logging on to my computer without having to typing my password in and did not want to have no security either.

RFID Computer login

There are various products on the market that would solve this problem from fingerprint readers to proximity dongles but I decided to see what I could knock up with parts I mainly already had.

Looking in my micro stuff I had a RC522 RFID tag reader 3.3v :

Also an 3.3v Arduino Leonardo clone as well based on a Sparkfun pro micro which also can act as a USB device such as a keyboard. This is useful as if a 5v Arduino was used a level shifter would be required due to the RC522 not being 5v torrent.

How it works

When the chosen cards is presented the Arduino will act as a keyboard and simply type the stored password in followed by a carriage return .

Wiring

As mentioned, both devices being the same voltage ,3.3v made wiring so easy !.

Code

I used the Arduino library for MFRC522 by Miguel Balboa , so you will need to add this library to Arduino.
Please note this is only a very basic example and the password is stored in plain text in your Arduino document ,  so this is very much proof of concept and has just been thrown together. It may also be a good idea after uploading to Arduino to and save your Arduino document with the password blank.

UPDATE!  Please also see RFID Login software Update ! for the latest software example .

 

 

How to use

1) First Set “#define enable_serial” = 1  to enable serial output.
2) Open a serial terminal with 9600 baud
3) Swipe a card and make a note of  UIDs .
4) Add recorded card UID to line 27.
5) Add login information to the keyboard section line 113 , modify the key squence for other OS’s and applications .

Read more: RFID Computer login

 

 

 


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top