Introduction: PC Security System
Computer is a very personal thing. Probably, you don't want to everybody see what you have in it. You can use password, but what if it's not enough? Maybe you don't want to anybody turn on your computer? Then, it's great instructable for you.
You can use RFID cards like power button but button can click everyone, and RFID cards not. If you will make this project only persons who have your card can turn on computer(power button won't work).
Step 1: Parts
All you need to do this, are:
Arduino or replacement,
RFID,
RFID card,
relay,
few wires,
USB cable for Arduino,
power supply for Arduino.
Step 2: Check Card ID
Firstly, you have to check your card ID. Wiring:
RFID Pins --> Arduino Pins
VCC --> +3.3V
RST --> 9
GND --> GND
MISO --> 12
MOSI --> 11
SCK --> 13
NSS --> 10
To use RFID you need to download RFID library. This library contain no examples, but I've got one made by Henri de Jong. If you get card close to RFID it will print out its number on Serial Monitor(Ctrl+Shift+m to open Serial Monitor). Save this number(only decimal).
Step 3: In Computer
Secondly, you have to take off cover from your PC and find where goes wires from power button. There should be pins(probably on right-bottom corner) named reset(or rst) and power(or pw). Disconnect power button pins and connect yours. Ok, almost done :)
Step 4: All Together
Let's back to the Arduino. You've already connected RFID to it. Now, you will connect relay.
Relay pins --> Arduino Pins
S(steering) --> 8
VCC --> +5V
GND --> GND
Download the code, change variable called cardNumber, to your card number and send it to Arduino.
If you've done that, disconnect USB cable from Arduino(it won't be useful now) and connect relay pins - NO(normal open) and MAIN(it should be the middle pin) to pins which you connected to computer in previous step. Connect power to Arduino. You can insert Arduino and relay to plastic to avoid short circuit. RFID attach to PC cover. In my cover there was a hole on the bottom so I could easily get wires from Arduino to RFID in front of PC. But if you don't have a hole on the bottom or in front and you don't want to make one you can attach RFID on side and get wires through hole at fan, or attach RFID on back(which could be not very practical but if you don't have any option you could do that).
That's it! It was my first instructable so thank you to done it. Now you can turn on your computer using card and no one else would open it :)
If you have any questions - ask.
Attachments

Participated in the
Arduino All The Things! Contest
11 Comments
7 years ago
What help you decide to use a card? why not a finger reader or a pin? I like the idea Though.
Reply 6 years ago
I used rfid because I had one spare. Fingerprint scanner would be a better idea, but I didn't have one.
7 years ago
Id take this a step further and attach a smoked piece of acrylic in one of the expansions slots to make it tamper proof.
7 years ago
This is very cool... If I get a computer I might make this.
Reply 7 years ago
Hope you get it soon :)
7 years ago
I had never thought of this.
Thanks for sharing
Reply 7 years ago
Thanks for comment :)
7 years ago
Great way to keep people off you computer.
Reply 7 years ago
:)
7 years ago
Not too worried about my gaming rig getting compromised, but I might figure out if I can work this into my laptop.
(BTW you can have a transistor that ties the green wire and GND together from your power supply and keep the original power button)
Thanks for sharing! - Sam
Reply 7 years ago
Thanks for comment! I dont't know which laptop you have but probably you have to just disassemble power button and connect relay(or transistor as you said - I didn't have free transistor so I used relay) to button wires. Of course all stuffs have to be outside(unless you have very small arduino or very big laptop :)