Find Science Fun Innovations, LLC on Facebook @sciencefun4u.
In this tutorial I will show you how to control 2-wire, 3-wire, and 4-wire CPU fans using an Arduino. With 2-wire fans and 3-wire fans, speed control is possible using an N-channel MOSFET and PWM. With 3-wire fans and 4-wire fans, it is possible to measure the fan speed using an Arduino input and a pull-up resistor. With 4-wire fans, speed control is possible directly with a PWM Arduino channel without the use of a transistor or MOSFET.
The Arduino source files are available here: sciencefuninnovation.gumroad.com . Your donations will help me to continue to produce educational and entertaining videos. Thanks for your support!
Need a 4-wire fan? Get one here: https://amzn.to/3YvmlZI
(Affiliate link may get me a small commission that I can use to grow my channel without increasing your cost. Thanks for the support.)