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
3
votes
0answers
60 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 ...
3
votes
1answer
52 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 ...
0
votes
1answer
55 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
2answers
85 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
1answer
76 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
0answers
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 ...
1
vote
3answers
151 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
1answer
348 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 incandecent bulb to limit current, but they never explain how. I can't find ...
1
vote
0answers
112 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
1answer
154 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
1answer
141 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
1answer
530 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
2answers
570 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
1answer
662 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
1answer
76 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
1answer
108 views

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

This is system log when keyboard is plugged in: ...
0
votes
2answers
445 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
5answers
2k 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
2answers
3k 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
1answer
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
2answers
220 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
1answer
51 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
1answer
63 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 ...
2
votes
0answers
677 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
3answers
154 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
3answers
1k 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
1answer
458 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 ...
0
votes
1answer
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
2answers
1k 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
2answers
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
1answer
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
1answer
121 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
2answers
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: ...
0
votes
1answer
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
1answer
488 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
3answers
4k 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 ...
2
votes
3answers
2k 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: ...
0
votes
1answer
1k 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 ...
5
votes
2answers
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 ...
1
vote
0answers
923 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 ...
1
vote
2answers
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 ...
3
votes
1answer
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 ...
3
votes
2answers
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 ...
3
votes
2answers
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: ...
15
votes
2answers
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 ...
5
votes
2answers
13k 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 ...
11
votes
1answer
8k views

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/...
4
votes
2answers
6k views

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 ...
0
votes
1answer
845 views

How do I debug or visualise my ARM USB HID project on Mac

I've been looking around to try and find an application for Mac OS X that I can use to visualise the inputs of an USB HID device, like for example a game controller, or my USB HID STM32F4 Discovery ...
4
votes
1answer
329 views

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 ...