Back to all projects
Ages
9–12
Length
3 sessions
Level
Beginner–Intermediate

Smart fan

A fan that spins faster as the room warms up, with a speed slider on the phone.

What it does

The ESP32 drives a small 5V fan through a MOSFET and uses PWM to change its speed. In automatic mode, a temperature sensor sets the speed. In manual mode, kids use a slider on their phone.

We only use small low-voltage fans in class. Kids never work with fans or appliances that plug into the wall.

Parts we use

  • ESP32 development board
  • 5V DC fan
  • Logic-level MOSFET and a diode
  • DS18B20 temperature sensor
  • USB power bank

What kids learn

  • What PWM is and how it controls a motor’s speed
  • Mapping a temperature range onto a speed range
  • Building a simple automatic control loop
Ask about this project

Build it at home

These kits include every part for this project.

  • Sensor Lab Kit

    Everything in the Starter Kit plus six sensors and actuators, enough to build five of our ESP32 projects.

    ¥7,980tax incl.