Hi,
I'd like to make a wireless Hid device that basically consists of 5 or 6 buttons. Could you tell me the easiest way to go about it?
thanks
You could use Bluetooth / Bluetooth Low Energy.
The example above uses the ESP-IDF, not Arduino. You could do the same with Arduino, but it'll require a little more effort and some understanding of the Bluetooth protocols involved.
You could also use a Nordic nRF51 or nRF52 instead of an ESP32.
An alternative would be to use 2 Arduinos with a wireless link (e.g. nRF24l01+) and use one as a USB dongle.
Pieter
PieterP:
You could use Bluetooth / Bluetooth Low Energy.The example above uses the ESP-IDF, not Arduino. You could do the same with Arduino, but it'll require a little more effort and some understanding of the Bluetooth protocols involved.
You could also use a Nordic nRF51 or nRF52 instead of an ESP32.
An alternative would be to use 2 Arduinos with a wireless link (e.g. nRF24l01+) and use one as a USB dongle.
Pieter
I see. I wen't into that link but i can't really seem to follow it. Would this work somehow? https://www.instructables.com/id/Wireless-Keyboard-With-Arduino/
amadeok:
Would this work somehow? https://www.instructables.com/id/Wireless-Keyboard-With-Arduino/
That's a terrible solution, IMHO. It requires you to run a script on the computer at all times, to translate the Bluetooth COM to actual keystrokes.
Bluetooth already supports keyboards directly, so there is no need for an intermediate program if you use the right hardware and Bluetooth code.
See this: ESP32 BT-HID Device · Issue #230 · nkolban/esp32-snippets · GitHub
Thanks but i think i'm just going to go with this: https://howtomechatronics.com/tutorials/arduino/arduino-wireless-communication-nrf24l01-tutorial/
It seems easier by far.
Keep in mind that you need an Arduino with USB capabilities on the receiving end, like the Micro or Leonardo (or Teensy).
An UNO or Nano will not work.