Sound level sensor

The DFRobot SEN0232 measures the volume and outputs the measured values in decibels.

/images/2020-03-11-sensoren-sound/sound.png - Logo

Technical Information

  • Dimensions: 60mm x 43mm x 9mm
  • “Plug-in-and-Go” senseBox compatible
  • Input voltage: 3.3-5V
  • Output voltage: 0.6-2.6V
  • Measuring span: between 30dBA and 130 dBA accurate
  • Measuring interval: 125ms
/images/2020-03-11-sensoren-sound/sound-anschluss.png - Logo

Programming (Arduino)

#define SoundSensorPin A1  //this pin read the analog voltage from the sound level meter
#define VREF  5.0  //voltage on AREF pin,default:operating voltage

void setup()
{
    Serial.begin(115200);
}

void loop()
{
    float voltageValue,dbValue;
    voltageValue = analogRead(SoundSensorPin) / 1024.0 * VREF;
    dbValue = voltageValue * 50.0;  //convert voltage to decibel value
    Serial.print(dbValue,1);
    Serial.println(" dBA");
    delay(125);
}
×

Subscribe

The latest tutorials sent straight to your inbox.