PWM-Fan-controller
PWM-Fan-controller copied to clipboard
An ESPHome Automatic PWM Fan controller with Alarm
ESPHome Automatic 4-Wire PWM (5-24v) Fan controller with Alarm.
Using a DALLAS temperature sensor and a threshold Slider, the speed of the Fan is automatically controlled from 0 to 100%. Making it ideal for ventilating / cooling your projects. I.E. Holiday Lights controller enclosure, Media Cabinet units and many more.
- With an on-board regulator to power the D1 Mini, this project is ready to control 5,12 or 24 Volt fans without modification
- (just make sure you power this project with the same voltage your fan uses).
ESPHome 2024.6.0/1 Update notice:
If you are having problems with board resetting or DALLAS temperature after adding the one_wire: Breaking Change. ssieb has got a fix for you.
Please add this External Component to your YAML:
external_components:
- source:
type: git
url: https://github.com/ssieb/esphome
ref: onewire
components: [ gpio ]
refresh: 1min
- I have also added it to the Yaml Files.
-
Note: This has now been "fixed" in ESPHome 2024.6.2 and therefore no longer required.
Watch the tutorials here:
- Part 1 - Building the Circuit Board
- Part 2 - ESPHome Flash and Breakdown
- Part 3 - Custom Dashboard Button
🤝 Found this useful, want to say 'Thanks' and support my efforts. CHEERS🍺
| Buy me a Coffee | PATREON |
|---|---|
Problem 1: Temperature sensor cycles between On/NAN
Solution: Add a 4.7K Resistor

Problem 2: Some Fans not turning off. Andrew has a solution: See Issue #2 Here