I am working on a project where I need to count items that drop down a tube, then calculate using data collected from a sensor mounted on drive wheels to determine distance. The drop numbers will be very large, and the distance numbers will too (I think). I think I will need to use the debounce program, but I am sure I will need other as well. I am not sure how to collect the signals in a manner that will not overwhelm the capabilities of the arduino. I would appreciate any suggestions anyone is willing to give me.