Idea
In short
How do you build an ESP32 12 V fan thermostat?
An ESP32 reads a DS18B20 and switches a 12 V DC fan through a transistor and a 12 V relay when a small enclosure gets warm, with a flyback diode and a hysteresis band so it does not chatter. You need ESP32 DevKit V1, DS18B20 waterproof probe, Resistor 4.7 kΩ, Relay 12 V SPDT (sugar cube), NPN Transistor 2N2222, Resistor 1 kΩ, Signal Diode 1N4148, 12 V DC fan 80 mm and Breadboard 830 Tie Points.
- Level
- Intermediate
- Time
- About 150 min
- Parts
- 9
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Cool a small box automatically.
Parts list
- Development Boards
- Sensors
- Passives
- Switches
- Semiconductors
- Passives
- Semiconductors
- Motors & Actuators
- Prototyping
How to build it
- Wire the sensor and read it
- Drive the relay coil through the transistor
- Add the flyback diode
- Set on and off temperatures
- Test with warm water
Common questions
What parts do I need for the ESP32 12 V fan thermostat?
ESP32 DevKit V1, DS18B20 waterproof probe, Resistor 4.7 kΩ, Relay 12 V SPDT (sugar cube), NPN Transistor 2N2222, Resistor 1 kΩ, Signal Diode 1N4148, 12 V DC fan 80 mm and Breadboard 830 Tie Points.
How long does the ESP32 12 V fan thermostat take to build?
About 150 minutes for a intermediate maker.
