Multifunctional mechanical keyboard circuit structure

By designing a multi-functional mechanical keyboard circuit structure, the problem of single function of traditional mechanical keyboards is solved, and shortcut keys, RGB lights and knob encoder functions are realized, which improves the operation convenience and functionality of the keyboard.

CN223320778UActive Publication Date: 2025-09-09SHENZHEN COLORFUL YUGONG INFORMATION TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422766495.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-09-09
Estimated Expiration
2034-11-13

AI Technical Summary

Technical Problem

Traditional mechanical keyboards have a single function, cannot realize shortcut keys and multiple combination key controls, and lack RGB lights and knob encoder functions, which cannot meet the diverse usage needs of teenagers.

Method used

A multifunctional mechanical keyboard circuit structure is designed, including a connection circuit, an expansion circuit, a display connection circuit, an MCU, a knob encoder, an expansion key circuit, and a lighting circuit. Multifunctional operations such as shortcut keys and RGB lighting effects are achieved through MCU control, and a knob encoder is equipped for volume control.

Benefits of technology

It realizes the shortcut key operation, RGB light effect and knob encoder function of the multi-function mechanical keyboard, improves the keyboard's operation convenience and functionality, and meets the diverse needs of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223320778U_ABST
    Figure CN223320778U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of mechanical keyboards, in particular to a multifunctional mechanical keyboard circuit structure, which comprises a connecting circuit used for connecting an upper computer, and an expansion circuit and a display screen connecting circuit which are electrically connected with the connecting circuit, the expansion circuit is electrically connected with the MCU, and the MCU is also electrically connected with a knob encoder J2, an expansion key circuit and a light circuit; wherein the light circuit comprises four RGB lamp beads with bit numbers of LED1, LED2, LED3 and LED4, through the design of the four expansion keys, multifunctional reserved expansion control can be formed, after the functions of the keys are assigned through the upper computer, convenient and fast multifunctional operation such as rapid copying and pasting can be achieved through the reserved keys, and the operation efficiency is improved. And secondly, the arranged knob encoder can be used for conveniently controlling the volume of the upper computer, so that the functionality of the mechanical keyboard circuit is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of mechanical keyboards, in particular to a multifunctional mechanical keyboard circuit structure. Background Art

[0002] As an input device, a mechanical keyboard's primary function is text input and command control. Its core feature is that each key is equipped with an independent microswitch (shaft). This design gives mechanical keyboards excellent keystroke feel, tactile feel, and stability, making them particularly suitable for gaming and long-term typing. Mechanical keyboard switches come in a variety of types, including brown, blue, white, black, and red, each with its own unique tactile and acoustic characteristics.

[0003] However, while traditional mechanical keyboards excel in basic functions, their functionality is relatively limited. Currently, traditional mechanical keyboards primarily only support typing, lacking shortcut keys or multiple key combinations. Users also cannot customize key values ​​through host software. Furthermore, traditional mechanical keyboards typically lack features like RGB lighting and rotary encoders for volume control, limiting their ability to meet the diverse needs of teenagers.

[0004] To address these problems, we propose a multifunctional mechanical keyboard circuit structure. Utility Model Content

[0005] The purpose of the present utility model is to solve the shortcomings of the existing technology that the current traditional mechanical keyboard can only realize the typing function, cannot realize shortcut keys and multiple combination key controls, and propose a multi-functional mechanical keyboard circuit structure.

[0006] In order to achieve the above purpose, the present invention adopts the following technical solutions:

[0007] Design a multifunctional mechanical keyboard circuit structure, including:

[0008] A connection circuit for connecting to a host computer, and an expansion circuit and a display screen connection circuit electrically connected to the connection circuit;

[0009] and an MCU, the expansion circuit is electrically connected to the MCU, and the MCU is electrically connected to the knob encoder J2, the expansion button circuit, and the lighting circuit;

[0010] The lighting circuit includes four RGB lamp beads numbered LED1, LED2, LED3 and LED4, and a driving circuit is provided between each of the RGB lamp beads and the MCU.

