Questions tagged [hid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
67 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 ...
user avatar
1 vote
1 answer
94 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: ...
user avatar
1 vote
0 answers
37 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 ...
user avatar
1 vote
2 answers
59 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 ...
user avatar
0 votes
1 answer
201 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 ...
user avatar
  • 31
1 vote
1 answer
175 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 ...
user avatar
1 vote
0 answers
336 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 ...
user avatar
0 votes
1 answer
958 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? ...
user avatar
1 vote
1 answer
293 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 ...
user avatar
  • 13
0 votes
1 answer
110 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&...
user avatar
  • 127
2 votes
0 answers
370 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
223 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 ...
user avatar
  • 111
2 votes
1 answer
207 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 ...
user avatar
0 votes
1 answer
136 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 ...
user avatar
  • 121
0 votes
1 answer
282 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 ...
user avatar
1 vote
1 answer
107 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 ...
user avatar
  • 175
0 votes
1 answer
268 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 ...
user avatar
  • 175
1 vote
1 answer
399 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 ...
user avatar
  • 175
-1 votes
1 answer
610 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....
user avatar