JPH0642276Y2 - Key input device - Google Patents

Key input device

Info

Publication number
JPH0642276Y2
JPH0642276Y2 JP1988065780U JP6578088U JPH0642276Y2 JP H0642276 Y2 JPH0642276 Y2 JP H0642276Y2 JP 1988065780 U JP1988065780 U JP 1988065780U JP 6578088 U JP6578088 U JP 6578088U JP H0642276 Y2 JPH0642276 Y2 JP H0642276Y2
Authority
JP
Japan
Prior art keywords
key
group
line group
read
binary data
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
Application number
JP1988065780U
Other languages
Japanese (ja)
Other versions
JPH01172134U (en
Inventor
和彦 海賀
Original Assignee
株式会社光電製作所
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 株式会社光電製作所 filed Critical 株式会社光電製作所
Priority to JP1988065780U priority Critical patent/JPH0642276Y2/en
Publication of JPH01172134U publication Critical patent/JPH01172134U/ja
Application granted granted Critical
Publication of JPH0642276Y2 publication Critical patent/JPH0642276Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Description

【考案の詳細な説明】 〔産業上の利用分野〕 本考案は、計器や制御器機へのデータ入力用などとして
利用されるキー入力装置に関するものであり、特に、少
ない信号線群のもとで多数のキーの配列を可能としたキ
ー入力装置に関するものである。
[Detailed Description of the Invention] [Industrial field of application] The present invention relates to a key input device used for inputting data to an instrument or a controller, and particularly under a small signal line group. The present invention relates to a key input device capable of arranging a large number of keys.

〔従来の技術〕[Conventional technology]

計器や制御器機などへのデータ入力装置として利用され
るキー入力装置では、行線群と列線群とがマトリックス
状に配列されている。各線群の交差箇所には、キー群が
マトリックス状に配列されており、このキー群の一つを
操作することにより、各線群に電気的な状態の変化、例
えば電位の変化を生じさせる。このキー操作によって生
じた電位の変化が各線群が接続される各入力ポートを介
して2値データとして上位のプロセッサなどに読取ら
れ、この2値データ群からどのキーが操作されたかが検
出され、そのキーに対応して定義されているデータの入
力が行われる。
2. Description of the Related Art In a key input device used as a data input device for instruments and controllers, row line groups and column line groups are arranged in a matrix. Key groups are arranged in a matrix at intersections of the line groups, and by operating one of the key groups, a change in electrical state, for example, a change in potential, is caused in each line group. The change in the potential caused by this key operation is read as binary data by the host processor or the like via each input port to which each line group is connected, and which key is operated is detected from this binary data group, Data defined corresponding to the key is input.

上述のようなキー入力装置としては、スキャン方式のも
のとノンスキャン方式のものとに大別される。スキャン
方式のものは、交差箇所の行線の一つと列線の一つとを
キー操作によって導通させると共に、行線群又は列線群
の一方、例えば列線群について、1本ずつ順次所定の電
位に変化させてゆき、これに同期して所定電位に変化し
た行線群の一つを検出することにより、操作されたキー
群の一つを検出するように構成されている。
The above-mentioned key input device is roughly classified into a scanning type and a non-scanning type. In the scan type, one of the row lines and one of the column lines at the intersection is made conductive by a key operation, and one of the row line group or the column line group, for example, the column line group is sequentially supplied with a predetermined potential. It is configured to detect one of the operated key groups by detecting one of the row line groups that has changed to a predetermined potential in synchronization with this.

これに対して、ノンスキャン方式のキー入力装置では、
キー操作によって交差箇所の行線群の一つと列線群の一
つとを同時に接地電位などの基準電位に変化化させると
共に、所定の電位に変化した行線群の一つと列線群の一
つとの組合せから操作されたキー群の一つを検出するよ
うに構成されている。
On the other hand, in the non-scan type key input device,
One of the row line group and one of the column line group at the intersection is changed to the reference potential such as the ground potential at the same time by the key operation, and one of the row line group and one of the column line group are changed to a predetermined potential. Is configured to detect one of the operated key groups from the combination.

上記スキャン方式のキー入力装置では、列線群を1本ず
つ所定電位に変化させてゆく(走査する)ための出力ポ
ートと、この列線群の走査に同期して所定電位に変化し
た行線群の一つを検出するための入力ポートとが設置さ
れる。また、ノンスキャン方式のキー入力装置では、基
準電位に変化した行線群の一つと列線群の一つとを検出
するために、行線群と列線群のそれぞれが接続される2
個の入力ポートが設置される。各入力ポートの2値デー
タは、所定ビット幅の並列データとしてバスを介して上
位装置のプロセッサに読取られ処理される。
In the above-mentioned scan-type key input device, an output port for changing (scanning) each column line group to a predetermined potential one by one, and a row line changed to a predetermined potential in synchronization with the scanning of this column line group. An input port for detecting one of the groups is installed. Further, in the non-scan type key input device, each of the row line group and the column line group is connected in order to detect one of the row line group and one of the column line group which have changed to the reference potential.
Input ports are installed. The binary data of each input port is read as parallel data having a predetermined bit width by the processor of the host device via the bus and processed.

〔考案が解決しようとする課題〕[Problems to be solved by the device]

上述したキー入力装置は、スキャン方式とノンスキャン
方式のいずれを採用する場合でも、行線群や列線群の本
数は、キー群の総数と共に増加する。一定のキー群の総
数のもとで行線群と列線群の本数を同数とした場合に両
者の総和は最小になる。この場合、各線群の本数はキー
群の総数のほぼ平方根に比例して増加する。この行線群
や列線群の増加は、フラットケーブル、コネクタ、バス
などのハードウエアの大型化・複雑化や、プロセッサの
処理対象となる入力データのビット幅の増大を招くとい
う問題がある。特に、汎用のプロセッサが処理するデー
タ幅が8ビット、16ビットなどのように8の倍数となっ
ているため、キー群の総数64から僅かに増加させる場合
でも、プロセッサの処理能力を8ビットから16ビットま
で高めることが必要になり、装置が高価格になるという
問題がある。
In the above-described key input device, the number of row line groups and column line groups increases with the total number of key groups regardless of whether the scanning method or the non-scanning method is adopted. When the number of row line groups and the number of column line groups are the same under the fixed total number of key groups, the sum of both is minimum. In this case, the number of each line group increases almost in proportion to the square root of the total number of key groups. The increase in the row line group and the column line group causes problems such as increase in size and complexity of hardware such as flat cables, connectors, and buses, and increase in bit width of input data to be processed by the processor. In particular, the data width processed by a general-purpose processor is a multiple of 8 such as 8 bits and 16 bits, so even if the total number of key groups is increased slightly from 64 bits, There is a problem that the device becomes expensive because it needs to be increased to 16 bits.

従って、本発明の目的は、行線群や列線群の本数と、入
力データのビット幅とを節減して低廉化を実現したキー
入力装置を提供することにある。
Therefore, an object of the present invention is to provide a key input device which realizes cost reduction by reducing the number of row line groups and column line groups and the bit width of input data.

〔課題を解決するための手段〕[Means for Solving the Problems]

上記課題を解決する本考案のキー入力装置は、上記スキ
ャン方式とノンスキャン方式を併用することにより各線
群の本数と入力データのビット幅とを低減するように構
成されている。
The key input device of the present invention for solving the above problem is configured to reduce the number of lines in each line group and the bit width of input data by using both the scan system and the non-scan system.

すなわち、本考案のキー入力装置は、行線群と列線群の
それぞれが接続される第1,第2の入力ポートと、一方の
線群から分岐された走査線群が接続される出力ポート
と、スキャン方式の第1のキー群と、ノンスキャン方式
の第2のキー群と、出力ポートを介する走査を実行させ
ると共に、上記第1,第2の入力ポートから2値データ群
を読取って処理するプロセッサとを備えている。
That is, the key input device of the present invention comprises a first and a second input port to which a row line group and a column line group are respectively connected, and an output port to which a scanning line group branched from one line group is connected. Scanning through the scan type first key group, the non-scan type second key group, and the output port, and reading the binary data group from the first and second input ports. And a processor for processing.

そして、このプロセッサは、第1,第2の入力ポートの2
値データ群のうち少なくとも一方を走査に同期して読取
りこれと前後して少なくとも他方を前記走査を行うこと
なく読取ることと、各入力ポートから読取った2値デー
タのそれぞれに基準値が含まれるか否かを判定すること
と、この判定結果に応じて第1,第2のキー群のうちどち
らが操作されたかを判定することと、この判定結果と前
記各入力ポートから読取った2値データとに基づき操作
されたキーを検出する。
Then, this processor is provided with two of the first and second input ports.
At least one of the value data group is read in synchronization with scanning, at least the other is read without performing the scanning, and whether the binary data read from each input port includes a reference value. It is determined whether or not it is determined which one of the first and second key groups has been operated according to the determination result, and the determination result and the binary data read from each of the input ports. Based on this, the operated key is detected.

〔作用〕[Action]

本考案のキー入力装置によれば、第1,第2の入力ポート
の2値データ群のうち少なくとも一方を走査に同期して
読取るスキャン方式のデータ入力モードと、少なくとも
他方を走査を行うことなく読取るというノンスキャン方
式のデータ入力モードが時間をずらして(時分割的に)
行われる。そして、各データ入力モードによって読取ら
れた2値データ群のそれぞれに基準値(有為な値)が含
まれるか否かに応じて第1,第2のキー群のうちのどちら
が操作されたかが判定され、この判定結果に基づき操作
キーが検出される。このような構成によって、行線と列
線の本数が節減される。
According to the key input device of the present invention, a scan type data input mode in which at least one of the binary data groups of the first and second input ports is read in synchronization with scanning, and at least the other is not scanned. Non-scan data input mode of reading is staggered (in time division)
Done. Then, it is determined which of the first and second key groups has been operated depending on whether or not each of the binary data groups read in each data input mode includes a reference value (significant value). Then, the operation key is detected based on the determination result. With such a configuration, the number of row lines and column lines can be reduced.

以下、本考案を実施例と共に更に詳細に説明する。Hereinafter, the present invention will be described in more detail with reference to examples.

〔実施例〕〔Example〕

第1図は、本考案の一実施例のキー入力装置のうち上位
装置のプロセッサを除くキースイッチ部10の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of a key switch unit 10 of a key input device according to an embodiment of the present invention, excluding a processor of a host device.

12は8本の行線群、13は8本の列線群、21は行線群12が
接続される第1の入力ポート、22は列線群が接続される
第2の入力ポート、23は列線群13から分岐された8本の
走査線群が接続される出力ポートである。また、M1は行
線群12と列線群13との交差箇所に配列された最大64個の
キーから成る第1のキー群、M2は同じく行線群12と列線
群13との交差箇所に配列された最大64個のキーから成る
第2のキー群である。
12 is a group of 8 row lines, 13 is a group of 8 column lines, 21 is a first input port to which the row line group 12 is connected, 22 is a second input port to which a column line group is connected, 23 Is an output port to which eight scanning line groups branched from the column line group 13 are connected. M1 is the first key group consisting of a maximum of 64 keys arranged at the intersection of the row line group 12 and the column line group 13, and M2 is also the intersection of the row line group 12 and the column line group 13. It is a second key group consisting of a maximum of 64 keys arranged in the.

また、11はコネクタ、14は接地線、20はプリント配線基
板、24は行線群12と列線群13とに接続されるプルアップ
抵抗器、25はダイオードである。
Further, 11 is a connector, 14 is a ground wire, 20 is a printed wiring board, 24 is a pull-up resistor connected to the row line group 12 and the column line group 13, and 25 is a diode.

第1のキー群M1を構成する各キーは、第2図(b)に示
すように、それぞれの操作によってそれぞれが配置され
ている交差箇所の行線群12の一つと列線群13の一つとを
導通させるように構成されている。第2のキー群M2を構
成する各キーは、第2図(c)に示すように、それぞれ
の操作によってそれぞれが配置されている交差箇所の行
線群12の一つと列線群13の一つとを接地電位線14に接続
される接地面14Aに接触させることにより、交差箇所の
行線と列線の電位を共に接地電位に変化させるように構
成されている。
Each key constituting the first key group M1 is, as shown in FIG. 2 (b), one of the row line group 12 and the column line group 13 at the intersection where each key is arranged by each operation. It is configured to make the two electrically conductive. Each key constituting the second key group M2 is, as shown in FIG. 2 (c), one of the row line group 12 and one of the column line group 13 at the intersection where each key is arranged by each operation. By contacting the ground surface 14A connected to the ground potential line 14, the potentials of the row line and the column line at the intersection are both changed to the ground potential.

出力ポート23に接続される走査線群には、図示しない上
位装置などの制御のもとに1本ずつ順次接地電位に変化
せしめられる。この走査や、キー操作に伴ってプルアッ
プ抵抗器24によって適宜な正電位、例えば5ボルトに保
たれている行線群12と列線群の電位が接地電位に変化す
る。この例では、接地電位を論理の“1"、5ボルトを論
理の“0"とする。キー操作によって発生した有為な“1"
を一つだけ含む8ビット幅の2値データ群が第1,第2の
入力入力ポート21,22とデータバスとを介して図示しな
いプロセッサに読取られ、処理される。
The scanning line group connected to the output port 23 is sequentially changed to the ground potential one by one under the control of a host device (not shown) or the like. Along with this scanning and key operation, the pull-up resistor 24 changes the potential of the row line group 12 and the column line group, which are maintained at an appropriate positive potential, for example, 5 V, to the ground potential. In this example, the ground potential is logic "1" and 5 volts is logic "0". Significant "1" generated by key operation
An 8-bit wide binary data group including only one is read and processed by a processor (not shown) via the first and second input input ports 21 and 22 and the data bus.

このプロセッサによる入力ポートからのデータの読取り
とこの読取りデータに基づくキー入力データの取り込み
処理とについて説明する。
The reading of data from the input port by this processor and the process of fetching key input data based on this read data will be described.

ステップA. まず、プロセッサは、出力ポート23と走査線群とを介し
て列線群13の走査を開始させ、この走査と同期して第1
の入力ポート21から8個の8ビット幅の2値データ群を
順次読取り一時的に保存する。
Step A. First, the processor starts the scanning of the column line group 13 via the output port 23 and the scanning line group, and the first line is synchronized with this scanning.
Eight 8-bit wide binary data groups are sequentially read out from the input port 21 of and are temporarily stored.

ステップB. 次に、プロセッサは、ステップAで第1の入力ポート21
から読取った8個の8ビット幅の2値データ群を検査
し、これらのいずれにも有為な“1"が含まれていなけれ
ば、すなわち、読取った8個の8ビット幅のデータがい
ずれもオール“0"(〔00〕H)であれば、第1のキー群M
1と第2のキー群M2のいずれにおいてもキー操作が行わ
れなかったと判定し、次のキー入力検出処理のための初
期状態に復帰する。すなわち、第1のキー群M1か第2の
キー群M2のいずれかでキー操作が行われていたとすれ
ば、行線群の一つに必ず有為な“1"が出現するはずだか
らである。
Step B. Next, in step A, the processor determines the first input port 21
8 binary data groups of 8 bit width read from are inspected, and if none of them contains a significant "1", that is, 8 read data of 8 bit width is Is all “0” ([00] H ), the first key group M
It is determined that no key operation has been performed in either 1 or the second key group M2, and the initial state for the next key input detection process is restored. That is, if a key operation is performed with either the first key group M1 or the second key group M2, a significant "1" must appear in one of the line line groups. .

ステップC. プロセッサは、ステップAで第1の入力ポート21から読
取った8個の8ビット幅の2値データ群のいずれかに有
為な“1"が含まれていれば、第1のキー群M1か第2のキ
ー群M2のいずれかでキー操作が行われたと判定する。こ
の場合、プロセッサは、出力ポート23からの走査を行う
ことなく、第2の入力ポート22から8ビット幅の2値デ
ータを読取る。
Step C. If the processor includes a significant "1" in any of the eight 8-bit wide binary data groups read from the first input port 21 in Step A, the processor It is determined that a key operation has been performed on either the group M1 or the second key group M2. In this case, the processor reads 8-bit wide binary data from the second input port 22 without scanning from the output port 23.

ステップD. 次に、プロセッサは、ステップCで第2の入力ポート22
から読取った8ビット幅の2値データを検査し、これに
有為な“1"が含まれていなければ、すなわちオール“0"
であれば、第1のキー群M1でキー操作が行われたと判定
する。何故ならば、いずれかのキー群でキー操作が行わ
れたことはステップCで既に判明しており、しかもこの
キー操作が第2のキー群で行われたとすれば第2の入力
ポート22から読取った2値データがオール“0"とはなり
得ないからである。プロセッサは、上記判定結果に基づ
き、第1のキー群M1のキー操作による入力データをステ
ップAで第1の入力ポート21から読取って保存中の8個
の2値データ群に基づいて取り込む。このデータの取り
込みは、まず、8回に分けて読取った8個のデータのう
ち何個目のデータが有為な“1"を含むかということから
列線の番号を検出し、次にこのデータが何ビット目に有
為な“1"を含むかということから行線の番号を検出し、
このようにして検出した各番号の組合せから第1のキー
群M1で操作されたキー番号を確定し、このようにして確
定したキー番号に対応して予め定義されているデータを
キー番号をアドレスとするROMなどから入力データとし
て読取ることなどによって行われる。
Step D. Next, the processor proceeds to the second input port 22 in Step C.
Check the binary data of 8-bit width read from, and if it does not contain significant "1", that is, all "0"
If so, it is determined that the key operation has been performed with the first key group M1. Because it is already known in step C that a key operation is performed with any key group, and if this key operation is performed with the second key group, the second input port 22 This is because the read binary data cannot be all "0". Based on the determination result, the processor reads the input data by the key operation of the first key group M1 from the first input port 21 in step A and fetches it based on the eight binary data groups which are being stored. To capture this data, first of all, the column line number is detected based on which of the 8 data read in 8 times contains the significant "1", and then this The number of the row line is detected from what bit the data contains a significant "1",
The key number operated by the first key group M1 is determined from the combination of the numbers thus detected, and the data defined in advance corresponding to the determined key number is addressed to the key number. It is performed by reading as input data from a ROM or the like.

ステップE. プロセッサは、ステップCで第2の入力ポート22から読
取った8ビット幅の2値データ中に有為な“1"が含まれ
ていれば、第2のキー群M2でキー操作が行われたと判定
する。何故ならば、第2の入力ポート22からのデータの
読取り時には出力ポート23からの走査が行われていない
ので、たとえ第1のキー群M1でキー走査が行われたとし
ても有為な“1"は出現し得ないからである。プロセッサ
は、このように判定すると、ステップAで第1の入力ポ
ート21から読取った8個の2値データのうち有為な“1"
を含むものを抽出し、このデータが何ビット目に有為な
“1"を含んでいるかということから行線の番号を検出す
る。続いて、プロセッサは、ステップCで入力ポート22
から読取った8ビット幅の2値データが何ビット目に有
為な“1"を含んでいるかということから列線の番号を検
出し、このようにして検出した各番号の組合せから第2
のキー群で操作されたキーの番号を確定し、このキー番
号に対応して定義されている入力データを取り込む。
Step E. If the significant 8-bit binary data read from the second input port 22 in Step C contains a significant "1", the processor operates the second key group M2. It is determined that it has been performed. Because the scanning from the output port 23 is not performed at the time of reading the data from the second input port 22, even if the key scanning is performed with the first key group M1, the significant "1" is generated. "Is not possible to appear. When the processor makes such a judgment, the processor judges that the significant “1” among the eight binary data read from the first input port 21 in step A.
The line number is detected from the number of bits in which this data contains a significant "1". Subsequently, the processor proceeds to the input port 22 in step C.
The number of the column line is detected from what bit the binary data of 8-bit width read from contains the significant "1", and the second number is detected from the combination of the numbers thus detected.
The number of the key operated by the key group of is confirmed and the input data defined corresponding to this key number is taken in.

以上、まず、出力ポート23からの走査と同期して第1の
入力ポート21からデータ群を読取り、次に走査を行うこ
となく第2の第2のポートからデータを読取る場合を例
にとって本考案を説明した。しかしながら、この読取り
の順次を逆にしてもよい。
As described above, the case where the data group is first read from the first input port 21 in synchronization with the scanning from the output port 23 and then the data is read from the second second port without performing the scanning Explained. However, this reading sequence may be reversed.

また,データバスの幅が16ビットである場合などは、常
に第1,第2の入力ポート21,22から同時にデータを読取
ると共に、不要な部分については無視したり廃棄したり
する構成としてもよい。
In addition, when the width of the data bus is 16 bits, the data may always be read simultaneously from the first and second input ports 21 and 22, and unnecessary portions may be ignored or discarded. .

本考案のキーボードは、スキャン方式とノンスキャン方
式とを組合せているため、第2のキー群M2において、同
時に操作された2個のキーの対をスキャンのタイミング
に基づき識別することができるという副次的な効果が奏
される。
Since the keyboard of the present invention combines the scanning method and the non-scanning method, it is possible to identify the pair of two keys operated simultaneously in the second key group M2 based on the scanning timing. The following effects are produced.

これを第2図(a)を参照して例示すると、第2のキー
群M2において、キー1A(1,Aはそれぞれ対応の行線,列
線を示す)とキー3C(同上)のキー対が操作された場合
と、キー対3A,11Cが操作が操作された場合でも、列線A
〜Hがキー群M1についてスキャンされているため、どの
列線をスキャンした時点でどの行線に“1"が出現したか
によって上記2種類のキー対を弁別できる。
To illustrate this with reference to FIG. 2 (a), in the second key group M2, the key pair of the key 1A (1, A respectively indicate corresponding row and column lines) and the key 3C (same as above). Column line A when the key pair 3A, 11C is operated.
Since ~ H is scanned for the key group M1, the above two types of key pairs can be discriminated by which column line scans "1" in which row line.

〔考案の効果〕[Effect of device]

以上詳細に説明したように、本考案のキー入力装置は、
スキャン方式のキー群とノンスキャン方式のキー群とを
併用さる構成であるから、少ない行線と列線の本数のも
とで、多数のキーを配列することができ、装置の低廉化
が実現できるという効果が奏される。
As described in detail above, the key input device of the present invention is
Since the configuration uses both scan-type key groups and non-scan-type key groups, it is possible to arrange a large number of keys with a small number of row lines and column lines, and realize a low-cost device. The effect of being able to be played is exhibited.

【図面の簡単な説明】[Brief description of drawings]

第1図は、本考案の一実施例のキー入力装置のうち上位
装置のプロセッサを除くキースイッチ部の構成を示すブ
ロック図、第2図は第1,第2のキー部の詳細を示すブロ
ック図である。 12……行線群 13……列線群 14……接地線 M1……第1のキー群 M2……第2のキー群 21……第1の入力ポート 22……第2の入力ポート 23……出力ポート 14
FIG. 1 is a block diagram showing a configuration of a key switch unit excluding a processor of a host device in a key input device according to an embodiment of the present invention, and FIG. 2 is a block diagram showing details of first and second key units. It is a figure. 12 …… Row line group 13 …… Column line group 14 …… Grounding wire M1 …… First key group M2 …… Second key group 21 …… First input port 22 …… Second input port 23 ...... Output port 14

Claims (2)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】行線群と列線群のうちの一方の線群が接続
される第1の入力ポートと、 行線群と列線群のうちの他方の線群が接続される第2の
入力ポートと、 前記一方又は他方の線群から分岐された走査線群が接続
される出力ポートと、 前記一方の線群と他方の線群との交差箇所に配置され、
操作により各交差箇所の一方の線群の一つと他方の線群
の一つとの間を導通させる第1のキー群と、 前記一方の線群と他方の線群との交差箇所に配置され、
操作により各交差箇所の一方の線群の一つと他方の線群
の一つの電位を基準値に変化させる第2のキー群と、 前記出力ポートに接続された走査線群の電位を1本ずつ
順次前記基準値に変化させる走査を実行させると共に、
前記第1,第2の入力ポートから前記基準値であるか否か
によって弁別される2値データを読取るプロセッサとを
備え、 前記プロセッサは、 前記第1,第2の入力ポートの2値データのうち少なくと
も一方を前記走査に同期して読取りこれと前後して少な
くとも他方を前記走査を行うことなく読取ることと、 前記各入力ポートから読取った2値データのそれぞれに
ついて前記基準値が含まれるか否かを判定することと、 前記判定結果に応じて前記第1,第2のキー群のうちどち
らが操作されたかを判定し、この判定結果と前記各入力
ポートから読取った2値データとに基づき操作されたキ
ーを検出することを特徴とするキー入力装置。
1. A first input port to which one of the row line group and the column line group is connected, and a second input port to which the other line group of the row line group and the column line group is connected. An input port, an output port to which a scanning line group branched from the one or the other line group is connected, and arranged at the intersection of the one line group and the other line group,
A first key group that conducts between one of the line groups and one of the other line groups at each intersection by operation, and is arranged at the intersection of the one line group and the other line group,
A second key group that changes one potential of one line group and the other line group of each intersection to a reference value by operation, and one potential of each scanning line group connected to the output port. While performing a scan to sequentially change to the reference value,
A processor for reading binary data discriminated according to whether or not it is the reference value from the first and second input ports, wherein the processor stores binary data of the first and second input ports. At least one of them is read in synchronization with the scanning, at least the other is read without performing the scanning, and whether the reference value is included in each of the binary data read from each of the input ports. It is determined whether or not one of the first and second key groups has been operated according to the determination result, and the operation is performed based on the determination result and the binary data read from each of the input ports. A key input device characterized by detecting a generated key.
【請求項2】請求項1において、 前記プロセッサは、 A.前記走査と同期して前記第1の入力ポートから2値デ
ータ群を読取り、 B.前記走査に同期して前記第1の入力ポートから読取っ
た2値データ群のいずれにも前記基準値が含まれていな
ければ、キー操作がなかったと判定し、 C.前記各走査に同期して前記第1の入力ポートから読取
った2値データ群のいずれかに前記基準値が含まれてい
れば、前記走査を行わせることなく前記第2の入力ポー
トから2値データを読取り、 D.前記第2の入力ポートから読取った2値データ中に前
記基準値が含まれていなければ前記第1のキー群の操作
があったと判定してこの操作されたキーを前記Aで前記
第1の入力ポートから読取った2値データ群に基づき検
出し、 E.前記第2の入力ポートから読取った2値データ中に前
記基準値が含まれていれば、前記第2のキー群の操作が
あったと判定してこの操作されたキーを前記Aで第1の
入力ポートから読取った2値データ群と前記Cで第2の
入力ポートから読取った2値データとの組合せに基づき
検出することを特徴とするキー入力装置。
2. The processor according to claim 1, wherein the processor: A. reads the binary data group from the first input port in synchronization with the scan, and B. synchronizes with the scan in the first input port. If the reference value is not included in any of the binary data group read from, it is determined that there is no key operation, and C. Binary data read from the first input port in synchronization with each scan. If any one of the groups includes the reference value, the binary data is read from the second input port without performing the scanning, and D. In the binary data read from the second input port, If the reference value is not included in the above, it is determined that the first key group has been operated, and the operated key is detected in A based on the binary data group read from the first input port. , E. Read from the second input port When the reference value is included in the binary data, it is determined that the second key group has been operated, and the operated key is read from the first input port by A in the binary data group. And a binary input data read from the second input port in the above C, for detection based on the combination.
JP1988065780U 1988-05-20 1988-05-20 Key input device Expired - Lifetime JPH0642276Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1988065780U JPH0642276Y2 (en) 1988-05-20 1988-05-20 Key input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1988065780U JPH0642276Y2 (en) 1988-05-20 1988-05-20 Key input device

Publications (2)

Publication Number Publication Date
JPH01172134U JPH01172134U (en) 1989-12-06
JPH0642276Y2 true JPH0642276Y2 (en) 1994-11-02

Family

ID=31291207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1988065780U Expired - Lifetime JPH0642276Y2 (en) 1988-05-20 1988-05-20 Key input device

Country Status (1)

Country Link
JP (1) JPH0642276Y2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5475222A (en) * 1977-11-29 1979-06-15 Omron Tateisi Electronics Co Book mat-system keyboard
JPS6038729B2 (en) * 1981-08-11 1985-09-03 株式会社日立製作所 Input processing method
JPS6093542A (en) * 1983-10-27 1985-05-25 Tokyo Electric Co Ltd Keyboard device

Also Published As

Publication number Publication date
JPH01172134U (en) 1989-12-06

Similar Documents

Publication Publication Date Title
CA1229420A (en) Automatic polling sequence for modular computer system with expansion bus
EP0063800A2 (en) Keyboard apparatus
JP2501746B2 (en) Disk drive
US4222038A (en) Microcomputer keyboard input circuitry
US4667181A (en) Keyboard data input assembly
US4888600A (en) Keyboard arrangement with ghost key condition detection
JPH0642276Y2 (en) Key input device
US20050001811A1 (en) Coordinate detecting method and system for touch panel
US5702625A (en) Encoder key input device for a microwave oven and interrupt processing method using the same
JPS6362765B2 (en)
JPH06149443A (en) Keyboard
JP3050356B2 (en) Tablet and driving method
EP0849737A2 (en) Improvements in or relating to electronic systems
JPH08278898A (en) Cpu deciding device
CA1333924C (en) Keyboard
JPS5917631A (en) Input device
US6642733B1 (en) Apparatus for indentifying defects in electronic assemblies
KR0168789B1 (en) Key scan circuit and its controlling method
CN117706237A (en) Matrix keyboard detection device, method, equipment and storage medium
KR19980048984A (en) Signal cable to detect the error of connection
JPS5935226A (en) Keyboard input circuit
JPS59171237A (en) Data transfer system
KR900000112B1 (en) Reading method and circuit of keyboard's key inputing
JPH09160706A (en) Keyboard device
JPH05274067A (en) Information processor