Use any M5StickC, M5StickC+, or M5ATOM to control your UGreen HDMI KVM switcher over a network.
- Download the Arduino IDE from
https://www.arduino.cc/en/software
- Install the Arduino IDE on your computer
- Open preferences
- Click on Additional Boards Manager URLs and paste
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
into it. - Open boards manager, search ESP32, and click install
- Open library manager, search for, and install the following libraries:
- MultiButton by Martin Poelstra
- M5Stack by M5Stack
- WiFi by Arduino
- Open
https://github.com/JTF4/M5Stack-UGreen-KVM-Changer
and click download ZIP - Extract ZIP to your desired location (make you know where it is)
- Open the
a_UserConfig
folder and double click thea_UserConfig.ino
file
- Plug the M5Stack device into your computer
- Go to
Tools -> Board -> Arduino ESP32
and select eitherM5Stack-C
orM5Stack-ATOM
- To to
Tools -> Port
and select your M5Stack device's port - Open
a_UserConfig.ino
and enter your WiFi SSID and password. - Enter the pin that your IR LED is attached to
- For M5StickC and M5StickC+ the IR pin is
9
- For M5Stick-ATOM the IR pin is
12
(It looks like 612 on the back but the 6 is actually a G)
- For M5StickC and M5StickC+ the IR pin is
- Click the upload button
- Use electrical tape to tape the M5Stick to the IR receiver of the KVM. Make sure that the IR LED is pointed at the receiver.
- Plug in the IR receiver to the KVM.
If you have an issue or would like to see a feature request please open an issue on the issues page.