-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Feedback
I tried to use the ES8311 I2S audio codec for microphone. After some failed attempts I found the following two configs can be made more clear:
-
The documentation said that
MINandMAXare also values formic_gain. However after inspecting the source code and datasheet, those are only enum guard values to show the boundaries. When using normally these value should not be chosen. -
The documentation said that to use microphone input you need to turn
use_microphoneon, however after inspecting the source code seems that it's completely incorrect. The relavent code shows that by default the codec is configured as analog (electret) microphone mode, and ifuse_microphoneis set totrue, it will switch to PDM microphone mode. The naming is somewhat misleading.
URL
https://esphome.io/components/audio_dac/es8311.html
Additional information
No response