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

Fan control #15

Open
Noxet opened this issue Sep 3, 2022 · 1 comment · May be fixed by #16
Open

Fan control #15

Noxet opened this issue Sep 3, 2022 · 1 comment · May be fixed by #16

Comments

@Noxet
Copy link
Contributor

Noxet commented Sep 3, 2022

Implement functionality for fan control.

Simple idea:
Scale the fans duty cycle linearly with light intensity:
The maximum value of LEDs are 3 * 255^2 (pythagoras).
The fans duty cycle shall simply be the current intensity: (r^2 + b^2 + g^2) / (3 * 255^2).
Scale it using the sign with the highest intensity

@Noxet
Copy link
Contributor Author

Noxet commented Oct 8, 2022

TODO: Use the LED PWM fade function to fade between fan speeds, for smoother run

Noxet added a commit that referenced this issue Oct 8, 2022
@Noxet Noxet linked a pull request Oct 8, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant