PWM Fan control with ESP32

Hello together, since reddit is currently not working and I cant see my post there I’m also posting here. I hope here are some ESP experts around which could help me out.

This is my “first” big ESP project. 3 years ago I build BRUHs Multisensor but thats basically just putting things together.

What I want to archive is basically this but with temperature & PWM controlled fans monitored by HomeAssistant

r/homeassistant - Need help building a radiator booster with ESP32 and PC fans

I’m by far no expert in this topic but I hope that I have enough knowlegde to archive this.This was my fist time using fritzing so please dont blame me :slight_smile:

That’s what I currently have. But I’m unsure if its wired correctly. The GPIO Pins were randomly connected because I dont know which pins I must connect.

r/homeassistant - Need help building a radiator booster with ESP32 and PC fans

The thing should be powered by a 12V power adapter. A Buck converter will step this down to 5V to power the ESP32. The mosfet driver is just a placeholder (couldnt find a proper one in fritzing) the correct should be the one in the picture. The DS18B20 will measure the incomming water temperature of the radiator. When there are high temperatures, the fans should spin up. Since I’m going to use Arctic fans which cant be turned off via PWM I hooked up a relais to cut the 12V to the fan.

So, my questions are: Is this wired up correctly or will the hole thing explode?

And: Which pins must be used to control the relais, monitor the sensor and sent the PWM signal?

Do you have other recommendations how to archiv this? The mosfet driver could possibly replaced by a level shifter and PWM fans but i haven’t found any informations about hz or voltage for the PWM signal of the Arctic fans.

1 Like