Part Number: NE5532
I'm attempting to get a very fast/precise bump sensor built using a piezoelectric disk, NE5532 Amp, a BJT, and an atmega8/2560. In the schematic below, the emitter of the BJT is attached to an interrupt enabled pin on the arduino, which is watching for either a rising edge or falling edge depending on which type of bjt I choose to go with. So far I've been using an NPN.
The intended circuit is supposed to be providing a 2.5v (midrail) bias from the first opamp, which should act as a virtual ground for the second inverting circuit. when the disk is flexed, it's supposed to draw OUT2 low which should effect the BJT and trip my interrupt.
The actual behavior is very different. I'm getting a variance of only about 10mV on Out2. When the piezo is not in the circuit, it peaks at around 0.735V when flexed, so I'm not sure how the gain is coming out lower than expected.