The "SmartWye" PC Keyboard Encoders make it easy to use the PC's keyboard port for operator input in embedded and dedicated PC's. The encoder and custom switch panel replace the standard keyboard by converting switch closures to standard PC keyboard scan codes. The encoder also generates all PC power-up responses, and provides all the required handshaking with the PC's keyboard interface, giving error free boot up. The Model VIP-312-128 also has NUM Lock, Caps Lock, and Scroll Lock LED support.
The encoder detects and debounces switch closures, generates appropriate key "make" codes, and sends them to the PC. When the switch is opened, the encoder sends the corresponding "break" code. Only the "make" code is sent for each switch closure, regardless of the time the switch is held closed. When several switches are closed simultaneously, "make" codes are sent once for each switch. "Break" codes are sent when the switches are again opened.
The keyboard code generated for a given switch closure is shown in two tables (maps) below in terms of US keyboard keys. J3 is the switch input connector to the encoder.
The first table, Table 1, shows three standard maps for encoder models which accept up to 24 switches to ground. The given key code is generated when the J3 pin in the table is closed to the GND pin. "Map Type" is one of three standard maps. The "A" (ALPHA) map generates alphabetic keys, the "F" (FUNCTION) map generates functions keys, and the "N" (NUMERIC) map generates numeric keys.
Table 2 applies to matrix connected switches, such as membrane keypads. Model VIP-128 contains the complete Windows 95 104 key map of the standard PC keyboard for switches connected in an 8 by 13 matrix.
In order to assure proper operation of the "SmartWye", certain conditions should be observed in its application. The following is a list of these conditions:
ALL CONNECTIONS SHOULD BE MADE WITH THE PC POWER OFF!!
(1) Do not connect or disconnect either the keyboard to/from the "SmartWye" or the "SmartWye" to the host when the host is powered up.
(2) Communications from the standard keyboard is bidirectional. Therefore, all keys send the proper codes and the status LED's for CAPS LOCK, NUM LOCK and SCROLL LOCK on the keyboard are fully functional.
(3) The "SmartWye" may
be operated with:
(a) only the keypad (no keyboard) or
(b) with only the keyboard,
(c) or with both.
(4) The host is connected to the "SmartWye" at the J1 connector location using a Vetra VIP-310-M Male Interface Cable or one provided by customer. The keyboard, if used, is connected to the "Smart-Wye" at the J2 connector location using a Vetra VIP-310-F Female Interface Cable or one provided by customer. The VIP-310-M and VIP-310-F do not come with the "SmartWye", they must be ordered separately. If the customer is furnishing the interface cables to the "SmartWye", please observe the pin outs as listed on the opposite page. Discrete switches or matrix keypads connect to the "SmartWye" at the J3 connector location.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
||||||||
|
||||||||
|
The Model VIP-312-128 also supports Num Lock, Caps Lock, and Scroll Lock LEDs. By adding the J4 header and resistors R2-R4 (not to exceed 20 ma current per LED) the VIP-312-128 can be configured to support LEDs. The encoder will provide an active low on the following pins:
J4-1 Scroll
Lock
J4-2 Caps
Lock
J4-3 Num
Lock
Pins J4-4, -5, and -6 provide a pull up to +5 Vdc. This pull up is not to exceed 20 ma for each LED
J1-1 Vcc | J2-1 Vcc |
J1-2 Host Clock | J2-2 Keyboard Clock |
J1-3 Host Data | J2-3 Keyboard Data |
J1-4 Not Used | J2-4 Not Used |
J1-5 Shield | J2-5 Shield |
J1-6 Gnd | J2-6 Gnd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 Marcus Blvd. Ste-J, Hauppauge, NY 11788-2022 USA Toll Free 1-800-537-9296 Tel: 631-434-3185 Fax: 631-434-3516 e-mail: sales@vetra.com |