Questions tagged [hid]

Human Interface Device, most commonly referring to a USB device, but can also refer to Bluetooth HID devices.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

Scales NCR SelfServ Checkout what protocol is used [closed]

There is a weighing security platform from the NCR self-service checkout, there is no SDK for it (or I did not find it). I would like to understand what protocol is used to get the weight. About the ...
user avatar
1 vote
1 answer
87 views

"Invalid PID Sequence"

I'm trying to create a HS USB device. The chirp sequence goes OK, but the device won't fullt enumerate. Device Manager reports "The request for the device descriptor failed". SO that's ...
user avatar
  • 127
0 votes
1 answer
98 views

How does a wireless USB mouse or keyboard work?

Wireless mouse or keyboard works on the principle of radio frequency (RF) technology. The transmitter of a wireless device is located inside the device itself and it sends the electromagnetic signals ...
user avatar
  • 3
0 votes
2 answers
450 views

how HID device change to port (LPT&COM)?

how HID device change to port (LPT&COM)? there is an RFID reader that is already in the form of a USB, and is detected in the device manager as a HID, can the HID be converted into a serial port (...
user avatar
3 votes
0 answers
160 views

Custom USB Gamepad Working But Not Detected In-Game

I've created a custom HID gamepad using an STM32L151C8T6 (probably irrelevant) and my computer recognizes the device using the gamepad tester application built into Windows 10. I can verify the ...
user avatar
3 votes
1 answer
173 views

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 ...
user avatar
0 votes
1 answer
151 views

What are the tradeoffs between a single HID descriptor/endpoint with multiple reports vs multiple HID descriptor/endpoints each with a single report?

Consider the two following setups: Setup A: Single device with a single HID descriptor and endpoint pair, whose Report descriptor contains multiple Collections and Report IDs. Setup B: Single device ...
user avatar
  • 287
0 votes
2 answers
100 views

How performant are the arduinos as keyboard controllers? E.g. for a gaming application

Issues I'm concerned about are: Latency (e.g. approximately seconds between key press, and key reaching PC or OS). Ghosting.
user avatar
  • 115
0 votes
1 answer
215 views

Contents of a keyboard buffer

First off, I am really confused whether this question should be on this site or stack overflow. Please go easy if this is not the good choice. I am going through the tutorial to make a simple HID ...
user avatar
  • 1,069
0 votes
0 answers
52 views

Power conversion causing huge increase in amperage

I've got a transformer ballast driving an HID lamp. When the transformer is wired to 110VAC, it's using about 700mA. When I drive it with a 12v battery and power inverter (to 110VAC) the transformer ...
user avatar
1 vote
3 answers
550 views

To ground or not to ground: portable power supply

So I'm creating a backpack system to carry around and shine a 100 watt HID lamp (using the arc tube for UVC mineral collecting.) This system currently includes a 12v lithium battery, a power inverter ...
user avatar
1 vote
2 answers
666 views

How do I operate any mercury vapor bulb and/or a metal halide without a ballast?

I have seen some YouTube videos of some folks operating mercury vapor, metal halide and high pressure sodium bulbs on a incandescent bulb to limit current, but they never explain how. I can't find ...
user avatar
  • 1
1 vote
0 answers
119 views

How to get correct response from UPS HID

I have a UPS HID device and I'm trying to use LibUSB to get data from it. The response expected is in the format below: ...
user avatar
0 votes
1 answer
185 views

Serial port reading: data format unclear

I am trying to read serial data from this OEM barcode scanner module: https://www.barcodescannermodule.com/sale-11330019-lv3085-mini-barcode-scanner-module-usb-ttl232-interface-for-pdas-tablets.html ...
user avatar
  • 143
0 votes
1 answer
164 views

Using a micro computer as a macro keyboard device?

not entirely sure this is the best StackExchange board but I bet some of the great members here could at least point me in the right direction. I'm looking to use one of the microcomputer devices, ...
user avatar
0 votes
1 answer
592 views

HID "report descriptor" includes set/get features?

After reading about HID report descriptor, it seems that it only includes "input report". http://www.rennes.supelec.fr/ren/fi/elec/docs/usb/hid1_11.pdf But what about get/set features ? Why it is ...
user avatar
  • 123
2 votes
2 answers
811 views

What are the limitations of the USB Composite device

I am looking at coding a USB device that is capable of encapsulating two USB devices. I would like to create a HID keyboard with a single extra USB port. A mass storage device would be connected to ...
user avatar
  • 131
1 vote
1 answer
852 views

Can nRF52 simultaneously use Bluetooth and act as USB HID Keyboard?

I want to ask something related to the use of the nRF52 as a HID keyboard (USB host). I have already played around with the SDK example ble_app_hids_keyboard and tried to understand it as much as I ...
user avatar
  • 11
0 votes
1 answer
83 views

Electrical gremlins under high Amp draws

I'm new here so I hope all goes well! I have used an ATX PSU to create a power bench tester for testing automotive headlights. HID in particular which draw around 8-10amps on startup. I have noticed ...
user avatar
  • 5
0 votes
1 answer
161 views

USB HID keyboard: why 4 URBs are generated for a keypress instead of 2?

This is system log when keyboard is plugged in: ...
user avatar
2 votes
2 answers
622 views

Midi Timestamp Implementation

I am building a HID USB device (via Microchip PIC MCU) with a MIDI interface, which is functioning as intended (sending midi to the host). My intent is to make it usable by a DAW (such as Reaper), and ...
user avatar
0 votes
5 answers
3k views

Wiring a momentary button to USB

Please forgive my lack of knowledge as all of this is VERY new to me... old dogs and new tricks and all ;) I want to wire a usb cable to a simple momentary button to use as a push-to-talk button. I'...
user avatar
-1 votes
2 answers
4k views

