geekhack
geekhack Community => Keyboards => Topic started by: reidpr on Mon, 25 April 2011, 16:31:58
-
Suppose I'm tinkering with a keyboard. How can I test keyswitches (installed or not) without soldering them in and connecting the unit to a computer? In particular, I'd like to distinguish between working 100% of the time and 99% of the time. (I currently have some keys that intermittently give duplicate key events.) Is this a job for an oscilloscope?
Thanks,
Reid
-
It's a job for a multimeter.
(http://readings.redwebmaster.com.ar/images/1-digital-multimeter-readings.jpg)
edit: This should get you started. (http://www.ladyada.net/library/metertut/resistance.html)
-
It's a job for a multimeter.
Not exactly a job for a multimeter
Well, if you are talking about whether a switch is chattering it would be a LOT easier to solder it in. Spam the key 100 times. And then count if you got 100 characters out.
He can use an old mouse with one of the original switches removed, an two crocodile* clips to quickly test the switch.
(*)I hope they are called crocodiles also in the US.
-
(*)I hope they are called crocodiles also in the US.
Oddly enough we call them alligator clips...
-
Oddly enough we call them alligator clips...
Hahah
I presume that every continent chose the nearest reticle...
-
That was the my forbidden dream for almost a decade, then I got one a "cheap" 20Mhz dual trace one.
It is still alive, but is in the hands of my ex coworker, which later bought some more expensive models (something like 6/7K$)
-
Yep you'd need an oscilloscope. The analog ones you can find for cheap nowadays are just junk but would probably work fine for you. You just need visual inspection more than actual accuracy of measurement. If you happen to be an EE now would be a good excuse for buying a $3000 Tektronix digital :)
Edit: I also get the feeling you could do something clever with an LED and semi-high speed camera at 60 fps. Won't show you microsecond voltage hysteresis but would give you a general idea.
-
Not exactly a job for a multimeter
He can use an old mouse with one of the original switches removed, an two crocodile* clips to quickly test the switch.
(*)I hope they are called crocodiles also in the US.
Actually the American term for them is "roach clips".
-
Wikipedia seem differentiate between crocodile and alligator clips
http://en.wikipedia.org/wiki/Crocodile_clip
that's the american stoner term.
Yes wikipedia says also you are right...
http://en.wikipedia.org/wiki/Roach_clip
-
(http://cgi.ebay.com/60pc-ALLIGATOR-ROACH-CLIP-BATTERY-CHARGING-CLAMP-ASST-/220775015701?pt=LH_DefaultDomain_0&hash=item3367376515#ht_1041wt_907)
that's the american stoner term.
Used to be, but it's worked it's way into regular parlance...see for example American ebayers selling electrical-use crocodile clips:
here (http://cgi.ebay.com/4-SETS-30-WIRE-TEST-LEADS-ALLIGATOR-ROACH-CLIP-POS-NEG-/300520194420?pt=LH_DefaultDomain_0&hash=item45f8664174#ht_856wt_962)
and :smokin:
here (http://cgi.ebay.com/6-ALLIGATOR-STAINLESS-STEEL-CLIPS-ELECTRIC-CLAMPS-ROACH-/380230133896?pt=LH_DefaultDomain_0&hash=item58877b6888#ht_1160wt_962).
We used to occasionally call them roach clips in our electronics class but our (Canadian) instructor would, ahem, correct us.
-
Proper term I've ever heard used as an EE is alligator clip. Mouser seems to follow the Wiki standard where croc denotes large car jumper stuff.
-
Hahaha
In Spanish is caiman clips
http://www.proz.com/kudoz/spanish_to_english/chemistry%3B_chem_sci_eng/892860-pinzas_caiman.html
-
in australia we have crocodiles but still call them alligator clips :/
-
Is this a job for an oscilloscope?
Yes. Either the switch bounces for too long (most likely), or contact is not maintained consistently while it is depressed. Cherry switches are specified to have less than 5mS bounce time, and typically it only lasts a couple of mS.
(http://www.micahcarrick.com/files/atmega8/tutorial_3/debounce.png) (http://www.micahcarrick.com/avr-tutorial-switch-debounce.html)
Wikipedia seem differentiate between crocodile and alligator clips
http://en.wikipedia.org/wiki/Crocodile_clip
That page needs more pedantry! 'Standard clip' indeed.
-
That page needs more pedantry!
Italian wikipedia seem a good example.
It provides three variations in Italian and two in English.:happy:
http://it.wikipedia.org/wiki/Connettore_a_coccodrillo