Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

PWM frequency for Noctua fans #349

@wmonzel

Description

@wmonzel

Describe the bug
Noctua PWM fans typically require a target frequency of 25kHz. Regardless of the PWM frequency specified, the maximum frequency is 5.367 kHz as measured with an oscilloscope. Testing done using a Raspberry Pi 4 (4GB), PWM0 (GPIO12) and PWM1 (GPIO13)
octoprint (3).log

To Reproduce
Steps to reproduce the behavior:

  1. Octoprint settings -> Enclosure Plugin
  2. Click on "Add Outputs"
  3. Output type: PWM
  4. I/O number: 13
  5. Start with Server
  6. PWM frequency: 25000
  7. Default duty cycle: 50
  8. Save settings and reboot system
  9. Attach scope probe to header pins 33 (PWM1) and 34 (ground) and observe results.

Expected behavior
A stable 25kHz square wave with a 50% duty cycle should be observable on the scope.

Additional context
See attached log. Note: hardwarePWM does provide expected results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions