Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zackees/esp32-v51-inmp441


https://github.com/zackees/esp32-v51-inmp441

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# 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 [https://github.com/espressif/arduino-esp32/pull/8714](https://github.com/espressif/arduino-esp32/pull/8714)

The bug that is tracking this can be found here:

[https://github.com/espressif/arduino-esp32/issues/8207](https://github.com/espressif/arduino-esp32/issues/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

```cpp
#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](https://github.com/zackees/xiao-inmp441-test/assets/6856673/13bed300-5c01-4837-ba01-008b39cfe71e)

* 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](https://github.com/zackees/esp32-v51-inmp441/assets/6856673/95f2223f-6127-4bc0-a346-03e80c125f60)

# XIAO Pins

* Datasheet
* https://www.espressif.com/sites/default/files/documentation/esp32-c3_datasheet_en.pdf

# Pinouts

* XIAO:
* ![image](https://github.com/zackees/noodz-soundreactive/assets/6856673/b1114268-d4b9-4eeb-9ecf-c81d819812d9)