[0011] Furthermore, the driving circuit includes the red light R pin, the green light G pin and the blue light B pin of the RGB lamp bead;

[0012] Connect the 1st Pin R of the four red lights in series with resistor R13 and then connect it to the PA4 pin of the MCU. Connect the 2nd Pin G of the four green lights in series with resistor R14 and then connect it to the PA5 pin of the MCU. Connect the 3rd Pin B of the four blue lights in series with resistor R15 and then connect it to the PA6 pin of the MCU.

[0013] Among them, the 4th Pin of the positive electrode of LED1 is connected to the PF0 pin of MCU, the 4th Pin of the positive electrode of LED2 is connected to the PF1 pin of MCU, the 4th Pin of the positive electrode of LED3 is connected to the PF2 pin of MCU, and the 4th Pin of the positive electrode of LED4 is connected to the PF3 pin of MCU.

[0014] Furthermore, the connection circuit includes a patch socket J5, which is connected to the USB interface of the computer host through an external USB cable. The 2nd Pin and 3rd Pin of the patch socket J5 constitute differential lines USB-DP and USB-DM. The USB-DP and USB-DM are electrically connected to the expansion circuit after being connected in series with a common-mode inductor L1.

[0015] Furthermore, the expansion circuit includes a HUB chip U2, and pins 25 and 26 of the HUB chip U2 are connected to differential lines USB-DP and USB-DM;

[0016] Pins 2 and 3 of the HUB chip U2 are connected to a set of differential lines connected to pins 3 and 4 of the MCU;

[0017] Pins 27 and 28 of the HUB chip U2 are connected to a set of differential lines to connect to the display screen connection circuit.

[0018] Furthermore, the knob encoder J2 is connected to the PA3 pin of the MCU through a resistor R10 in series at the A end, and is connected to the PA1 pin of the MCU through a resistor R12 in series at the B end. Resistors R7 and R8 are connected to both the A end and the B end. The D end of the knob encoder J2 has a built-in push button switch and is connected to the PD7 pin of the MCU after being connected in series with a resistor R11.

[0019] Furthermore, the expansion button circuit includes a button SW1, a button SW2, a button SW3 and a button SW4;

[0020] The first Pin of the button SW1 is connected to the PA7 pin of the MCU, and the second Pin is connected to the PD6 pin of the MCU. The first Pin of the button SW2 is connected to the PB0 pin of the MCU, and the second Pin is connected to the PD6 pin of the MCU. The first Pin of the button SW3 is connected to the PB1 pin of the MCU, and the second Pin is connected to the PD6 pin of the MCU. The first Pin of the button SW4 is connected to the PB4 pin of the MCU, and the second Pin is connected to the PD6 pin of the MCU.

[0021] Furthermore, the display screen connection circuit includes an interface socket J4, the 2nd Pin and the 3rd Pin of the interface socket J4 are connected to the differential lines USB-DP and USB-DM, and the 1st Pin and the 4th Pin of the interface socket J4 are connected to 5V and ground respectively.

[0022] The utility model proposes a multifunctional mechanical keyboard circuit structure, which has the beneficial effect that: the utility model can form a multifunctional reserved expansion control through the design of four expansion keys. After the upper computer assigns the function of each key, the reserved key can be used to achieve convenient multifunctional operations, such as quick copy, paste and other operations, thereby improving the convenience of existing keyboard operations. Secondly, the knob encoder provided can be used for convenient control of the volume of the upper computer, further improving the functionality of the mechanical keyboard circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 This is a principle block diagram of the utility model;

[0024] Figure 2 A circuit diagram of the connection circuit of the utility model;

[0025] Figure 3 This is a circuit diagram of the lighting circuit of the present utility model;

[0026] Figure 4 A circuit diagram of the expansion circuit of the utility model;

[0027] Figure 5 This is the circuit diagram of the knob encoder of the utility model;

[0028] Figure 6 A circuit diagram of the expanded key circuit for the utility model;

[0029] Figure 7 This is the wiring circuit diagram of the MCU of the utility model. DETAILED DESCRIPTION

