Hey everyone! I just got my first Arduino, an Uno Q. I knew some Arduinos have native HID support, and I thought that if I bought the latest one, it would support HID. However, I found out that it has native HID support, but HID.h is not available. Can someone explain to me what's going on? Is it possible to do this using OTG?
I know there is a way to reprogram it using STM32Cube, but it is not my way. I still need the RouterBridge.
Just for better understanding. I want to make an auto-clicker.
Hi @makcim512. The UNO Q is a great board, but unfortunately it doesn't have high level support for this specific application. It is surely possible to accomplish this. However, doing so is likely to be quite complex. It can be very rewarding to take on such a challenge, but I wouldn't recommend it to someone who just bought their first Arduino.
My recommendation is for you to buy a board that is compatible with the "Mouse" library. Any of the following boards will be well suited for the project:
The UNO Q board will be excellent for use in many other projects, so I'm certain you will find other great things to do with it, even if you don't end up using it for your auto-clicker project.
Thanks for your quick response. I have nano r4, it works, but I can`t reprogram it instantly. The main idea was to make an app where you can set up the trigger zones, and the arduino click on them automatically. I mean, I can buy a Bluetooth module and set it up via Bluetooth. Hm, actually, it sounds like a good idea. ![]()
OK, maybe I misunderstood. When I read that you wrote "I just got my first Arduino", I assumed that you were new to Arduino. However, it sounds like you actually already have some experience with Arduino.
My recommendation against taking on a more challenging endeavor was based on a concern that this might not be a good introduction for someone new to Arduino. For many of us, it is best to start with an "easy win", which will then provide us with the momentum we will need to later push through the inevitable significant challenges encountered during subsequent projects. But perhaps you already have that momentum!
Cool project!
I got R4 after Uno Q. I just gave up, and bougth a Arduino that supports HID a hundred procents. It works, but it is not exactly what I need. Well, looks like an idea with Bluetooth may work. I still want to make the device as small as possible. Do you know if Nano 33 ToI supports HID?
Yes, the Nano 33 IoT is supported by the Mouse library. The only minor caveat with the ATSAMD21G18-based boards like the Nano 33 IoT is that some Windows users encounter a problem with HID when using the default driver:
This is fairly easy to work around though.
Sorry. Last question. What board that supports Bluetooth and HID should I buy? I just want to keep it simple. How about Nano ESP32?
Do you know the arduino.cc web site has a section on all the Arduino hardware? The specs for each board are listed there. Also, asking AI the question first then going to the web site to confirm since AI lies a lot may be quicker.
I did ask AI! They don’t even know about Arduino uno Q.
That is an excellent choice.
The only reason I didn't include the Nano ESP32 in the list I provided earlier is because you can't use the traditional Arduino "Mouse" library with that board. This could make a project a bit more difficult for a beginner to approach, but it really isn't a significant problem because there is an excellent library for the Nano ESP32. The library is named "USB", and it is bundled with the installation of the "Arduino ESP32 Boards" platform you install via the Arduino IDE Boards Manager in order to add support to Arduino IDE for the Nano ESP32 board.
After selecting the Nano ESP32 board from Arduino IDE's Tools > Board menu, you can access an example sketch via Arduino IDE's File > Examples > USB > Mouse > ButtonMouseControl menu item. That sketch demonstrates how to do mouse emulation with the Nano ESP32 board using the "USB" library.
I would not expect AI to give accurate results for things that are relatively new. Worse still is the Uno name convention is likely to cause confusion in LLMs. Ask something about the Uno Q and the result might be more appropriate for the Uno R4.
Here is what AI had to say
There are two different things hiding inside that question:
- Bluetooth support
- HID support — which can mean USB HID (pretend to be a keyboard/mouse over USB) or Bluetooth HID (pretend to be a keyboard/mouse/gamepad over BLE)
So the answer depends on which kind of HID you want.
Boards that clearly give you both Bluetooth and HID on the same board:
- Arduino UNO R4 WiFi It has an ESP32-S3 for Wi-Fi/Bluetooth and the RA4M1 side has USB HID support. Arduino’s hardware page explicitly says it has “support for HID via USB” and also “an ESP32-S3 for Wi-Fi®/Bluetooth® connectivity.”
- Arduino Nano ESP32 It has Bluetooth LE built in, and Arduino’s docs also show it among boards that can use HID-style libraries in the Arduino ecosystem. Its datasheet says the board features Bluetooth® LE, and Arduino’s bluemicro_hid library page describes HID over BLE or USB.
- Arduino Nano 33 BLE family This includes:
- Nano 33 BLE
- Nano 33 BLE Rev2
- Nano 33 BLE Sense
- Nano 33 BLE Sense Rev2 These boards are based on nRF52840 and Arduino documents explicitly list them as Bluetooth Low Energy boards. Arduino’s BlueMicro libraries are for the nRF52 architecture and are aimed at HID over BLE or USB, which makes this family the cleanest fit for Bluetooth HID work.
Boards that have Bluetooth, but HID is less of a slam dunk in the official docs:
- Nano RP2040 Connect — official docs confirm Bluetooth, but Arduino’s docs are less explicit about it as a ready-made HID board in the same way as the Nano 33 BLE family or UNO R4 WiFi.
- Nano 33 IoT — official docs confirm Bluetooth, but again it is not presented as clearly for HID in Arduino’s docs as the nRF52840 boards.
So, in practical terms:
- For easiest USB keyboard/mouse + Bluetooth on one board : UNO R4 WiFi
- For BLE HID projects like a Bluetooth keyboard/mouse/gamepad : Nano 33 BLE / BLE Rev2 / BLE Sense / BLE Sense Rev2
- For ESP32-style experimenting with BLE plus HID-ish possibilities : Nano ESP32
My blunt recommendation: Nano 33 BLE Rev2 is probably the nicest sweet spot. Small, modern, BLE-friendly, and less likely to make you invent new swear words before lunch.
If you want, I can give you a one-line shortlist by use case:
“best for Bluetooth keyboard,” “best for USB keyboard,” and “best cheap choice.”