Introduction: Swipe Card Lock
I found this Magtek card reader in a surplus shop. It was meant to read paper cards in a parking garage. I wasn't quite sure what to do with it but then I realized it would make a nice big ugly door lock.
Besides, that big Glowing VFD in a dark hallway seems to just say "KEEP OUT"
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: VFD Display
It had a VFD display but it was damaged. The gas seal was broken. Luckily I had one on hand that would almost fit.. I say almost because it was just a little too wide. I trimmed the width on a band-saw and had to hot glue it in but from the outside it looks great.
Step 2: Updating the Lights
It had nice lamp holders on the front already but they had old style incandescent lamps. I replaced them with 10mm White Led's. To control the Led's I used a small PIC micro controller that would watch the serial data tot he display and used certain control characters to trigger the leds. I almost added a code to trigger the strike but that would make it too easy to bypass the lock if you ripped the face off the wall.
There was a power switch and reset button I left disconnected. I probably could use the pushbutton for a doorbell.
The completed head unit only has 2 connectors. Power and serial data. For power I used a standard Wall Wart. I used a 1/8 stereo headphone Jack for the serial data.
Step 3: Picking a New Insertion Reader
The original reader mechanism was designed or paper cards. It almost looked like it could be used to read punch cards. I removed it and replaced it with a serial insertion reader. I have a few different ones around the larges ones seen above came from a Gas Pump and are the best. The smaller ones use a clock and data interface. No big deal since I already have a PIC on board. It could easily handle that too.
Step 4: Schematic, Code and Controller
Step 5: Serial Interface Shield
I used a standard RS232 driver chip. I added a standard DB-9 connector. I did a quick check to see that everything clears the Linkit's mount. Then I went the parts bins to get a darlington transistor and a decent relay. The one I picked is rated at 5A so it should be more than enough for any household door strike. make sure you match the relay to the intended load.
By putting the relay here and not in the head unit its much harder to bypass.
Step 6: Final Testing
You could program it to match any card on hand or custom program your own cards....
I kept the messages simple and to the point. I just got a SIM card so I have to activate it. Then I can add SMS notifications of any swipes.
I have to take a break now since Tommy stole my chair. I told her to move but she stuck her tongue out at me. Since she has 7 claws on each of those front paws and looks poised to swipe I'm not going to argue with her.......