How to Wire a Piezo as an Impact Sensor

One further data note: using the circuit from post #22 with the piezo sensor I mentioned above, with the Serial port set to 115200 baud and printing the value each time—which causes a 1.1ms delay between samples—the data looks far cleaner. The onset of the hit is far more obvious and should be easier to detect crisply.

@Phrogz, thanks for your thoughtful posts.

As an Arduino beginner, I found it was harder than I expected to make a safe schematic for this kind of vibration sensor. And unlike many other Arduino projects, this doesn't lend itself to tinkering if you don't understand the basics. If I mis-wire my LED project, it doesn't light, and I can try again. If I mis-wire an input sensor and damage my unit, trying again might require another Arduino.

So I was glad to see the results of your safe experiments, above. Thanks.

And this is clever:

I didn't see the need for that when I did my project, but now that I have your data, it seems sensible, and it doesn't sound hard to code.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.