CN202472565U - Keyboard circuit, keyboard and input device - Google Patents
Keyboard circuit, keyboard and input device Download PDFInfo
- Publication number
- CN202472565U CN202472565U CN2012200799449U CN201220079944U CN202472565U CN 202472565 U CN202472565 U CN 202472565U CN 2012200799449 U CN2012200799449 U CN 2012200799449U CN 201220079944 U CN201220079944 U CN 201220079944U CN 202472565 U CN202472565 U CN 202472565U
- Authority
- CN
- China
- Prior art keywords
- port control
- intersection
- line
- lines
- column
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- WABPQHHGFIMREM-UHFFFAOYSA-N lead(0) Chemical compound [Pb] WABPQHHGFIMREM-UHFFFAOYSA-N 0.000 claims description 6
- 239000011159 matrix material Substances 0.000 description 12
- 238000001514 detection method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The utility model discloses a keyboard circuit, a keyboard and an input device. The keyboard circuit comprises N IO (Input Output) interface control lines, N leads and a grounding line, wherein the N IO interface control lines are respectively connected with N IO interfaces; the N IO interface control lines are taken as row lines, the N leads are taken as column lines, or whereas; the grounding line is taken as a row line or a column line; N diodes are distributed on crosses of the IO interface control lines and the leads, and each row and each column only include one diode; and the positive electrode of each diode is connected with a lead at the cross, and the negative electrode of each diode is connected with an IO interface control line at the cross; and button contacts smaller than or equal to N*N are distributed on other crosses of the N IO interface control lines, the N leads and the grounding line. The utility model further discloses a keyboard utilizing the keyboard circuit and an input device. An IO interface resource only needs N main control units so as to be capable of realizing N*N buttons, greatly save the IO interface resource and reduce the loads of IO interfaces of the main control units.
Description
Technical Field
The utility model relates to a keyboard especially relates to a matrix keyboard circuit, uses keyboard and input device of this matrix keyboard circuit.
Background
The keyboard is used as a universal man-machine interaction interface and applied to various electronic devices. For example, instruments, handheld electronic devices, large Control devices, medical instruments, mobile phones, and the like generally have a keyboard (or Input panel) with multiple keys, and the keyboard is connected to a main Control Unit (e.g., MCU, Micro Control Unit, microprocessor Unit) of the electronic device through an IO (Input Output) port. The user inputs an operation command through the keyboard, and the operation command is transmitted to the main control unit through the IO port to be processed.
The keyboard circuit is a key device for realizing the keyboard function. Matrix keyboard circuits are a common keyboard circuit implementation. The matrix keyboard circuit of A x B keys can be realized by forming an A x B scanning matrix by A + B IO port control lines (including A row lines and B column lines). The implementation structure needs A + B IO ports, and each IO port control line is connected with one IO port. Taking the matrix keyboard circuit with 16 keys shown in fig. 1 as an example, 8 IO ports are required, 4 IO ports are connected with 4 row lines (P0.0-P0.3), and 4 IO ports are connected with 4 column lines (P0.4-P0.7), so as to form a 4 × 4 scanning matrix. The keys are arranged at the intersections of the row lines and the column lines, and the row lines and the column lines can be communicated through the keys arranged at the intersections.
The IO ports are divided into an output group and an input group based on rows and columns, and key detection can be realized in a polling scanning mode. The key detection method of the keyboard circuit shown in fig. 1 is described by taking the IO port of the row line as an output port and the IO port of the column line as an input port:
first, a low level is output on the column line P0.4, and high levels are output on other columns, and whether low levels appear on the row lines P0.0 to P0.3 is detected row by row. If a low level appears on a certain row line, the button is pressed at the intersection of the row line and P0.4; if no low level appears on 4 rows, the column line P0.5 is set to be low level, the column line P0.4, the column line P0.6 and the column line P0.7 are pulled to be high level, and then scanning is carried out in sequence row by row, and the key pressing condition is detected according to the method. And outputting low level column by column until detection is completed. And when the pressed key is detected, the main control unit executes a corresponding control command according to the corresponding key information.
The existing matrix keyboard circuit structure still occupies more IO port resources, and if a keyboard with N multiplied by N keys is to be realized, at least 2N IO ports are needed. Especially for the main control unit with a shortage of IO port resources, the existing matrix keyboard circuit structure brings a large load of the IO port to the main control unit, and the IO port is in shortage in use.
SUMMERY OF THE UTILITY MODEL
The utility model aims at providing a keyboard circuit, keyboard and input device to solve the problem that current matrix keyboard circuit structure occupies more IO mouth resource.
The utility model aims at realizing through the following technical scheme:
a keyboard circuit, comprising:
the device comprises N IO port control lines, N leads and a ground wire, wherein the N IO port control lines are respectively connected with N IO ports;
the N IO port control lines are distributed as row lines, and the N leads and the grounding line are distributed as column lines;
the N diodes are distributed at the intersection of the IO port control line and the lead, each row is provided with one and only one diode, and each column is provided with one and only one diode;
the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection;
the key contacts are less than or equal to NxN and distributed at other intersections of the IO port control line and the lead and intersections of the IO port control line and the grounding line; in a normal state, the key contact is not communicated with all lines at the intersection, and when the key contact is pressed down, an IO port control line and a lead or an IO port control line and a ground line at the intersection where the pressed key contact is located are communicated through the key contact.
A keyboard circuit, comprising:
the device comprises N IO port control lines, N leads and a ground wire, wherein the N IO port control lines are respectively connected with N IO ports;
the N IO port control lines and the grounding line are distributed as row lines, and the N conducting wires are distributed as column lines;
the N diodes are distributed at the intersection of the IO port control line and the lead, each row is provided with one and only one diode, and each column is provided with one and only one diode;
the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection;
the key contacts are less than or equal to NxN and are distributed at other intersections of the IO port control line and the lead and between the IO port control line and the grounding line;
if the key contacts are distributed between the IO port control line and the grounding line, particularly at the intersection of an outgoing line of the IO port control line and an outgoing line of the grounding line;
in a normal state, the key contact is not communicated with all lines at the intersection or the intersection, and when the key contact is pressed down, an IO port control line and a lead wire at the intersection where the pressed key contact is located or an IO port control line and a grounding line at the intersection are communicated through the key contact.
A keyboard circuit, comprising:
the device comprises N IO port control lines, N leads and a ground wire, wherein the N IO port control lines are respectively connected with N IO ports;
the N IO port control lines are distributed as column lines, and the N conducting wires and the grounding wire are distributed as row lines;
the N diodes are distributed at the intersection of the IO port control line and the lead, each row is provided with one and only one diode, and each column is provided with one and only one diode;
the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection;
the key contacts are less than or equal to NxN and distributed at other intersections of the IO port control line and the lead and intersections of the IO port control line and the grounding line; in a normal state, the key contact is not communicated with all lines at the intersection, and when the key contact is pressed down, an IO port control line and a lead or an IO port control line and a ground line at the intersection where the pressed key contact is located are communicated through the key contact.
A keyboard circuit, comprising:
the device comprises N IO port control lines, N leads and a ground wire, wherein the N IO port control lines are respectively connected with N IO ports;
the N IO port control lines and the grounding line are distributed as column lines, and the N conducting wires are distributed as row lines;
the N diodes are distributed at the intersection of the IO port control line and the lead, each row is provided with one and only one diode, and each column is provided with one and only one diode;
the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection;
the key contacts are less than or equal to NxN and are distributed at other intersections of the IO port control line and the lead and between the IO port control line and the grounding line;
if the key contacts are distributed between the IO port control line and the grounding line, particularly at the intersection of an outgoing line of the upper IO port control line and an outgoing line of the grounding line;
in a normal state, the key contact is not communicated with all lines at the intersection or the intersection, and when the key contact is pressed down, an IO port control line and a lead wire at the intersection where the pressed key contact is located or an IO port control line and a grounding line at the intersection are communicated through the key contact.
A keyboard, comprising:
any of the keyboard circuits described above.
An input device, comprising:
any of the keyboard circuits described above.
The utility model provides a keyboard circuit, use keyboard and input device of this keyboard circuit owing to only need the IO mouth resource of a N main control unit, can realize the keyboard circuit of a N button, has greatly saved IO mouth resource, has alleviateed the IO mouth burden of main control unit. Additionally, the utility model provides a keyboard circuit, keyboard and input device realizes that simple structure is reliable, and realizes low cost.
Drawings
FIG. 1 is a schematic diagram of a conventional matrix keyboard circuit;
fig. 2 is a schematic diagram of a first keyboard circuit structure according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a second keyboard circuit structure according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a third keyboard circuit structure according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a fourth keyboard circuit structure according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a fifth keyboard circuit structure according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a sixth keyboard circuit structure according to an embodiment of the present invention.
Detailed Description
In order to solve the problem that current matrix keyboard occupies more IO mouth resource, the utility model provides a following keyboard circuit, use keyboard and input device of this keyboard circuit.
The embodiment of the utility model provides a keyboard circuit structure that (first) provided is shown in figure 2, and concrete implementation structure includes:
n IO port control lines (P0.0-P0.n-1), N leads (L0-Ln-1), a grounding line Ln, N diodes (D1-Dn) and N key contacts less than or equal to NxN.
The N IO port control lines are respectively connected with the N IO ports.
The N IO port control lines are distributed as row lines, and the N conducting wires and the grounding wire Ln are distributed as column lines.
The N diodes are distributed at the intersection of the IO port control line and the lead, each row has one and only one diode, and each column has one and only one diode; the diodes are used for providing a low-level loop path for the lead at the intersection and isolating high level, so that the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection.
The key contacts less than or equal to NxN are distributed at other intersections of the IO port control lines and the wires and intersections of the IO port control lines and the grounding lines; in a normal state, all the lines are not communicated, and the key contact is not communicated with all the lines at the intersection, when the key contact is pressed down, the IO port control line and the lead wire or the IO port control line and the ground wire at the intersection where the pressed key contact is located are communicated through the pressed key contact.
It should be noted that fig. 2 is intended to illustrate the structure of the keyboard circuit provided in the above embodiment (a), and should not be construed as limiting the scope of the present invention. The grounding line Ln may be located in the N +1 th column shown in fig. 2, or may be located in any one of the columns. The distribution of the diodes is only required to satisfy one and only one for each row and each column. The number of the key contacts may be N as shown in fig. 2, or may be less than N.
Above-mentioned the keyboard circuit that embodiment (first) provided, wire and earth connection all need not connect the IO mouth, consequently only need the IO mouth resource of a N main control unit, can realize the keyboard circuit of a N button, have greatly saved IO mouth resource, have alleviateed the IO mouth burden of main control unit. Additionally, the embodiment of the utility model provides a keyboard circuit realizes that simple structure is reliable, and realizes low cost.
Based on the keyboard circuit provided in the above embodiment (a), in order to facilitate key detection, a preferred diode distribution manner is: a diode is respectively arranged at the crossing of a first row IO port control line and a first column wire distributed on a row line and a column line and at the crossing of the last row IO port control line and the last column wire in descending order (as shown in fig. 2); or, a diode is respectively arranged at the intersection of the IO port control line in the first row and the last column of wires, and at the intersection of the IO port control line in the last row and the first column of wires in descending order (as shown in fig. 3).
The embodiment of the utility model provides a keyboard circuit structure that (second) provided is shown in FIG. 4, and concrete implementation structure includes:
n IO port control lines (P0.0-P0.n-1), N leads (L0-Ln-1), a grounding line Ln, N diodes (D1-Dn) and N key contacts less than or equal to NxN.
The N IO port control lines are respectively connected with the N IO ports.
The N IO port control lines and the grounding line Ln are distributed as row lines, and N conducting wires are distributed as column lines.
The N diodes are distributed at the intersection of the IO port control line and the lead, each row has one and only one diode, and each column has one and only one diode; the diodes are used for providing a low-level loop path for the lead at the intersection and isolating high level, so that the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection.
The key contacts less than or equal to NxN are distributed at other intersections of the IO port control line and the lead and between the IO port control line and the grounding line Ln.
If the key contacts are distributed between the IO port control line and the grounding line Ln, the key contacts are particularly distributed at the intersection of the outgoing line of the IO port control line and the outgoing line of the grounding line Ln.
In a normal state, all the lines are not communicated, and the key contact is not communicated with all the lines at the intersection or the junction, when the key contact is pressed down, an IO port control line and a lead at the intersection where the pressed key contact is located, or an IO port control line and a grounding line Ln at the junction are communicated through the pressed key contact.
It should be noted that fig. 4 is intended to illustrate the structure of the keyboard circuit provided in the above embodiment (b), and should not be construed as limiting the scope of the present invention. The grounding line Ln may be located in the N +1 th row shown in fig. 4, or may be located in any row. The distribution of the diodes is only required to satisfy one and only one for each row and each column. The number of the key contacts may be N as shown in fig. 4, or may be less than N.
Above-mentioned the embodiment (second) the keyboard circuit that provides, wire and earth connection all need not connect the IO mouth, consequently only need the IO mouth resource of a N main control unit, can realize the keyboard circuit of a N button, have greatly saved IO mouth resource, have alleviateed the IO mouth burden of main control unit. Additionally, the embodiment of the utility model provides a keyboard circuit realizes that simple structure is reliable, and realizes low cost.
Based on the keyboard circuit provided in the above embodiment (b), in order to facilitate key detection, a preferred diode distribution manner is: a diode is respectively arranged at the crossing of a first row IO port control line and a first column wire which are distributed on a row line and a column line, and the crossing of the last row IO port control line and the last column wire in descending order; or, a diode is respectively arranged at the intersection of the IO port control line of the first row and the lead of the last column and at the intersection of the IO port control line of the last row and the lead of the first column in descending order.
The embodiment of the utility model provides a keyboard circuit structure that (third) provided is shown in FIG. 5, and concrete implementation structure includes:
n IO port control lines (P0.0-P0.n-1), N leads (L0-Ln-1), a grounding line Ln, N diodes (D1-Dn) and N key contacts less than or equal to NxN.
The N IO port control lines are respectively connected with the N IO ports.
The N IO port control lines are distributed as column lines, and the N conducting wires and the grounding wire Ln are distributed as row lines.
The N diodes are distributed at the intersection of the IO port control line and the lead, each row has one and only one diode, and each column has one and only one diode; the diodes are used for providing a low-level loop path for the lead at the intersection and isolating high level, so that the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection.
The key contacts less than or equal to NxN are distributed at other intersections of the IO port control line and the lead and intersections of the IO port control line and the grounding line Ln.
In a normal state, all the lines are not communicated, and the key contact is not communicated with all the lines at the intersection, when the key contact is pressed down, the IO port control line and the lead wire or the IO port control line and the grounding line Ln at the intersection where the pressed key contact is located are communicated through the pressed key contact.
It should be noted that fig. 5 is intended to illustrate the structure of the keyboard circuit provided in the above embodiment (c), and should not be construed as limiting the scope of the present invention. The grounding line Ln may be located in the N +1 th row shown in fig. 5, or may be located in any row. The distribution of the diodes is only required to satisfy one and only one for each row and each column. The number of the key contacts may be N as shown in fig. 5, or may be less than N.
Above-mentioned the embodiment of the utility model provides a keyboard circuit that (third) provided, wire and earth connection all need not connect the IO mouth, consequently only need the IO mouth resource of a N main control unit, can realize the keyboard circuit of a N button, have greatly saved IO mouth resource, have alleviateed the IO mouth burden of main control unit. Additionally, the embodiment of the utility model provides a keyboard circuit realizes that simple structure is reliable, and realizes low cost.
Based on the keyboard circuit provided in the above embodiment (c), in order to facilitate key detection, a preferred diode distribution manner is: a diode is respectively arranged at the intersection of a first row wire and a first column IO port control line distributed on row wires and column wires and at the intersection of a last row wire and a last column IO port control line in descending order; or, a diode is respectively arranged at the intersection of the first row wire and the last column of IO port control lines and at the intersection of the last row wire and the first column of IO port control lines in descending order.
The embodiment of the utility model provides a keyboard circuit structure that (D) provided is shown in FIG. 6, and concrete implementation structure includes:
n IO port control lines (P0.0-P0.n-1), N leads (L0-Ln-1), a grounding line Ln, N diodes (D1-Dn) and N key contacts less than or equal to NxN.
The N IO port control lines are respectively connected with the N IO ports.
The N IO port control lines and the grounding line Ln are distributed as column lines, and N conducting wires are distributed as row lines.
The N diodes are distributed at the intersection of the IO port control line and the lead, each row has one and only one diode, and each column has one and only one diode; the diodes are used for providing a low-level loop path for the lead at the intersection and isolating high level, so that the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection.
The key contacts less than or equal to NxN are distributed at other intersections of the IO port control line and the lead and between the IO port control line and the grounding line Ln.
If the key contacts are distributed between the IO port control line and the grounding line Ln, the key contacts are particularly distributed at the intersection of the outgoing line of the IO port control line and the outgoing line of the grounding line Ln.
In a normal state, all the lines are not communicated, and the key contact is not communicated with all the lines at the intersection or the junction, when the key contact is pressed down, an IO port control line and a lead at the intersection where the pressed key contact is located, or an IO port control line and a grounding line Ln at the junction are communicated through the pressed key contact.
It should be noted that fig. 6 is intended to illustrate the structure of the keyboard circuit provided in the above embodiment (d), and should not be construed as limiting the scope of the present invention. The grounding line Ln may be located in the N +1 th column shown in fig. 6, or may be located in any one of the columns. The distribution of the diodes is only required to satisfy one and only one for each row and each column. The number of the key contacts may be N as shown in fig. 6, or may be less than N.
Above-mentioned the keyboard circuit that embodiment (four) provided, wire and earth connection all need not connect the IO mouth, consequently only need the IO mouth resource of a N main control unit, can realize the keyboard circuit of a N button, have greatly saved IO mouth resource, have alleviateed the IO mouth burden of main control unit. Additionally, the embodiment of the utility model provides a keyboard circuit realizes that simple structure is reliable, and realizes low cost.
Based on the keyboard circuit provided in the above embodiment (d), in order to facilitate key detection, a preferred diode distribution manner is: a diode is respectively arranged at the intersection of a first row wire and a first column IO port control line distributed on row wires and column wires and at the intersection of a last row wire and a last column IO port control line in descending order; or, a diode is respectively arranged at the intersection of the first row wire and the last column of IO port control lines and at the intersection of the last row wire and the first column of IO port control lines in descending order.
The utility model also provides a keyboard, this keyboard includes the keyboard circuit in any above-mentioned embodiment. In addition, the keyboard also comprises keys, a keyboard shell and other existing hardware structures. The keyboard realized by using the keyboard circuit can realize N multiplied by N keys only by N IO ports, thereby greatly saving IO port resources and lightening the burden of the IO ports of the main control unit.
The utility model also provides an input device, this input device includes the keyboard circuit in any above-mentioned embodiment. The input device realized by using the keyboard circuit can realize N multiplied by N keys only by N IO ports, thereby greatly saving IO port resources and lightening the burden of the IO ports of the main control unit.
The following will describe the keyboard circuit implementation structure of the present invention in detail by taking a 16-key keyboard circuit as an example.
As shown in fig. 7, the 16-key keyboard circuit includes:
the 4 IO port control lines (P0.0-P0.3) are used as row lines and are respectively connected with 4 IO ports;
wires L0 to L3 serving as column lines, and a ground line L4 serving as a column line;
the row and column lines are arranged in 4 rows and 5 columns as shown in figure 6.
The 16-key keyboard circuit also comprises diodes D1-D4 which are respectively arranged at the intersections of the 1 st row, the 1 st column, the 2 nd row, the 2 nd column, the 3 rd row, the 3 rd column and the 4 th row, and the 4 th column. The anode of the diode is connected with the column line at the intersection, and the cathode of the diode is connected with the row line at the intersection, so that a low-level backflow path is provided for the same column line, and high level is isolated.
The 16-key keyboard circuit also includes 16 key contacts disposed at other intersections of the row and column lines.
Adopt the embodiment of the utility model provides a keyboard circuit structure realizes the keyboard circuit of above-mentioned 16 buttons, only needs 4 IO mouths, has greatly saved IO mouth resource.
When the 16-key keyboard circuit structure is adopted for key detection, a preferable detection mode is as follows:
first, it is detected whether or not the corresponding four key contacts on the 5 th column L4 are pressed. The specific detection mode is that 4 IO ports are set as an input mode, if a certain IO port is at a low level, it indicates that a key contact at a crossing of a row line corresponding to the IO port and L4 is pressed, if no IO port is at a low level, it indicates that no key is pressed on the L4 column, and a polling scanning mode is adopted to detect whether other key contacts are pressed.
When polling scanning, each IO port is enabled, firstly, the P0.0 output is enabled to be low level, and the other three IO ports are enabled to be high level. At this time, the L0 column is low level due to the existence of the diode D1, whether the lines P0.1, P0.2 and P0.3 are low level is detected, if the IO port corresponding to one of the lines P0.1, P0.2 and P0.3 is low level, the key contact at the intersection of the line and the L0 column is pressed, if none of the IO ports corresponding to P0.1, P0.2 and P0.3 is low level, the output of P0.1 is made low level, whether the key contact is pressed … … is detected in the above manner, and so on until the detection is completed.
It will be apparent to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A keyboard circuit, comprising:
the device comprises N IO port control lines, N leads and a ground wire, wherein the N IO port control lines are respectively connected with N IO ports;
the N IO port control lines are distributed as row lines, and the N leads and the grounding line are distributed as column lines;
the N diodes are distributed at the intersection of the IO port control line and the lead, each row is provided with one and only one diode, and each column is provided with one and only one diode;
the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection;
the key contacts are less than or equal to NxN and distributed at other intersections of the IO port control line and the lead and intersections of the IO port control line and the grounding line; in a normal state, the key contact is not communicated with all lines at the intersection, and when the key contact is pressed down, an IO port control line and a lead or an IO port control line and a ground line at the intersection where the pressed key contact is located are communicated through the key contact.
2. The keyboard circuit of claim 1, wherein the N diodes are distributed in a specific manner:
a diode is respectively arranged at the crossing of the IO port control line of the first row and the lead of the first column and the crossing of the IO port control line of the last row and the lead of the last column in descending order;
or,
and a diode is respectively arranged at the intersection of the IO port control line of the first row and the lead of the last column and at the intersection of the IO port control line of the last row and the lead of the first column in descending order.
3. A keyboard circuit, comprising:
the device comprises N IO port control lines, N leads and a ground wire, wherein the N IO port control lines are respectively connected with N IO ports;
the N IO port control lines and the grounding line are distributed as row lines, and the N conducting wires are distributed as column lines;
the N diodes are distributed at the intersection of the IO port control line and the lead, each row is provided with one and only one diode, and each column is provided with one and only one diode;
the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection;
the key contacts are less than or equal to NxN and are distributed at other intersections of the IO port control line and the lead and between the IO port control line and the grounding line;
if the key contacts are distributed between the IO port control line and the grounding line, particularly at the intersection of an outgoing line of the IO port control line and an outgoing line of the grounding line;
in a normal state, the key contact is not communicated with all lines at the intersection or the intersection, and when the key contact is pressed down, an IO port control line and a lead wire at the intersection where the pressed key contact is located or an IO port control line and a grounding line at the intersection are communicated through the key contact.
4. The keyboard circuit of claim 3, wherein the N diodes are distributed in a specific manner:
a diode is respectively arranged at the crossing of the IO port control line of the first row and the lead of the first column and the crossing of the IO port control line of the last row and the lead of the last column in descending order;
or,
and a diode is respectively arranged at the intersection of the IO port control line of the first row and the lead of the last column and at the intersection of the IO port control line of the last row and the lead of the first column in descending order.
5. A keyboard circuit, comprising:
the device comprises N IO port control lines, N leads and a ground wire, wherein the N IO port control lines are respectively connected with N IO ports;
the N IO port control lines are distributed as column lines, and the N conducting wires and the grounding wire are distributed as row lines;
the N diodes are distributed at the intersection of the IO port control line and the lead, each row is provided with one and only one diode, and each column is provided with one and only one diode;
the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection;
the key contacts are less than or equal to NxN and distributed at other intersections of the IO port control line and the lead and intersections of the IO port control line and the grounding line; in a normal state, the key contact is not communicated with all lines at the intersection, and when the key contact is pressed down, an IO port control line and a lead or an IO port control line and a ground line at the intersection where the pressed key contact is located are communicated through the key contact.
6. The keyboard circuit of claim 5, wherein the N diodes are distributed in a specific manner:
a diode is respectively arranged at the intersection of the first row of conducting wires and the first column of IO port control lines and at the intersection of the last row of conducting wires and the last column of IO port control lines in descending order;
or,
and a diode is respectively arranged at the intersection of the first row of wires and the last column of IO port control lines and at the intersection of the last row of wires and the first column of IO port control lines in descending order.
7. A keyboard circuit, comprising:
the device comprises N IO port control lines, N leads and a ground wire, wherein the N IO port control lines are respectively connected with N IO ports;
the N IO port control lines and the grounding line are distributed as column lines, and the N conducting wires are distributed as row lines;
the N diodes are distributed at the intersection of the IO port control line and the lead, each row is provided with one and only one diode, and each column is provided with one and only one diode;
the anode of each diode is connected with the lead at the intersection, and the cathode of each diode is connected with the IO port control line at the intersection;
the key contacts are less than or equal to NxN and are distributed at other intersections of the IO port control line and the lead and between the IO port control line and the grounding line;
if the key contacts are distributed between the IO port control line and the grounding line, particularly at the intersection of an outgoing line of the upper IO port control line and an outgoing line of the grounding line;
in a normal state, the key contact is not communicated with all lines at the intersection or the intersection, and when the key contact is pressed down, an IO port control line and a lead wire at the intersection where the pressed key contact is located or an IO port control line and a grounding line at the intersection are communicated through the key contact.
8. The keyboard circuit of claim 7, wherein the N diodes are distributed in a specific manner:
a diode is respectively arranged at the intersection of the first row of conducting wires and the first column of IO port control lines and at the intersection of the last row of conducting wires and the last column of IO port control lines in descending order;
or,
and a diode is respectively arranged at the intersection of the first row of wires and the last column of IO port control lines and at the intersection of the last row of wires and the first column of IO port control lines in descending order.
9. A keyboard, comprising:
a keyboard circuit as claimed in any one of claims 1 to 8.
10. An input device, comprising:
a keyboard circuit as claimed in any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012200799449U CN202472565U (en) | 2012-03-06 | 2012-03-06 | Keyboard circuit, keyboard and input device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012200799449U CN202472565U (en) | 2012-03-06 | 2012-03-06 | Keyboard circuit, keyboard and input device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202472565U true CN202472565U (en) | 2012-10-03 |
Family
ID=46920709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012200799449U Expired - Lifetime CN202472565U (en) | 2012-03-06 | 2012-03-06 | Keyboard circuit, keyboard and input device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202472565U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071817A (en) * | 2015-09-01 | 2015-11-18 | 攀枝花学院 | A keyboard circuit occupying four IO interfaces |
CN105183097A (en) * | 2015-10-27 | 2015-12-23 | 同方计算机有限公司 | Novel key system and key confirmation method |
CN110308707A (en) * | 2019-07-04 | 2019-10-08 | 无锡琼智信息科技有限公司 | Controller, intelligentized Furniture and key control method |
-
2012
- 2012-03-06 CN CN2012200799449U patent/CN202472565U/en not_active Expired - Lifetime
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071817A (en) * | 2015-09-01 | 2015-11-18 | 攀枝花学院 | A keyboard circuit occupying four IO interfaces |
CN105183097A (en) * | 2015-10-27 | 2015-12-23 | 同方计算机有限公司 | Novel key system and key confirmation method |
CN105183097B (en) * | 2015-10-27 | 2018-05-15 | 同方计算机有限公司 | A kind of confirmation method of key system input |
CN110308707A (en) * | 2019-07-04 | 2019-10-08 | 无锡琼智信息科技有限公司 | Controller, intelligentized Furniture and key control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102609072B (en) | The method that response button triggers and the portable set that adopts the method | |
CN101162905A (en) | Keyboard scanning circuit and method | |
CN202472565U (en) | Keyboard circuit, keyboard and input device | |
CN202956653U (en) | Smart home remote control system | |
CN206696833U (en) | Electronic handwriting device and electronic handwritten display system | |
CN202772864U (en) | Key and indicator light control circuit, and television | |
CN201319183Y (en) | Electronic device with the function of infrared touch | |
CN202841104U (en) | Button detection circuit | |
CN207611366U (en) | A kind of operation identification device and the intelligent terminal with the operation identification device | |
CN201689403U (en) | KVM switcher for touch screen | |
CN206400348U (en) | A kind of construction machinery controller | |
CN201113981Y (en) | Press key detection circuit | |
CN104202055B (en) | Key circuit for detecting key trigger sate in real time, gamepad and method | |
CN210515231U (en) | Two-in-one converter | |
CN202931275U (en) | Button circuit and electronic apparatus | |
CN202998073U (en) | Keyboard scanning circuit | |
CN102565694B (en) | Non-AD-port key detection circuit and detection method thereof | |
CN102857232A (en) | Key detection circuit and key detection method | |
CN209913942U (en) | High-definition matrix switching device for DVI or HDVI signal display | |
CN100573428C (en) | Touch-screen | |
CN202261244U (en) | Combined key scanning panel and home appliance | |
CN204131504U (en) | A kind of key circuit of real-time detection button trigger state and game paddle | |
CN204104023U (en) | Based on the quick supervisory keyboard of DVR | |
CN105260062A (en) | Touch device and driving method thereof | |
CN203882501U (en) | Intelligent digital electronic experiment box |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20121003 |