[0030] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0031] Reference Figure 1-7 As an embodiment of the present invention, a multifunctional mechanical keyboard circuit structure is disclosed. Specifically, the circuit structure includes:

[0032] A connection circuit for connecting to a host computer, and an expansion circuit and a display screen connection circuit electrically connected to the connection circuit;

[0033] and an MCU, the expansion circuit is electrically connected to the MCU, and the MCU is electrically connected to the knob encoder J2, the expansion button circuit, and the lighting circuit;

[0034] The lighting circuit includes four RGB lamp beads numbered LED1, LED2, LED3 and LED4, and a driving circuit is provided between each of the RGB lamp beads and the MCU.

[0035] like Figure 6 As shown, the MCU supports suspend and wake-up functions to reduce power consumption and is compatible with USB 2.0 full-speed mode. In any USB mode, the accuracy of the internal 12MHz RC oscillator can reach 0.25%. The package type is SSOP 28-pin, and it supports in-system programming (ISP). Positions C9 and C11 are filter capacitors, the 6th and 14th pins are 5V power inputs, and position J3 is the Debug interface. Online programming is performed through a 4-wire interface, one of which is used for serial data download or upload, one for serial clock, and the remaining two are used to provide power and connect to GND respectively.

[0036] In some embodiments, the driving circuit of the present invention includes the red light R pin, the green light G pin and the blue light B pin of the RGB lamp bead;

[0037] Connect the 1st Pin R of the four red lights in series with resistor R13 and then connect it to the PA4 pin of the MCU. Connect the 2nd Pin G of the four green lights in series with resistor R14 and then connect it to the PA5 pin of the MCU. Connect the 3rd Pin B of the four blue lights in series with resistor R15 and then connect it to the PA6 pin of the MCU.

[0038] Among them, the 4th Pin of the positive electrode of LED1 is connected to the PF0 pin of MCU, the 4th Pin of the positive electrode of LED2 is connected to the PF1 pin of MCU, the 4th Pin of the positive electrode of LED3 is connected to the PF2 pin of MCU, and the 4th Pin of the positive electrode of LED4 is connected to the PF3 pin of MCU.

[0039] Specifically, the resistor R13, the resistor R14 and the resistor R15 described in this embodiment are all set to 10R resistors, which are used to adjust the brightness of the corresponding lamp beads. By adjusting the brightness and mixing ratio of each LED, the required color output can be achieved. Secondly, the 4th Pin of each LED is controlled by the MCU, so that the power light of each LED can be turned on and off.

[0040] In a further embodiment, the connection circuit in the present invention includes a patch socket J5, which is connected to the USB interface of the computer host through an external USB cable, and inputs 5V power to the entire board system. The 2nd Pin and 3rd Pin of the patch socket J5 constitute differential lines USB-DP and USB-DM, and the USB-DP and USB-DM are electrically connected to the expansion circuit after being connected in series with a common-mode inductor L1.

[0041] like Figure 1 As shown, ESD diodes D1, D2, and D3 are also connected to the peripheral circuit of the connection circuit. Their function is to protect electronic components from damage caused by electrostatic breakdown, prevent circuits or devices from failing or being damaged due to electrostatic faults, reduce the voltage and current at the moment of electrostatic discharge, and improve the reliability of electronic devices.

[0042] In addition, the common-mode inductor L1 in this embodiment can effectively suppress electromagnetic interference and common-mode noise, ensuring the stability and reliability of data transmission, which is a very important part. It connects two of the HUB chip U2, one USB connected to the microcontroller MCU control, and the other USB connected to the display connection circuit interface J4, which communicates with the external LCD screen via USB2.0. Secondly, the second and third pins of the common-mode inductor L1 are connected to capacitors with positions C2 and C3, which have power supply filtering and energy storage functions. They smooth the power supply voltage by storing and releasing electrical energy, reducing power supply fluctuations and noise. The large capacitor filters low frequencies, and the small capacitor filters high frequencies. Together, they provide a stable DC output, can buffer voltage changes, and maintain output voltage stability. The series resistor with position R1 has a current limiting function, which plays a current limiting role by limiting the magnitude of the current.

