Supercharge Your Innovation With Domain-Expert AI Agents!

Matrix keyboard scanning and coding circuit

A keyboard scanning and encoding circuit technology, applied in the direction of dynamic encoding, user/computer interaction input/output, etc., can solve the problem of not considering the keyboard operation function, etc., and achieve the effect of reliable work

Active Publication Date: 2016-06-22
邳州市鑫盛创业投资有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the single-key operation and the combined key operation of the method need to be processed separately; the keyboard operation function of effective operation is not performed after the keyboard state is maintained for a period of time; when increasing or decreasing the key operation function or adjusting the key operation function, it is necessary to modify the keyboard scan Locate program structure

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 scanning and coding circuit
  • Matrix keyboard scanning and coding circuit
  • Matrix keyboard scanning and coding circuit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be further described below in conjunction with accompanying drawing.

[0032] figure 1 It is a schematic block diagram of a matrix keyboard scanning encoding circuit, which is composed of a matrix keyboard 400 , a first shift register 100 , a second shift register 200 , a status code register 500 and an encoder 300 .

[0033] figure 2 It is a circuit diagram of the matrix keyboard 400 according to the embodiment of the present invention. It has 2 rows and 2 columns and 4 keys in total, consisting of key S1, key S2, key S3, key S4 and the pull-up resistor R1 connected to the power supply +VCC, the upper Pull-up resistor R2, pull-up resistor R3, pull-up resistor R4, row tri-state buffer 401, column tri-state buffer 402, row status register 403, column status register 404. The two output terminals Y1 and Y2 of the row tri-state buffer 401 are respectively connected to two row lines, and the two output terminals Y3 and Y4 of the column tri-stat...

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 matrix keyboard scanning and coding circuit. The circuit comprises a matrix keyboard, a first shift register, a second shift register, a status code register and a coder; according to the circuit, through control of a scanning pulse and a shift pulse which satisfy a specific time sequence demand, the single-key operations, combined key operations or maintained statuses of the matrix keyboard are converted into valid status codes and invalid status codes with the same binary length; after the codes are coded by the coder, a valid key number corresponding to each valid status code is output or invalid key numbers corresponding to all invalid status codes are output; different single-key operations, combined key operations or maintained statuses are only reflected in the differences of the status codes; if key operation functions need to be reduced or increased, or if the key operation functions need to be adjusted, the structure of the keyboard scanning circuit does not need to be modified; and only the coder needs to be modified according to the corresponding relationships between the increased or reduced status codes and the key numbers. According to the circuits disclosed by the invention, it is unnecessary to compile and operate programs; and the work is reliable.

Description

technical field [0001] The invention relates to a keyboard scanning circuit, in particular to a matrix keyboard scanning and coding circuit. Background technique [0002] With the continuous development of embedded technology, various electronic products generally use microcontrollers as the control core, and keyboards as the main input device, which have been widely used. [0003] The current keyboard scanning is mainly controlled by the microcontroller, which needs to be carried out by running the program in the microcontroller. When encountering interference, the program will run away, and the scanning program will not work normally. [0004] The invention patent with the application number CN201010153560.2 "A Quick Scanning and Positioning Method for a Matrix Keyboard" adopts the method of keyboard interrupt triggering to enter the scanning and positioning process of the keyboard, and uses the method of repeating the keyboard scanning steps several times to determine whe...

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): G06F3/02H03M11/20
CPCG06F3/02H03M11/20
Inventor 凌云曾红兵肖会芹陈刚孔玲爽文定都
Owner 邳州市鑫盛创业投资有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More