Do it yourself to make a 25-key hot-swappable mechanical keyboard with magic color ARGB!!!! stm32 master + Bluetooth HID module typec interface

PCB platform: Litron EDA

Compilation environment: keil5 

Main control chip: stm32f103c8t6 / cbt6 will do

description:

1. Stm32 main control + Bluetooth HID module 2. Type-c interface can use lithium battery 3. Symphony ARGB !!!!!! 4. Function is the numeric keypad can only be programmed to modify the key value 5. Low cost, do it yourself One is 60+ yuan open source source program is open source 6. Hot plug (buy hot plug shaft seat)

Video introduction of station B: https://www.bilibili.com/video/av498421712

The code program PCB steel plate BOM table is in Code Cloud: https://gitee.com/jwdeng1995/keyboard

Lichuang open source platform: https://oshwhub.com/CrazySuiJi/keyboard_25

For more detailed pictures, go to the open source platform of Lichuang to view. I have not edited it

The size of the board is 10x10 , just to be able to make samples at Jiali Chuang for 5 yuan

Schematic diagram

PCB 3D preview:

 

 

Combination keys
1. ESC +. To switch Bluetooth/USB mode
2. ESC + turn on/off the water light in the lower left corner
3. ESC + switch the LED light in the upper right corner
4 ESC + the third from the bottom right (the third from the top): modify Flowing water light effect
5. ESC + second from bottom right corner (4th from the top): modify the water light effect

Description:
1.
Modify the USB display device name in usb_desc.c. This function is changed to
const uint8_t Joystick_StringProduct[JOYSTICK_SIZ_STRING_PRODUCT] =

2. Change the number of lights to the array below. It is recommended to give more space under
uint16_t PixelBuffer2[1024] = {0};// led * 24 +20 under ws2811.c

3.
        WS_SetAll(WsDat1,25);            
        LED_SPI_Update(WsDat1,25,2); //Light array, number of lights, PB15 corresponds to SPI2, the
first is the function of running water light assignment array, the
second is the output To the lamp, so you can update the second by directly outputting the second after changing the array

 

The default state is the running light:

 

 

ESC +-to switch lighting effects

ESC + PGDN key to switch to the switch water lamp mode

ESC + 9 (.> the above 9) and ESC+.> that key can adjust the color effect of the water lamp

 

Bottom of the board

 

The Bluetooth HID module is soldered in the air

 

PCB steel plate (the ones without money can only be used for PCB wood)

Guess you like

Origin blog.csdn.net/jwdeng1995/article/details/106756614