[0043] On the basis of the above embodiment, the expansion circuit in the present invention includes a HUB chip U2, and pins 25 and 26 of the HUB chip U2 are connected to the differential lines USB-DP and USB-DM;

[0044] Pins 2 and 3 of the HUB chip U2 are connected to a set of differential lines connected to pins 3 and 4 of the MCU;

[0045] Pins 27 and 28 of the HUB chip U2 are connected to a set of differential lines to connect to the display screen connection circuit.

[0046] like Figure 3 As shown, HUB chip U2 is a USB2.0_HUB chip in a 28-pin SSOP package. Position Y1 is a SMD passive crystal oscillator, whose primary function is to provide a stable clock signal to ensure accurate and stable operation of electronic devices. Positions C12 and C13 filter and reduce noise, adjusting the oscillation circuit frequency and improving the oscillator's anti-interference capability and frequency stability. Positions R18 and C21 are R / C reset circuits, which restore the circuit to its initial state and clear temporarily stored data and status, allowing calculations to resume. Pin 23 is the 5V power input. Positions C14, C15, C16, C17, C18, C19, and C20 are power filter capacitors.

[0047] In addition, the knob encoder J2 in the present invention is connected to the PA3 pin of the MCU through a resistor R10 in series at the A end, and is connected to the PA1 pin of the MCU through a resistor R12 in series at the B end. Resistors R7 and R8 are connected to both the A end and the B end. The D end of the knob encoder J2 has a built-in push button switch and is connected to the PD7 pin of the MCU after being connected in series with a resistor R11.

[0048] Resistors R7 and R8 are 10K pull-up resistors, which are used to stabilize the input signal. When there is no external input, the signal line is in a floating state and is easily affected by electromagnetic interference, resulting in signal uncertainty. In some cases, if the driving capability of the microcontroller output port is insufficient, a pull-up resistor is added between the output port and the load to improve the driving capability.

[0049] Specifically, in this embodiment, the knob encoder J2 is set to realize the function of controlling the computer to adjust the volume to decrease when rotated left and to control the computer to adjust the volume to increase when rotated right. The D end has a built-in button switch. When short pressed, it can control the computer or microphone mute function to improve the functionality of the current keyboard operation.

[0050] Furthermore, in the embodiment of the present invention, the expansion button circuit includes a button SW1, a button SW2, a button SW3 and a button SW4;

[0051] The first Pin of the button SW1 is connected to the PA7 pin of the MCU, and the second Pin is connected to the PD6 pin of the MCU. The first Pin of the button SW2 is connected to the PB0 pin of the MCU, and the second Pin is connected to the PD6 pin of the MCU. The first Pin of the button SW3 is connected to the PB1 pin of the MCU, and the second Pin is connected to the PD6 pin of the MCU. The first Pin of the button SW4 is connected to the PB4 pin of the MCU, and the second Pin is connected to the PD6 pin of the MCU.

[0052] That is, in the present invention, a multi-function reserved expansion control is formed through the design of four external buttons. After the function of each button is assigned by the upper computer, convenient multi-function operations such as quick copy and paste can be achieved through the reserved buttons, thereby improving the convenience of existing keyboard operations.

[0053] It should be noted that, in this embodiment, the display connection circuit includes an interface socket J4, the 2nd Pin and the 3rd Pin of the interface socket J4 are connected to the differential lines USB-DP and USB-DM, and the 1st Pin and the 4th Pin of the interface socket J4 are connected to 5V and ground respectively.

[0054] Interface socket J4 is an external LCD screen interface socket, which communicates with the LCD through an external cable. The 1st Pin is a 5V power output to power the LCD screen system. The 2nd and 3rd Pins are USB2.0 differential signal transmission data lines, and the 4th Pin is GND.

[0055] In addition, the main structures of each circuit in this solution are specifically described in this embodiment, and its peripheral circuits can be referred to as shown in the drawings of each circuit part, so no further details are given here.

