The U-HID Nano board gives you all the versatility of the U-HID board, with 8 inputs.
All inputs can be assigned as Analogue, Key codes, Game pad buttons, Mouse buttons or quadrature (Trackball, spinner).
Some functions (J1 through J7) listed below are only relevant to the FULL U-HID board.
Modular 8-Way Harness
This consists of 9 wires, (8 inputs plus ground) and plugs onto any of the sections of the U-HID connector. It is keyed to avoid incorrect connection.
The harness is 900mm long (39 in) and has connectors at both ends. It can be cut in half to give two open-ended wiring harnesses, then the appropriate connector fitted for the switch or other device.
U-HID Configuration Tools
Game pad/Mouse/Keyboard Buttons
Any pin can be defined as a switch.
You can define a switch as:
* Mouse button (including double-click)
* Game pad button
* Keyboard key.
Each switch input has a primary assignment and a secondary assignment (optional).
Both the primary and secondary assignments can be used in key action settings and the secondary assignment is also activated in place of primary when a "U-HID Shift" key is held down.
You can assign a different action for the event when the switch is closed (i.e. grounded) and for when the switch is opened. The two possible key codes (or buttons) coupled with the way in which you define closed/open events gives a mass of flexibility in the types of control you can connect without using any external circuitry.
The key code which is sent when you activate the switch is defined using the U-Config utility. You can assign any connection to send any key press.
Switches can also be assigned as game controller buttons, which are numbered 0-32 (32 is a Windows limitation).
Mouse button selections available are left, right, middle or left double-click.
Simple keyboard-type button (Normally Open):For this you would set the “down” action to be the required key code and “up” action to be “Clear”.
Simple keyboard-type button (Normally Closed):Set “down” action to be “clear” and Up action to be the required key code.
Toggle switch with integral LED:
This type of switch sends a 5 volt signal when closed, and ground when open. Let’s say you want to turn on a control when you switch “on” the toggle but you don’t want to generate masses of key-presses which the toggle is still down. You can send one key-press only, by configuring:“down” action to be “clear” and “up” action to be “pulse” and the required key code. Setting it up this way means the internal LED in the switch will function properly with no external circuitry to control it.
Usually you would use normally-open switches or push-buttons (although the U-HID does support normally-closed)
One connection of each switch would be connected to the required U-HID input pin. The other to any ground pin. So, if many switches are used on a control panel, all of them have one connection which is "daisy-chained" to each other and routed back to a ground pin. We supply a pre-made "daisy-chain" wiring harness which can be used for this purpose.
Connectors J1, J2 and J3 have ESD static discharge protection. These 24 pins should be used in preference over the others when connecting switches. ESD can be a problem in warm dry environments and can cause false triggering or even damage.
Some switches have special connectivity or an in-built LED which mean you need to connect in a different way to the U-HID. The principle is always that the U-HID pin is assumed to be sitting at a voltage of 5 volts when not activated and zero when activated (but note that you can reverse the behaviour the PC sees using the config utility). If the circuit is "open" (ie a normally-closed switch is not activated) then it will sit at 5 volts.
Switches which have in-built self-powered LEDs will have a connection which sits either at zero or supply voltage. These switches would require a constant 5 volt supply to one terminal, a ground on another terminal, and the switched voltage appears on a third. The switched voltage is connected to the U-HID input pin. These switches actively tie the pin to 5 volts (supply) or ground. This is fine for the U-HID.
Important! Never connect any device to the U-HID which sends more than 5 volts otherwise damage could occur!
No posts found