JPS5917631A - Input device - Google Patents

Input device

Info

Publication number
JPS5917631A
JPS5917631A JP57128160A JP12816082A JPS5917631A JP S5917631 A JPS5917631 A JP S5917631A JP 57128160 A JP57128160 A JP 57128160A JP 12816082 A JP12816082 A JP 12816082A JP S5917631 A JPS5917631 A JP S5917631A
Authority
JP
Japan
Prior art keywords
switch
switches
buffer
decoder
open
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.)
Pending
Application number
JP57128160A
Other languages
Japanese (ja)
Inventor
Hajime Takamatsu
高松 一
Ryoichi Sakai
良一 酒井
Katsuhisa Kato
勝久 加藤
Katsuhiro Koga
古賀 克宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tektronix Japan Ltd
Original Assignee
Sony Tektronix Corp
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 Sony Tektronix Corp filed Critical Sony Tektronix Corp
Priority to JP57128160A priority Critical patent/JPS5917631A/en
Publication of JPS5917631A publication Critical patent/JPS5917631A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To obtain a small-sized and unexpensive device with low power consumption by connecting one contact of respective switches in common through a diode in plural switch groups and a keyboard to be controlled by a microprocessor or the like. CONSTITUTION:Signals selecting switch groups 22-26 and a keyboard 46 is inputted from the microprocessor to a decoder 34 through an address and a data bus. Any one of signals V(-)-V6 is outputted from the decoder 34. If the signal V(-) is outputted, the signal is inputted only to the switch group 22 and a signal corresponding to the state of the switch is inputted to a buffer 42 through diodes 36-phi-36-3 and then inputted to the microprocessor through data buses D(-)-D3. Since only one buffer 42 satisfies the operation of many switch groups and a key group, the structure of the device can be simplified and reduced in size.

Description

【発明の詳細な説明】 本発明はマイクロプロセッサ等により制御される電子機
器の入力装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an input device for electronic equipment controlled by a microprocessor or the like.

マイクロプロセッサ(以下、単にμPという)等の処理
装置を含んだ電子装置が一般化している。
2. Description of the Related Art Electronic devices including processing devices such as microprocessors (hereinafter simply referred to as μP) have become commonplace.

