-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional fans #22
Comments
Sorted it. Super easy. Just wondering can I have variable PWM outputs. So rather than all 3 fans running the same they would have independent pwm input |
Yea you can. Put the pwm on a separate gpio. You’ll need3 temp sensors too though. Copy the climate yaml to create 3 pid climates with the temp sensors and 3 ledc’s, give them all unique ids and names. home assistant will then see 3 different climate controllers. |
Sorry for hijacking this but my question goes in the same direction. Is the number of fans limited in any way other than by the power supply? I have 5x3 12v 80mm and 2x 12v 120mm fans as ventilation for my small office rack. |
the number of fans is not really limited. the number of independently controllable fans depends on the number of GPIOs. you can group all 80mm together and control the 120mm individually. it just depends on how you connect the PWM line of the fans. in your case you need 5 GPIOS for the 80mm and 2 for the 120. so 7 GPIOs. |
Thank you. The plan was to make two units anyway (redundancy). |
I played around with it yesterday/today. Works wonderfully. Additional fans work without problems, although I have now connected mine together as a chain and not each individually (in my case the fans should all run the same speed and they have an extra port to connect together). The only thing I did different is, I left out the buck converter, this ESP board (not all) can be directly powered by VIN with 7-12 volts so you can use the 12V directly and the temperature sensor is powered by the 3V3 from the board. And the DHT11 I replaced by a DHT22 because the DHT11 has only an accuracy of +-2 degrees (the DHT11 should be banned, the price difference is so minimal that it has no reason to exist). |
So, here is my attempt. 3D printed enclosure. Two with DHT22 instead of DHT11 and two with Dallas DS18B20 (because the probe has a long cable and is easier to attach somewhere). And as mentioned above I left out the step down because this board can work with 12V and provides 3V for the probe. On each box there are 5x80mm fans (daisy chained). I still have to make the integration/display in HA nicer and also watchdog if one of the boxes should fail. The nice thing is that the fans work even if the ESP should not respond / be broken. Thanks to @patrickcollins12 for the groundwork and creation of this project. |
Love the built in driver. Surprised the built in voltage regulator on the esp32 can handle 12v!! I'd heard it would only go up to 7v The case and cabling look very professional. I'm pleased to say my console fan is incredibly stable. I never have to touch it. Just works. When the kids play the PS5 or my macmini starts heating up the fan always responds and does its job. |
Apparently not all boards can do this, but the ESP-WROOM-32 from aliexpress that I have can (they have VIN on the pin as a label) in case of doubt you have to look at the data sheet. |
Not sure this is an issue as I haven't actually started work on it. But I want to be able to connect 3 pwm fans and be able to read their rpm etc.
I have looked over the yaml and I assume I just copy the portion of code that specifies the ledc platform but change the gpio
If any one has a config for 2 or more fans that would be amazing.
The text was updated successfully, but these errors were encountered: