Skip to main content
3 votes
Accepted

Can't type backslash (\) with Keyboard library

You have to keep in mind that the Arduino doesn't send characters to the computer. Instead, it simulates key presses, and the computer has to translate those into characters, according to some ...
Edgar Bonet's user avatar
  • 43.3k
3 votes
Accepted

Send custom HID values instead of keys

HID is a strange beast to get your head around. It operates by way of "Report Descriptors". These are "maps" that lay out what the values you send mean. It's these descriptors that ...
Majenko's user avatar
  • 105k
3 votes
Accepted

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

Like Juraj and Majenko said. Arduino Keyboard library does emulate "Boot Keyboard". I use NicoHood HID library and now it works.
eolandro's user avatar
  • 141
2 votes
Accepted

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

For those that hit the same issue, here is how I solved it: Expose the USB_SendSpace() information in the HID interface by editing /usr/local/arduino-1.8.12/hardware/arduino/avr/libraries/HID/src/...
Bram's user avatar
  • 199
2 votes
Accepted

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

I'm not sure for Arduino, but it has been done with ESP32. If you have not yet spent the money into a Bluetooth module for Arduino, you'll find that the ESP32 is not expensive either. You can find the ...
Thomas Weller's user avatar
2 votes

Debugging RN 42 HID Mouse

The problem with getting no response from the mouse was that the bluetooth did not auto reconnect to the computer after powering down. I solved this by sending the command SM,6 for auto reconnect and ...
ponderosa's user avatar
2 votes
Accepted

Why Digispark can be a HID but Arduino Uno/Nano can't?

You could use a multi-channel analogue to digital converter, connected to the Attiny via I2C. The ad7606 would give you 8 separate analogue inputs, using just two pins to connect to the I2C bus. As an ...
Lee-xp's user avatar
  • 136
2 votes

Unlocking Digispark ATTiny85 after flashing it to HID

If you can't access the bootloader using USB your remaining option is ISP/ICSP (In-Circuit Serial Programming). I have that digispark board and I have never been able to program it using Arduino's IDE/...
jcfgonc's user avatar
  • 21
1 vote

Why Digispark can be a HID but Arduino Uno/Nano can't?

In response to the headline question 'Why Digispark can be a HID but Arduino Uno/Nano can't?', the main difference is that the ATtiny85 processor on the DigiSpark is directly connected to the computer ...
user85471's user avatar
  • 731
1 vote
Accepted

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

By selecting the Adafruit TinyUSB USB stack option (Tools->USB Stack->Adafruit TinyUSB) of the arduino-pico core instead of the default (Pico SDK) the USB HID descriptors can be configured ...
NeilenMarais's user avatar
1 vote

Disable Keyboard.h status LED

it's really annoying having a flashing led on my desk all the time. As a software engineer I know we often fall into the trap of thinking that all problems must have a software solution. Try thinking ...
RedGrittyBrick's user avatar
1 vote
Accepted

Disable Keyboard.h status LED

Those LEDs are controlled by the USB Core code, and are defined in the board variant. For the pro micro that's the pins_arduino.h file in the micro variant: #define TXLED0 PORTD &= ~(1&...
Majenko's user avatar
  • 105k
1 vote
Accepted

Serial to USD (HID keyboard device) converter

I would like to replace this FTDI board with an interface that converts UART to "USB HID keyboard". On the left is an "FTDI Friend" that converts serial to USB. It is similar to ...
RedGrittyBrick's user avatar
1 vote

Arduino Uno R3 HID with HC-06 BT module

It is unclear to me, where you flashed what, so I will describe some basics. The Uno cannot act as a keyboard/HID device, since the microcontroller on it (the Atmega328p) doesn't have native USB ...
chrisl's user avatar
  • 16.3k
1 vote
Accepted

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

The ESP32 doesn't have USB. You can't do USB communication. All it has is (like the UNO) a USB to UART interface chip. Unlike the UNO this is not programmable (more like a cheap Chinese knock-off UNO ...
Majenko's user avatar
  • 105k
1 vote
Accepted

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

I am not sure I have the answer to your problem, just a collection of observations that hopefully steer you in the right direction. According to your nopaste link, when you send "ON", the ...
Edgar Bonet's user avatar
  • 43.3k
1 vote

HID communication between Arduino Uno and computer

You could use a second USB on the PC and use Hardware Serial to transmit commands. (Either via a second Arduino or a FTDI adapter) But be aware that at least the firmware I use and the controller ...
Codebreaker007's user avatar
1 vote

HID with bidirectional communication

Yes, but the configuration side of things will not be part of the gamepad HID. You will need to set up a second communication channel - be that serial or raw HID - to do the configuration.
Majenko's user avatar
  • 105k
1 vote
Accepted

USB control panel with endless turn knobs

Options for the Arduino you have: Get an Arduino supporting HID drivers (e.g. 32u4 based boards, Due /Zero/ Arduino Leonardo/ Micro or Pro Micro/ M0) You use this library it supports UNO/MEGA/...
Codebreaker007's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible