ESP32-C3-DevKitC-02 ADC bias drifts a lot over time
Posted: Sun Apr 16, 2023 6:07 pm
I am using the ADC continuous mode driver with ESP-IDF v5.1 on an ESP32-C3-DevKitC-02. I am reading from an adafruit MEMS analog microphone SPW2430 (https://www.adafruit.com/product/2716). During 10 seconds of data recording, I see significant drift in the "zero point" of the microphone. Here is 10 seconds of data sampled at 4 KHz, with no other processing performed:
You can see that after each spike (I am hitting a drum for testing), the bias shifts down a bit.
Do you have any idea whether this is more likely to be bias drift in the mic, or in the ADC? If the latter, is there anything I can do to elimintate this drift?
You can see that after each spike (I am hitting a drum for testing), the bias shifts down a bit.
Do you have any idea whether this is more likely to be bias drift in the mic, or in the ADC? If the latter, is there anything I can do to elimintate this drift?