The simplest programmable in-line keyboard with RGB I made before was wired. This time, I wanted to give her a wireless one, so I got this keyboard.
This wireless keyboard is still my favorite 40-key inline keyboard. The main control used is removed from the Logitech K230 keyboard.
The keyboard is designed in two parts, the left and right parts, which meets the requirements for free board making. This is the right part of the keyboard, which contains the Youlian main control module. The left part, see: https://oshwhub.com/iqirtryi/pkb40-with-k230_copy_copy , includes lithium battery charging management, voltage stabilization, and power detection.
The K230 main control is very power-saving. Some netizens use 2032 button batteries for power supply, which can be used for several months. However, in order to save the trouble of opening the casing every time to change the battery, it is directly equipped with a 1200mAh lithium battery (Zhongshunxin’s ultra-thin twin model ), using TP4057 for charging management, there are LEDs to show charging and full status. An HM1160 was installed to detect electricity. Although it is not commonly used, the components are cheap and easy to make, so it doesn’t matter if you try it after installing it.
The Youlian main control board and keyboard main board are welded with component pins.
The keyboard adopts a frameless structure, and the casing simply and roughly stacks the PCB, middle frame, and base plate.
Compared with previous wired keyboards, wireless keyboards require low power consumption, so they do not have RGB display key layer status.
A keyboard with a small layout must be programmable before it can be used. This keyboard can use AutoHotKey software to convert key codes, or use hardware as a U2U key code converter.
This time, a software solution is adopted, which does not require compiling firmware. It is simple to produce and is the first choice for entry into the pit. Interested friends can also try the hardware solution.
Layer 0: According to the wiring matrix of K230, the above arrangement is arranged when designing the PCB.
Layers 1 and 2 have changed compared to last time, mainly because recent use has revealed that the left hand has more opportunities to input numbers with one hand, so the left side of layer 1 is changed to a numeric keyboard and the right side is some punctuation marks. After the modification, it takes a long time for my left hand to get used to it, but I think it's worth it.
The left side of layer 2 is the remaining punctuation marks, and the right side is the arrow keys.
The third layer is still the F area and virtual mouse. The shortcut keys in the middle are set to several common shortcut keys for PCB design, such as compound keys such as left and right alignment. Press Fn3 on the bottom with your left thumb, and then press the keys in the middle 3 columns. , found it quite convenient.
The 4th layer is arranged with media playback keys and shortcut keys for commonly used software.
The above functions are completed by AutoHotKey. Just start the computer and automatically run the attached exe file. The attachment also contains the AutoHotKey source code, which can be modified at any time as needed. (See the attachment at https://oshwhub.com/iqirtryi/pkb40-with-k230_copy_copy )
Reference materials, thank you for your contributions!
https://www.znds.com/forum.php?mod=viewthread&tid=349101&page=1
https://www.chiphell.com/thread-1560853-1-1.html
https://post.smzdm.com/ p/307038/
https://zhuanlan.zhihu.com/p/355026370?ivk_sa=1024320u
https://www.autoahk.com/
https://post.smzdm.com/p/alpo7gqg/
https://www .wenjiangs.com/doc/autohotkey-2
For more keyboards, please see my homepage: https://oshwhub.com/iqirtryi . Your corrections or suggestions are welcome.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet