Matrix keyboard and scanning method thereof

A matrix keyboard and key technology, applied in the field of matrix keyboard circuit and its scanning, can solve the problem of I/O port resource shortage and other problems, and achieve the effect of reducing quantity and cost

Inactive Publication Date: 2010-10-13
HONG FU JIN PRECISION IND (SHENZHEN) CO LTD +1
View PDF2 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In this way, if the above-mentioned matrix keyboard circuit is used, the output terminal will occupy more I / O port lines of the single-chip microcomputer, which will make the limited I / O port resources more tense.

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
  • Matrix keyboard and scanning method thereof
  • Matrix keyboard and scanning method thereof
  • Matrix keyboard and scanning method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0018] see image 3 , the matrix keyboard circuit 101 of a preferred embodiment of the present invention includes N row lines L 1 ~ L n , N+1 column lines P 1 ~P n+1 , N×N buttons S 12 ~S n(n+1) , N I / O ports K 1 ~K n , N+1 resistors R 1 ~R n+1 , N diodes D 1 ~D n and a power supply VCC, where N is a natural number. N row lines and N+1 column lines are arranged alternately to form N×(N+1) intersections. Among the (N+1) column lines, one column line is grounded. Among the N×(N+1) intersections, the intersections of the first row and the first column, the intersections of the second row and the second column, ..., until the Nth row and the Nth column Correspondingly set N diodes D on the intersection point 1 ~D n , while the other N×N intersection points correspond to placing N×N buttons S 12 ~S n(n+1) . In N x N keys S 12 ~S n(n+1) Among t...

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

A matrix keyboard circuit comprises N-numbered column lines, N-numbered first row lines, N*N-numbered keys, N+1-numbered elements with resistance, N-numbered diodes and a power supply, wherein the N-numbered first row lines are respectively connected on the power supply by the elements with resistance. The matrix keyboard circuit also comprises N-numbered I / O ports and grounded second row lines, wherein The N-numbered first row lines and the second row lines respectively intersect with the N-numbered column lines to form N*(N+1)-numbered matrix intersecting points; a diode is arranged on the intersecting point of each column line and a first row line corresponding to the column line; the cathode of the diode on one intersecting point is connected with the column line forming the intersecting point and the anode thereof is connected with the row line forming the intersecting point; the N*N-numbered keys are correspondingly arranged on other N*N-numbered intersecting points respectively; and the first end of a key on one intersecting point is electrically connected with the column line forming the intersecting point and the second end thereof is electrically connected with the row line forming the intersecting point. The invention also provides a scanning method of the matrix keyboard circuit.

Description

technical field [0001] The invention relates to a keyboard and a scanning method, in particular to a matrix keyboard circuit and a scanning method thereof. Background technique [0002] The keyboard is the main human-machine dialogue device in electronic products such as computers, PDAs (Personal Digital Assistants), and mobile phones. Wherein, the logic circuit of the keyboard provides a matrix arrangement of the keys, and most of the existing matrix keyboard circuits use the I / O port of the single-chip microcomputer to scan the keyboard to control the keys of the keyboard. The existing 4×4 matrix keyboard circuit (such as figure 1 shown), including 4 × 4 keys S arranged in 4 rows and 4 columns 1 -S 16 , 4 resistors R 1 -R 4 , 2×4 I / O ports K 1 -K 8 . By analogy, an N×N matrix keyboard circuit requires 2N I / O ports. In the matrix keyboard circuit, N row lines and N column lines are intersected to form N×N intersection points, and each intersection point is provided...

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): H03M11/20
CPCH03M11/20
Inventor 徐艳李永永尹辉林柏青
Owner HONG FU JIN PRECISION IND (SHENZHEN) 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