Questions tagged [hid]
Human Interface Device, most commonly referring to a USB device, but can also refer to Bluetooth HID devices.
74
questions
2
votes
1
answer
48
views
USB,HID. How to use 0x06, 0x00, 0xFF, //Vendor Defined Page 1?
What is "0x06, 0x00, 0xFF, // Usage Page = 0xFF00 (Vendor Defined Page 1)" used for?
USB HID Report descriptor.
**
In the USB documentation I only found this:
Unknown Usage
Unknown usages ...
2
votes
1
answer
55
views
USB, HID. Correct "Usage Page (Button)" declaration
Why do I need 5 commands to declare a Usage Page (Button)?
If these commands are not for the button, then what are they for?
...
0
votes
1
answer
64
views
0
votes
1
answer
184
views
How does a USB HID gamepad specify button codes?
I'm working on a device emulating a USB HID gamepad with 32 buttons. This is the basic Report Descriptor I created
...
0
votes
0
answers
152
views
Convert USB (HID) Full Speed to Low Speed
I want to connect a KVM-over-IP device to the console of my USB KVM switch to make it IP capable. The KVM-over-IP device offers a USB Full Speed composite device with keyboard and mouse subdevices, ...
0
votes
0
answers
67
views
Custom HID UPS not detected by UPower in Linux
My original question: https://stackoverflow.com/questions/75910694/custom-hid-ups-the-host-does-not-update-the-data-from-reports
I'm looking to build a USB HID device (uninterruptible power supply) ...
3
votes
0
answers
63
views
How does bluetooth host know which HID to use and how does UUID work?
I have spent hours reading up on bluetooth (classic, not BLE) and i still have some questions i found conflicting answers on the internet.
What is the UUID in bluetooth? is the UUID a unique ID for ...
1
vote
1
answer
152
views
BLE HID Keyboard Device for iOS
I'm using a Dialog SmartBond DA14531 as a BLE HID Keyboard device. It works on Windows but not on iOS. Although it pairs successfully, the HID key events do nothing. Does anyone have any experience ...
0
votes
1
answer
86
views
Are there any useful points of such a large functionality of USB HID class?
In the list of USB classes, in addition to the obvious things (like "Printer", "Hub" and "Storage"), there are also such things like "Audio", "Video", ...
0
votes
1
answer
70
views
ATMEGA328P-AU with USB capabilities
I would like to use an ATMEGA328P-AU microcontroller with USB capabilities (to program it and turn it into a USB Human Interface Device). So, I am thinking of using a CP2102-GMR to do that. Is it a ...
0
votes
1
answer
484
views
Is it possible to make a BLE HID without a microcontroller like an Arduino?
I am in a vocational highschool. I have a project where I have to make a HID like a keyboard or a mouse (wired) into Bluetooth wireless.
I've read many articles before like using an Arduino Pro Mini 3....
1
vote
1
answer
313
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 ...
0
votes
1
answer
381
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 ...
0
votes
2
answers
2k
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 (...
3
votes
0
answers
462
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 ...
4
votes
1
answer
352
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 ...
1
vote
1
answer
344
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 ...
0
votes
2
answers
201
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.
0
votes
1
answer
420
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 ...
0
votes
0
answers
56
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 ...
1
vote
3
answers
1k
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 ...
1
vote
2
answers
1k
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 ...
1
vote
0
answers
183
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:
...
0
votes
1
answer
255
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
...
0
votes
1
answer
182
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, ...
0
votes
1
answer
658
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 ...
2
votes
2
answers
1k
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
86
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 ...
0
votes
1
answer
224
views
USB HID keyboard: why 4 URBs are generated for a keypress instead of 2?
This is system log when keyboard is plugged in:
...
2
votes
2
answers
797
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 ...
0
votes
5
answers
4k
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'...
-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 ...
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 ...
4
votes
2
answers
258
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 ...
-2
votes
1
answer
53
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 ...
0
votes
1
answer
93
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 ...
4
votes
0
answers
789
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 "...
2
votes
3
answers
202
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 ...
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 ...
0
votes
1
answer
493
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 ...
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 ...
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 ...
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 ...
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; ...
0
votes
1
answer
138
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 ...
4
votes
2
answers
4k
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:
...
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 ...
1
vote
1
answer
508
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 ...
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 ...