Knock sensor - analogRead unstable
Posted: 28 Jun 2017 14:00
Hello,
I would like to make a knock switch.
I apply the official Arduino tutorial :
https://www.arduino.cc/en/Tutorial/Knock
Unfortunately i'm blocked by an analogRead issue.
Firstly I think it was due to my piezo sensor, but I change, same thing.
Finally, I realized that even the pull-down resistor between analog pin and ground, the analogRead function return an unstable zero when i disconnect piezo.
Have you an idea to solve this problem ?
Thank's for helping !
Gabvoir
I would like to make a knock switch.
I apply the official Arduino tutorial :
https://www.arduino.cc/en/Tutorial/Knock
Unfortunately i'm blocked by an analogRead issue.
Firstly I think it was due to my piezo sensor, but I change, same thing.
Finally, I realized that even the pull-down resistor between analog pin and ground, the analogRead function return an unstable zero when i disconnect piezo.
Have you an idea to solve this problem ?
Thank's for helping !
Gabvoir