Searching \ for '4x4 matrix to ps2' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=4x4+matrix+ps2
Search entire site for: '4x4 matrix to ps2'.

Truncated match.
PICList Thread
'4x4 matrix to ps2'
1999\02\17@193455 by ryan pogge

flavicon
face
Ok,
I reallllllly need some help here .
I desperatly need to interface a 4x4 matrix keypad to a ps2 port
on a PC, the buttons will mimic some of the numeric keys
on a keyboard so no special function is needed there.

can I use a chip from an old keyboard, a PIC, or some other
IC to do this?

It will be the only keypad/keyboard device hooked to the PC,
so it needs to be able to boot of of it.  I was thinking that a pic
could work somehow, or maybee salvage the insides of an
old keyboard??

any ideas?

Regards,
Ryan

1999\02\17@195746 by William Henning

flavicon
face
Why not buy one of the external numeric keypads for notebooks? Most of them use
a PS/2 connector, and may be enough for the PC to boot.

Regards,

Bill

http://www.cpureview.com

p.s.

There are also some 'mini' keyboards about 1"x4"x12" without numeric keypad or f
unction keys, would one of those work for you?

----------
From:  ryan pogge[SMTP:spam_OUTpoggeTakeThisOuTspamSHORE.INTERCOM.NET]
Sent:  Wednesday, February 17, 1999 4:20 PM
To:  .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU
Subject:  4x4 matrix to ps2

Ok,
I reallllllly need some help here .
I desperatly need to interface a 4x4 matrix keypad to a ps2 port
on a PC, the buttons will mimic some of the numeric keys
on a keyboard so no special function is needed there.

1999\02\17@200416 by Tony Nixon

flavicon
picon face
ryan pogge wrote:
>
> Ok,
> I reallllllly need some help here .
> I desperatly need to interface a 4x4 matrix keypad to a ps2 port

Perhaps using a 74C922 16-key encoder chip. It give a 4 bit binary
output depending on the key pressed and a 'data available' bit as well.
Should be able to power it from the Paralel port, and it uses a single
cap for debounce.

--
Best regards

Tony

Multimedia 16F84 Beginners PIC Tools.
** NEW PicNPro Programmer and Port Interface **

http://www.picnpoke.com
Email picnpokespamKILLspamcdi.com.au

1999\02\18@104607 by Graeme Smith

flavicon
face
Your main problem, is going to be getting the architecture to recognize
your keypad as the "Keyboard". You might be able to do that by "hooking"
the keyboard interrupts with a TSR, but that means shutting off the
keyboard in the BIOS. Alternately, you can redirect "Con" to the port you
plug the keypad into, but will again need to be able to shut off the
keyboard in the BIOS.

The chip in the keyboard, is itself an embedded controller, and the
circuit essentially maps the keyboard to a set of pins on the chip, which
then are used to determine the scan code, then sends it through a
dedicated serial port, to a standard port. Software then sends the scan
code to a companion chip on the motherboard (called the keyboard bios)
that converts it to the extended ASCII that we all love so much.

The scan code, is sent via an interrupt in the operating system, at the
bios level, and all you need to be able to do, is redirect this interrupt
to the handler you write for the port....

But what the heck, if you are going to tear down a keyboard anyway, why
not use the dedicated serial port that was meant for the keyboard, and
save yourself a little trouble?

                               GREY

GRAEME SMITH                         email: .....grysmithKILLspamspam.....freenet.edmonton.ab.ca
YMCA Edmonton

Address has changed with little warning!
(I moved across the hall! :) )

Email will remain constant... at least for now.


On Wed, 17 Feb 1999, ryan pogge wrote:

{Quote hidden}

1999\02\18@143246 by ryan pogge
flavicon
face
>Your main problem, is going to be getting the architecture to recognize
>your keypad as the "Keyboard". You might be able to do that by "hooking"
>the keyboard interrupts with a TSR, but that means shutting off the
>keyboard in the BIOS. Alternately, you can redirect "Con" to the port you
>plug the keypad into, but will again need to be able to shut off the
>keyboard in the BIOS.

If i use the guts of a keyboard wont this solve the problem?


>But what the heck, if you are going to tear down a keyboard anyway, why
>not use the dedicated serial port that was meant for the keyboard, and
>save yourself a little trouble?

not sure i understand.....
here is a better explanation of what i am trying to do,
I am going to be booting a PC in a car, it needs something hooked to the
PS/2
port to boot,  I am running a program  in place of explorer.exe shell
since it will be all that I am useing.  I need to then controll that
program with a PS/2
Keyboard, HOWEVER ... the only keys I need are some of the numpad keys...
The whole keyboard is too big to fit in my car, so esentialy what i was
thinking
is to remove the case and keys from an old keyboard.... looking at which
buttons
went to which pin on the keyboard chip and just hooking a 4x4 keypad to the
apropriate pins.....

is that going to work?


regards,
Ryan

1999\02\19@062227 by paulb

flavicon
face
ryan pogge wrote:

> If i use the guts of a keyboard wont this solve the problem?

> remove the case and keys from an old keyboard.... looking at which
> buttons  went to which pin on the keyboard chip and just hooking a 4x4
> keypad to the apropriate pins.....

> is that going to work?

 I think that is the simplest, cheapest, fastest and overall *best*
approach.
--
 Cheers,
       Paul B.

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...