This question already has an answer here:
I am trying to use a Pi for a remote power switch for a computer. The way the computer's power switch is configured is that it has a "Power" lead which is 3.3v, and a ground. to turn the computer on, the "Power" lead is simply shorted to the ground lead.
I am trying to accomplish this functionality without using a relay, so Ideally I would like to connect the power lead from the computer to a GPIO pin, and via a python script, pull the GPIO pin to ground, to create the short needed for powering on the computer.
Other solutions are accomplished using interfacing hardware such as another circuit or relay, I would like to simply bring a GPIO pin to ground.
Is this possible with GPIO? Or will I need a relay?