Method for designing USB (universal serial bus) keyboard and mouse combination equipment

A composite device and design method technology, applied in the computer field, can solve problems such as no interface, inconvenient operation for personnel, and unsatisfactory personnel, so as to achieve the effect of enhancing functions and saving interface resources

Inactive Publication Date: 2014-10-15
SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In many cases, because only a keyboard is provided without a mouse, the system cannot be operated flexibly and cannot meet the needs of personnel
In some occasions, the I / O interface resources are insufficient. In many cases, the keyboard is plugged in but there is no extra interface for the mouse, which brings inconvenience to personnel operations.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for designing USB (universal serial bus) keyboard and mouse combination equipment
  • Method for designing USB (universal serial bus) keyboard and mouse combination equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0017] The system is mainly composed of 7 parts: control system, protocol conversion circuit, power supply, Caps Lock indicator board, USB2.0 interface, matrix keyboard, touch panel mouse.

[0018] Convert the received PS / 2 signal to I2C signal through CPLD, pass the signal to F340, and upload it to the host computer through the interface of F340. Its own USB2.0 interface is uploaded to the upper computer, so that the keyboard and mouse can be reused as one interface.

Embodiment 2

[0020] The system is mainly composed of 7 parts: control system, protocol conversion circuit, power supply, Caps Lock indicator board, USB2.0 interface, matrix keyboard, touch panel mouse.

[0021] The received PS / 2 signal is converted into an I2C signal through the EPM570 first, and transmitted to the MCU through the I2C interface; the MCU uploads the received I2C signal to the host computer through its own USB2.0 interface, and waits for the host At the same time, the key signal of the keyboard is obtained through matrix scanning. The scanning of the matrix keyboard is controlled by the GPIO of the F340 and realized through the 24 GPIOs of the F340; determine the scan code, and pass the key value corresponding to the scan code through USB2. 0 interface to upload to the host computer; thus realizing the multiplexing of an interface for the keyboard and mouse.

Embodiment 3

[0023] The system is mainly composed of 7 parts: control system, protocol conversion circuit, power supply, Caps Lock indicator board, USB2.0 interface, matrix keyboard, touch panel mouse.

[0024] The device is initialized first, and the MCU is in the mode of continuously detecting whether a button is pressed, and at the same time detects whether there is an analog I2C signal sent by the CPLD, which is the signal of the touchpad mouse; when a button is detected, it scans through the matrix Determine the specific location by means of the method; upload the key value of the key to the host computer through the USB2.0 interface, and then hand it over to the host computer for processing. When a mouse button is pressed, the PS / 2 signal is first sent to the CPLD, and the CPLD converts the signal into an I2C signal and transmits the signal to the MCU. The MCU uploads the data to the host computer through the USB2.0 interface, and the Host computer processing; so as to achieve multip...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for designing USB (universal serial bus) keyboard and mouse combination equipment. The method comprises the following steps of converting received PS / 2 signals into I2C signals through a CPLD (complex programmable logic device); transmitting the signals to F340; transmitting the signals to an upper computer through an interface of the F340; acquiring key signals of a keyboard in a matrix scanning mode; and uploading the acquired signals to the upper computer through a USB2.0 interface of the F340 so that the keyboard and a mouse share an interface. Compared with the prior art, the method for designing the USB keyboard and mouse combination equipment has the advantages that the mouse and the keyboard share the interface under the condition that interface resources are insufficient; and functions of the independent keyboard are improved. The problem that a system cannot be operated flexibly under the condition that the upper computer only has the keyboard but does not have the mouse is solved; and moreover, interface resources of the system are saved. Under the condition that interfaces are limited, 50% interface resources of the USB keyboard and mouse combination equipment can be saved by the method.

Description

[0001] technical field [0002] The invention relates to the technical field of computers, in particular to a design method of a USB keyboard and mouse composite device. Background technique [0003] The Chinese name of MCU (Micro Control Unit) is a micro control unit, also known as a single chip microcomputer (Single Chip Microcomputer) or a single chip microcomputer. Timing counters and various I / O interfaces are integrated on a chip to form a chip-level computer, which can be used for different combination controls for different applications. [0004] General Purpose Input Output (General Purpose Input / Output) is referred to as GPIO, or bus expander, which simplifies the expansion of I / O ports by using industry standard I2C, SMBus or SPI interfaces. When the microcontroller or chipset does not have enough I / O ports, or when the system needs to use remote serial communication or control, GPIO products can provide additional control and monitoring functions. [0005] CPLD...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/02
Inventor 顾海明耿士华吴之光
Owner SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products