As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [hid]

The tag has no usage guidance.

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

Use Arduino as a wireless USB HID?

I am relatively new to creating with Arduino, but was wondering the following thing. I am creating an Arduino with the purpose of passing data through as a HID, but wireless. I have seen usage (for ...
0 votes
1 answer
267 views

Unlocking Digispark ATTiny85 after flashing it to HID

I made a simple test sketch to make my ATTiny85 emulate a Keyboard and send a sequence of keystrokes. #include "DigiKeyboard.h" void setup() { // don't need to set anything up to use ...
0 votes
1 answer
1k views

ESP32 USB HID/MIDI library (not the BLE one)

I couldn't find any library to use an "old" ESP32 (not the new ESP32-S2) as an HID connected physicaly to the Usb port (not over BLE pairing) to send keystrokes to the PC ... Is there any solution? ...
2 votes
1 answer
224 views

Debugging RN 42 HID Mouse

I'm trying to use the RN 42 and Arduino Uno to control a bluetooth mouse. I configured the RN 42 with the commands S~,6 and SH,0220 and R,1 to put the device in HID mouse mode. Is there anything I ...
0 votes
1 answer
372 views

HID communication between Arduino Uno and computer

I used some firmware I found online to turn the UNO into an emulated HID device. The Arduino is no longer connected to a Serial COM port so I can't send serial data from my computer to the device. Is ...
0 votes
1 answer
231 views

Arduino Nano BLE 33 default example sketch `USBHID>Keyboard` makes the Arduino unusable

How the problem started I was playing around with using the Arduino Nano BLE 33 as a keyboard, and stumbled upon the USBHID>Keyboard sketch which I got via the default suggestion from the Board ...
1 vote
1 answer
340 views

Can't type backslash (\) with Keyboard library

I'm trying to make a macro keyboard, where I can press a single button and it will open programs for me. I'm trying to type this, for example: "c:\windows" but it gets typed out like this: ...
1 vote
2 answers
85 views

Disable Keyboard.h status LED

As soon as I include keyboard.h my pro micros LED starts flashing (as far as I know this indicates a serial connection is stablished or so.) But it's really annoying having a flashing led on my desk ...
1 vote
0 answers
101 views

I am trying to use Arduino Uno as a hid device to login Windows but I cannot use Modifier keys to Lock Windows

uint8_t buf[8] = { 0 }; #include <SPI.h> #include <MFRC522.h> // RFID library #define SS_PIN 10 //RX slave select #define RST_PIN 9 int gled = 7; // optional int rled = 4;// optional ...
0 votes
1 answer
471 views

Serial to USD (HID keyboard device) converter

I am working on a project to collect data from a barcode scanner using an arduino which in turn is connected to a POS/laptop. So far i am able to collect the data from the barcode scanner by using the ...
1 vote
1 answer
432 views

Arduino Uno R3 HID with HC-06 BT module

Im trying to make a macro pad using Arduino Uno r3 and 4x4 matrix (cherry blue clone) . I know using a pro micro is better than uno cause there isn't HID compatibility in uno but since i already have ...
-1 votes
1 answer
899 views

Reading Buffer from Software-Serial & Writing to Serial

My progress so far: #include <SoftwareSerial.h> SoftwareSerial ttySerial(10, 11); // RX, TX byte buffer; void setup() { // Open serial communications and wait for port to open: Serial....
1 vote
0 answers
520 views

Bluetooth HID for mouse project

I’m working on a project, to create an air mouse for people with repetitive strain injury (since I have it as well). I’m flexible with the hardware required. The plan is to use data from an IMU for ...
2 votes
1 answer
874 views

Send custom HID values instead of keys

I've been building a small macro keypad based on the ATmega32U4. So far, I've been able to send standard key presses to the host. But since I want a program on the host system to react to the key ...
0 votes
1 answer
409 views

HID with bidirectional communication

I want to build a gamepad HID using the Arduino Micro, and intend to use Nico’s HID library for that. But I would like to send some config info from the PC to the Arduino HID as well. Can you have a ...
0 votes
1 answer
153 views

Arduino Keyboard starts lower case (but it shouldn't)

So I flashed the KeyboardMessage example to my Arduino SS Micro ATmega32U4. When I open an editor and push the button, I would assume the output to be Zou pressed the button XX times. (The "Z&...
2 votes
0 answers
526 views

Using an ATTiny85 and DigiKeyboard.h, can I detect when USB HID is connected?

I am building a project to send HID keystrokes to a computer with an ATTiny85. I want to detect when the USB communication is working, in order to turn on a LED saying that everything is good. If USB ...
2 votes
1 answer
2k views

How do I set up an Arduino to be a wireless HID?

The question below describes how to set up an Arduino as an HID (Human Input Device -- like a keyboard, mouse, etc.). How can I set up an Arduino as a wireless HID? I'm flexible as to the wireless ...
1 vote
0 answers
347 views

Multiplexing HID and serial on ATMega32U4

I designed a custom ATMega32U4 based Arduino Leonardo board. I'm using MHeironimus/ArduinoJoystickLibrary to implement an HID joystick. I need to create also a virtual serial port to send NON joystick ...
0 votes
1 answer
201 views

Why can the Xbox360 not detect the Arduino Leonardo as keyboard?

Arduino Leonardo as keyboard in the computer works! But not with the Xbox360. The Teensy works perfectly on the PC but how to emulate a keyboard device for the Xbox360. I know the Xbox360 has ...
1 vote
1 answer
193 views

Arduino as USB HID is slowed down when PC doesn't read events

I have an Arduino Micro that is acting as a HID device for a Linux PC. I use this call to send the HID values: HID().SendReport(1, _values, sizeof(_values)); This works in principle, but I noticed ...
1 vote
1 answer
526 views

USB control panel with endless turn knobs

I understand that some arduinos are capable of presenting themselves as a USB HID device to a PC. I would like to use one to build a custom input controller that lets me read maybe 8 or so turn knobs ...