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

Hardware PWM using lightweight rpi_hardware_pwm library #474

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shortbloke
Copy link

Lightweight hardware PWM implementation with GUI configuration, allowing 25000 Hz PWM signal suitable for controlling Noctua PWM fans.

Another PR #442 but was criticised for needing pigpio and lacking UI configuration. This PR attempts so address the requirement whilst:

  • Using a lightweight rpi-hardware-pwm library not pigpio
  • Does not require everyone install the library, only if you enable this option in the UI

Fixes: #349

@shortbloke shortbloke mentioned this pull request Jan 30, 2022
@GerhardMassenbichler
Copy link

Great Work. I like the small and lightweight rpi_hardware_pwm library instead of pigpio.

README.md Show resolved Hide resolved
@pipersw
Copy link

pipersw commented Feb 28, 2023

Could you provide a binary for Raspbian ?

@joh
Copy link

joh commented Jul 7, 2023

Hi, what remains for this PR to be merged? :)

@joh
Copy link

joh commented Jul 20, 2023

Just tested this and it works great, thank you! Only snag was that installing rpi-hardware-pwm system-wide (as per instructions) didn't work on OctoPi, since OctoPrint runs in a virtual environment and won't see system-wide packages. Instead I had to install it in the virtual environment, like so:

source ~/oprint/bin/activate
pip install rpi-hardware-pwm

Perhaps the docs can be updated, or even better, that the package can be installed on demand by the plugin?

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 this pull request may close these issues.

PWM frequency for Noctua fans
6 participants