Questions tagged [hid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
1k 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 ...
Nikolai's user avatar
  • 23
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 ...
Mark Harrison's user avatar
2 votes
1 answer
230 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 ...
ponderosa's user avatar
2 votes
0 answers
604 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 ...
Bobby Tables's user avatar
1 vote
1 answer
454 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: ...
Tomy Gaspar's user avatar
1 vote
1 answer
271 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 ...
eolandro's user avatar
  • 141
1 vote
2 answers
91 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 ...
GoldenDremora's user avatar
1 vote
1 answer
244 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 ...
Bram's user avatar
  • 191
1 vote
1 answer
561 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 ...
Ikari Shinji's user avatar
1 vote
1 answer
623 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 ...
Bram's user avatar
  • 191
1 vote
1 answer
910 views

Expose two HID Joystick devices with single RP2040 board (Waveshare Pi Pico Zero)

I want to use a Waveshare Pi Pico Zero to connect two standard NES controllers to a computer over a single USB port. I'm using the Waveshare RP2040 Zero board definition from https://github.com/...
NeilenMarais's user avatar
1 vote
1 answer
474 views

USB OTG and ESP32-S2

I have an ESP32-S2-DevKitM-1 which is supposed to able to act as USB HID device. But whatever I try using either ESP-IDF or Arduino-IDE, I can't get any data from it. I ran this esp-idf example. I ...
Bram's user avatar
  • 191
1 vote
0 answers
113 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 ...
Abhi Electronics's user avatar
1 vote
0 answers
616 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 ...
Zhelyazko Grudov's user avatar
1 vote
0 answers
412 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 ...
weirdgyn's user avatar
  • 111
0 votes
1 answer
539 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 ...
Daniel Ribeiro's user avatar
0 votes
2 answers
824 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 ...
sud.ng7's user avatar
  • 31
0 votes
1 answer
2k 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? ...
Paul Efford's user avatar
0 votes
1 answer
200 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&...
speendo's user avatar
  • 127
0 votes
1 answer
406 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 ...
jeremycurda's user avatar
0 votes
1 answer
520 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 ...
Bram's user avatar
  • 191
0 votes
1 answer
336 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 ...
beyarkay's user avatar
  • 111
-1 votes
1 answer
1k 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....
Sterling Butters's user avatar