I just got an old PC fan from a computer that was taken apart at my school and I want to try and figure out how to make it turn on using the GPIO ports on a Raspberry Pi 3 Model B. It is a DC 12V fan and it has three wires. One red, one black, and one yellow. I looked it up online and it looks like the black is ground and the red is the 12V- wire. Is there any way I could control this straight from the GPIO pins. Thanks.
Edit: Is there a way that I can control the fan directly from the GPIO without a motor driver chip?
RPi control motor