Hi
I have an idea about using keyboard and micros
I have use 12 buttons and 13 resistors but only one port
of my micro
Pleas see my (dsn) and tell me my errors.
Does any one use this way.
Thanks
There is no .sch file in the attached bunch.
Skimming through the files gave me the idea that the keyboard is read as the voltage dependent on the resistors connected via the selected key, right ?
This kind of keyboard solution was employed in the H3660 iPaq device and worked fine as far as I am concerned.
Regards , yego
Couldn't open the schematic. Anyway the design have been used before and also there is a version that use a 555 timer and diferent RC constants for each key. Micro use a timer for frequency measuring instead of ADC port. But there is a problem in both designs: How you deal with two keys (or more) press at the same time? Something can go really wrong (start a motor for example, or open a valve, depends on what your doing with your micro) if you interpret that as a valid key diferent then the two others pressed.
the H3660 is the PDA called iPAQ made once upon a time by Compaq ( HP at present ). That was just one of several models sharing that feature.
They simply connected the resistor ladder to the AD converter of the AVR controller and measured the input voltage, thus reasoning of the keyboard activity. Now they dropped the idea for some other solutions.