I am using Arduino Leonardo for my project. I need to read distinct values from my piezo knock sensor, that is, not only do I want to detect a knock but I also want to know how hard the knock was. It works well on the analog inputs as I am getting values ranging from 0 to 1000 some but I am running out of them, I would like to read about 10 knock sensors.
My question is; is it possible to use digital inputs to get those values as well? My understanding is that it only reads HIGH and LOW (on or off) values, but maybe these digital values can be described to translate to a number on a spectrum, similar to the analog input.
Thanks in advance, your help is much appreciated.