Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/05/02 00:19
Read: times


 
#33810 - RE: switch debouncing
So do all your systems rely on a watchdog then?

Whenever possible.


OK. So then you always make sure that it has a way to let you know if watchdog resets have occurred - otherwise you could miss real problems. Otherwise - IN TEST and DEVELOPMENT - I would rather let it crash and die.

-----

Suppose there was a PCB routing problem - the switch line was too near to a mains signal. There are spikes on the switch pin, but small enough to be suppressed by the debounce. Nobody knows it's there.

Now I would have spotted them with my scope anyway, and got rid of them, but I would still use anti-bugging anyway..


You won't see a once a day, or once a month, spike with a scope. Or do you hook a capture scope onto every pin all the time you are working? Also so many labs have such nice clean supplies ... nothing like the real world.


-----

And noone has yet explained to me why a switch pin on a SBC should be more likely to get noise than an edge triggered int pin - which is more sensitive and maybe more critical.

because its coming from a mechanical system . Hell it could VIBRATE and give an output ! -

Then, AGAIN, you want to know!! You are using the wrong switch for the environment.

---

and it could be perfectly electrically noise free. Have you been watching John Carmack's Armadillo Aerospace rocket project ? John Carmack (Wolfenstein 3D, Doom, Quake), now doing real time rocket control systems, with a poor success rate, often caused by inattention to noise sources like I tend to worry about....

Steve, I worry about noise too! That's why I want to KNOW about it if it's there.

---

Actually, we are far from the original point. I am not advocating against bootstrap and braces. I do use that myself when appropriate. I am just advocating against always using them, all the time, without ever thinking about the other possible issues.

---

List of 32 messages in thread
TopicAuthorDate
switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing - Jon            01/01/70 00:00      
RE: switch debouncing - Jon            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing - digital cameras            01/01/70 00:00      
RE: switch debouncing - digital cameras            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing - digital cameras            01/01/70 00:00      
RE: switch debouncing - Jon            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      
RE: switch debouncing            01/01/70 00:00      

Back to Subject List