PC Security System

by Simonexc in Circuits > Arduino

8052 Views, 134 Favorites, 0 Comments

PC Security System

56881a584fbade21e6000280.jpeg

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

Parts

Arduino.JPG
RFID.JPG
Card.JPG
Relay.JPG

All you need to do this, are:

Arduino or replacement,

RFID,

RFID card,

relay,

few wires,

USB cable for Arduino,

power supply for Arduino.

Check Card ID

Arduino and RFID.JPG
Serial Monitor.jpg

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

In Computer

power button.JPG

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 :)

All Together

PC RFID security system.jpg
56881ce215be4dddaa000b0c.jpeg

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.