Swipe Card Lock

by rjkorn in Circuits > Gadgets

5561 Views, 105 Favorites, 0 Comments

Swipe Card Lock

IMG_0599.JPG
IMG_0721.JPG
IMG_0727.JPG

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"

Check out my store for PCB's and parts for my projects.

VFD Display

IMG_0704.JPG
IMG_0700.JPG
IMG_0696.JPG

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.

Updating the Lights

IMG_0705.JPG
IMG_0706.JPG
IMG_0707.JPG
IMG_0698.JPG
IMG_0697.JPG
IMG_0699.JPG
IMG_0708.JPG

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.

Picking a New Insertion Reader

IMG_0607.JPG
IMG_0608.JPG
IMG_0487.JPG
IMG_0488.JPG

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.

Schematic, Code and Controller

MagSwipeDoorLock.bmp
IMG_0619.JPG

Serial Interface Shield

IMG_0717.JPG
IMG_0402.JPG
IMG_0713.JPG
IMG_0718.JPG
IMG_0614.JPG
IMG_0612.JPG
IMG_0716.JPG
IMG_0711.JPG
IMG_0710.JPG
IMG_0715.JPG
IMG_0714.JPG

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.

Final Testing

IMG_0703.JPG
IMG_0722.JPG
IMG_0723.JPG
IMG_0728.JPG
IMG_0730.JPG
IMG_0719.JPG
IMG_0701.JPG
IMG_0712.JPG

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.......