Modified from https://oshwhub.com/phantomr/styudy-xiao-jian-pan-ch552gh
Thanks to the PhantomR
hardware principle part for directly referring to this project. I am a software development engineer and don’t understand it well so I won’t write
a simplified version of it. If you need to install the driver for WIN7, please search for the WIN7 universal keyboard driver (used to connect the keyboard) and WIN7 CDC driver (used to connect the key page)
video introduction https://www.bilibili.com/video/BV1M84y1n7r1/
The main modification is to change the small The LED lamp was deleted, the silk screen was changed, and the type C female socket was replaced by Uxin’s 16-pin version with posts at 0.58 yuan each, which is cheaper.
The only thing that is a little difficult to weld is the Type C female socket. If you are not confident in yourself, you can do it a little bit. Change the solder pad down and make it longer, or directly use solder paste + heating table/air gun to complete
the rewriting of the software part.
The keys can be customized, and there is a key changing program. They can be ordinary keys, function keys, multimedia key combinations, key input strings, and
the settings of each key can be memorized in the hardware and can be used normally when changing machines. Equipped
with a key changing program (windows version).
If you want to change the key on the Web, please use the Chrome browser to visit https://topyuan.top/3key/
2023.6.16 The software is updated to threekey_v5.1.hex. The problem of Key2 string memory confusion is fixed. The problem that some settings cannot be remembered when pressing the three key is fixed.
2023.5. 4 The software was updated to threekey_v5.0.hex. New mouse settings were added on
2023.4.25. The software was updated to threekey_v4.1.hex. The problem of key failure in windows was fixed when the keys were pressed immediately after the keyboard was connected. Thanks to DeqingSun for his guidance https://github.com /DeqingSun/ch55xduino/issues/132
2023.3.27 The software is updated to threekey_v4.hex. Modify the key combination logic to support up to 5 key combinations. Add three keys and press the logic at the same time. The
web key change has been updated simultaneously. The windows key change program has been abandoned. If in Without an external network environment, the web cannot be accessed to change the key. You can open the index.html in 3key-web using the local chrome browser to modify the key.
2023.3.8 Newly added V3.0 version. The circuit board adds two 5.1k resistors R2 and R3 to support C TO C line, if you do not solder these two resistors, you can only use the USB A TO C line. The Type C female pad is also lengthened to make welding easier.

The software source code can be viewed with detailed code analysis
https://github.com/yuan910715/3keys.
The BOM
is all purchased from Uxin. The
CH552G
TYPE C female connector has a post of 16pin 0.58. Don’t buy the wrong one.
2 100nf 0603 capacitors,
1 20k resistor,
3 Kaihua hot-swappable shaft bases,
1 download switch (not soldered).
You can buy 3 shafts, 5 pins and 3 pins all support
3 keycaps. Buy
screws . Is it possible to buy M2 with reference to the screenshots of the PhantomR project?