SEN0232 DBA too high

userHead aymeric.barbot 2024-03-05 06:37:55 299 Views2 Replies

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-06 01:34:24

thank that work perfectly with your modif.

userHeadPic aymeric.barbot
2024-03-05 18:46:53

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.

userHeadPic Yeez_B