0

I want to control my PC power via the ATX headers on the mainboard. To trigger power and reset events the two corresponding pins on the mainboard have to be short circuited i believe. Can i achieve this with the gpio command in Rapsbian please?

Edit: I've decided to try to use the MAX320 analogue switch for the purpose. Would this work?

Thanks Maciej

Maciej Swic
  • 101
  • 2
  • Your correct on the short circuit thing. But I don't think that is the way to go. A better idea might be to make use of the wake-on-LAN t feature that nearly all modern computers have. What this means is when a certain packet of data is sent to the computer through the Ethernet port it will turn on. I believe this might even work if the computer is turned off but still has power to it. – Darth Vader Oct 09 '16 at 14:07
  • And how do i cut power to it if it hangs? Please provide proper answers to the actual question instead of suggestions to do something completely different. Thanks. – Maciej Swic Oct 09 '16 at 14:48
  • The chance of your computer hanging (I would hope) is relatively small. The suggestion I gave avoided this idea of shorting connectors on a motherboard, which is much more likely to go wrong. An alternative would be to think about how to control the power button on the computer with the Pi. I.e a circuit which when activated by the Pi pushes the power button. I'm giving suggestions because I don't always necessarily have the time to give full answers. And my goal isn't always to spoon feed people answers but to push them in the right direction. – Darth Vader Oct 09 '16 at 15:08
  • The whole purpose is to be able to reboot it when it hangs. – Maciej Swic Oct 09 '16 at 17:40
  • The best thing to do at a guess would be to link to the motherboard header switch (like the power button). This can be done through jumper wires, will largely work alongside your existing PC power switch and not override the motherboard's control of the power supply. The power supply version can work but would he bad if thats how you want to shut the computer down – Wilf May 25 '18 at 20:31

1 Answers1

-1

You can see this video https://www.youtube.com/watch?v=03J497Pmve4 Sensorless part, and then connect the green cable and ground from the power supply to the relay pin Base and NO