Parent 

AT2XTKB Keyboard Converter  -  Additional Information


The designer of the AT2XTKB circuit and firmware is Chuck(G) of the Vintage Computer Federation Forums.  Thank you Chuck.

A circuit diagram of the AT2XTKB is at here.

The Vintage Computer Federation Forums web page that covers the AT2XTKB is at here.
There is lots of information there, including the firmware code that needs to be programmed into the AT2XTKB's PIC chip (if you are building your own AT2XTKB).

If sourcing the cable yourself, I suggest that you purchase one that has all 5 pins interconnected from end to end.  The type of 5-pin DIN connector required is the one where the 5 pins are distributed over 180 degrees (not 240 degrees).  Some cables described as 'MIDI cables' may be suitable.

Some sources of AT2XTKB (and some variants) are:
• eBay, using the search text of "AT2XTKB".  There may be others there.
• See here.
• See here.  (New Zealand)
• If you are in Australia, modem7 at the Vintage Computer Federation Forums can supply the AT2XTKB (cable included).



Optional boxing

An example of using an off-the-shelf project box (a.k.a. jiffy box) is shown at here.  You will need to drill holes in the plastic.

Another project box example is shown at here.

Rodolfo of the Vintage Computer Federation Forums designed a 3D printed custom case.  See here.



Problems


Symptom: I have just finished constructing an AT2XTKB, but it is not working.
Fix: Some (i.e. not all) possible causes:
• Not wired/constructed per the circuit diagram.
• Bad soldering.
• The 12F629 PIC chip was not programmed with the AT2XTKB's firmware.
• The OSCCAL value was lost/overwritten when programming the 12F629 PIC chip - see here.
• The AT-class keyboard that you are using is faulty.
• The particular model of AT-class keyboard that you are using is incompatible with the AT2XTKB.
• DIN cable between AT2XTKB and motherboard - incorrect type for AT2XTKB use.
• DIN cable between AT2XTKB and motherboard - correct type but faulty.
• DIN cable from motherboard plugged into wrong connector on AT2XTKB.
• IBM 5150 (IBM PC) - AT2XTKB is connected to motherboard's cassette port instead of keyboard port.
• The AT2XTKB is working; it is the motherboard's keyboard interface circuitry that is faulty.


Symptom: Works with some AT-class keyboards, but not others.
Fix: Member schnurzel of the Vintage Computer Federation Forums modified the AT2XTKB's version 0.94 firmware.
A link to schnurzel introducing the firmware is at here.
Try that firmware, known as 'RT01'.
Comment: May not work fully with some keyboards.  For example, on a Compaq KB-0133 keyboard, the the NUM LOCK, CAPS LOCK, SCROLL LOCK lights do not work.


Symptom: I need the 'Scancode E0 pass-through' functionality, but it is not working.
Fix: Step 1: Ensure that you have pullup resistor R3 in place.
Step 2: Ensure that jumper JP1 is off.
Step 3: Ensure that the version of firmware in the 12F629 PIC chip is at least version 0.93
Comment: Functionality rarely required.  See post #203 at here for an example.


Symptom: The F7 key is not working.
Fix: Upgrade the 12F629 PIC chip's firmware to version 0.94



Observations


Background: On an IBM 5150 or IBM 5160, the motherboard's POST will display a 301 error if no (XT-class) keyboard is plugged into the motherboard.
Observation: It will be observed that if an AT2XTKB is plugged into an IBM 5150 or IBM 5160, and the AT2XTKB has no keyboard attached to it, the expected 301 error will not be displayed.
Answer: Refer to the diagram at here.  When the AT2XTKB sees the clock line go low, it will respond with an AA byte to the motherboard, making the motherboard believe that a keyboard is present.