[0056] The above is only a preferred specific implementation method of the present invention, but the protection scope of the present invention is not limited to this. Any technician familiar with the technical field within the technical scope disclosed by the present invention can make equivalent replacements or changes based on the technical solution and utility model concept of the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A multifunctional mechanical keyboard circuit structure, characterized in that: include: A connection circuit for connecting to a host computer, and an expansion circuit and a display screen connection circuit electrically connected to the connection circuit; and an MCU, the expansion circuit is electrically connected to the MCU, and the MCU is electrically connected to the knob encoder J2, the expansion button circuit, and the lighting circuit; The lighting circuit includes four RGB lamp beads numbered LED1, LED2, LED3 and LED4, and a driving circuit is provided between each of the RGB lamp beads and the MCU.

2. The multifunctional mechanical keyboard circuit structure according to claim 1, characterized in that: The driving circuit includes the red light R pin, green light G pin and blue light B pin of the RGB lamp bead; Connect the 1st pin of the R pin of the four red lights in series with resistor R13 and then connect it to the PA4 pin of the MCU. Connect the 2nd pin of the G pin of the four green lights in series with resistor R14 and then connect it to the PA5 pin of the MCU. Connect the 3rd pin of the B pin of the four blue lights in series with resistor R15 and then connect it to the PA6 pin of the MCU. Among them, the 4th pin of the positive pole of LED1 is connected to the PF0 pin of the MCU, the 4th pin of the positive pole of LED2 is connected to the PF1 pin of the MCU, the 4th pin of the positive pole of LED3 is connected to the PF2 pin of the MCU, and the 4th pin of the positive pole of LED4 is connected to the PF3 pin of the MCU.

3. The multifunctional mechanical keyboard circuit structure according to claim 1, characterized in that: The connection circuit includes a patch seat J5, which is connected to the USB interface of the computer host through an external USB cable. The 2nd pin and 3rd pin of the patch seat J5 constitute differential lines USB-DP and USB-DM. The USB-DP and USB-DM are electrically connected to the expansion circuit after being connected in series with a common-mode inductor L1.

4. The multifunctional mechanical keyboard circuit structure according to claim 3, characterized in that: The expansion circuit includes a HUB chip U2, and pins 25 and 26 of the HUB chip U2 are connected to differential lines USB-DP and USB-DM; Pins 2 and 3 of the HUB chip U2 are connected to a set of differential lines connected to pins 3 and 4 of the MCU; Pins 27 and 28 of the HUB chip U2 are connected to a set of differential lines to connect to the display screen connection circuit.

5. The multifunctional mechanical keyboard circuit structure according to claim 1, characterized in that: The knob encoder J2 is connected to the PA3 pin of the MCU through a resistor R10 in series on the A end, and is connected to the PA1 pin of the MCU through a resistor R12 in series on the B end. Resistors R7 and R8 are connected to both the A end and the B end. The D end of the knob encoder J2 has a built-in push button switch and is connected to the PD7 pin of the MCU after being connected in series with a resistor R11.

6. The multifunctional mechanical keyboard circuit structure according to claim 1, characterized in that: The expansion button circuit includes a button SW1, a button SW2, a button SW3 and a button SW4; The 1st pin of the button SW1 is connected to the PA7 pin of the MCU, and the 2nd pin is connected to the PD6 pin of the MCU. The 1st pin of the button SW2 is connected to the PB0 pin of the MCU, and the 2nd pin is connected to the PD6 pin of the MCU. The 1st pin of the button SW3 is connected to the PB1 pin of the MCU, and the 2nd pin is connected to the PD6 pin of the MCU. The 1st pin of the button SW4 is connected to the PB4 pin of the MCU, and the 2nd pin is connected to the PD6 pin of the MCU.

7. The multifunctional mechanical keyboard circuit structure according to claim 4, characterized in that: The display screen connection circuit includes an interface socket J4, the second pin and the third pin of the interface socket J4 are connected to the differential lines USB-DP and USB-DM, and the first pin and the fourth pin of the interface socket J4 are connected to 5V and ground respectively.