I just watched this excellent video tutorial that shows a simple Arduino program that toggles an LED via a pushbutton. Very cool!
Being brand new to electronics/robotics, I was shocked that something as simple as a pushbutton required his
debounce behavior. That's something I would have never thought about in a million years. What is the 'rule of thumb' for when this type of
debounce behavior (regardless of what sensor we're talking about, pushbutton or otherwise) must be accounted for? Is it simply that any type of analog sensor can generate this kind of unexpected 'noise'?
Can someone provide other examples for when special code must be put in place to accommodate unexpected sensor noise?