I have searched around for the answer for this for quite a while now and can't find an answer. I am using the basic knock sketch and schematic provided on the arduino site but the value read in is always 0 and doesn't register a knock no matter what I try.
I have tried two piezos with no luck and this is the one I am trying currently http://www.taydaelectronics.com/buzzers/piezo-electronic-tone-buzzer-alarm-1-5-28v-pcb.html. I have it wired with the 1M ohm resistor in parallel like it says but it just won't work. Can I get some help with what might be wrong.