Debouncing various sensors

Here is an interesting analysis of the bounce behavior of a random collection of switches: http://www.eng.utah.edu/~cs5780/debouncing.pdf Most switches bounced for around 1500 microseconds, on average, but there is quite an amazing range of behaviors (it took up to 157 milliseconds for one switch to open).