hi, we connected an electret directly to an esp-wroom-32 to vcc gnd and whatever the…
- User
hi, we connected an electret directly to an esp-wroom-32 to vcc gnd and whatever the esp32 adc pin is. we used a 10k resistor. declare the variable for the mic input pin, start the serial to capture a series of analog reads from the mic pin, calc the min max values measured in the series of analog reads, calc the delta between the min/max values. volume of sound, min(4095) max(0) to store the analog reads, fir state that creates a look each time and to calc the vals measured in the 10,000 analog reads etc etc.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.