HIDKeys - An Example USB HIDHIDKeys demonstrates how AVR-USB can be used to implement the USB Human Interface Device (HID) class specification. It's a simple USB keyboard with up to 17 keys.
file:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/hidkeys.gif
Why a HID?Implementing a USB device which conforms to the HID specification is particularly useful if you develop for Windows: Every vendor class device requires a kernel driver, but HID class devices do not. This means that you don't need an installer, the application can simply be copied to the disk or even be started from a CD.
This example demonstrates the device part of HID only. Since it implements a keyboard, no special software is needed on the host computer. In practice, you usually need a specialized software which controls the device. There are many examples available which show how to communicate between the host software and a HID on Windows, e.g. on Jan Alexon's web page. Our Automator project is one of them.
If you are new to USB and don't want to dig into the details of creating report descriptors, look at our PowerSwitch example first. It is the most basic and straight-forward way of USB communication.
DownloadDownload HIDKeys | HIDKeys.2007-03-29.tar.gz | file:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download | 135 kB | HIDKeys.2007-03-29.zip | file:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download | 144 kB | HIDKeys.2006-03-14.tar.gz | file:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download | 121 kB | HIDKeys.2006-03-14.zip | file:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download | 128 kB | HIDKeys.2006-02-07.tar.gz | file:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download | 118 kB | HIDKeys.2006-02-07.zip | file:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download | 123 kB |
|