Now that you have built you reader, and have all your code, you may be wonder how it all comes together. Here are the simple operating instructions: 1...
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).
1 ID-12 RFID Reader (and breakout board)
1 RFID Tag
Step 2: Assemble
Solder the RFID reader to the breakout board. Then, wire as follows:
RFID reader pin 1 to ground.
RFID reader pin 2 to 5v.
RFID reader pin 11 to 5v.
RFID reader pin 10 to LED.
RFID reader pin 9 to Arduino pin 6.
RFID reader pin 7 to ground.
Step 3: Arduino Code
Here is the code you should upload to your Arduino. You should know the code for your RFID key, so you should change the third to last line accodingly.
SoftwareSerial RFID = SoftwareSerial(6, 7); //RX is 6, TX is 7
String key; //The key that was scanned
void setup ()
RFID.begin(9600); //Begins connection with the reader
Serial.println("RFID is all set.");
char read; //The most recent character read
void loop ()
while(RFID.available() > 0)
read = RFID.read();
key += read;
if(key.indexOf("4F0088AE355C") >= 0) Serial.print("unlock"); //Should be changed to your RFID key