Minimal component set to build a computer mouse [closed]

I am searching for a DIY set to build an optical mouse. What I need is a bare minimum set, giving the ability to build a very small mouse without buttons, and possibly for beginners. Should be ...
user avatar
  • 277
1 vote
1 answer
2k views

STM32F4 USB host HID problem

I'm trying to drive USB host as MSC and HID on STM32F4, I have one STM32F407 Discovery board and one custom design PCB based on STM32F407. I'm using Keil compiler and ST std periph library, and for ...
user avatar
  • 375
4 votes
2 answers
248 views

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 ...
user avatar
-2 votes
1 answer
52 views

HID Device that would allow to track usage

Would it be possible to implement a HID device that would be capable of tracking computer usage - such as - 1/ computer being woken up 2/ Keyboard, mouse and/or touchscreen being active A HID device ...
user avatar
  • 11
0 votes
1 answer
77 views

Powering HID lamp from 240 volts

I'm considering replacing a 300W / 500W R7 halogen fitting with one of those 12v HID car fittings, (and obviously customising the halogen lamp housing) I'm also trying to do it on a budget. I'm ...
user avatar
3 votes
0 answers
734 views

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 "...
user avatar
2 votes
3 answers
165 views

Electronic device that is open for 6V and passes current once it reaches 12v? [closed]

Please excuse the way I am this question as I do not have much of an electronics background... I am trying to upgrade the headlights in my car to HID projectors. One of the issues I'm running into is ...
user avatar
1 vote
3 answers
2k views

How is this trackpoint supposed to work?

I have salvaged a track-point device from an old laptop that ceased working. I couldn't find any information on it in the hardware manual. However, the labels (see below) suggested that I could apply ...
user avatar
0 votes
1 answer
464 views

LPc11u68 Recognized as an USB mass storage device even when programmed in HID class

When I connected a newbie LPC11u68 to USB port,it recognized in windows as an USB mass storage device.When I programmed LPCOPEN HID example by Flash magic to it,after resetting the board,my PC can't ...
user avatar
  • 67
