Arduino Asked on November 15, 2021
Is it possible to create an IP-to-USB HID (keyboard) using Arduino?
I’d like to connect an Arduino to my network using Ethernet, and then send it commands using TCP/IP and have those commands translated to USB HID and sent as keystrokes to the connected PC.
I’ve found a few articles discussing USB HID emulation using the Arduino Uno (see http://mitchtech.net/arduino-usb-hid-keyboard) but it refers to using GPIO pins as buttons.
Am I correct that this might work if I use an Arduino Uno and then purchase an Arduino Shield Ethernet? (seems a bit expensive, but is this the cheapest option?)
Thanks in advance!
Yes, it is perfectly possible.
You ideally need an Arduino with a direct USB interface, such as the Leonardo. Then you can just access the Keyboard
object to send the keystrokes to the PC. How your receive the data through Ethernet is entirely up to you. A simple TCP interface may be easiest - open the connection with whatever telnet-like client and whatever you type gets sent through. The trick will be getting it into character-at-a-time mode.
Answered by Majenko on November 15, 2021
1 Asked on February 16, 2021 by prashant
0 Asked on February 15, 2021 by bo-na-fi-de
2 Asked on February 7, 2021 by enes-orhan
1 Asked on February 2, 2021 by esze
0 Asked on February 1, 2021 by eric-vortriede
1 Asked on January 30, 2021 by dragonflyrobotics
6 Asked on January 25, 2021 by littlegator
1 Asked on January 23, 2021 by kronimiciad
1 Asked on January 16, 2021 by rithvikp
2 Asked on January 10, 2021 by antonio
0 Asked on January 10, 2021 by noman-gulzar
1 Asked on December 29, 2020 by simon-tagne
1 Asked on December 24, 2020 by heljo
Get help from others!
Recent Questions
Recent Answers
© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP