Configuring WLED (Sound Reactive) for M5StickC



  • I have flashed the M5StickCPlus (1.1) with the popular Sound Reactive WLED (install.wled.me). I have been able to utilize the non-sound reactive WLED effects, IO have been been able to successfully configure the flashed code on the M5 to respond to the native M5StickC microphone. I believe the fundamental problem for me is that I am not sure of the correct pin assignments used in the M5 for the serial data, clock, and "word select" parameters that the WLED configuration needs (WLED Home -> Config -> Sound Settings).

    In the WLED configuration, I am selecting "Generic I2S" from the "Microphone type" drop down (let me know if this is incorrect!). The config then wants the I2S pin values for: the Serial Data (SD), Word Select" (WS), and Clock (SCK).

    I tried the following assignments with out experiencing any sound-reactive response from the SK6812 (RGBW) light strip (which was specified in WLEDs "LED Preferences" configuration.

    SD = 34
    WS = 1
    SCKJ = 0

    SD = 34
    WS = 0
    SCKJ = 0

    SD = 34
    WS = 1
    SCKJ = 0

    Can anyone help? I would think, given the popularity of WLED, that someone has walked down this path sucessfully!



  • @gingerjohnny
    MIC (SPM1423)

    CLK GPIO0
    Data GPIO34

    from:
    https://docs.m5stack.com/en/core/m5stickc_plus

    Not sure what WS is in WLED config