Skip to content

DMX library not working with custom pins ESP-C3 #5530

Closed as not planned
Closed as not planned

Description

@nmeurer

What happened?

When compiling from source and redefining the hard-coded dmx output pin as mentioned in [https://kno.wled.ge/interfaces/dmx-output/](the wiki), the changed pins won't show up in WLEDs new pin overview. Also, no DMX signal is being produced. Only a constant PWM signal can be observed on the GPIO

To Reproduce Bug

  • Compile WLED from source
  • Enable DMX Output in wled00/wled.h
  • Set the DMX Output pin to 5 in src/dependencies/dmx/ESPDMX.cpp
  • Observe the GPIO with an oscilloscope
  • Observe GPIO 2 still occupied by DMX in the pin overview on ESP32
  • No DMX output on GPIO 2 as well

Expected Behavior

  • Selected Pin 5 marked as used for DMX
  • DMX signal on pin 5

Install Method

Self-Compiled

What version of WLED?

2602141 / v0.15.4 / installed via git clone https://github.com/Aircoookie/WLED.git

Which microcontroller/board are you seeing the problem on?

ESP32-C3

Relevant log/trace output

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. DedeHai commented on Apr 23, 2026

    @DedeHai
    Collaborator

    Just FYI: for a pin to show in the pin info it must be registered through the pin manager.

  2. self-assigned this
    on Apr 23, 2026
  3. netmindz commented on Apr 24, 2026

    @netmindz
    Member

    Is being looked at as part of #5216

  4. Mdbelen commented on Apr 28, 2026

    @Mdbelen

    Alternatively, if you like you could also test the branch in #5522 and compile with options
    -D WLED_ENABLE_DMX -D DMX_TXPIN_DEFAULT=5
    Would be a charm if you reported your results there.

  5. nmeurer commented on Apr 29, 2026

    @nmeurer
    Author

    Would be a charm if you reported your results there.

    I just compiled #5522 and confirm that it is indeed working. DMX output is there (tested with 3 channels) and pin 5 shows being used in pin overview.

    This would solve both my issues I'm having

  6. github-actions commented on Aug 28, 2026

    @github-actions

    Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
    Thank you for using WLED! ✨

  7. added
    staleThis issue will be closed soon because of prolonged inactivity
    on Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugstaleThis issue will be closed soon because of prolonged inactivity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions