Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with MEMS Microphone - INMP411 #31

Open
happychriss opened this issue Mar 7, 2021 · 2 comments
Open

Working with MEMS Microphone - INMP411 #31

happychriss opened this issue Mar 7, 2021 · 2 comments
Labels

Comments

@happychriss
Copy link

I have connected and INMP411microphone to the following pins: BCK=SCK=13 / WS=15, Data=SD=12, Ground=LR , VCC starting from the connector. I am using WIFI to send the data to a server for recording.

I experience a very strong NOISE on this microphone when using on LilyGo-EPD47. Using a Wemos D32 DEV board with same microphone and same settings, the noise is very low.

I have tried several wiring options for the microphone - always with the same result on the EPD :-(

Problem occurs when EPD is enabled or disabled.

I2S Init code used:

  i2s_pin_config_t pin_config = {
            .bck_io_num = 13, //this is BCK pin
            .ws_io_num = 15, // this is LRCK pin
            .data_out_num = I2S_PIN_NO_CHANGE, // this is DATA output pin
            .data_in_num = 12   //DATA IN
    };


     i2s_config_t i2s_config = {
            .mode = (i2s_mode_t) (I2S_MODE_MASTER | I2S_MODE_RX),
            .sample_rate = 16000,
            .bits_per_sample = I2S_BITS_PER_SAMPLE_16BIT,
            .channel_format = I2S_CHANNEL_FMT_ONLY_LEFT, // was I2S_CHANNEL_FMT_RIGHT_LEFT
            .communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_I2S),
            .intr_alloc_flags = ESP_INTR_FLAG_LEVEL1,
            .dma_buf_count = 4,
            .dma_buf_len = 1024,
            .use_apll = false,
            .tx_desc_auto_clear = false,
            .fixed_mclk = 0
    };

Question: Should I use different pins, different wiring?

Thx a lot,

@happychriss
Copy link
Author

Any help would be really appreciated !
Did anybody else have similar problems with a microphone connected to the board?

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant