An integrated connection mouse digital keypad

CN224907348UActive Publication Date: 2026-10-27SHENZHEN DAVAO ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522530055.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-28
Publication Date
2026-10-27
Estimated Expiration
2035-11-28

AI Technical Summary

Technical Problem

[0004]本实用新型要解决的技术问题在于克服现有技术中小键盘和鼠标独立设置分别与主机设备连接导致接口占用和线缆混乱的缺陷,从而提供一种集成连接鼠标的数字小键盘

Benefits of technology

[0013]有益效果:本实用新型通过将数字小键盘核心功能与鼠标信号转接功能整合,仅需通过一个USB信号输出接口即可同时实现数字输入与鼠标信号传输,解决了现有分离式数字小键盘、鼠标各自占用独立接口导致的主机接口资源紧缺问题,无需额外配置集线器,实现功能集成化,减少接口占用,降低了使用成本。本实用新型能够通过单一USB接口与主机连接,同时实现数字小键盘供电、数字信号传输、鼠标信号传输三重功能,避免了多外设线缆杂乱缠绕的问题,使桌面布局更整洁,且减少了线缆插拔的繁琐操作,提升了设备使用的便捷性与可靠性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224907348U_ABST
    Figure CN224907348U_ABST
Patent Text Reader

Abstract

The application discloses a digital keypad integrated with a mouse, and relates to the technical field of input devices.The digital keypad is provided with a PS / 2 interface connected with the mouse and a USB interface outputting signals, and a core circuit comprises a main control circuit, a key circuit and a mouse signal conversion circuit.The key circuit is integrated with a key matrix circuit and a mouse key circuit.The input end of the mouse signal conversion circuit is connected with a PS / 2 mouse signal, the output end outputs a USB mouse signal and is connected with a single-chip microcomputer, and finally communicates with a host device through the USB interface.The application solves the problems of multiple interface occupation, poor compatibility, complicated operation and cable mess caused by the separation use of the existing digital keypad and the mouse, realizes the integration of digital input and mouse signal conversion, has the advantages of strong interface compatibility, convenient operation, neat layout and low cost, and is suitable for scenes such as compact industrial operation environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model belongs to the field of data device technology, specifically relating to a numeric keypad that integrates a mouse connection. Background Technology

[0002] In industrial settings, keypads and mice are typically separate devices. Keypads, with their streamlined number and function keys, significantly improve numerical input efficiency, while mice are used for precise operation via graphical interfaces. Both keypads and mice connect to the host device to perform numerical input and selection / positioning operations.

[0003] In existing technologies, numeric keypads and mice are typically independent peripherals, each connecting to the host device via a separate interface. This separate design has drawbacks: the two separate interfaces for the keypad and mouse occupy a large amount of space, easily leading to a shortage of interface resources on the host device. This makes layout difficult in compact industrial operating environments, necessitating the use of additional hubs and increasing operating costs. Furthermore, the independent connection cables for both are prone to tangling and disarray, affecting the cleanliness and safety of the operating area. Utility Model Content

[0004] The technical problem to be solved by this utility model is to overcome the defects of the existing technology in which the numeric keypad and mouse are set up separately and connected to the host device, resulting in interface occupation and cable mess, so as to provide a numeric keypad that integrates the mouse connection.

[0005] A numeric keypad integrated with a mouse is disclosed. The keypad includes a signal output interface and a mouse input interface. The keypad comprises a main control circuit, a button circuit, and a mouse signal conversion circuit. The main control circuit includes a microcontroller. The button circuit includes a button matrix circuit and a mouse button circuit. The button matrix circuit includes multiple row pins and multiple column pins, with each end of a button connected to a row pin and a column pin, respectively. The row pins and column pins are connected to the microcontroller. The mouse button circuit includes a middle button, a left button, and a right button, each connected to the microcontroller. The mouse signal conversion circuit receives a PS / 2 mouse signal at its input and outputs a USB mouse signal, which is connected to the microcontroller. The keypad's mouse input interface is a PS / 2 interface, and its signal output interface is a USB interface connected to a host device.

[0006] Furthermore, the mouse signal conversion circuit includes a USB to PS / 2 chip. The input terminal of the USB to PS / 2 chip is connected to the clock signal and data signal input from the PS / 2 interface, and the output terminal outputs a differential signal pair of USB signals and connects to the microcontroller.

[0007] Furthermore, the key matrix circuit includes five row pins and four column pins, connecting a total of eighteen keys; five keys are connected between the first column pin and each of the five row pins, five keys are connected between the second column pin and each of the five row pins, five keys are connected between the third column pin and each of the five row pins, and three keys are connected between the fourth column pin and each of the first, second, and third row pins.

[0008] Furthermore, it also includes a crystal oscillator circuit, which includes a crystal oscillator connected to a capacitor to form a parallel resonant circuit. The crystal oscillator's input pin and output pin are respectively connected to the microcontroller.

[0009] Furthermore, it also includes a reset circuit, which comprises an electrolytic capacitor, a resistor, and a diode; one end of the electrolytic capacitor is connected to a DC power supply, and the other end is connected to the reset terminal of the microcontroller; the electrolytic capacitor is connected to the resistor and the diode respectively and grounded.

[0010] Furthermore, it also includes a signal pull-up circuit, which includes two resistors. One resistor is connected at one end to the clock signal input from the PS / 2 interface and at the other end to a DC power supply. The other resistor is connected at one end to the data signal input from the PS / 2 interface and at the other end to a DC power supply.

[0011] Furthermore, it also includes a USB differential signal optimization circuit, which includes resistors and capacitors. The differential signal pairs output by the output terminal of the mouse signal conversion circuit are connected to the resistors and capacitors in sequence and then grounded.

[0012] Furthermore, it also includes a power supply circuit, which includes an input filtering unit, a protection and anti-interference unit, and an output filtering unit connected in sequence. The input terminal of the power supply circuit is connected to an input power supply, and the output terminal outputs DC power to provide working power for the numeric keypad.

[0013] Beneficial Effects: This invention integrates the core functions of a numeric keypad with mouse signal conversion, enabling simultaneous digital input and mouse signal transmission via a single USB output interface. This solves the problem of limited host interface resources caused by separate numeric keypads and mice occupying independent interfaces. No additional hub is required, achieving functional integration, reducing interface usage, and lowering operating costs. This invention connects to the host via a single USB interface, simultaneously providing power to the numeric keypad, transmitting digital signals, and transmitting mouse signals. This avoids the problem of tangled cables from multiple peripherals, resulting in a neater desktop layout and reducing the tedious operation of plugging and unplugging cables, thus improving the convenience and reliability of the device. Attached Figure Description

[0014] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0015] Figure 1 This is a schematic block diagram of the overall structure of this utility model; Figure 2 This is the schematic diagram of the main control circuit of this utility model; Figure 3 This is a schematic diagram of the button circuit of this utility model; Figure 4 This is a schematic diagram of the mouse signal conversion circuit of this utility model; Figure 5 This is a schematic diagram of the crystal oscillator circuit of this utility model; Figure 6 This is a schematic diagram of the reset circuit of this utility model; Figure 7 This is a schematic diagram of the signal pull-up circuit of this utility model; Figure 8 This is a schematic diagram of the USB differential signal optimization circuit of this utility model; Figure 9 This is the schematic diagram of the power supply circuit of this utility model. Detailed Implementation

[0016] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the specific embodiments of this application are described in detail below with reference to the accompanying drawings. Many specific details are set forth in the following description to provide a thorough understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar modifications without departing from the spirit of this application. Therefore, this application is not limited to the specific embodiments disclosed below.

[0017] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0018] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "joining," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0019] Reference Figure 1 As shown, this embodiment provides a numeric keypad integrated with a mouse. The numeric keypad has a signal output interface and a mouse input interface. The numeric keypad includes a main control circuit, a button circuit, and a mouse signal conversion circuit. The main control circuit includes a microcontroller. The button circuit includes a button matrix circuit and a mouse button circuit. The button matrix circuit includes multiple row pins and multiple column pins, with each end of a button connected to a row pin and a column pin, respectively. The row pins and column pins are connected to the microcontroller. The mouse button circuit includes a middle button, a left button, and a right button, each connected to the microcontroller. The mouse signal conversion circuit has a PS / 2 mouse signal input and an output USB mouse signal connected to the microcontroller. The numeric keypad has a PS / 2 mouse input interface and a USB signal output interface connected to a host device.

[0020] In this embodiment, refer to Figure 2 As shown, the main control circuit includes an 89C51_LQFP44 microcontroller, an 8-bit MCS-51 architecture microcontroller with abundant I / O pins and instruction sets, enabling signal acquisition, processing, and transmission from the keyboard. The power supply is connected to a DC power supply and grounded through a 0.1uF filter capacitor C2 to improve power supply stability. The main control circuit, based on the 89C52 microcontroller, can quickly and accurately process key signals, precisely identify each key operation, and utilize the RXD and TXD serial communication pins for stable and efficient key information transmission. Furthermore, it can flexibly connect to peripherals such as indicator lights and touchpads, giving the keyboard circuit expandability.

[0021] In this embodiment, the mouse signal conversion circuit includes a USB to PS / 2 chip. The input terminal of the USB to PS / 2 chip is connected to the clock signal and data signal input from the PS / 2 interface, and the output terminal outputs a differential signal pair of USB signals and connects to the microcontroller.

[0022] Specifically, refer to Figure 4As shown, the input terminal of the USB to PS / 2 chip U2 is connected to the clock signal Mouse CLK and data signal Mouse DATA input from the PS / 2 interface. The output terminal outputs differential USB signal pairs D+ CLK and D- DATA, which are connected to the microcontroller, thereby converting the PS / 2 mouse signal into a USB mouse signal for input to the microcontroller. Preferably, the USB to PS / 2 chip U2 in this embodiment is model CJS038-SH. Through its internal logic, the chip can convert signals from the PS2 device into signals recognizable by the USB interface, enabling communication between devices with different interfaces without requiring additional complex external logic circuits.

[0023] In this embodiment, the key matrix circuit includes five row pins and four column pins, connecting a total of eighteen keys; five keys are connected between the first column pin and the five row pins respectively, five keys are connected between the second column pin and the five row pins respectively, five keys are connected between the third column pin and the five row pins respectively, and three keys are connected between the fourth column pin and the first row pin, the second row pin, and the third row pin respectively.

[0024] Specifically, refer to Figure 3 As shown, the button matrix circuit includes five row pins P20~P24 and four column pins P10~P13, connecting a total of eighteen buttons S1~S18. Buttons S16 and S18 are connected in parallel as S16A / S16B and S18A / S18B, thereby improving button reliability. Preferably, the buttons include ten numeric keys (0-9), five operator keys (+, -, *, / ), and a decimal point (.), and three function keys (Enter, Delete, and ESC). The mouse button circuit includes a middle button (SM), a left button (SL), and a right button (SR), one end of which is connected to a pin on the microcontroller, and the other end is grounded.

[0025] In this embodiment, a crystal oscillator circuit is also included. The crystal oscillator circuit includes a crystal oscillator, which is connected to a capacitor to form a parallel resonant circuit. The crystal oscillator input pin and crystal oscillator output pin are respectively connected to the microcontroller.

[0026] Specifically, refer to Figure 5As shown, the crystal oscillator circuit includes an 11.0592MHz crystal oscillator X1, and 33pF capacitors C3 and C3 working together with the crystal oscillator to form a resonant circuit for stabilizing the oscillation frequency and optimizing the signal waveform. The crystal oscillator's input and output pins are connected to the microcontroller's crystal oscillator pins XTAL1 (input pin) and XTAL2 (output pin), respectively. The crystal oscillator circuit provides a precise clock signal, ensuring the accurate execution of various instructions and operations of the microcontroller. From power supply and reset to clocking, it ensures stable keyboard operation from multiple dimensions, reducing the occurrence of malfunctions.

[0027] In this embodiment, refer to Figure 6 As shown, the system also includes a reset circuit, which comprises a 10uF electrolytic capacitor C1, a 10K resistor R5, and a Zener diode D1. One end of the electrolytic capacitor C1 is connected to the DC power supply VCC, and the other end is connected to the reset pin RESET of the microcontroller. The electrolytic capacitor C1 is connected to both resistor R5 and the Zener diode D1 (grounded). When the system powers on, VCC charges the capacitor through C1, at which point the microcontroller's RESET pin receives a high level. As the capacitor completes charging, current flows through R5 to ground, and the RESET pin level gradually decreases. The duration of this high level is determined by the RC time constant, ensuring that the microcontroller has sufficient time to complete the reset initialization. The Zener diode D1 is used to clamp the RESET pin level to prevent abnormal voltage surges and can also accelerate capacitor discharge during power-off, enabling the system to quickly trigger a reset upon the next power-on. The reset circuit ensures that the microcontroller starts running from its initial state each time it powers on, avoiding program crashes or functional abnormalities caused by abnormal power-on timing, and is the fundamental guarantee for the stable operation of the microcontroller system.

[0028] In this embodiment, a signal pull-up circuit is also included. The signal pull-up circuit includes two resistors. One end of one resistor is connected to the clock signal input from the PS / 2 interface, and the other end is connected to a DC power supply. The other resistor is connected to the data signal input from the PS / 2 interface, and the other end is connected to a DC power supply.

[0029] Specifically, refer to Figure 7 As shown, the signal pull-up circuit includes two 10K current-limiting resistors, R11 and R12. One end is connected to the DC power supply VCC, and the other end is connected to the data signal H_DATA and the clock signal H_CLK input from the PS / 2 interface, respectively. The PS / 2 protocol uses open-drain output, requiring external pull-up resistors to stably transmit high and low levels. This circuit ensures that the H_DATA and H_CLK signals are high when idle, guaranteeing stable and reliable signal transmission between the PS / 2 mouse and the numeric keypad main control circuit, which is essential for PS / 2 interface communication.

[0030] In this embodiment, refer to Figure 8As shown, the circuit also includes a USB differential signal optimization circuit. This circuit comprises two 22K impedance matching resistors R13 and R14, and filter capacitors C5 and C7. The differential signal pairs D-DATA and D+CLK output from the mouse signal conversion circuit are connected sequentially to the impedance matching resistors and filter capacitors before being grounded. The series-connected impedance matching resistors R13 and R14 match the characteristic impedance of the USB differential lines, reducing signal reflection and ensuring waveform integrity during high-speed data transmission. The grounded filter capacitors filter out high-frequency noise interference in the USB differential signal, suppress electromagnetic interference (EMI), improve signal purity, and ensure the reliability of USB data transmission. The USB differential signal optimization circuit is optimized for the characteristics of USB differential signals. By reducing signal reflection through impedance matching and suppressing noise through capacitor filtering, it effectively solves the stability problem of USB signal transmission in long-distance or high-interference environments, and is a key guarantee for stable communication of the numeric keypad USB interface.

[0031] In this embodiment, a power supply circuit is also included. The power supply circuit includes an input filtering unit, a protection and anti-interference unit, and an output filtering unit connected in sequence. The input terminal of the power supply circuit is connected to the input power supply VIN, and the output terminal outputs a DC power supply VCC to provide working power for the numeric keypad.

[0032] Specifically, refer to Figure 9 As shown, the input filtering unit includes a 100μF filter capacitor C10, used to filter out low-frequency noise from the input power supply (VIN) and stabilize the DC component of the input voltage; and a 0.1μF filter capacitor C12, used to filter out high-frequency noise from the input power supply, suppress electromagnetic interference (EMI), and improve power purity. The protection and anti-interference unit includes an ESD protection element Z1, which uses an ESD protection diode to suppress damage to the circuit from electrostatic discharge (ESD) shocks, preventing component damage caused by static electricity; a voltage regulator element ZD1, using a Zener diode, provides overvoltage protection, limiting the input voltage to a safe threshold and preventing subsequent circuits from burning out due to overvoltage; and an inductor LD1, through an EMI filter inductor, suppresses electromagnetic interference (EMI) on the power line and stabilizes the voltage through energy storage characteristics, improving the power supply's anti-interference capability. The output filtering unit includes a 10μF filter capacitor C14 to filter out low-frequency noise in the output voltage (VCC) and ensure DC stability of the output voltage; and a 0.1μF filter capacitor C13 to filter out high-frequency noise in the output voltage, further purifying the power supply and providing a clean DC power supply for subsequent sensitive circuits. This power supply circuit, through a multi-stage design, achieves noise suppression, surge protection, and stable output of the input power supply, ensuring that the modules of the numeric keypad can operate reliably and stably under complex electromagnetic environments or power fluctuations.

[0033] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0034] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A numeric keypad integrated with a mouse, characterized in that, The numeric keypad has a signal output interface and a mouse input interface. The keypad includes a main control circuit, a key circuit, and a mouse signal conversion circuit. The main control circuit includes a microcontroller. The key circuit includes a key matrix circuit and a mouse key circuit. The key matrix circuit includes multiple row pins and multiple column pins, with each key connected to a row pin and a column pin respectively. The row pins and column pins are connected to the microcontroller. The mouse key circuit includes a middle button, a left button, and a right button, all of which are connected to the microcontroller. The mouse signal conversion circuit's input terminal connects to a PS / 2 mouse signal, and its output terminal outputs a USB mouse signal connected to the microcontroller. The keypad's mouse input interface is a PS / 2 interface, and its signal output interface is a USB interface connected to a host device.

2. The numeric keypad integrating a mouse as described in claim 1, characterized in that, The mouse signal conversion circuit includes a USB to PS / 2 chip. The input terminal of the USB to PS / 2 chip is connected to the clock signal and data signal input from the PS / 2 interface, and the output terminal outputs a differential signal pair of USB signals and connects to the microcontroller.

3. A numeric keypad integrating a mouse as described in claim 1, characterized in that, The key matrix circuit includes five row pins and four column pins, connecting a total of eighteen keys; five keys are connected between the first column pin and each of the five row pins, five keys are connected between the second column pin and each of the five row pins, five keys are connected between the third column pin and each of the five row pins, and three keys are connected between the fourth column pin and each of the first, second, and third row pins.

4. A numeric keypad integrating a mouse as described in claim 1, characterized in that, It also includes a crystal oscillator circuit, which includes a crystal oscillator. The crystal oscillator is connected to a capacitor to form a parallel resonant circuit. The crystal oscillator's input pin and output pin are respectively connected to the microcontroller.

5. A numeric keypad integrating a mouse as described in claim 1, characterized in that, It also includes a reset circuit, which comprises an electrolytic capacitor, a resistor, and a diode; one end of the electrolytic capacitor is connected to a DC power supply, and the other end is connected to the reset terminal of the microcontroller; the electrolytic capacitor is connected to the resistor and the diode respectively and grounded.

6. A numeric keypad integrating a mouse as described in claim 1, characterized in that, It also includes a signal pull-up circuit, which includes two resistors. One resistor is connected at one end to the clock signal input to the PS / 2 interface and at the other end to a DC power supply. The other resistor is connected at one end to the data signal input to the PS / 2 interface and at the other end to a DC power supply.

7. A numeric keypad integrating a mouse as described in claim 1, characterized in that, It also includes a USB differential signal optimization circuit, which includes resistors and capacitors. The differential signal pairs output by the output terminal of the mouse signal conversion circuit are connected to the resistors and capacitors in sequence and then grounded.

8. A numeric keypad integrating a mouse as described in claim 1, characterized in that, It also includes a power supply circuit, which includes an input filtering unit, a protection and anti-interference unit, and an output filtering unit connected in sequence. The input terminal of the power supply circuit is connected to an input power supply, and the output terminal outputs DC power to provide working power for the numeric keypad.