Human Interface Device, most commonly referring to a USB device, but can also refer to Bluetooth HID devices.
Questions tagged [hid]
72 questions
17
votes
2 answers
Bluetooth HID Module
I am trying to implement my own Bluetooth HID device (a kind of custom game controller), but am having trouble finding what I am looking for.
I have only come across two solutions which seem slightly expensive to me based on the task. The two…

piepi
- 333
- 3
- 9
12
votes
1 answer
Where do I lookup values for building a USB HID descriptor?
I'm trying to educate myself a bit on creating a USB HID descriptor in C for a PIC32 USB project I want to attempt.
I've downloaded the HID Usage Tables document from http://www.usb.org/developers/hidpage/ and trying to figure out where the actual…

josef.van.niekerk
- 3,600
- 7
- 44
- 63
11
votes
1 answer
Mouse dots-per-inch... how to tell?
I'm creating an embedded application that hosts a USB mouse. I'm trying to make it generic for any USB HID mouse/trackball/whatever. I've discovered that mice report differently... while they mostly all report +-127 relative X/Y coordinates the…

user16719
- 111
- 3
7
votes
4 answers
USB: what are the advantages (or disadvantages) or using HID over serial-over-USB?
Disclaimer: I'm a novice at electronics and even more so to working with USB, please bear with me if I misunderstand some of the essentials behind how USB works. Any correction welcome!
The scenario: with a group of friends we are building a robotic…

mac
- 315
- 2
- 5
- 9
6
votes
2 answers
How to uniquely identify USB HID class device?
I would like to identify a USB keyboard uniquely(something equivalent to unique mac-id for the Ethernet cards) on a computer. Does the USB HID profile has a support for such identification ? If so what is the field called ?
I understand that VID and…

Bleamer
- 247
- 2
- 3
- 8
6
votes
3 answers
Are any USB-to-SPI *slave* bridge chips readily available?
I would like to interface a battery-powered device to USB, without requiring users to install drivers. Data transfer requirements are moderate, so the ~60kbytes/sec of HID mode would be fine, but I don't want to be much slower than that. The main…

supercat
- 45,939
- 2
- 84
- 143
5
votes
2 answers
Why does GET_REPORT on my HID Keyboards sometimes return an empty packet?
I'm writing boot firmware on a PowerPC board, and I have a problem with spurious USB keyboard repeating. My firmware is based on u-boot: after enumeration it puts the keyboard into boot protocol, then polls it by sending GET_REPORT control packets.…

Adrian Cox
- 171
- 5
4
votes
2 answers
This device cannot start. (Code 10) error in Windows 7
I'm trying to fix an error This device cannot start. (Code 10) with a USB HID device I'm building. Here are some details on my project:
IDE: MPLABX on Mac OS X
MCU: PIC32MX250F128B
Programmer: Microstick II
Git Repository:…

josef.van.niekerk
- 3,600
- 7
- 44
- 63
4
votes
2 answers
How to Dim HID Lamps
I am building a street lamp controller that should be able to set a street lamp to on, off, or dim state. I have successfully built an incandescent lamp dimmer (phase dimming - using zero cross detector, AVR microcontroller, and controllable TRIAC…

bonchenko
- 244
- 4
- 8
4
votes
1 answer
Reading useful data from barcode input
I have interfaced a HID bar-code scanner with LPC2468. It is sending data when i scan a bar-code, it sends a lot of bytes when i make a scan, how can i know out of these bytes which are the bytes corresponding to the scanned bar-code.
For eg:If i…

Sarao
- 45
- 3
4
votes
1 answer
Modifying Bluetooth HID Descriptor from 2 to 4 axis gamepad - Arduino Nano BLE
I am trying to modify an existing Arduino library (https://github.com/tcoppex/mbed-ble-hid go to src/services and its the HIDgamepadservice C++ and H files) to make the HID gamepad 16 button and 4 axis. I managed to get 16 button working by…

user2646256
- 81
- 3
4
votes
2 answers
What usb-class for a device intended to be as future proof as possible?
I am writing specifications for a product and need help to minimize its future need of maintenance.
In order to be able to be (optionally) monitored from the Internet the device is supposed to have a USB CDC port to connect it to a computer (I am…

Caterpillaraoz
- 166
- 1
- 7
4
votes
0 answers
Microchip RN4870: Can I create a custom GATT Characteristic Descriptor?
I am reading through the RN4870 user guide documentation to try and work out how to implement a HID GATT Service.
When I look at GATT specification viewer for the HID service, specifically at the "Report" characteristic, it appears to me I need…

Robert Massaioli
- 433
- 1
- 5
- 8
4
votes
2 answers
Implementing a Bluetooth HID device
I built a speed detector (of a rotating wheel) based on PIC32. For now I'm sending the speed to the PC through UART, but I'd like to be sending it through Bluetooth as a HID device because I'd like to use OS' drivers.
I've been googling for quite…

Luka
- 85
- 11
4
votes
2 answers
Composite HID gamepad descriptor works on Windows but not on Linux
I am building an USB adapter for an old game controller. So far everything is working fine. My HID descriptor looks like this:
0x05, 0x01, /* USAGE_PAGE (Generic Desktop) */
0x09, 0x05, /* USAGE (Game Pad) */
0xa1, 0x01, …

puyawsiht
- 101
- 1
- 6