Skip to content

Add correct pin availability for ESP32 Mini modules #223

@BrookeDot

Description

@BrookeDot

What happened?

Adafruit recently released two "Sparkle Motion" boards that have onboard microphones. These boards use ESP32 Mini module which has its internal SPI flash available on slightly pins than WROVER/WROOMs.

Ladyada fixed a bug that causes the internal microphone used on the "ESP32-U4WDH" family (or, due to espressif/arduino-esp32#10683 may be called "ESP32-PICO-D2") chips. I was able to replicate the bug with the Sparkle Motion Mini and WLED-MM.

I looked into bringing this PR over but it appears the files are slightly different in this fork so I will leave that for someone more familiar with the codebase :D
wled#4450

To Reproduce Bug

  1. Use an ESP32 Mini with the following pin assignment:

    DATA - GPIO25
    WS - GPIO33
    BCLK - GPIO26

I used https://learn.adafruit.com/adafruit-sparkle-motion/pinouts#i2s-microphone-3191384

  1. Install WLEDMM_14.5.0-beta_esp32_4MB_M.bin. I upgraded from WLED nightly using the web UI but the install method shouldn't matter.

  2. Attempt to set and use the I2C microphone on the previously assigned Pin

  3. No microphone will be found

Expected Behavior

I expected the microphone to work as it does with the nightly version of WLED where the bug has ben fixed.

Install Method

From MoonModules Release Page

What version/release of MM WLED?

WLEDMM_14.5.0-beta_esp32_4MB_M.bin

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

Anything else?

No response

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions