Download Print this page

L3 Systems KeyAT-5 Manual

Rs232 to usb keyboard/mouse

Advertisement

Quick Links

KeyAT-5
Version 5.0
RS232 to USB Copyright 2006-2010
Keyboard/Mouse
L3 Systems, Inc.
WA
Port Adapter
Redmond,

Advertisement

loading
Need help?

Need help?

Do you have a question about the KeyAT-5 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for L3 Systems KeyAT-5

  • Page 1 KeyAT-5 Version 5.0 RS232 to USB Copyright 2006-2010 Keyboard/Mouse L3 Systems, Inc. Port Adapter Redmond,...
  • Page 2 Command Description Connections & Pin-Outs Turn off Commands Turn off commands Reset (10 tildes ‘~’) ~~~~~~~~~~ Reset & Load Defaults Send scan code ~:nn Sends scan code nn Shift Keys ~A~C~S~G Prefix Alt, Ctrl Shift or GUI Raw Mode Enter Raw Mode Move Mouse ~M+xx+yy Move mouse +/-xx, +/-yy...
  • Page 3 KeyAT-5 Keyboard Port Adapter Introduction The KeyAT-5 keyboard port adapter allows you to send keyboard keystrokes and/or mouse instructions to a computer via an RS-232 interface. Typical uses for the KeyAT-5 are:  Testing software - With a KeyAT-5, you...
  • Page 4 USB Adapter Systems Syst ems CL00 15 U S B Ex ten sio n Cabl e The above example shows two extension cables, one on each connector of the KeyAT-5. Generally only one extension cable is used. 11/14/2011 L3 Systems...
  • Page 5 KeyAT-5 Keyboard Port Adapter Serial Port Connector The port is configured as a DCE device. On the 9 pin DB-9S connector, it transmits data on pin 2 and receives data on pin 3. No other RS-232 signal is required for it to operate.
  • Page 6 Pin 2 Pin 3 Sending Data The main job of the KeyAT-5 is to transfer data from the RS-232 port and send it through to the computer's keyboard port. Data can be sent using ASCII, ASCII control codes, HID keyboard scan codes or ASCII hex.
  • Page 7 KeyAT-5 Keyboard Port Adapter In line turn-around mode, the KeyAT-5 sends a colon prompt after the data has been processed, signaling that it is ready for another command. Below shows the ASCII characters ‘DIR<ENTER>’ being sent via the KeyAT-5. Example: KeyAT, V5.0x1, [C]L3 Systems, Inc.
  • Page 8 KeyAT-5 Keyboard Port Adapter Send a scan code If you want to send a scan code without going into scan code mode, then use the ~:nn command to send the hexadecimal scan code value. This is useful for function keys, arrow keys or any other keys that don’t have an ASCII equivalent.
  • Page 9 KeyAT-5 Keyboard Port Adapter Raw Mode The ~R command enters a special mode, called Raw Mode, where the KeyAT sees all serial input as bytes of data directly interpreted as scan codes. For example, hex 41 is the letter “A” in ASCII, but in Raw Mode it is interpreted as the “F8”...
  • Page 10 KeyAT-5 Keyboard Port Adapter Mouse Commands The KeyAT-5 allows you to send commands that mimic mouse usage. Move mouse This command allow you to move the mouse pointer.  xxyy Move Mouse – Moves the mouse  xx increments in the x-axis and yy increments in the y-axis.
  • Page 11 KeyAT-5 Keyboard Port Adapter Mouse Buttons The command below allows you to send mouse button presses. ~Bnn Mouse Button – Presses mouse button(s), where: nn=01 – Left Button nn=02 – Right Button nn=03 – Right & Left nn=04 – Middle Button nn=05 –...
  • Page 12 KeyAT-5 Keyboard Port Adapter Mode Commands Line Mode and Immediate Modes Data can be sent and interpreted one line at a time, or be processed immediately. The default setting is for “Line Mode” (~L). This is the recommended method of use. Line Mode is better for automated control and provides more reliable interaction.
  • Page 13 (^) preceding an “M” character. Or you can send it as a scan code: ~:28. Optionally, you can put the KeyAT-5 in a mode where the “Enter” or ASCII <CR> character is passed through. Send CR mode – This causes the “Enter” or ASCII <CR>...
  • Page 14 ~Znn Sleep – Use sleep to provide delays. The value nn is in seconds (approx), or use .n for tents of a second. This can be helpful when doing scripting, allowing the KeyAT-5 to help you pace keystrokes, not out-running the application. :~Z05<ENTER> (delays 5 seconds, prompt appears when done) :~Z.8<ENTER>...
  • Page 15 ~Znn Delay nn ~nn ASCII byte ^X Control-X --- Mouse Commands --- ~Mxy Move mouse x and y ~Bnn Press Mouse buttons nn Displaying Version Version - ~V Displays firmware version. :~V<ENTER> KeyAT, V5.0x1, [C]L3 Systems, Inc. 2008- 2010 L3 Systems 11/14/2011...
  • Page 16 You can exit setup mode with the “Q” command: Setup>Q<ENTER> Configuration string The KeyAT-5 stores operating parameters in a configuration string located in non-volatile flash memory. These include parameters such as the settings of the baud rate, enabling command mode and determining the turn-around character.
  • Page 17 KeyAT-5 Keyboard Port Adapter The configuration settings are defined as follows. The underlined characters represent the minimum required entry in each field: 9600 – Baud Rate: 1200, 2400, 4800, 9600, 19200, 38400, and 57600 are valid. 9600 is the default setting.
  • Page 18 KeyAT-5 Keyboard Port Adapter Changing Configuration You can change operating parameters of the KeyAT-5 adapter with the LC command. You can either use a menu interface by typing “LC<ENTER>”, or type the configuration string after the LC command. The following shows the LC menu: Setup>LC...
  • Page 19 KeyAT-5 configuration string, you can force it to use the default settings if you send an RS-232 “Break” condition to the when applying power. This will cause the KeyAT-5 to return to the following settings: 9600,8,NoPar,Yecho,YesCmd,NoCR,LM,0D,7E,03 Specifically, this will force it operate at 9600 baud with no parity.
  • Page 20 KeyAT-5 Keyboard Port Adapter Setting Configuration Default Settings Restore the KeyAT-5 default configuration with the D command: (Restores default settings) Setup>D<ENTER> Setup> You can add up to two options to the default settings. Valid Options are: “N” = Disables Commands “C”...
  • Page 21 KeyAT-5 Keyboard Port Adapter Key Scan Code Table The KeyAT-5 allows you to assign one or more keyboard keys to an ASCII character. Loading Key Scan Codes The LK command loads a key scan code table entry: LKaa=bb,cc… Loading Key Scan Codes Example: Setup>LK2A=57<ENTER>...
  • Page 22 KeyAT-5 Keyboard Port Adapter In the preceding example, when the ASCII “?” character is sent, keys generate the typing of Hello”, with the “H” shifted. The table space allows for 50 entries Displaying Code Table The code table can be displayed to review entries: (Displays Code Table) Setup>PK<ENTER>...
  • Page 23 KeyAT-5 commands. It’s strongly recommended when using this feature to start the string with a delay command (~Znn) to allow the KeyAT-5 to wait for the computer to finish its power on sequence. L3 Systems...
  • Page 24 Setup>LP=~Z80DIR^M<ENTER> (Delay 80 seconds, & send “DIR<ENTER>”) Setup> In the above example, when power is applied to the KeyAT-5, it first delays 80 seconds, and then sends a “DIR<Enter>” command. Displaying Power on string The PP command displays the Power On string: (Shows Power On string Setup>PP<ENTER>...
  • Page 25 KeyAT-5 Keyboard Port Adapter Recovery: Load and Setting Defaults For cases when the configuration string, power on string or reset string causes the KeyAT-5 to become inaccessible, two recovery methods are available: Send RS-232 Break on Power-up: If you send a...
  • Page 26 (or scripting) capability. The terminal emulator provides a simple way to test and experiment the operation of the KeyAT-5. You can also create scripts to automate the keystrokes. Examples: Command shell examples: Sends a “dir”...
  • Page 27 KeyAT-5 Keyboard Port Adapter Scan Codes Scan Code Hex Pad Dec Hex Pad 1 / ! 2 / @ 3 / # 4 / $ 5 / % 6 / ^ 7 / & 8 / * 9 / (...
  • Page 28 KeyAT-5 Keyboard Port Adapter Scan Codes (cont.) Scan Code Hex Pad Dec Hex Pad / / ? Caps Lock Enter 1 / End 2 / Dn Arrow 3 / Pg Down 4 / Lt Arrow 6 / Rt Arrow 7 / Home...
  • Page 29 KeyAT-5 Keyboard Port Adapter Scan Codes (cont.) Scan Code Hex Pad KEY Dec Hex Pad Key International 6 International 7 International 8 International 9 Execute Language 1 Help Language 2 Menu Language 3 Select Language 4 Stop Language 5 Again...
  • Page 30 KeyAT-5 Keyboard Port Adapter Scan Codes (cont.) Scan Code Hex Pad Dec Hex Pad Decimal Sep Currency Unit > & Logical AND Logical OR Space Thous Sep Decimal Sep Curr Unit Mem Store Curr S Unit Mem Recall Mem Clear...
  • Page 31 KeyAT-5 Keyboard Port Adapter Scan Codes (cont.) Scan Code Hex Pad Dec Hex Pad Left Control Left Shift Left Alt Left GUI Right Control Right Shift Right Alt Right GUI L3 Systems 11/14/2011...
  • Page 32 KeyAT-5 Keyboard Port Adapter ASCII Scan Codes Below is the table of ASCII scan code definitions. ASCII ASCII SCAN ASCII ASCII SCAN CHAR Pref CODE CHAR Prefix CODE NUL ^@ Ctrl CAN^X 18 Ctrl SOH ^A Ctrl EM ^Y 19...
  • Page 33 KeyAT-5 Keyboard Port Adapter ASCII Scan Codes (cont.) ASCII ASCII SCAN ASCII ASCII SCAN CHAR Pref CODE CHAR Prefix CODE Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift < Shift Shift Shift > Shift Shift...
  • Page 34 KeyAT-5 Keyboard Port Adapter ASCII Scan Codes (cont.) ASCII ASCII SCAN ASCII ASCII SCAN CHAR Pref CODE CHAR Prefix CODE Shift Shift Shift Shift 11/14/2011 L3 Systems...
  • Page 35 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. Damage or defect caused by shipping is excluded.
  • Page 36 KeyAT-5 Keyboard Port Adapter Use the KeyAT-5 to make an RS-232 connection to a USB port on a target computer emulating both a keyboard and mouse. Typical uses are:  Testing Software - Test software input from simulated keystrokes and/or mouse.