Recommended · for beginners
Raspberry Pi Fan Temperature Control [Howto]
Why people recommend it
Shows how to switch a Raspberry Pi cooling fan by temperature using a GPIO pin and a transistor, reported to work though one reader finds the construction overelaborate.
Watch for: Predates built-in fan control in Raspberry Pi OS
In their words
The author has created a YouTube video illustrating the hardware construction.
Seamus on raspberrypi.stackexchange.com, Oct 2020. CC BY-SA.