Skip to content

Makes use of the M5Stick-C and ATOM family of devices to control the UGreen HDMI KVM over a network

License

Notifications You must be signed in to change notification settings

JTF4/M5Stack-UGreen-KVM-Changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

M5Stack UGreen KVM Changer

Use any M5StickC, M5StickC+, or M5ATOM to control your UGreen HDMI KVM switcher over a network.

Setup

Download and Install the IDE

  1. Download the Arduino IDE from https://www.arduino.cc/en/software
  2. Install the Arduino IDE on your computer

Setup the IDE Environment

  1. Open preferences
  2. Click on Additional Boards Manager URLs and paste https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json into it.
  3. Open boards manager, search ESP32, and click install
  4. Open library manager, search for, and install the following libraries:
    • MultiButton by Martin Poelstra
    • M5Stack by M5Stack
    • WiFi by Arduino

Download the Software and Open in IDE

  1. Open https://github.com/JTF4/M5Stack-UGreen-KVM-Changer and click download ZIP
  2. Extract ZIP to your desired location (make you know where it is)
  3. Open the a_UserConfig folder and double click the a_UserConfig.ino file

Flashing the Software

  1. Plug the M5Stack device into your computer
  2. Go to Tools -> Board -> Arduino ESP32 and select either M5Stack-Cor M5Stack-ATOM
  3. To to Tools -> Port and select your M5Stack device's port
  4. Open a_UserConfig.ino and enter your WiFi SSID and password.
  5. 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)
  6. Click the upload button

Building the Controller

  1. 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.
  2. Plug in the IR receiver to the KVM.

Issues and Feature Requests

If you have an issue or would like to see a feature request please open an issue on the issues page.

About

Makes use of the M5Stick-C and ATOM family of devices to control the UGreen HDMI KVM over a network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages