I have a 12V Noctua industrial fan (it's for a project, the amount of airflow is needed). The fan doesn't turn on by itself (with only 12V and GND connected), but it does turn on when I connect GPIO pin in HIGH state from Raspberry into PWM connector. Although the fan does turn on, every time I use PWM with GPIO pin fan turns off, thus making the fan uncontrollable.
From what I've searched I need 5V input to control the fan using PWM connector (why does it turn on with only 3V is unknown). So basically I need a 5V rail for PWM controlled via 3V GPIO pin. What should I use? Some transistor? Or is there IC for this?