https://github.com/zackees/esp32-v51-inmp441
https://github.com/zackees/esp32-v51-inmp441
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zackees/esp32-v51-inmp441
- Owner: zackees
- Created: 2024-02-07T03:55:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-06T19:26:49.000Z (over 1 year ago)
- Last Synced: 2024-11-26T03:48:36.517Z (7 months ago)
- Language: C++
- Size: 1.79 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
* * 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

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