Hagstrom Electronics USB-ASC232 User Manual

Ascii rs-232 controlled usb keyboard and mouse cable

Advertisement

Quick Links

USB-ASC232
ASCII RS-232 Controlled USB
Keyboard and Mouse Cable
User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USB-ASC232 and is the answer not in the manual?

Questions and answers

Summary of Contents for Hagstrom Electronics USB-ASC232

  • Page 1 USB-ASC232 ASCII RS-232 Controlled USB Keyboard and Mouse Cable User Manual...
  • Page 2 Please take a few minutes to read this manual before using your USB-ASC232. If you have any questions about the use of the USB-ASC232 not covered in this manual, please contact us directly. We offer toll free technical product support from 8:00am to 5:00pm M-F Eastern Time 888-690-9080.
  • Page 3: Table Of Contents

    CONTENTS Introduction to the USB-ASC232 Translation Modes of the USB-ASC232 ASCII Mode Extended ASCII Mode Key Number Number Mode Additional Key Number Mode Commands Key Number Mode Examples Producing Mouse Action on the Target Computer Mouse Packet Examples Sending Serial Control Commands...
  • Page 4: Introduction To The Usb-Asc232

    0x00 to 0x7F (0 to 127 decimal), will generate their corresponding USB keystroke on the computer where the USB-ASC232 USB plug is connected. See the ASCII table on the next page for a list of the characters which are recognized and translated for the cable’s ASCII mode of operation.
  • Page 5: Extended Ascii Mode

    Extended ASCII Mode The USB-ASC232 Extended ASCII Mode of operation allows for the standard ASCII character set (character values 0x00 to 0x7F), in addition to an extended ASCII character set (character values 0x80 to 0xFF). When an RS-232 byte is received in this mode, it produces a...
  • Page 6 Extended ASCII Mode Translation Table Value Value Value Value Character Character Character Character Dec Hex Dec Hex Dec Hex Dec Hex none Space none none “ none none none none & none ‘ Backspace none none none Return none none <...
  • Page 7: Key Number Number Mode

    In general, to make a key (generate a press of a specific key), a one byte value between 0x00 and 0x7F is sent to the USB-ASC232. Once received, the key specified will be seen as held down on the computer just as if someone was physically holding that key on a keyboard.
  • Page 8 US Key Number Table (Decimal Values) An international key number table is available on the CD provided with the USB-ASC232. Make Break Make Break Make Break R Arrow NumLock 7 (Num) 4 (Num) ‘“ 1 (Num) Enter / (Num) L Shift 8 (Num) 7&...
  • Page 9: Additional Key Number Mode Commands

    By using the make and break commands in Key Number Mode, any sequence that can by manually typed on a keyboard can be produced with the USB-ASC232. Use this Key Number Mode to emulate single keystrokes or even combinations such as Ctrl+F1, or Shift-Alt+F5.
  • Page 10: Key Number Mode Examples

    58 (L Ctrl make), 60 (L Alt make), 112 (Make F1), 240 (Break F1), 188 (Break L Alt), 186 (Break L Ctrl). The example above assumes that the handshaking USB-ASC232 is seen as not busy before sending the next command byte to the...
  • Page 11 Producing Mouse Action on the Target PC The USB-ASC232 is capable of controlling the mouse cursor and mouse button states through a special four byte command sequence. This command sequence can be used in any of the operating modes of the USB-ASC232.
  • Page 12 [W2] - The most significant bit of the scroll wheel movement magnitude. [W1] - Bit 1 of the three bit value for scroll wheel movement. [W0] - Least significant bit of the scroll wheel movement value. [1] - Bit 3 of this #4 byte is always “1”. Sending “0” for this bit will cause the entire mouse control packet to be ignored.
  • Page 13: Mouse Packet Examples

    Mouse Packet Examples The packet below is an example of a packet for the USB-ASC232 to command X movement of 15 to the right, and a Y movement of 5 in the up direction.
  • Page 14: Sending Serial Control Commands

    Com Port control software. Use these examples as a starting point for programs which run the communication to the USB-ASC232 from the computer attached to the USB-ASC232 Com Port DB9 connector.
  • Page 15: Usb-Asc232 Configuration Program

    The standard BAUD rates available are 2400, 4800, 9600, 14400, 19200, and 38400. The number of bits in the character sent to the USB-ASC232 may be 7 bits or 8 bits. NOTE: 8 bit characters are required for Ex- tended ASCII and Key Number modes.
  • Page 16 The “Echo” setting means that the USB-ASC232 will send a one’s complement response byte to each command. For instance, if a value of 0x32 is sent to the USB-ASC232 serial port, it will reply with a value of 0xCD in response. Use this handshaking mode as a way to not only keep the buffer from overflowing, but is also a confirmation of the value of the code that was received.
  • Page 17 ASC232 units. Custom USB-ASC232 Options We offer special modifications to our standard USB-ASC232 unit to conform to your exact specifications. Potential modifications include, but are not limited to: special cable lengths, different gender DB9, RS-422, etc. Let us know if you have special...
  • Page 18: Serial Connector Pinout

    Serial Connector Pinout The USB-ASC232 serial connection is a 9 pin female D type connector. The pinout is designed such that it will attach directly to a standard PC com port. Pin 1 = Unused Pin 2 = PIN 3...
  • Page 19 Depending on the state in which you live, you may have additional rights. Great care has been taken during the assembly, testing, and burn-in of your USB-ASC232 to ensure its performance. If you have any questions, please send us an email or give us a call. Support is available Monday through Friday, 8:00 am to 5:00 pm (EST).
  • Page 20: Www.hagstromelectronics.com

    HAGSTROM ELECTRONICS, INC. Toll Free 888-690-9080 Phone: (540) 465-4677 Fax: (540) 465-4678 Monday through Friday, 8:00 am to 5:00 pm (EST) sales@hagstromelectronics.com www.hagstromelectronics.com 1986 Junction Road, Strasburg, VA 22657 Copyright © 2020 HAGSTROM ELECTRONICS, INC. V. 09.20...

Table of Contents