If what you're looking for is missing, call us — we'll help you find it

Electronics Projects

Temperature-Controlled Fan

A fan that speeds up as the temperature rises.

Temperature-Controlled Fan — main component

Overview

A DHT22 measures temperature and a MOSFET drives a fan with PWM, with a flyback diode for protection.

Build Steps

  1. Wire the sensor

    Connect the DHT22 to a digital pin.

  2. Wire the MOSFET

    Fan negative to the MOSFET drain, source to ground, gate to a PWM pin through a resistor.

  3. Map temperature to speed

    Scale PWM duty between a low and high temperature.

Related Projects