兰博

RGB 20-key numeric keypad

 
Overview

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)

          http://qmkeyboard.cn/ (Chinese translation website made in China, if you can’t surf the Internet scientifically, you can try this)

2bp3tVxOAjsHuEjemA8RLqaLVS3F2vnF3QdtJR6D.png

FbDE7d8CWJH8QRvfrPHVQX2JwilWjKqUoZeFsJb1.png

 

Ij3LGpGuHvsjmcBckqM9IaBadBWD2Nohb4thPeTR.png

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)

AtlPm7kDB9lmDhDk26jA5TBJQp4WQ4fRizCnHqmO.png

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

M6sfIZrPAiRczYLlLeBtMNEU9xBHmi35MgrBw9TE.png

Drag the .hex file into this window and click Refresh Firmware to display the following window

ixFRQmvyqjpJagltJXS7ZNOMh5l2RyjNFNTkL2Du.png

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.

BXcLaMESkg1NTq7zTetaLsphnvEOmDygvw6l1RTG.png

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

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-22 22:43:56

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号