PC Security System




About: I like creating and dreaming about the things that will be created. And I like snow :)

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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Parts

All you need to do this, are:

Arduino or replacement,


RFID card,


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


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


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.

Arduino All The Things! Contest

Participated in the
Arduino All The Things! Contest

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    11 Discussions


    2 years ago

    What help you decide to use a card? why not a finger reader or a pin? I like the idea Though.

    1 reply

    Reply 2 years ago

    I used rfid because I had one spare. Fingerprint scanner would be a better idea, but I didn't have one.


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


    3 years ago

    This is very cool... If I get a computer I might make this.

    1 reply

    3 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

    1 reply

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