Search found 1 match

by Cskiwi
Sun Jan 21, 2024 2:52 pm
Forum: ESP32 Arduino
Topic: Need Help with Incorrect Decibel Calculation for INMP441 Sensor on ESP32
Replies: 1
Views: 1073

Need Help with Incorrect Decibel Calculation for INMP441 Sensor on ESP32

Hi, I'm currently working on a project where I need to record the decibels from an INMP441 sensor. I've implemented the following function to calculation it, but it's not producing accurate results. float DecibelController::calculateDecibel(SAMPLE_T *sampleBuffer) { // get sample size int sample_siz...