OSHWLab
check in
Completed

Mess around keypad

PROMess around keypad

tag

174
0
0
0
Mode:Full

License

CC BY-NC-SA 4.0

Creation time:2024-11-08 02:15:45Update time:2024-11-08 08:52:43

Description

I found that some computers may only recognize the keyboard and have no response when pressing the keyboard.

 

Program Burning:

You can directly download my program and follow my tutorials, or you can download the program compressed package and modify it directly.

Program download tool: http://www.wch.cn/download/WCHISPTool_Setup_exe.html

Download method:Qinheng MCU code download_wchisptool 3.2-CSDN blog

 

Program modification method:

Normal keyboard keys:

The data sent from the keyboard to the PC is 8 bytes at a time: BYTE0 BYTE1 BYTE2 BYTE3 BYTE4 BYTE5 BYTE6 BYTE7. The definitions are:
BYTE0 --
|--bit0: Left Control 0x01
|--bit1: Left Shift 0x02
|--bit2: Left Alt 0x04
|--bit3: Left GUI(win key) 0x08
|--bit4: Right Control 0x10
|--bit5: Right Shift 0x20
|--bit6: Right Alt 0x40
|--bit7: Right GUI 0x80
BYTE1 -- ​​Not sure yet, some places say it is a reserved bit.
BYTE2--BYTE7 -- these six are ordinary buttons.

If you don't know the key value, check it here: Portal Online Obtain KeyCode Keyboard Key Code-KeyAscii Value Acquisition-KeyCode Value Online Acquisition Tool (jsons.cn)

 

Hint:

When printing the board, the lower base plate does not need to be colored, which can save costs and will not affect the display.

The top plate can be adjusted according to the picture you like.

 

Notice:

There are important components below. Don't buy the wrong ones, otherwise they won't be installed.

(1) Size of copper pillar

(2) The SMD crystal oscillator is purchased at 12M and is not marked on the schematic diagram.

(3) For the EC11 encoder, buy a 20mm plum blossom handle and 20-bit pulse, such as the following.

(4) Don't buy the wrong encoder hat. The one below is just right.

(5) Do not solder the BOOT buttons (only the buttons are not soldered), otherwise the shell cannot be installed after the buttons are welded. When downloading, just short-circuit the two contacts of the button and then power on to identify it.(6) When downloading the program, don't choose the wrong part of the software, choose P3.6, otherwise you will be in trouble next time you download the program.

Designed by 烧包谷 (from OSHWHub)

Link:https://oshwhub.com/90i0/Color-keypad

Design Drawing

Download File
The preview image was not generated, please save it again in the editor.

Attachments

OrderFile nameDownload times
1
Appearance display.mp4
6
2
Keyboard shell.stl
14
3
main.hex
20
4
small keyboard.zip
40
5
Copy and paste display.mp4
7
6
Music settings.mp4
10
Add to Album
0
0
Share
Report

Comment

All Comments(1)
Sort by time|Sort by popularity
Followers0|Likes0
Related projects
Empty

Bottom Navigation