Custom USB input device with emc

Using hal_input and halui you can make keys on any linux input device perform user interface actions like "cycle start", jogging, and so on.

HIDKeys is a GPL, AVR microcontroller-based firmware which implements a USB HID device with no special USB interface chip required. By default it emulates 17 keys on a keyboard (maximum one keypress at a time), but with firmware modifications other inputs such as analog inputs, quadrature jogwheels / MPGs, or key scanning matrices could also be supported. LED outputs are also possible.

My modified design has one quadrature jogwheel, up to 8 other "button" inputs, and one LED output. It is programmed through the parallel port connector, and most I/O pins are also available on that connector. Included in the tar file are the eagle schematic and single-sided circuit board, along with the modified firmware source.

If you are building a custom panel, are comfortable with microcontrollers, and don't have enough spare inputs elsewhere, this is sure an option to consider.

Files currently attached to this page:

HIDKeys+jogwheel.tar.gz131.6kB
hid-brd-medium.png110.0kB
hid-brd-small.png24.9kB
hid-brd.png6.8kB
hid-sch-medium.png85.7kB
hid-sch-small.png20.0kB
hid-sch.png25.5kB


(originally posted on the AXIS blog)

Entry first conceived on 19 August 2007, 14:56 UTC, last modified on 15 January 2012, 3:46 UTC
Website Copyright © 2004-2024 Jeff Epler