Can anybody help me about finding the nominal time value for a human pressing a key? Then i will try to write a program for keypad debouncing and scanning... I will try to use only two pins of a PIC microcontroller which supports stand by function for reduced power consumption, to scan and check 16 key and i want to catch the pressed key by using a capacitor's charge and discharge time and also i don't know this capacitor value and other remaining resistances. I am open for all design suggestions. Thanks for your interest!
Last edited by muahaha on Wed Jan 04, 2006 4:16 pm; edited 2 times in total
blinky465
Joined: 03 Jan 2006 Posts: 8
Posted: Wed Jan 04, 2006 5:14 am
I suppose it depends who is doing the typing!
My sister spends ages pressing the keys (especially the tricky little blighters, like x and v which have a habit of becoming invisible on the bottom row) whereas I tend to touch-type quite quickly.
You can introduce hardware limits, but personally I like to control as much as possible in software. I would try to write my scanning routine to run as quickly as possible, include a debounce routine, then put a "check for release or time-out" routine before checking or responding to the same key again.
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum