Skip to content
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

How to stop the fans? #15

Open
ghost opened this issue Feb 12, 2021 · 2 comments
Open

How to stop the fans? #15

ghost opened this issue Feb 12, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 12, 2021

I can't seem to find a way to stop the fans. The obvious setDutyCycle(0) doesn't work.

In forums I've read that you can turn it off by switching pin mode to OUTPUT and digitalWrite(pin, LOW).
But I don't know what effect that would have while this libraries code is running (problems along the line, how to start the fans again?)

I would highly appreciate if someone could implement a method stop() and maybe restart()

@ufoDziner
Copy link

Just started to use this library. It's great, but I can't stop the fans either. Closest I can get is ~5% without side effects. Any chance there is a fix in the works? Thanks!

@kenkit
Copy link

kenkit commented May 22, 2024

You can use another input and a mofset as mentioned in this other diagram.
You only need the mofset part
https://github.com/sker65/esphome-fan-controller
DO NOTE THE PWM Signals won't work if you use this.
I think I will add this to the library incase user sets duty cycle to 0 turn off the mofset, this will also stop power from running into the fan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants