Quick Reference Reference Description Serial Connector Pin-outs: RS-232 Connector PS/2 Connectors Pin-outs: Keyboard/Computer Connectors Command Description Set to character mode Send ASCII chars ASCII hex mode Send Hex ASCII chars Keyboard code mode Send direct key codes DOS scan code mode Send DOS scan codes Turn off Commands Turn off commands (~anything)
Page 3
KeyAT-4 Keyboard Port Adapter Introduction The KeyAT keyboard port adapter allows you to send keyboard keystrokes to a computer via an RS-232 interface. It can also be used to convert a PS/2 keyboard to send RS-232 data. Typical uses for the KeyAT are: •...
KeyAT-4 Keyboard Port Adapter Status Indicator A red status indicator located on the side of the KeyAT indicates port activity. It turns solid red when the attached keyboard port is being used. It blinks whenever the RS-232 port is active.
Page 5
KeyAT-4 Keyboard Port Adapter KeyAT Keyboard & PC Mini-DIN Connector The following connector shows the pin definitions for the two 6 pin Min-DIN connectors. If the application is an RS-232 keyboard, the computer Mini-DIN connector can be used to provide 5 volts power.
The example shows the ASCII characters ‘DIR<ENTER>’ being sent through the KeyAT. Example: KeyAT, V4.0x1, [C]L3 Systems, Inc. 2005 :DIR^M<ENTER> Commands Commands are instructions to the KeyAT to do something other than just pass data through to the computer.
Page 7
KeyAT-4 Keyboard Port Adapter Scan Code Mode - In this mode, data is translated to the corresponding keyboard scan codes. For an ASCII transfer, each pair of ASCII encoded characters is interpreted as a DOS scan code. DOS assigns each key a DOS scan code. Note that all DOS scan codes are sent complete with make and break sequences.
KeyAT-4 Keyboard Port Adapter Turn around setting Data can be sent and interpreted one line at a time, or be processed immediately. The default setting is for line turn around mode (~L). This is better for automated control and provides more reliable interaction. Immediate turn around mode (~I) can better simulate keyboard operation.
*~*SETUP<ENTER> Setup> Leaving Setup Mode You can exit setup mode with the “Q” commad: Setup>Q<ENTER> Displaying Version The firmware version can be displayed with the “V” commad: Setup>V<ENTER> KeyAT, V4.0x1, [C]L3 Systems, Inc. 2006 L3 Systems 5/19/2007...
KeyAT-4 Keyboard Port Adapter Help Command You can display a short setup help list with the “Q” commad: Setup>H<ENTER> ~:nn Scancode nn ~-nn/~+nn Make/Break Scancode nn ~Knn Send Keycode nn ~Dnn Set Keyboard LEDs ~Xnn Send Keyboard byte nn ~Znn Delay nn...
Page 11
KeyAT-4 Keyboard Port Adapter Changing Configuration You can change operating parameters of the KeyAT adapter with the LC command. The following example shows the baud rate changed to 4800 from default, and enabling the “CR pass-through mode”: Setup>LC4800,NoPar,YesCmd,YesCR,LM,NM,0D,7E<ENTER> The following shows the minimal entry for the same setting: Setup>LC48,N,Y,Y,LM,NM,0D,7E<ENTER>...
Page 12
KeyAT-4 Keyboard Port Adapter Displaying Code Table The code table can be displayed to review entries: (Displays Code Table) :PK<ENTER> AS Codes -- ------ ß Shows data of example above 2A 79 F0 79 Erasing the Key Code Table The “EK” command deletes all entries in the Key Scan Code table. If you want to change existing entries in the code table, you must clear the table with the “EK”...
KeyAT-4 Keyboard Port Adapter Reset String The KeyAT can execute a command string whenever the computer sends the keyboard a reset. This string can include keys to send to the computer and/or KeyAT commands. It’s strongly recommended when using this feature to start the string with a delay command (~Znn) to allow the KeyAT to wait for the computer to finish its reset sequence.
Page 14
KeyAT-4 Keyboard Port Adapter Tera Term For use with Microsoft Windows, we suggest using the application called Tera Term. It’s free to download and use. Tera Term is a terminal emulator that also has a macro (or scripting) capability. The terminal emulator provides a simple way to test and experiment the operation of the KeyAT.
Page 19
All returns must obtain a Return of Merchandise Authorization number (RMA) available on request from L3 Systems. Shipping costs (plus customs and duty, if any) to and from L3 Systems must be paid by the user. Damage or defect caused by accident, misuse or neglect is not covered.
Page 20
KeyAT Keyboard Port Adapter KeyAT "To Computer" PS/2 RS-232 PS/2 "To Keyboard" The KeyAT Keyboard Port Adapter allows you to make an RS-232 connection to a computer’s keyboard port, and still use the keyboard. Typical uses are: ♦ Testing Software - Test software by sending it simulated keystrokes from another computer.
Need help?
Do you have a question about the KeyAT-4 and is the answer not in the manual?
Questions and answers