Electronics Projects
Temperature-Controlled Fan
A fan that speeds up as the temperature rises.

Overview
A DHT22 measures temperature and a MOSFET drives a fan with PWM, with a flyback diode for protection.
Build Steps
Wire the sensor
Connect the DHT22 to a digital pin.
Wire the MOSFET
Fan negative to the MOSFET drain, source to ground, gate to a PWM pin through a resistor.
Map temperature to speed
Scale PWM duty between a low and high temperature.
Related Projects
Automatic Plant Watering System
Water plants only when the soil is dry, using a moisture sensor, relay and small pump.
View project →Ultrasonic Distance Meter
Measure distance with an HC-SR04 and show it on a 16×2 LCD.
View project →Motion-Activated Night Light
Switch a light on automatically when a PIR sensor detects movement.
View project →