I would personally recommend that you use either a dedicated power supply or a usb to 12v dc-dc boost converter like this. Furthermore do check whether or not your fan is capable of detecting a 3.3v pwm signal as that is the max and only voltage the pi's gpio operates on. which means that you will likely also need a dc-dc boost converter on your pwm signal as well.
↧