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

Fixes for ES8311 auto level control #208

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Conversation

troyhacks
Copy link
Collaborator

@troyhacks troyhacks commented Jan 2, 2025

More experimentation with ES3811 codec with on-board mic that's present on the Espressif ESP32-P4 EV board and the Waveshare ESP32-P4 Nano boards.

Seems more reliable for auto level control of the onboard mic, not causing random weirdness now.

Not tested in extremely loud venues yet, but seems fine at "home stereo not hurting your ears" volumes, and also fairly quiet volumes.

Pins for the Expressif P4 EV board and the Waveshare P4 nano board are both the same:

Type = ES8311
SD = 11
WS = 10
SCK = 12
MCLK = 13
SDA = 7
SCL = 8

I tested a lot of settings and this seems like a good starting point:

Squelch = 2 to 5 (tune to the point a quiet room shows no response)
Gain = 1
AGC = Normal
Mic Quality = Average
Profile = INMP441 (or the big/small speakers INMP441 variants depending on your environment)

@troyhacks troyhacks merged commit 9618d7a into MoonModules:mdev Jan 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant