Jay Taylor's notes

back to listing index

arduino controlled pc power switch

[web search]
Original source (www.instructables.com)
Tags: diy arduino www.instructables.com
Clipped on: 2016-04-27

Image (Asset 2/24) alt=
Image (Asset 3/24) alt=

With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.

How it Works » New Instructable »
this project is the first step in an advanced pc power switch.
this first installment will show you how to power your arduino from your computers power supply even when your computer is off.
and take control of the computers power switch using your arduino.
After this there are many different things you can do to activate your pc 

Supplies you will need:
an arduino, any will do!
and jumper wires (two f-f and one f-m)

phillips head screw driver (to open your computer case)

Step 1: powering the arduino

now obviously we cant get power from the usb port when the pc is off!

you will be tapping into the +5v standby pin on your computers power supply.
the easiest way to do this is simply to take the male end of your female to male jumper wire (or any wire) and stick it down the back of the connector and secure it there.
this is a constant 5v source when the pc is off and on.
then you just run that wire to the 5v pin on your arduino. dont use vin unless you have a 3.3v board (like my pro mini).
the ground can come from anywhere be it the 24 pin atx connector, a hard drive connector, or like what i did an unused usb header.
Image (Asset 8/24) alt=

Image (Asset 9/24) alt=

We have a be nice comment policy.
Please be positive and constructive.

Image (Asset 10/24) alt=
YapangJ1 Reply a month ago
Relay will needing for that right inorder to control the AC
X 8
Image (Asset 11/24) alt=
k.biagini (author) . YapangJ1 Reply a month ago
I'm not switching on and off the high current AC just using the arduino in place of the power switch on the pc case. It's all 5v
Image (Asset 12/24) alt=
YapangJ1 . k.biagini Reply a month ago
Can you send me the circuit diagram of the adruino to connect with CPU..?
Image (Asset 13/24) alt=
namucarpintero Reply 2 years ago

I don´t get this completely. you say: "there will be two wires from your power switch to your motherboard.

unplug them both (note from me: unplug them from where? from the power switch or the motherboard?? I guess it should be the power switch since the arduino will replace the power switch?) and connect your jumper wire to the ground on your arduino being powered by your computer. touch the other end to one of the two pins. (those two pins on the motherboard right? if I don´t get the correct pin at the first time will I fry my arduino board or something? aand the last question, once I get the pin that will turn on/off my computer, I connect the other end of the wire to the pin 13? or I keep it at GND and connect the other pin to the pin 13?).

thank you!!!

Image (Asset 14/24) alt=
namucarpintero Reply 2 years ago

Hi, this project is great! I have a question though, do you know if it would be possible to do with a laptop computer?