by jrockway · 5y ago · 0 comments
While writing this comment, I decided to investigate whether or not speed control is even possible on a 5V fan with 3V3 logic and found this: https://noctua.at/pub/media/wysiwyg/Noctua_PWM_specification...
The answer is: I still don't know. They say that the PWM voltage is pulled up to "3.3V/5V" internally but the spec says the PWM signal has to be 5V, so I suppose the results are undefined (and they just left 3.3V in their document accidentally).
But, a first-party fan could make this work, so I'm kind of sad that they just chose some off-the-shelf fan that was cheap today in Shenzhen. If you could do better than Noctua, then there's value in making it first-party. If you can't, why bother? Everyone that wanted a fan already has one.
So if anything you should be able to connect the PWM pin of your Noctua fan to one of the GPIO pins, and use their software to specify the PIN number of your PWM output. What seems more complex is to get the input from the fan about the actual speed, which would be useful to detect that the fan is blocked and is not doing the job you ask it to do.
[0]: https://www.raspberrypi.org/products/raspberry-pi-4-case-fan...
I don't know enough about the RPi to know if any PWMs can be configured as open drain and 5v tolerant. If not you'd need to add a single discrete transistor.
I'm not sure what "too much ventilation when the computer doesn't actually need it" mean.
Either there's dust in the air/surfaces near the intake or not.