Skip to content

Latest commit

 

History

History
68 lines (39 loc) · 2.05 KB

README.md

File metadata and controls

68 lines (39 loc) · 2.05 KB

ESP32-v51-inmp441

This contains an attempt to get the very popular INMP441 mems microphone working with the v5.1 esp32 I2S library and test the light sleep issue reported here espressif/arduino-esp32#8714

The bug that is tracking this can be found here:

espressif/arduino-esp32#8207

This repo demonstrates that the INMP441 will not function with the new 5.1 I2S library.

There could just be a setting or something wrong that I'm doing (probably). I've done everything I could think of in the documentation and simply cannot get the new library to work.

Guides

https://wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started

Important

The XIAO ESP32C3 can only be reliably flashed on MacOS. Windows will work a few times then stop working.

IS2 Pinout

#define PIN_I2S_WS GPIO_NUM_7
#define PIN_IS2_SD GPIO_NUM_8
#define PIN_I2S_SCK GPIO_NUM_4
#define PIN_AUDIO_PWR GPIO_NUM_10

L/R -> VDD

Install

  • Install VSCode
    • Install the platform io plugin
  • git clone https://github.com/zackees/xiao-inmp441-test
  • Use VSCode to open xiao-inmp441-test

Programming a board

  • Connect to XIAO board with USBC cable.

    • Make sure the cable is designed for data
    • Click build/upload in the platform io toolpanel
      • image
  • The test software should now be installed and the board should be running a test program

Test routine

Simply power the board and read the stdout through the connection monitor.

Schematic

image

XIAO Pins

Pinouts

  • XIAO:
    • image