1. Overall keyboard design
The main control of this keyboard is ATMEGA32U4-MU, which is more difficult to weld than AU (mainly because I happen to have a mu so I don’t use AU)
type-c keyline separation design (high-end, grand, high-end)
The shaft seat design eliminates the need to weld the shaft body. Other shaft bodies can be replaced by plug-and-play, but you need to purchase the shaft seat for welding (just search for the shaft seat on Taobao or Xianyu)
Use ws2812 reverse sticker lamp 3528 package to achieve RGB lighting effect (see video demonstration). The ws2812 light bar interface is reserved. You can install ws2812 light bar by yourself to achieve more lights (need to change the program firmware)
2. Program firmware design
The off-the-shelf QMK firmware design is used, which is more suitable for beginners. There are also websites made by masters abroad, which can intuitively and graphically define the key value of each key of your keyboard. The URL and a few screenshots are attached so that you can feel it.
Website: https://kbfirmware.com/ (Foreign website, if you need to visit, please go online scientifically)
There are many customizable elements, but they require a certain amount of learning costs. You can search online and learn about them. Because the process is complicated, I will not explain it. This website requires uploading the layout file of the keyboard, which has been uploaded to the attachment ( .json)
Attached is a URL for everyone to learn from:
How to quickly learn to make your own mechanical keyboard with zero knowledge of electronics and programming - Lao Xuan's article - Zhihu (Mr. Xuan, my male god)
https://zhuanlan.zhihu.com/p/116182565
Attached below are the key values of the keyboard keys that I set. The RGB lighting effects may be generated on the website, which leads to confusion in the RGB matrix settings (the source code needs to be adjusted). All lighting effects cannot be achieved and only some lighting effects can be achieved. To achieve, click the RGB light effect button to switch the light effect. The reset button is used when flashing the firmware for the second time without using the reset button on the back (of course, you can also set various key combinations and switch layers and macros to achieve more function, I have not set it up)
The project attachment attaches the firmware file (.hex format) and source code.
3. Firmware flashing
If you need to flash the above .hex file, you can use YDKBS software to flash the file (attached)
Unzip the compressed package and double-click ydkbs-reflash.exe
Drag the .hex file into this window and click Refresh Firmware to display the following window
Then connect the data cable from the keyboard to the computer and double-click the switch button on the back of the keyboard. At this time, the computer will beep and the keyboard will enter the flash mode, and the software will automatically flash the firmware.
The above window appears, indicating that it has been flashed. At this time, unplug the data cable and connect it again to use it.
4. Remarks
1. Since I am using this keyboard only for testing, I have not designed the shell and structure. If you are interested, you can design it yourself or copy the schematic diagram to draw your favorite keyboard. It is a waste to use many pins of the chip.
2. Since I used a package drawn by myself, the components displayed on the boom table are not all complete, as explained below.
MX_1U_3535RGB+1N4148W+axis seat represents: shaft body, 3528 reversely attached ws2812 lamp, 1N4148w diode, axis seat
(I need to calculate the number of components myself. I apologize for the inconvenience caused to everyone)
3. The size of this pcb is within the range of 10X10cm. You can print it at 5 yuan, Lichuang 6666, hahaha
4. The avatar pattern on the schematic diagram is that of my master and a mysterious figure. Don’t the two of them match well? Hahahaha
Devices | Class | introduce | Datasheet |
---|---|---|---|
MF-NSMF050-2 | Circuit protection;PTC self recovery fuse | Maximum voltage: 13.2V Trip current: 1A 0.5A, 13.2V, resettable fuse | Download |
NH-Z3535RGBA-SG | Download | ||
NH-Z3535RGBA-SG | Download | ||
NH-Z3535RGBA-SG | Download | ||
X322516MRB4SI | Analog mixed-signal IC;SMD crystal resonator (passive) | Equivalent series resistance (ESR): 60Ω Main frequency: 16MHz Frequency tolerance: ±10ppm Load capacitance value: 18pF | Download |
CRE22F2GRYNE | Lighted and non-lighted versions | Download | |
TC0525F1001T5E | Passive components;Patch of high precision, low temperature drift resistance | Resistance (ohms): 1K Accuracy: ±1% Power: 1/4W Temperature coefficient: ±25ppm/℃ | Download |
PRA100I7-2K64DBB31 | Passive components;The resistor | Array/Network Resistor, Isolated, Thin Film, 0.1W, 2640ohm, 50V, 0.5% +/-Tol, -10,10ppm/Cel, 2806, | Download |
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