A USB HID Duplicator is a device which duplicates report of USB Human Interface Device(HID), such as mouse, keyboard, joystick, etc.
So that, one HID device can be used to control multiple computers.
Mouse | Keyboard | Wireless Presenter |
---|---|---|
A USB HID Duplicator consists of a master(USB Host Shield + Arduino UNO) and slaves(Arduino Leonardo).
A master and slaves are connected via I2C serial communication.
- Arduino IDE 1.8+
- USB Host Shield Library 2.0+
- Install USB Host Shield Library.
- Put "MyHID" folder into your Arduino user library directory.
- Arduino/
- libraries/
- MyHID
- Upload "master" sketch to master(Arduino UNO board with USB Host Shield)
- Upload "slave" sketch to slaves(Arduino Leonardo board)
- Connect matster and slaves with I2C
You need to connect SCL(A5 for UNO), SDA(A4 for Arduino UNO), GND pin - Connect slaves to respective computers.(one slave for one computer)
- Power up mater.
- Done! Connect a USB HID device(ex. keyboard) to master and use it.
- USB Host Shield
- USBHID library
- USB made simple
- This is a greate website to learn about USB!
- http://www.usbmadesimple.co.uk/index.html
- Tutorial about USB HID Report Descriptors