Can I use the Raspberry Pi's GPIO pins to make the Rasperry Pi act as a switch?
I would like to shut down, boot up and reboot my computer via hardware remotely. My idea was to take the PS_ON# pin from the front IO header, plug it in on some GPIO pin and then, when I want to activate the switch, pull the pin to low and thus toggle the PC PSU. Unfortunately PS_ON# uses +5V and I don't even know if I can simply pull a random GPIO pin to low.
-> Can I use the Raspberry Pi to short out a power source on a GPIO pin to GND?