RFID Fun

For Christmas I got a RFID reader and an assortment of tags. It has been a very fun toy to play with. I mounted the RFID reader at the entrance of my room and attached it to my desktop with a long USB cable.

RFID Reader

A C program runs in the background of my computer and when a RFID tag is read, it executes a shell script with the 40 bit encoded number as an argument. The shell script then compares the code read to the code for the RFID tag I keep in my wallet. When I walk into my room, I brush my wallet against the reader and my computer unlocks. When I leave my room, my computer locks. For feedback, I have a sound play when I leave the room, and a random song starts playing when I enter the room.

This is the setup that I have been dreaming about for a long time. Now I have a security card for my room.

Leave a Reply