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

Not getting proper dB(A) values. #12

Open
dharmik768 opened this issue Oct 29, 2021 · 0 comments
Open

Not getting proper dB(A) values. #12

dharmik768 opened this issue Oct 29, 2021 · 0 comments

Comments

@dharmik768
Copy link

Hello,
I am using ESP32-WROOM-32D and using ICS43434 as a mic. In the schematic, I have set the LR to HIGH so it is set in the right channel mode. Rest pins of the ICS are connected as followed.
SCK-> GPIO5
SD -> GPIO18
WS -> GPIO19
I only want to read the noise level in dB(A) with the ICS. Therefore, I tried the example code given here. And I have changed the configuration as per the ICS43434 datasheet.
I am attaching the code that I used with my configuration. Also, I am not using any display so I have set USE_DISPLAY to 0.
After uploading the code, in the serial monitor, I am getting the negative values and they are not properly changing with respect to the sound.
I think I have done some wrong configurations or I have missed some configurations not sure how to procede.
It will be very helpful If you can point out the solution to this.
Thank You,
Dharmik Patel
esp32-i2s-slm.zip
image

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

No branches or pull requests

1 participant