Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for keyboard scan

A keyboard and scanning cycle technology, applied in the electronic field, can solve the problem of occupying a large amount of MCU resources, and achieve the effect of speeding up processing and saving resources

Inactive Publication Date: 2007-04-25
VIMICRO CORP
View PDF1 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0028] The present invention provides a method for scanning keyboards, which is used to solve the problem of occupying a large amount of MCU resources when determining the key state in the prior art

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
  • A method and system for keyboard scan
  • A method and system for keyboard scan
  • A method and system for keyboard scan

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] Aiming at the current problem of occupying a large amount of MCU resources when determining the key state, the present invention scans the keyboard once in a scanning cycle according to the set order, determines the current state of the key according to the key value obtained by scanning, and determines the current state of the key according to the current state of the key, The previous state of the button after the vibration was removed and the previous change state of the button determine the current state of the button after the vibration is removed, thereby solving the above-mentioned problem.

[0073] Fig. 4 is a schematic diagram of the system structure of the scanning keyboard of the present invention. As shown in FIG. 4 , the present invention includes: a scanning module 10 and a processing module 20 .

[0074] The scanning module 10 is connected with the processing module 20, and is used to scan the button once in a scanning cycle according to the set order, de...

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 relates to a method for scanning keyboard, which comprises that: A, based on preset sequence, scanning keyboard one time in one scanning period, and finding the state of button according to scanned button value; B, based on said state, the stored state of last time without vibration, and stored last change state of button, finding the present state without vibration. The invention can avoid occupying lots of MCU resource when finding button state. The invention also provides a relative system.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a method and system for scanning a keyboard. Background technique [0002] With the development of electronic technology, more and more people start to use electronic equipment, such as: MP3, MP4 and so on. Among these electronic devices, the keyboard is the most commonly used means to realize human-computer interaction. There are two circuit implementations for the keyboard: direct connection and matrix. The direct connection method is to directly connect one end of the button to the input pin of the microcontroller (MCU). The matrix keyboard arranges all the keys in a matrix, the row input of the keyboard is connected to the output pin of the MCU, and the column output of the keyboard is connected to the input pin of the MCU. [0003] Figure 1 is a schematic diagram of a 4×4 keyboard matrix circuit. As shown in Figure 1, there are 16 keys, 4 input pins of the keyboard, ...

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
IPC IPC(8): H03M11/20H03M11/00G06F3/023
Inventor 邓乃利
Owner VIMICRO CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products