I just rescued this fan from a PC that was to be thrown away. It is a Titan TFD-8025L12S DC 12V 0.16A fan.
So far, I had only worked with 2 pin fans (pwr and gnd). I assume this is a PWM fan.
I tried searching for esphome PWM fan and found a few projects, but they were all about 4 pin fans.
This one has only three pins. I have no experience with PWM in ESPHome… Can I just connect what I assume to be the control fan (yellow) to a pin on my ESPHome, connect gnd to both ESPHome ground and 12V ground, and red to 12V power?
And if so, what values would I need for min_power, max_power, frequency, etc.?
I am not at home atm, so I cannot just try it. As I am currently traveling, I thought I’d ask here before stuffing this in my bag and carry it around just to realize I cannot use it with ESPHome at all when I return home. (it’s small, but every little bit of space counts)
No, third pin is usually just RPM information. With it you can only read current fan speed, nothing more. You can leave that pin floating or use it as rpm reading, but if you want PWM you’ll need 4-pin fan, as you already figured it out.
You can control speed on 3-pin fan, too, but you’d need MOSFET (or NPN transistor) to regulate it’s power supply.