このような電子装置は第1図に示す如く、パス(データ
、アドレス及び制御バスを含む)10に接続されたμP
12、ランダム・アクセス・メモリ(以下単(−RAM
という)14、リード・オンリ・メモリ(以下単(−R
OMという)16及び入力装置i1Bfmより、例えば
波形記憶装置20の種々の設定を制御したり、測定結果
を処理している。
Such an electronic device includes a μP connected to a path 10 (including data, address and control buses) as shown in FIG.
12. Random access memory (hereinafter simply (-RAM)
) 14, read-only memory (hereinafter simply (-R)
OM) 16 and input device i1Bfm, for example, control various settings of the waveform storage device 20 and process measurement results.

なお、RAM14はμP12の一時記憶装置として動作
し、ROM16はμP12用のプログラムを記憶してい
る。入力装置18としてキーボードが一般に利用される
。このキーボードは、複数のスイッチ(キー)を行列(
=配置し、各スイッチを所定順序に走査して、スイッチ
の開閉状態を検知することにより、キーボード回路を簡
略化している。キーボードのスイッチが押される(閉じ
られる)のは、操作者が各設定を行なうときのみなので
、初めの設定に閉じられたスイッチは、別の設定の際に
は開状態となっている。よって、初めの設定のスイッチ
の閉状態が次の設定にまで維持され、次の設定に悪影響
を及ぼすことがない。
Note that the RAM 14 operates as a temporary storage device for the μP12, and the ROM 16 stores programs for the μP12. A keyboard is generally used as the input device 18. This keyboard has multiple switches (keys) in a matrix (
The keyboard circuit is simplified by scanning each switch in a predetermined order and detecting the open/closed state of the switch. The switches on the keyboard are pressed (closed) only when the operator makes each setting, so the switches that are closed for the first setting are in the open state for another setting. Therefore, the closed state of the switch at the initial setting is maintained until the next setting, and the next setting is not adversely affected.

ところで、波形記憶装置20やオシロスコープ等の電子
測定装置においては、垂直感度や水平掃引速度の設定用
の入力装置18には、キーボードよりも回転スイッチの
方が、従来の測定装置と同じ操作でよく便利である。し
かし、μPを利用した装置では、人力装置18の出力を
μP121mバス10を介して伝送しなければならず、
また回転スイッチ等のスイッチは開閉状態が一度設定さ
れると、次に設定されるまでその開閉状態を維持する。
By the way, in electronic measuring devices such as the waveform storage device 20 and oscilloscope, it is better to use a rotary switch as the input device 18 for setting vertical sensitivity and horizontal sweep speed than a keyboard, which requires the same operation as in conventional measuring devices. It's convenient. However, in a device using μP, the output of the human-powered device 18 must be transmitted via the μP121m bus 10.
Furthermore, once an open/closed state of a switch such as a rotary switch is set, it remains open/closed until it is set next time.

第2図は、このようなスイッチをバス10(−接続した
場合の回路図である。スイッチ群22〜26は夫々複数
のスイッチを有しており、これらスイッチの一方の接点
は(フローティング)接地され、他方の接点はバス10
に接続される。即ち、スイッチ22−0.24−0.2
6−0はバス10のデータ線DHに接続され、以下同様
(二各スイッチは各バス線(二図示の如く接続される。
FIG. 2 is a circuit diagram when such switches are connected to the bus 10 (-). Each of the switch groups 22 to 26 has a plurality of switches, and one contact of these switches is connected to the (floating) ground. and the other contact is connected to bus 10
connected to. That is, switch 22-0.24-0.2
6-0 is connected to the data line DH of the bus 10, and so on (2).Each switch is connected to each bus line (2) as shown.

ここで例えば、スイッチ群22及び24は夫々チャンネ
ル1及び2の垂直感度設定用であり、スイッチ群26は
水平掃引速度設定用である。まず、スイッチ群24及び
26の全スイッチが開状態であれば、スイッチ群22の
各スイッチの開閉状態がバス10を介してμP12に伝
送される。即ち、スイッチが開状態ならば、抵抗器を介
して正電圧(論理「1」)がバス線に印加し、閉状態な
らばバス線に接地電圧(論理「0」)が印加する。次に
スイッチ群24及び26を設定する際、スイッチ群22
は開閉状態が維持されたままなので、μP12はスイッ
チ群24及び26の開閉状態を正確に検知できない。仮
えば、スイッチ22−K及び22−2が閉状態なら、バ
ス線10−0及び10−2はスイッチ24−n、24−
2.26−ガ及び26−2の開閉状態(二量体なく常(
二接地電圧(rob)となってしまう。
Here, for example, switch groups 22 and 24 are for setting the vertical sensitivity of channels 1 and 2, respectively, and switch group 26 is for setting the horizontal sweep speed. First, if all the switches in the switch groups 24 and 26 are open, the open/closed state of each switch in the switch group 22 is transmitted to the μP 12 via the bus 10. That is, if the switch is open, a positive voltage (logic ``1'') is applied to the bus line through the resistor, and if the switch is closed, a ground voltage (logic ``0'') is applied to the bus line. Next, when setting the switch groups 24 and 26, the switch group 22
remain open and closed, the μP 12 cannot accurately detect the open and closed states of the switch groups 24 and 26. For example, if switches 22-K and 22-2 are closed, bus lines 10-0 and 10-2 are connected to switches 24-n and 24-2.
2. Open and closed states of 26-ga and 26-2 (normal without dimer)
This results in two ground voltages (rob).

そこで、第3図に示す如く、バスIOと各スイッチ群2
2. ’24及び26との間に付勢(イネーブル)可能
なトライヤステート緩衝器28(4個の緩衝器が1組じ
なっている)を接続することが考えら゛れる。各スイッ
チ群の開閉状態を検知するに1よ、バス】0のアドレス
線A2がデコーダ30を付勢し、アドレス線入/及びA
1の論理信号な復号化して線SQ、81及びS2を選択
的(二°“0″とする。例えばスイッチ群22の開閉状
態を検知する(=は、ROM16のプログラムによるμ
P12の働きにより線SKのめが“0″となり、緩衝器
28−Kが付勢され、スイッチ群22の各スイッチの論
理レベルが緩衝器28−.6’及びバス10のデータ線
Djlll’〜D3を介してμP12に伝送される。一
方、緩衝器28−1及び28−2は付勢されず、出力端
子がトライステート(高インピーダンス状態)となるの
で、スイッチ群24及び26の開閉状態はスイッチ群2
2の検知(二影響しない。
Therefore, as shown in Figure 3, the bus IO and each switch group 2
2. It is conceivable to connect an enableable tri-state buffer 28 (a set of four buffers) between the buffers 24 and 26. To detect the open/closed state of each switch group, the address line A2 of 1, 0 and 0 energizes the decoder 30, and the address line input/and A2
1 logic signal is decoded to selectively set the lines SQ, 81 and S2 to "0". For example, the open/closed state of the switch group 22 is detected (= is μ according to the program in the ROM 16).
Due to the action of P12, the line SK becomes "0", the buffer 28-K is energized, and the logic level of each switch in the switch group 22 becomes the buffer 28-. 6' and the data lines Djll' to D3 of the bus 10 to the μP 12. On the other hand, the buffers 28-1 and 28-2 are not energized and their output terminals are tristated (high impedance state), so the open/closed states of the switch groups 24 and 26 are the same as those of the switch group 2.
Detection of 2 (no effect.

同様に緩衝器28−1又は28−2が付勢されたときは
、他の緩衝器は]・ライ・ステートにある。
Similarly, when buffer 28-1 or 28-2 is energized, the other buffers are in the dry state.

なお、第3〜6図においては複数のバス線から成るバス
を1本の直線で示し、各バス線に分かれる際(二斜線で
引出し、各バス線を記号で対応させている。この第3図
の回路では、各スイッチ群は干渉しないが、スイッチ群
のスイッチの各々に緩衝器が必要となる。よって、スイ
ッチの数が増える程、緩衝器の数も増え高価となり、大
電力消費(二なると共(′−1緩衝器用の広い設置空間
が必要となる。また、緩衝器の数が増える程、デコーダ
の数も増やさなければならない。
In addition, in Figures 3 to 6, a bus consisting of multiple bus lines is shown as a single straight line, and when divided into each bus line (drawn out with diagonal lines, each bus line is associated with a symbol. In the circuit shown in the figure, each switch group does not interfere, but each switch in the switch group requires a buffer. Therefore, as the number of switches increases, the number of buffers increases and becomes expensive, resulting in large power consumption (2 At the same time, ('-1) a large installation space is required for the buffer.Furthermore, as the number of buffers increases, the number of decoders must also increase.

第3図の回路からデコーダ30をなくしたものとして、
第4図の如く、緩衝器28の代りにマルチプレクサの機
能を有する付勢可能な緩衝器32(3個の緩衝器と1個
のマルチプレクサが1組となり、2m単位で制御できる
)を用いることが考えられる。このような緩衝器として
は74L8253型ICが利用できる。即ち、第3図の
デコーダ30を緩衝器32が兼ねており、第3図の回路
と同様な動作を1する。しかし、第4図のこの回路でも
スイッチ群のスイッチの各々のスイッチに緩衝器が必要
であり、上述の高価、大電力消費、広い設置空間の問題
は改善されない。
Assuming that the decoder 30 is removed from the circuit of FIG. 3,
As shown in FIG. 4, instead of the buffer 28, an energized buffer 32 having a multiplexer function (three buffers and one multiplexer make up a set and can be controlled in units of 2 m) can be used. Conceivable. A 74L8253 type IC can be used as such a buffer. That is, the buffer 32 also serves as the decoder 30 in FIG. 3, and performs the same operation as the circuit in FIG. However, this circuit of FIG. 4 also requires a buffer for each switch in the switch group, and the above-mentioned problems of high cost, large power consumption, and large installation space cannot be improved.

また、回転スイッチの如きスイッチと、キーボードとの
其方な人力装置として利用できれば便利であるが、第3
及び第4図の回路では、キーボード回路と兼用できず、
別々に回路を設けなければならなかった。
Also, it would be convenient if a switch such as a rotary switch and a keyboard could be used as a manual device, but the third
And the circuit shown in Figure 4 cannot be used also as a keyboard circuit.
A separate circuit had to be installed.

従って、本発明の目的の1つは、開閉状態が維持される
スイッチを用いた新規な入力装置の提供にある。
Accordingly, one of the objects of the present invention is to provide a novel input device using a switch that is maintained in an open or closed state.

本発明の他の目的は構成が簡単、小型かつ安価で、低消
費電力の入力装置の提供にある。
Another object of the present invention is to provide an input device that has a simple configuration, is compact, inexpensive, and consumes low power.

本発明の更に他の目的はキーボードの検知回路にも兼用
できる入力装置の提供(−ある。
Still another object of the present invention is to provide an input device that can also be used as a keyboard detection circuit.

以下第5及び第6図を参照して本発明の好適な実施例を
説明する。第5図は本発明の好適な一実施例の回路図で
ある。スイッチ群22.24及び26の各スイッチの一
方の接点はスイッチ群毎にラッチ機能付デコーダ34の
各出力端子(二接続される。またスイッチ22−、ir
、24−K及び26−/の他方の接点は夫々ダイオード
36−Jr。
A preferred embodiment of the present invention will be described below with reference to FIGS. 5 and 6. FIG. 5 is a circuit diagram of a preferred embodiment of the present invention. One contact of each switch in the switch groups 22, 24 and 26 is connected to each output terminal (two) of the decoder with latch function for each switch group.
, 24-K and 26-/ are each connected to a diode 36-Jr.

38−K及び40−yを介して共通接続され、その共通
接続点は線W/として付勢可能な緩衝器42(4個の緩
衝器が1組になっている)を介してバス10のデータ線
りガに接続される。同様に他のスイッチ22−1〜26
−3もダイオードb−1 トナー暗〜40−3を介して図示の如く共通接続され、
これら共通接続点は緩衝器42を介してバス10に接続
される。線W/〜W3は夫々抵抗器44を介して正電圧
を受ける。なお、デコーダ34及び緩衝器42として例
えばLSl、37型IC及び4011244P型ICが
夫々利用できる。
38-K and 40-y, the common connection point being connected to the bus 10 via a buffer 42 (a set of four buffers) which can be activated as line W/. Connected to the data line. Similarly, other switches 22-1 to 26
-3 is also commonly connected as shown through the diode b-1 toner dark~40-3,
These common connection points are connected to the bus 10 via a buffer 42. The lines W/-W3 each receive a positive voltage through a resistor 44. Note that as the decoder 34 and the buffer 42, for example, LSL, 37 type IC, and 4011244P type IC can be used, respectively.

各スイッチ群の開閉状態を検知する(二は、ROM16
の検知プログラムに応じてμP12がバス10のデータ
線D〆及びDlに所定のデータを送ると共にアドレス線
AIを「0」(ニすること(二より、デコーダ34の入
力信号DI及びDI又は復号化出力をラッチする。いま
、デコーダ34が線■/のみ(−「0」を、また他の線
Vl及び■2に「1」を出力すればスイッチ群22のみ
が付勢される。
Detects the open/closed state of each switch group (Secondly, ROM16
The μP 12 sends predetermined data to the data lines D and Dl of the bus 10 in accordance with the detection program of The output is latched. Now, if the decoder 34 outputs only the line (2)/ (-"0") and outputs "1" to the other lines Vl and (2), only the switch group 22 is energized.

よってデコーダ34は付勢手段として動作する。Therefore, the decoder 34 operates as a biasing means.

またμP12はアドレス線Afll二「0」を出力して
、緩衝器42を付勢する。よってスイッチ群22のうち
閉状態のスイッチのみの「0」出力が対応するダイオー
ド36を介して、対応する線W(−現われる。なお、ダ
イオード36〜40のカソードがスイッチ群22〜26
に接続されていること(二留意されたい。開状態のスイ
ッチ(一対応する線Wは、抵抗器44を介して供給され
る正電圧により「1」となる。よって、スイッチ群22
の開閉状態が線WE〜W3、緩衝器42及びバス10を
介してμP12(二より検知される。この場合、スイッ
チ群24及び26の任意のスイッチが閉状態にあっても
、ダイオード38−y〜40−3はオフであるので、ス
イッチ群22の検知(二は影響しない。即ち、仮えばス
イッチ24−/が閉状態であっても、スイッチ22−J
lll’が開状態ならダイオード36−if及び38−
lは共にオフとなって線WOは「l」となる。またスイ
ッチ22−/が閉状態ならダイオード36−7はオンと
なって線Wyは「0」となるが、この「0」はダイオー
ド38−yがオフなのでスイッチ24−〆(=供給され
ず、スイッチ群24がスイッチ群22の開閉状態の検知
に影響しない。もし、ダイオード38−yがなければ(
直結していれば)、線W/の「0」がスイッチ24−、
ffを介して線V1に伝わり、線W1〜W3の論理レベ
ル(=スイッチ群24の影響が生じる点に留意されたい
。更にスイッチ24−/が開状態ならダイオード38−
には常(二オフで、線WOI−関係しない。他のスイッ
チとの組合せに関しても上述と同様であることは明らか
であろう。
Further, μP 12 outputs the address line Afll2 “0” to energize the buffer 42. Therefore, the "0" output of only the closed switches in the switch group 22 appears on the corresponding line W (-) via the corresponding diode 36. Note that the cathodes of the diodes 36 to 40 are connected to the switch group 22 to 26.
Note that the switch in the open state (the corresponding line W becomes ``1'' due to the positive voltage supplied through the resistor 44. Therefore, the switch group 22
The open/close state of is detected from μP12 (2) via the lines WE to W3, the buffer 42 and the bus 10. In this case, even if any switch of the switch groups 24 and 26 is in the closed state, the diode 38-y Since the switches 40-3 to 40-3 are off, the detection of the switch group 22 (2 has no effect. In other words, even if the switch 24-/ is in the closed state, the switch 22-J
If lll' is open, diodes 36-if and 38-
Both l are turned off and the line WO becomes "l". Also, if the switch 22-/ is in the closed state, the diode 36-7 is turned on and the line Wy becomes "0", but this "0" means that the diode 38-y is off, so the switch 24-〆 (= not supplied, The switch group 24 does not affect the detection of the open/closed state of the switch group 22.If the diode 38-y is not present (
If it is directly connected), “0” of the wire W/ is the switch 24-,
ff to the line V1, and the logic level of the lines W1 to W3 (= the effect of the switch group 24 occurs.
It is clear that the combinations with other switches are similar to those described above.

スイッチ群24のスイッチの開閉状態を検知する場合、
デコーダ34が線V1のみ(二「0」を出力し、線Vl
及び■2に「1」を出力する。また、スイッチ群26の
スイッチの開閉状態を検知する場合、デコーダ34は線
V2に「0」を出力し、線■/及びVlに「1」を出力
する。その他の動作はスイッチ群22に関する上述の説
明と同様である。
When detecting the open/closed state of the switches in the switch group 24,
The decoder 34 outputs only the line V1 (two "0"s, and the line Vl
and ■ Output "1" to 2. Further, when detecting the open/closed states of the switches in the switch group 26, the decoder 34 outputs "0" to the line V2, and outputs "1" to the lines ■/ and Vl. Other operations are similar to the above description regarding the switch group 22.

緩衝器42が0MO8素子で構成されると、「0」のし
きい値電圧は約1■であり、またデコーダ34の「0」
出力が0■である。よってダイオード36〜40として
、オン時の電圧降下が約0.6vである安価なシリコン
・ダイオードを利用できる。また、緩衝器42がTTL
素子で構成されているならば、ダイオード36〜40と
して、ゲルマニウム・ダイオードを利用すればよい。
When the buffer 42 is composed of 0MO8 elements, the threshold voltage of “0” is approximately 1■, and the “0” of the decoder 34 is
The output is 0■. Therefore, as the diodes 36 to 40, inexpensive silicon diodes having a voltage drop of about 0.6V when turned on can be used. In addition, the buffer 42 is TTL
If it is composed of elements, germanium diodes may be used as the diodes 36 to 40.

第6図は本発明の好適な他の実施例の回路図である。こ
の実施例は第5図の実施例にキーボード46を追加した
ものであり、第5図との差違について以下説明する。キ
ーボード46は4行4列に配置されたキー・スイッチ4
8−S〜54−3がら構成されており、キー・スイッチ
48−i〜48−3の一方の接点は共通接続され、線V
3を介してデコーダ34に接続される。同様に、キー・
スイッチ50.52及び54の一方の接点も夫々共通接
続され、線V4.V5及びv6を介してデコーダ34に
接続される。キー・スイッチ48−g。
FIG. 6 is a circuit diagram of another preferred embodiment of the present invention. This embodiment has a keyboard 46 added to the embodiment of FIG. 5, and the differences from FIG. 5 will be explained below. The keyboard 46 has key switches 4 arranged in 4 rows and 4 columns.
8-S to 54-3, one contact of the key switches 48-i to 48-3 is commonly connected, and the wire V
3 to the decoder 34. Similarly, the key
One contact of switches 50, 52 and 54, respectively, are also commonly connected and connected to lines V4. It is connected to the decoder 34 via V5 and v6. Key switch 48-g.

50−g、52−ぼ及び54−ぼの他方の接点は共通接
続され、線Sy及びダイオード44−ガを介して線WQ
に接続される。同様にキー・スイッチ48−1〜54−
1.48−2〜54−2.4.8−3〜54−3の他方
の接点も夫々共通接続され線81〜S3及びダイオード
44−1〜44−3を介して線W】〜W3に接続される
。デコーダ34は出力端子が■/〜■6に増えたため、
入力端子もD$〜D2の3ビツトに増えている。
The other contacts of 50-g, 52-g and 54-g are connected in common and connected to line WQ via line Sy and diode 44-g.
connected to. Similarly, key switches 48-1 to 54-
1.48-2 to 54-2.4. The other contacts of 8-3 to 54-3 are also commonly connected to the lines W] to W3 via the lines 81 to S3 and the diodes 44-1 to 44-3. Connected. Since the decoder 34 has increased the number of output terminals to ■/~■6,
The number of input terminals has also increased to 3 bits, D$ to D2.

スイッチ群22.24及び26の開閉状態の検知は第5
図の実施例と同様であるが、デコーダ34は線■3〜V
6t−11」を出力する。よって、このとき、キーボー
ド46の任意のキーヤスイッチが押されても(閉じられ
ても)、ダイオード44−X〜44−3の作用により、
スイッチ群22゜24及び26の検知に影響しない。キ
ーボード46の開閉状態を検知するには、R2M17の
プログラム(二従ってμP12はデータ線D@、Di及
びD2を制御し、デコーダ34の出力線■3〜■6が順
次「0」とする。即ちキーボード46を順次走査する。
Detection of the open/closed states of the switch groups 22, 24 and 26 is performed by the fifth
The decoder 34 is similar to the embodiment shown, but the decoder 34
6t-11" is output. Therefore, even if any keyer switch of the keyboard 46 is pressed (closed) at this time, due to the action of the diodes 44-X to 44-3,
The detection of switch groups 22, 24 and 26 is not affected. To detect the open/closed state of the keyboard 46, the R2M17 program (2) Therefore, μP12 controls the data lines D@, Di, and D2, and sets the output lines (3) to (6) of the decoder 34 to "0" in sequence. The keyboard 46 is sequentially scanned.

走査されたキーヤスイッチが閉状態ならば、対応する線
Sj!I〜S3が「0」となり、この「0」が対応する
ダイオード44−/〜44−3を介して緩衝器42に伝
送される。このとき、線V/〜v2は「l」であり、ス
イッチ群22〜26の任意のスイッチが閉状態であって
も、ダイオード36−l〜40−3の作用によりキーボ
ード46の検知(二影響しない。
If the scanned keyer switch is in the closed state, the corresponding line Sj! I to S3 become "0", and this "0" is transmitted to the buffer 42 via the corresponding diodes 44-/-44-3. At this time, the line V/~v2 is "l", and even if any switch in the switch groups 22-26 is closed, the keyboard 46 is detected (double-influenced) by the action of the diodes 36-l~40-3. do not.

上述の如く本発明によれば、開閉状態が維持されるスイ
ッチの各々に付勢可能な緩衝器を設ける=11− 必要がなく、各スイッチ群のスイッチ間をダイオードで
分離しているため、構成が簡単かつ安価になると共に、
広い空間を必要としない。またダイオードは受動素子で
あるため、消費電力を減少できる。これら効果はスイッ
チの数が増える程顕著となる。更に、キーボードと併用
する際に、キーボード専用の走査回路及び検知回路は不
要であり、単にダイオードの数及びデコーダの出力を増
すのみで、他の回路はそのまま兼用できる。
As described above, according to the present invention, it is not necessary to provide an energized buffer for each switch that is maintained in an open/closed state. becomes easier and cheaper, and
Does not require large space. Furthermore, since the diode is a passive element, power consumption can be reduced. These effects become more pronounced as the number of switches increases. Furthermore, when used in conjunction with a keyboard, there is no need for a scanning circuit and a detection circuit dedicated to the keyboard; other circuits can be used as they are by simply increasing the number of diodes and the output of the decoder.

なお、上述は本発明の好適な実施例についてのみ説明し
たが、本発明の要旨を逸脱することなく種々の変更変形
が可能なことが当業者には理解できよう。例えば、上述
の実施例でスイッチは回転スイッチであったが、トグル
・スイッチ、押釦スイッチ及びスライド・スイッチ等の
開閉状態が維持されるスイッチでもよい。また第5及び
第6図のデコーダ34及び緩衝器42を付勢するために
、別のデコーダを設けてもよい。スイッチの開閉状態を
検知するのに実施例ではμPとROMのプログラムを用
いたが、この検知機能はロジック回路12− の組合せでも実現できる。
Although only the preferred embodiments of the present invention have been described above, those skilled in the art will understand that various changes and modifications can be made without departing from the gist of the present invention. For example, although the switch in the above embodiment is a rotary switch, it may also be a toggle switch, a push button switch, a slide switch, or the like, which maintains the open/closed state. Also, a separate decoder may be provided to energize the decoder 34 and buffer 42 of FIGS. 5 and 6. In the embodiment, μP and a ROM program are used to detect the open/closed state of the switch, but this detection function can also be realized by a combination of the logic circuit 12-.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は入力装置を用いた電子装置のブロック図、第2
〜第4図は入力装置を説明する回路図、第5及び第6図
は本発明の入力装置の好適な実施例の回路図であ、る。 22−y〜26−3:スイッチ 22.24,26:スイッチ群 34:付勢手段 36−/〜41−3:ダイオード
Figure 1 is a block diagram of an electronic device using an input device, Figure 2 is a block diagram of an electronic device using an input device.
4 is a circuit diagram for explaining the input device, and FIGS. 5 and 6 are circuit diagrams of preferred embodiments of the input device of the present invention. 22-y to 26-3: switch 22.24, 26: switch group 34: energizing means 36-/-41-3: diode

Claims (1)

【特許請求の範囲】[Claims] 複数のスイッチを各々有する複数のスイッチ群と、該複
数のスイッチ群のスイッチの一方の接点を上記スイッチ
群毎に選択的に付勢する付勢手段とを具えた入力装置に
おいて、上記複数のスイッチ群の対応する上記スイッチ
の他方の接点をダイオードを介して共通接続し、上記ダ
イオードの共通接続点の電位レベルは上記スイッチ群の
各々における」二記スイッチの開閉状態を示すことを特
許とする入力装置。
In an input device comprising a plurality of switch groups each having a plurality of switches, and an energizing means for selectively energizing one contact of a switch of the plurality of switch groups for each of the switch groups, the plurality of switches The other contacts of the corresponding switches of the group are commonly connected via diodes, and the potential level of the common connection point of the diodes indicates the open/closed state of the two switches in each of the switch groups. Device.
JP57128160A 1982-07-22 1982-07-22 Input device Pending JPS5917631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57128160A JPS5917631A (en) 1982-07-22 1982-07-22 Input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57128160A JPS5917631A (en) 1982-07-22 1982-07-22 Input device

Publications (1)

Publication Number Publication Date
JPS5917631A true JPS5917631A (en) 1984-01-28

Family

ID=14977866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57128160A Pending JPS5917631A (en) 1982-07-22 1982-07-22 Input device

Country Status (1)

Country Link
JP (1) JPS5917631A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS622398U (en) * 1985-06-20 1987-01-08
JPS6241393U (en) * 1985-08-27 1987-03-12
JPS63201814A (en) * 1987-02-18 1988-08-19 Hitachi Constr Mach Co Ltd Rotary switch input circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS622398U (en) * 1985-06-20 1987-01-08
JPS6241393U (en) * 1985-08-27 1987-03-12
JPS63201814A (en) * 1987-02-18 1988-08-19 Hitachi Constr Mach Co Ltd Rotary switch input circuit

Similar Documents

Publication Publication Date Title
US20080088589A1 (en) Scanning circuit and method for keyboard
KR910000738B1 (en) Semiconductor integrated circuit adapted to carry out operation test
KR960704264A (en) PROGRAMMABLE LOGIC DEVICE WITH REGIONAL AND UNIVERSAL SIGNAL ROUTING
NL8202579A (en) MICRO COMPUTER.
KR840004963A (en) Data Entry Keyboard Device
US4888600A (en) Keyboard arrangement with ghost key condition detection
KR950000305Y1 (en) Test mode circuit of memory device
US5914677A (en) Apparatus and method for scanning a switch array
US3765015A (en) Switch monitoring circuitry
JPS5917631A (en) Input device
KR860009425A (en) Diode matrix type decoder and extraneous semiconductor memory device
US5783874A (en) Keypad handling circuits
JPH06275100A (en) Semiconductor memory
KR930024022A (en) Semiconductor memory
JPS63111520A (en) Key input circuit
US4817033A (en) Signal detecting circuit
SU1758606A1 (en) Device for control of connections in wiring
JPH06138191A (en) Semiconductor integrated circuit
US3828312A (en) Digital data change detector
CA1333924C (en) Keyboard
KR0183931B1 (en) Key scan matrix device
JPH028490B2 (en)
US8564460B2 (en) Keyboard device and method of identifying a key operation
KR20010051566A (en) Keyboard having multi-bit key switches
KR950010943B1 (en) Input/output controller for micro control system