Search found 2 matches
- Thu Sep 17, 2020 2:47 am
- Forum: ESP32 Arduino
- Topic: ESP32 with INMP441,I2S
- Replies: 0
- Views: 2880
ESP32 with INMP441,I2S
Using digital microphone INMP441 to collect data, with known sensitivity of -26dbFS, how should we convert the output data into sound pressure value? code: #define I2S_PORT I2S_NUM_0 #define I2S_SCK 14 #define I2S_WS 15 #define I2S_SD 32 const int BLOCK_SIZE = 128; void i2s_install(){ const i2s_conf...
- Thu Sep 17, 2020 2:27 am
- Forum: ESP-ADF 中文讨论版
- Topic: 关于数字麦克风INMP441采集数据的问题
- Replies: 1
- Views: 7310
关于数字麦克风INMP441采集数据的问题
使用I2S采集音频数据,目前数据可以成功采集,不过这并不是我最终希望得到的数据,根据datasheet得知INMP441有着-26dBFS的灵敏度,那么请问应当怎样将输出结果转换成声压值? 代码如下: #define I2S_PORT I2S_NUM_0 #define I2S_SCK 14 #define I2S_WS 15 #define I2S_SD 32 const int BLOCK_SIZE = 128; void i2s_install(){ //配置I2S const i2s_config_t i2s_config = { .mode = i2s_mode_t(I2S_MODE...