Skip to content

Implement phase shifted PWM #4034

Description

@blazoncek

Implement phase shifted PWM outputs to lower the demand on PSU and/or allow 2-channel polarity changed LED strips to function properly.

The discussion about (issues with) PWM started in #3962 as a result of crashes within PWM handling code.

Requested participants: @softhack007 @willmmiles @jw2013 @tablatronix and (optional) @Jason2866
Please follow up here from #3962 (comment)

References:
https://www.hackster.io/daniel232/esp32-generate-two-180-phase-shifted-pwms-c1010f
"On ESP8266, there is a hidden, but officially supported solution for PS-PWM" by @jw2013

Activity

  1. self-assigned this
    on Sep 28, 2024
  2. willmmiles commented on Sep 28, 2024

    @willmmiles
    Member

    Phase shifting on ESP32 was prototyped in #4115 and merged in #4129.

  3. added a commit that references this issue on Sep 28, 2024
  4. added
    in progressThis PR is currently being reviewed - some modifications requested
    on Sep 28, 2024
  5. blazoncek commented on Dec 5, 2024

    @blazoncek
    ContributorAuthor

    I am content with current implementation.

  6. lk-ek commented on Jul 12, 2025

    @lk-ek

    Just here to say thank you for your efforts! This works like a charm and made a friend of mine very happy as their opposite-polarity-fairy lights are now dimmable and controllable via their mobile :)

  7. removed
    in progressThis PR is currently being reviewed - some modifications requested
    on Sep 3, 2025
  8. added this to the 0.16.0 candidate milestone on Sep 3, 2025
  9. added a commit that references this issue on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions