SEN0232 DBA too high

I am currently using my SEN0232 sound sensor on my esp32 powered by 5V I use the code provided in the documentation at the following link: https://wiki.dfrobot.com/Gravity__Analog_Sound_Level_Meter_SKU_SEN0232 and the problem is this: why are the dBA that I get over 300? I try to modify the code to analyze the voltage and I see 6V how does that happen?
2024-03-05 18:46:53
Yeez_B
The sample code on the wiki is for the Arduino. And the ADC of ESP32 is different with Arduino.
You have to modify the ADC parameter in the code.

View Arduino ProductsMore Arduino Related ProjectsArduino TutorialsMore Gravity ProjectsView Gravity Products