KlausMu / esp32-fan-controller

ESP32 fan controller with temperature sensor and MQTT
300 stars 56 forks source link

control multiple fan support #1

Closed thomasesr closed 2 years ago

thomasesr commented 3 years ago

Hello. It would be nice to have support for multiple fans since the ESP32 Hardware is capable enough.

KlausMu commented 3 years ago

How would you like to control multiple fans?

Note that it should be possible to simply connect the pwm signal to more than one fan to let them run all at the same speed.

There are so many combinations I can think of, I don't know if this can easily be achieved in a generic way. Maybe it would be better simply to use my project as a starting point and to adapt it to your needs?

lrascao commented 3 years ago

that's actually what i did, i'm controlling 8 PWM fans using mqtt in my project. Your project helped a lot! Thanks!

thomasesr commented 3 years ago

How would you like to control multiple fans?

* "temperature controller mode" or "pwm mode"?

* all with the same target temperature, or different target temperatures?

* using only one temperature sensor for all fans, or each fan with its own temperature sensor?

Note that it should be possible to simply connect the pwm signal to more than one fan to let them run all at the same speed.

There are so many combinations I can think of, I don't know if this can easily be achieved in a generic way. Maybe it would be better simply to use my project as a starting point and to adapt it to your needs?

My thinking was having multiple pwm signals and multiple tacho inputs and maybe just a simple 4 point temperature curve you can configure for each (hardcoded even). Similarly of what you can find in BIOS fan control of motherboards (not the really expensive ones).

KlausMu commented 3 years ago

Sure, this could be done

If you have any questions, feel free to ask.