I report each part of different emails whit my question:
From: "Roy J. Tellason" <rtellason at verizon.net>
There was some project article in Byte way back when, by Steve Ciarcia,
which provided a peecee-type keyboard input (AT rather than PS/2 but that
shouldn't make that much difference). The circuit to deal with this was
very
simple and elegant, though I can't remember any more just how it was done.
He didn't use a UART or similar, though, just a couple of MSI chips. And
I
remember thinking then how it wouldn't be all that hard to stuff an eprom
between the output of that circuit (which gave you keycodes rather than
characters) and have it spit out ASCII.
Perhaps one of these days I'll run across the article again.
Roy,
here would be the list of articles by Steve Ciarcia
http://www.devili.iki.fi/library/author/203.en.html
May you try to find the exact article?
Enrico
From: "Dave Dunfield" <dave06a at dunfield.com>
If anyone is interested, I have a very small bit of 8051 code which reads an
attached PC keyboard, providing the scan codes over an RS-232 link. It also
supports commands to set LEDs on/off etc. I specifically avoided using the
P1 line in my design (full 8-bits parallel I/O available even on an 8031),
so
these are free, making it very trivial to modify this to output parallel
instead
of serial - it would also be very easy to add a translate table and
recognition
of shift/ctrl modifiers so that it would output fully decided ASCII.
Dave ,
have you just the code or even the circuit PCB layout?
And have you an idea to how to transform the circuit from serial to
parallel?
Enrico
From: Jim Brain <brain at jbrain.com>
If you didn't care about sending codes back to the keyboard, then you'd
just need an 11 bit shift register. The previously mentioned
<http://eece.ksu.edu/~eece696/beta/digital/A/stop.htm>
http://eece.ksu.edu/~eece696/beta/digital/A/stop.htm is almost there, it
just needs 1 more F/F 2 LS174s would work for the F/Fs. the CLK line
needs to be inverted, but you can probably get away without doing it.
A divide by 11 counter (LS163 with and AND on bit 0,1 and 3 driving CLR)
should do the trick.
Jim,
i need just this, I don't care to see the caps lock led turning on or off!!
But the schematic indicated to that link, it appear to be a theoric
schematic.
I really have not time to testing circuit or verify how it works.
So anybody has an idea of a pratical circuit working?
Thanks
Enrico
From: Holger Veit <holger.veit at iais.fraunhofer.de>
No, I am not yet at a point to use a microcontroller just to blink a
LED, which have been done with two cross coupled transistors in the
past, but a PIC is meanwhile the more compact, easier, more flexible
solution to "convert-from-A-to-B" problems.
Holger,
it's exactly what i'm looking for. So may you give your help? What PIC to
use?
I have a PS2 Keyboard and when I press the character A I need to have the
binary code 41H that means 0100 0001B on eight wires plus a strobe line.
Only in this direction. Is it possible?
Thanks
Enrico