Skip to content

audio_i2sin module for espressif and raspberrypi#10990

Open
FoamyGuy wants to merge 2 commits intoadafruit:mainfrom
FoamyGuy:audio_i2sin
Open

audio_i2sin module for espressif and raspberrypi#10990
FoamyGuy wants to merge 2 commits intoadafruit:mainfrom
FoamyGuy:audio_i2sin

Conversation

@FoamyGuy
Copy link
Copy Markdown
Collaborator

@FoamyGuy FoamyGuy commented May 8, 2026

Adds audio_i2sin.I2SIn class. Only enabled/implemented for espressif and raspberrypi ports currently.

Two new manual test scripts are included in the PR that were used to verify the functionality of the module. Recording to an SDCard, and sound reactive neopixels.

Sparkle Motion board def is updated to include the pins that the I2S mic is connected to.

Testing:

  • Tested with mic built-in to sparkle motion and with https://www.adafruit.com/product/6049
  • Record to sdcard works successfully on espressif port. On raspberrypi it seems like it's taking too long to write data to the sdcard and it's causing the recording to take too long and be broken up. All testing was with SPI and sdcardio. Might be worth testing sdio?
  • Sound reactive neopixels work under espressif and raspberrypi. I tested with sparkle motion, ESP32 Huzzah feather, ESP32 S3 TFT feather, RP2040 feather, and RP2350 feather.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant