[AVR单片机] HIDKeys - An Example USB HID

[复制链接]
 楼主| 宇宙飞船 发表于 2010-9-4 23:33 | 显示全部楼层 |阅读模式
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.
Download
Download HIDKeys
HIDKeys.2007-03-29.tar.gzfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download135 kB
HIDKeys.2007-03-29.zipfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download144 kB
HIDKeys.2006-03-14.tar.gzfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download121 kB
HIDKeys.2006-03-14.zipfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download128 kB
HIDKeys.2006-02-07.tar.gzfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download118 kB
HIDKeys.2006-02-07.zipfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download123 kB

dreampet 发表于 2010-9-6 10:02 | 显示全部楼层
转帖请转完整并注明原文出处:
www.obdev.at/products/vusb/hidkeys.html
粉丝 发表于 2010-9-16 14:42 | 显示全部楼层
那些英文不好的就惨了!呵呵。
粉丝 发表于 2010-9-25 13:27 | 显示全部楼层
顶顶更健康。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:技术是玩出来的!

75

主题

1664

帖子

4

粉丝
快速回复 在线客服 返回列表 返回顶部