I have a little project M168 based, where i have to switch off some equipment at a certain soundpressure (ADC0 10-bit).
And basically it works fine (after i put 2200uF after the 10uH on the AVCC , as it was jumping a lot in idle).
The trig level has to be "easy" adjustable , and i was thinking about putting a 10K pot on VCC-ADC1-GND , and just read that at startup.
I have a little challenge ... The MIC level on the ADC0 is hitting Max (0 or 1023) , at a to low soundpressure. And i would like to be able to adjust the inputlevel to the ADC0. But i'd like to do it with a POT "10K or ??" , between the MICboard and ADC0 , not by changing the Micboard.
How should i connect that pot ?
MIC-ADC-GND or just MIC-ADC-"NC" or ... "And now to something completely different" :-)
Any hints appreciated
Ps: regulators has to be a Pot , there is just 2 leds and no buttons on the board.