Reputation: 44
Hello has anyone found a way to use an Arduino as a serial device and hid device at the same time? I thought of a few solutions but didn't know the best way to go about it. my goal is I need a serial device so the computer can send info to the Arduino but I also need an hid device.
can I use them both though 1 USB port? probably not or can I rig up another usb or serial port on the Arduino and use that as hid? or should I connect the Arduino to a teensy and use that for hid?
Thank you just trying to find the safest solution I'm making a custom fixture for my little laser engraver.
Upvotes: 1
Views: 1656
Reputation: 87376
I recommend getting an Arduino Leonardo, Arduino Micro, an A-Star 32U4, or any other Arduino-compatible ATmega32U4 board. These devices act as a USB serial port but they can also be an HID at the same time if you use the Keyboard or Mouse libraries that comes with the Arduino IDE.
Upvotes: 1