Picture of RFID Computer Lock
This instructable will allow you to make an easy RFID lock for your computer, so only people with the correct RFID tag can access it. A program runs on your computer, so when you click into it and press 'l', the mouse automatically goes to the top left corner, and stays there until it is unlocked. It works using processing (with the robot class), an RFID reader, and an Arduino. I would very highly recommend not using this to actually secure something, as it is easily hackable by someone with little experience. With that being said, it can still be used for simple protection against family or co-workers (depending on where you work).

Here is a video of it in action:

Step 1: Supplies

Picture of Supplies
Here's what you need:

1 ID-12 RFID Reader (and breakout board)
1 Arduino
1 RFID Tag
1 Breadboard
1 Computer
private_11 year ago


To make this more complete, you could put this in its own executable .jar (with all the required libraries), reduce the dependency on Processing and use the standard java classes (in this case TimerTask and KeyListener) to perform the functionality you want, and add command-line switches to enable/disable pressung 'u' to unlock. This way, you don't have to start up the editor just to run it or tweak the testing parameters.
magique062 years ago
What software do you use to lock the computer screen?
VadimS3 years ago
Looks neat, just cureose, why didn't you have it actually lock the computer. You could have setup the arduino to act like a keyboard, program a macro on it to lock the system, then have the rfid trigger it to type in your password.
alecnotalex (author)  VadimS3 years ago
Interesting idea. I honestly didn't think of that, but now that you mention it, I'll try to figure it out!
Hope it goes well.
megaduty3 years ago
I have the exact same reader and will give your ible a shot later; thanks for the post!