LiquidOrb24
New Member
I have an electric drum pad that has a piezoelectric sensor in it that outputs a voltage when hit with a drum stick. I put this through a few op-amps to increase the gain to drive a few LED's so that they light up when hit.
I need to now put this pulse into a PSoC microprocessor so that when the drum is hit it initiates a start sequence for something the processor will do later.
My problem is however that the signal isn't very clean and in fact has many oscillations in it and it looks like it will be very hard to use if I just want a clean pulse and for the interrupt to happen on the rise of each pulse.
My question finally is how would I filter this signal from the sensor so that it is a clean logic step signal or pulse so that when it goes into the PSoC it is almost as if hitting a button.
I don't know if a high or low pass filter would work or an A/D converter but I was hoping for something like a circuit or IC that would have a set threshold voltage so once it is passes by the hit of the drum another part of the circuit would send out an impulse or step.
Any idea would help
Thank you.
I need to now put this pulse into a PSoC microprocessor so that when the drum is hit it initiates a start sequence for something the processor will do later.
My problem is however that the signal isn't very clean and in fact has many oscillations in it and it looks like it will be very hard to use if I just want a clean pulse and for the interrupt to happen on the rise of each pulse.
My question finally is how would I filter this signal from the sensor so that it is a clean logic step signal or pulse so that when it goes into the PSoC it is almost as if hitting a button.
I don't know if a high or low pass filter would work or an A/D converter but I was hoping for something like a circuit or IC that would have a set threshold voltage so once it is passes by the hit of the drum another part of the circuit would send out an impulse or step.
Any idea would help
Thank you.