prprog
Member
Hi:
What circuit will give me the first (highest) value of a Piezo disc read with an ADC (ADC0831)? When I hit the Piezo the ADC , which is connected to a Parallax Stamp, it reads at least 3 to 4 values ,for example ; 100 (first value), 47 , 5, 2..... I will like to include a circuit that will give me only the first value , or maybe an average of the set of values. Tell me the name of the circuit and I will "google" it.
The piezo is connected to the ADC with a Resistor (1M) and Capacitor (101) in parallel to ground. On the Positive side of the piezo I add a Diode with +5V. I notice better readings with the diode included in the input circuit.
I already try using a PAUSE command to the ADC readings ; that reduce the number of readings in the set; but slowdown to much the reading. This is for a MIDI Percussion controller; therefore by ear I know it is not correct.
Thanks,
PRPROG
What circuit will give me the first (highest) value of a Piezo disc read with an ADC (ADC0831)? When I hit the Piezo the ADC , which is connected to a Parallax Stamp, it reads at least 3 to 4 values ,for example ; 100 (first value), 47 , 5, 2..... I will like to include a circuit that will give me only the first value , or maybe an average of the set of values. Tell me the name of the circuit and I will "google" it.
The piezo is connected to the ADC with a Resistor (1M) and Capacitor (101) in parallel to ground. On the Positive side of the piezo I add a Diode with +5V. I notice better readings with the diode included in the input circuit.
I already try using a PAUSE command to the ADC readings ; that reduce the number of readings in the set; but slowdown to much the reading. This is for a MIDI Percussion controller; therefore by ear I know it is not correct.
Thanks,
PRPROG