1 vote
1 answer
1k views

stm32 usb feature report sending

I am working with USB HID in stm32f072. On Get_Report Request I have to send data to Host PC through Control Transfer Endpoint. I am trying to do so. But it is sending always some wrong data. If I ...
user avatar
1 vote
2 answers
2k views

Reverse engineer USB HID device: easy way to hack up USB hardware?

Background: I want to make a custom controller for an XBox. Either by butchering an existing controller, or making the hardware and firmware from scratch(ish). (Specifically, the goal is to make an ...
user avatar
  • 4,966
4 votes
2 answers
2k views

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 ...
user avatar
  • 85
3 votes
1 answer
3k views

USB HID chip similar to FTDI [closed]

Is there a chip similar to the FTDI SPI to USB chips that integrates USB HID client device functionality (with µC interaction via some control protocol over SPI or UART)? FTDI chips cannot be used; ...
user avatar
  • 132
0 votes
1 answer
131 views

uC Datalogger to GUI for dataprocessing

So I looked around electronics.stackexchange for this one and here is where I landed: What type of USB Protocol for Datalogger Basically, I would like to sample a voltage (specifically, from a photo ...
user avatar
4 votes
2 answers
3k views

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: ...
user avatar
  • 101
0 votes
1 answer
1k views

Is it possible for a Teensy 3.1 microcontroller to receive USB keyboard input?

As I've read, it is possible to have the teensy act as a keyboard for a computer. I would like to know if the opposite is possible - can I collect keystrokes through the USB port on the teensy. If ...
user avatar
1 vote
1 answer
499 views

Start a teensy sketch after USB handshake has completed or upon a button has been pressed

I have an issue in starting a sketch on my Teensy at the right time. I work in a school as an IT technician and over the summer I go through all the computers on site, log-on and check if they're ...
user avatar
  • 11
6 votes
3 answers
5k views

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 ...
user avatar
  • 44.3k
2 votes
3 answers
3k views

How frequently must Microchip's USB HID USBDeviceTask() Task run?

I'm integrating the example USB module into my existing app and can only get it to work when I disable interrupts. I'm working off the mla example installed at the path: ...
user avatar
  • 3,063
0 votes
1 answer
2k views

Monitoring USB Keyboard Input with Microcontroller

I am currently working on a project in which I would like to be able intercept a specific key combination from a standard USB HID keyboard with a microcontroller. The purpose is to use the keyboard to ...
user avatar
5 votes
2 answers
1k views

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 ...
user avatar
1 vote
0 answers
966 views

Can Arduino UNO R3 act as both keyboard/mouse at same time?

I know that the UNO R3 can be flashed with FLIP to enumerate as a keyboard OR a mouse. I've successfully done this. My question here is, are there any methods that allow it to perform like the ...
user avatar
  • 223
1 vote
2 answers
2k views

Protocol to be used to make microcontroller to work as mouse

I'am Doing a "Wireless mouse using data glove" . In this user wears a Hand glove equipped with sensors, microcontroller & transmitter. I could detect left & right movement of hand & i ...
user avatar
  • 119
3 votes
1 answer
9k views

converting STM32F4 discovery USB mouse example to gamepad

I own a stm32f4 discovery board, for which a demonstration project can be downloaded here: http://www.st.com/web/en/catalog/tools/PF257904 This demo consists of software to use the board as a usb hid ...
user avatar
3 votes
2 answers
3k views

What is the best way to connect UART to USB? (need HID compatability)

I was wondering what would be the best method to add USB connectivity to one of my designs. I have an Atmel ATMega328P which will be sending HID reports to my computer, but I need a bridge to go from ...
user avatar
  • 65
3 votes
2 answers
3k views

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: ...
user avatar
16 votes
2 answers
4k views

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 ...
user avatar
  • 323
6 votes
2 answers
14k views

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 ...
user avatar
  • 247