Piezo Vibration Sensor on external interrupt

Using an Arduino Nano or Teensy 3.6 - Is there a way to trigger an external interrupt using an analog Piezo Vibration Sensor? I have been reading and searching about possibly using an analog comparator , but I haven’t found any examples of it working.

If the output you’re getting from the piezo is large enough to register as a logic high, you might be OK with no additional circuitry. (Other than a resistor to limit voltage)

An analog comparator (op-amp) might be a better choice though since you can adjust where your signal begins and noise ends. Plus, you get a nice solid single voltage output from the comparator rather than a varying analog signal.

Give it a try without the comparator, if it works, great! If not, you’re probably going to want to build a comparator circuit with an op-amp and use the output from that to trigger your interrupt.

Thank you. I will try both.