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
1
vote
0answers
36 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
70 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
0answers
49 views

STM32 USB Connection

I have a Nucleo f303re development board with support of ST's own USB Device library. Onboard USB port is for ST-LINK so I don't want to unplug its connections. So I tried to implement another USB ...
1
vote
0answers
21 views

Can I set one relative axis and one absolute axis in a mouse HID descriptor?

I'm building a custom Bluetooth mouse using an ESP32 with a proximity sensor for the Y coordinates and a gyroscope for the X coordinates and was wondering if setting the X axis as relative and Y axis ...
0
votes
0answers
13 views

Frequency of HID reports using RN-42

I'm currently trying to connect a PS1 controller to my laptop through Bluetooth. My current setup is an Arduino Uno interfacing with the PS1 controller, which I managed to do using this guide. After ...
0
votes
1answer
75 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
204 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
193 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
281 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
67 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
70 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
1answer
116 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
615 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
1k 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
0answers
1k 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
208 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
48 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
50 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
495 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
1answer
877 views

STM32f4 Port to HAL : USB HID dropping packets

I am trying to port a working custom HID code from Standard peripheral to HAL.I am sending two consecutive reports in a single while loop. In Standard Peripheral code the following is called twice for ...
2
votes
3answers
146 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 ...
0
votes
3answers
876 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
412 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
880 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
990 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
1k 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
2k 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
113 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
2k 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
889 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
471 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 ...
5
votes
3answers
3k 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
920 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 ...
4
votes
2answers
975 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
845 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
1k 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
8k 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
2k 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
2k 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: ...
14
votes
2answers
3k 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 ...
4
votes
2answers
11k 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 ...
9
votes
1answer
6k 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
647 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
289 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 ...
0
votes
1answer
571 views

Effect of Changing polling time in hid interrupt transfer

I have interfaced a HID bar-code scanner with LPC2468 using interrupt transfer. The polling interval which i receive(from bar-code) in the Endpoint Descriptor is 10 ms. What will happen if i increase ...
3
votes
3answers
3k views

Implementing HID input device with an Atmel AVR32

I want to implement a small HID input device using one of the Atmel AVR32 chips (Atmel AT32UC3B1256). The chip has an on-board USB transceiver, with D+ and D- pins etc. I've been looking at tutorials ...
1
vote
2answers
2k views

HID descriptor to use for a Playstation 2 controller

I'm currently making a Playstaion 2 controller to USB converter using an Arduino Uno, and it's going along very well, but I'm stuck on a specific problem. I'm trying to support the pressure sensitive ...
11
votes
1answer
568 views

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