I am working on a project where I would like to use a piezo sensor (like Piezo Vibration Sensor - Small Vertical - SEN-09199 - SparkFun Electronics) as input.
While I could connect the sensor to an analog pin, I would rather connect it to a digital pin (as I only need a binary value).
The big question is....how would I go about that ?
The sensor can output a +/-90V AC charge, and I suspect that I will need to scale that down to a 5V charge.
I am not especially strong when it comes to resistors etc. So any help is much appreciated.