JP5005442B2 - Input device using rotary dip switch - Google Patents
Input device using rotary dip switch Download PDFInfo
- Publication number
- JP5005442B2 JP5005442B2 JP2007167973A JP2007167973A JP5005442B2 JP 5005442 B2 JP5005442 B2 JP 5005442B2 JP 2007167973 A JP2007167973 A JP 2007167973A JP 2007167973 A JP2007167973 A JP 2007167973A JP 5005442 B2 JP5005442 B2 JP 5005442B2
- Authority
- JP
- Japan
- Prior art keywords
- dip switch
- rotary dip
- matrix circuit
- key matrix
- terminals
- 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.)
- Active
Links
Images
Abstract
Description
本発明は、例えば業務用無線端末機等に利用されるロータリーディップスイッチを用いた入力装置に関する。 The present invention relates to an input device using a rotary dip switch used in, for example, a commercial wireless terminal.
従来、例えば携帯無線機等の業務用無線端末機においては、通信チャネル選択用スイッチとしてロータリーディップスイッチ(回転型スイッチ)が一般的に用いられている(例えば、特許文献1参照。)。ロータリーディップスイッチは、回転角度毎に固定位置が設けられており、スイッチの状態が目視困難な場合でも、回転させたときの固定位置状態をカウントすることにより、通信チャネルの選択状態を使用者が把握できるという利点がある。上記ロータリーディップスイッチは、例えば図4に示すようなコード体系をとっており、複数のコード端子例えば端子A、E、B、Dとコモン端子Cを備え、操作軸を回すと機械的な固定位置状態が例えば0〜15まで変化し、16の通信チャネルを選択することができる。これらの各通信チャネルは、受送信周波数が異なる値に設定されている。 Conventionally, in business wireless terminals such as portable wireless devices, a rotary dip switch (rotary switch) is generally used as a communication channel selection switch (see, for example, Patent Document 1). The rotary dip switch has a fixed position for each rotation angle, and even if the switch state is difficult to see, the user can determine the communication channel selection state by counting the fixed position state when the switch is rotated. There is an advantage of being able to grasp. The rotary dip switch has, for example, a cord system as shown in FIG. 4 and includes a plurality of cord terminals, for example, terminals A, E, B, D and a common terminal C, and a mechanical fixed position when the operation shaft is turned. The state changes from 0 to 15, for example, and 16 communication channels can be selected. Each of these communication channels is set to a different value for the transmission / reception frequency.
上記端子A、E、B、Dと16チャネルの各位置状態との関係は、図4に示すように設定されており、例えば位置状態が「2」であった場合、端子Aと端子Eがスイッチ内部でコモン端子Cと導通し、端子Bと端子Dはコモン端子Cに対して開放となる。なお、図4において、黒丸は端子A、E、B、Dがコモン端子Cと導通状態にあることを示している。 The relationship between the terminals A, E, B, and D and the position states of the 16 channels is set as shown in FIG. 4. For example, when the position state is “2”, the terminals A and E are The switch is electrically connected to the common terminal C, and the terminals B and D are open to the common terminal C. In FIG. 4, black circles indicate that the terminals A, E, B, and D are in conduction with the common terminal C.
次に、上記ロータリーディップスイッチにおける従来のデータ取込方式について説明する。図5は、業務用無線端末機等に用いられる従来の入力装置の回路構成図である。 Next, a conventional data capturing method in the rotary dip switch will be described. FIG. 5 is a circuit configuration diagram of a conventional input device used for a commercial wireless terminal or the like.
図5において、10は通信チャネルを選択するためのロータリーディップスイッチ入力回路部、20はキー入力を行うキーマトリクス回路部、11は上記ロータリーディップスイッチ入力回路部10及びキーマトリクス回路部20に共通の制御ICである。
In FIG. 5, 10 is a rotary dip switch input circuit unit for selecting a communication channel, 20 is a key matrix circuit unit for performing key input, and 11 is common to the rotary dip switch
ロータリーディップスイッチ入力回路部10は、制御IC11の汎用ポートである入力端子I/O1〜I/O4がノイズ対策回路12を介してロータリーディップスイッチ13の端子A、E、B、Dにそれぞれ接続される。そして、上記ノイズ対策回路12とロータリーディップスイッチ13の端子A、E、B、Dとの各接続ラインは、抵抗Rを介して電源電圧VDDにプルアップされる。また、ロータリーディップスイッチ13のコモン端子Cは、接地(GND)されてロー(Low)レベルの状態に保持される。
In the rotary dip switch
上記のように構成されたロータリーディップスイッチ入力回路部10は、ロータリーディップスイッチ13の端子A、E、B、Dとコモン端子Cとの接続状態に応じて各端子A、E、B、Dがハイ(High)レベルあるいはロー(Low)レベルの状態となり、この状態が制御IC11の入力情報となる。例えばロータリーディップスイッチ13が図4に示したコード体系の状態「2」であった場合、端子Aと端子Eがスイッチ内部でコモン端子Cと導通してロー(Low)レベルの状態となり、端子B、Dは電源電圧VDDにプルアップされているのでハイ(High)レベルの状態となる。上記端子A、E、B、Dのロー(Low)レベルあるいはハイ(High)レベルの状態を制御IC11の入力情報として判断し制御することにより、ロータリーディップスイッチ13の固定位置状態を把握してチャネル選択を行う。
The rotary dip switch
また、上記キーマトリクス回路部20は、例えばプッシュスイッチS1〜S20を5行4列のマトリクス状に配置したキーマトリクス回路21を備えている。上記キーマトリクス回路21の行ラインは、ノイズ対策回路22を介して制御IC11の入力端子R1〜R5に接続されると共にそれぞれ抵抗Rを介して電源電圧VDDにプルアップされる。また、キーマトリクス回路21の列ラインは、ノイズ対策回路22を介して制御IC11のオープンドレイン出力端子C1〜C4に接続される。
The key
上記制御IC11のオープンドレイン出力端子C1〜C4は、図6のタイミングチャートに示すようにt1、t2、t3、t4のタイミングでインピーダンスがパルス的に変化し、t1、t2、t3、t4のタイミングでロー(Low)状態、その他のタイミングでハイ(High)状態となる。すなわち、制御IC11は、キーマトリクス回路21に対するソフト制御部を走査型方式としてデータ入力を取り込んでいる。
As shown in the timing chart of FIG. 6, the open drain output terminals C1 to C4 of the
上記キーマトリクス回路部20は、プッシュスイッチS1〜S20が押されると、t1〜t4のタイミングで行ラインの信号がロー(Low)レベルの状態に変化し、その状態が入力情報として制御IC11の入力端子R1〜R5に入力される。制御IC11は、オープンドレイン出力端子C1〜C4のインピーダンスがロー(Low)レベルの状態に変化するタイミングt1、t2、t3、t4と入力端子R1〜R5の入力情報からキーマトリクス回路部20におけるどのプッシュスイッチS1〜S20が押されたのかを判断する。例えばプッシュスイッチS2を操作した場合、制御IC11の入力端子R1に接続されている行ラインがt3のタイミングでロー(Low)レベルの状態となるので、制御IC11は入力端子R1の行ラインとオープンドレイン出力端子C3の列ラインとの交点にあるプッシュスイッチS2が押されたものと判断することができる。
上記従来の入力装置によれば、制御IC11は、入力端子I/O1〜I/O4の入力情報からロータリーディップスイッチ13の固定位置状態を把握してチャネル選択を行うことができ、また、入力端子R1〜R5の入力情報及びオープンドレイン出力端子C1〜C4から出力される走査信号のタイミングからどのプッシュスイッチS1〜S20が押されたかを判断することができる。
According to the above conventional input device, the
しかし、制御IC11の汎用I/Oポートには限りがあるため、使用するポート数はできるだけ少なくする必要がある。また、ロータリーディップスイッチ13やキーマトリクス回路21などの外部入力回路はシールドができないため、ノイズ対策回路12、22を各配線毎に設置しなければならない。この結果、基板上の配線制約を受けるのみならず、実装面積の増大や部品点数の増加などにつながるという問題があった。
However, since the general-purpose I / O ports of the
本発明は上記の課題を解決するためになされたもので、制御IC11のI/Oポートを有効に利用できると共にノイズ対策回路の設置数を減少でき、基板上の実装面積を減少できるロータリーディップスイッチを用いた入力装置を提供することを目的とする。
The present invention has been made to solve the above-described problems, and can be used effectively for the I / O port of the
本発明は、複数のスイッチがマトリクス状に配置されたキーマトリクス回路と、複数の端子とコモン端子を備え、前記複数の端子とコモン端子との接続状態に応じてコード信号を出力するロータリーディップスイッチと、前記キーマトリクス回路の行ラインと前記ロータリーディップスイッチの複数の端子との間にそれぞれ設けられるダイオードと、前記キーマトリクス回路の列ライン及び前記ロータリーディップスイッチのコモン端子に順次異なるタイミングで走査信号を与え、前記キーマトリクス回路の行ラインに生じる信号を取り込む制御部とを具備してなるロータリーディップスイッチを用いた入力装置であって、
前記制御部は、前記キーマトリクス回路及びロータリーディップスイッチに与える走査信号のタイミング及び前記キーマトリクス回路の行ラインに生じる信号によって前記キーマトリクス回路の操作内容及びロータリーディップスイッチの設定内容を判別する判別手段と、当該ロータリーディップスイッチを用いた入力装置を携帯無線機に適用した場合に、前記携帯無線機で選択された受信周波数に応じて前記走査信号の周波数を可変設定する周波数設定手段とを備えたことを特徴とする。
The present invention is a rotary dip switch that includes a key matrix circuit in which a plurality of switches are arranged in a matrix, a plurality of terminals and a common terminal, and outputs a code signal according to the connection state between the plurality of terminals and the common terminal. Scanning signals at different timings sequentially to the diodes provided between the row line of the key matrix circuit and the plurality of terminals of the rotary dip switch, and the column line of the key matrix circuit and the common terminal of the rotary dip switch, respectively. And an input device using a rotary dip switch comprising a control unit that captures a signal generated in a row line of the key matrix circuit ,
Wherein the control unit, said key matrix circuit and the rotary give DIP switch scan signal timing and discriminating means for discriminating the operation contents and settings of the rotary DIP switch of the key matrix circuit by a signal generated row lines of the key matrix circuit And a frequency setting means for variably setting the frequency of the scanning signal according to the reception frequency selected by the portable radio when the input device using the rotary dip switch is applied to the portable radio. It is characterized by that.
本発明によれば、キーマトリクス回路部にロータリーディップスイッチを組み込むことにより、制御部にロータリーディップスイッチのデータを取り込むための専用の入力端子を設けることなく、キーマトリクスデータ取り込み用の入力端子を利用してロータリーディップスイッチのデータを制御部に取り込むことができ、入力端子数を少なくして回路構成を簡易化でき、基板上の実装面積を減少することができる。 According to the present invention, by incorporating a rotary dip switch in the key matrix circuit unit, an input terminal for capturing key matrix data is used without providing a dedicated input terminal for capturing data of the rotary dip switch in the control unit. Thus, the data of the rotary dip switch can be taken into the control unit, the number of input terminals can be reduced, the circuit configuration can be simplified, and the mounting area on the substrate can be reduced.
以下、図面を参照して本発明の一実施形態を説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
図1は本発明の一実施形態に係るロータリーディップスイッチを用いた入力装置の回路構成図である。図1において、31はキーマトリクス回路で、例えばプッシュスイッチS1〜S20を5行4列のマトリクス状に配置している。上記キーマトリクス回路31の行ラインH1〜H5は、ノイズ対策回路32を介して制御部例えば制御IC33の入力端子R1〜R5に接続されると共にそれぞれ抵抗Rを介して電源電圧VDDにプルアップされる。上記ノイズ対策回路32としては、例えばチョークコイルLとコンデンサCとを組み合わせて構成したローパスフィルタが用いられる。
FIG. 1 is a circuit configuration diagram of an input device using a rotary dip switch according to an embodiment of the present invention. In FIG. 1,
また、上記キーマトリクス回路31は、行ラインH1〜H5のうち、行ラインH1〜H4がダイオードD1〜D4を順方向に介してロータリーディップスイッチ34の端子A、E、B、Dに接続される。上記ダイオードD1〜D4は、キーマトリクス回路31における行ラインH1〜H5のレベル変化が相互に影響しないように設けたもので、その詳細については後述する。上記ロータリーディップスイッチ34は、従来のロータリーディップスイッチと同様に例えば4つの端子A、E、B、Dとコモン端子Cからなり、例えば図4に示したコード体系を有し、16の通信チャネルを選択することができる。
In the
また、キーマトリクス回路31の列ラインV1〜V4は、ノイズ対策回路32を介して制御IC33のオープンドレイン出力端子C1〜C4に接続される。上記制御IC33は、上記オープンドレイン出力端子C1〜C4の他にもう1つのオープンドレイン出力端子C5を備えており、このオープンドレイン出力端子C5を信号ライン35により上記ロータリーディップスイッチ34のコモン端子Cに接続している。
The column lines V1 to V4 of the
上記制御IC33は、上記キーマトリクス回路31に対する走査型方式のソフト制御部及びロータリーディップスイッチ34に対する走査型方式のソフト制御部を備えている。上記制御IC33におけるキーマトリクス回路31に対する走査型方式のソフト制御部は、オープンドレイン出力端子C1〜C5から走査信号を出力し、図2(a)に示すようにオープンドレイン出力端子C1〜C5のインピーダンスをt1、t2、t3、t4、t5のタイミングでロー(Low)状態、その他のタイミングでハイ(High)状態となるようにパルス的に変化させ、オープンドレイン出力端子C1〜C4の走査タイミングt1、t2、t3、t4及び入力端子R1〜R5の入力情報からキーマトリクス回路31の操作内容を判別している。また、上記キーマトリクス回路31に対するソフト制御部は、詳細を後述するようにオープンドレイン出力端子C1〜C5の走査時間を、無線機で選択された受送信周波数に応じて可変する機能を備えている。
The control IC 33 includes a scanning type software control unit for the
また、制御IC33におけるロータリーディップスイッチ34に対する走査型方式のソフト制御部は、オープンドレイン出力端子C5の走査タイミングt5及び入力端子R1〜R4の入力情報からロータリーディップスイッチ34の固定位置状態を把握し、チャネル選択を行う。
Further, the scanning type soft control unit for the rotary dip switch 34 in the
次に上記実施形態に係る入力装置のデータ取り込み動作について図2に示すタイミングチャートを参照して説明する。図2(a)は制御IC33のオープンドレイン出力端子C1〜C4から出力される走査信号のタイミングを示すタイミングチャート、図2(b)〜(d)は制御IC33のデータ取り込み動作を説明するためのタイミングチャートである。
Next, a data capturing operation of the input device according to the above embodiment will be described with reference to a timing chart shown in FIG. 2A is a timing chart showing the timing of scanning signals output from the open drain output terminals C1 to C4 of the
図2(b)は、ロータリーディップスイッチ34が図4に示したコード体系の状態「1」、すなわち端子Aがスイッチ内部でコモン端子Cに導通している状態で、キーマトリクス回路31のプッシュスイッチS2が押されたときの制御IC33の入力端子R1〜R5における動作タイミングチャートを示している。
FIG. 2B shows the push switch of the
ロータリーディップスイッチ34が状態「1」のときにキーマトリクス回路31のプッシュスイッチS2が押されると、制御IC33の入力端子R1はt3のタイミングでオープンドレイン出力端子C3と共にロー(Low)レベルの状態となるので、制御IC33はキーマトリクス回路31の行ラインH1と列ラインV3との間に設けられているプッシュスイッチS2が押されたものと判別することができる。また、ロータリーディップスイッチ34の端子Aがコモン端子Cに導通している場合は、t5のタイミングで制御IC33の入力端子R1のみがローレベルの状態となるので、ロータリーディップスイッチ34に対するソフト制御部は入力端子R1の状態を時間分割で認識することにより、ロータリーディップスイッチ34が状態「1」にあると判別することができる。
When the push switch S2 of the
また、ロータリーディップスイッチ34が状態「2」のとき(端子A、Eがコモン端子Cと導通)にキーマトリクス回路31のプッシュスイッチS2が押されると、図2(c)のタイミングチャートに示すようにt3のタイミングで制御IC33の入力端子R1がローレベルの状態となると共に、t5のタイミングで制御IC33の入力端子R1、R2がローレベルとなる。制御IC33は、t3のタイミングで制御IC33の入力端子R1がローレベルの状態となることにより、キーマトリクス回路31のプッシュスイッチS2が押されたものと判別し、また、t5のタイミングで制御IC33の入力端子R1、R2がローレベルとなることにより、ロータリーディップスイッチ34が状態「2」にあると判別することができる。
Further, when the push switch S2 of the
また、ロータリーディップスイッチ34が状態「5」のとき(端子A、E、Bがコモン端子Cと導通)にキーマトリクス回路31のプッシュスイッチS2が押されると、図2(d)のタイミングチャートに示すようにt3のタイミングで制御IC33の入力端子R1がローレベルの状態となると共に、t5のタイミングで制御IC33の入力端子R1、R2、R3がローレベルとなる。制御IC33は、t3のタイミングで制御IC33の入力端子R1がローレベルの状態となることによりキーマトリクス回路31のプッシュスイッチS2が押されたものと判別し、また、t5のタイミングで制御IC33の入力端子R1、R2、R3がローレベルとなることにより、ロータリーディップスイッチ34が状態「5」にあると判別することができる。
When the push switch S2 of the
なお、上記図2(b)〜(d)の例では、キーマトリクス回路31のプッシュスイッチS2が押された場合の動作について示したが、その他のプッシュスイッチが押された場合においても同様にして判別することができる。また、プッシュスイッチS1〜S20が押されていない状態であっても、制御IC33のオープンドレイン出力端子C5の走査タイミングt5及び入力端子R1〜R4の入力情報からロータリーディップスイッチ34の状態「0」〜「15」を判別することができる。
In the example of FIGS. 2B to 2D, the operation when the push switch S2 of the
上記のように制御IC33は、オープンドレイン出力端子C1〜C4の走査によるタイミングt1〜t4と入力端子R1〜R5の入力情報からキーマトリクス回路31のキー操作を判別でき、また、オープンドレイン出力端子C5の走査タイミングt5及び入力端子R1〜R4の入力情報からロータリーディップスイッチ34の状態「0」〜「15」を把握してチャネル選択を行うことができる。
As described above, the
次にキーマトリクス回路31の行ラインH1〜H4とロータリーディップスイッチ34の端子A、E、B、Dとの間に設けたダイオードD1〜D4の動作について説明する。
Next, the operation of the diodes D1 to D4 provided between the row lines H1 to H4 of the
図1に示したようにダイオードD1〜D4を設けている場合には、例えばロータリーディップスイッチ34が状態「2」(端子A、Eがコモン端子Cと導通)に設定されているときにキーマトリクス回路31のプッシュスイッチS2が押されたとすると、上記図2(c)のタイミングチャートに示したように制御IC33の入力端子R1がt3のタイミングでロー状態となると共にt5のタイミングで入力端子R1、R2がロー状態となり、制御IC33はプッシュスイッチS2の操作及びロータリーディップスイッチ34の状態「2」を正常に判別することができる。
When the diodes D1 to D4 are provided as shown in FIG. 1, for example, when the rotary DIP switch 34 is set to the state “2” (terminals A and E are in conduction with the common terminal C), the key matrix is used. If the push switch S2 of the
しかし、ダイオードD1〜D4がない場合は、例えばロータリーディップスイッチ34が状態「2」に設定されているときにキーマトリクス回路31のプッシュスイッチS2が押されると、t3のタイミングでロータリーディップスイッチ34の端子Aがロー状態になると共に、端子Aに導通している端子E及びキーマトリクス回路31の行ラインH2もロー状態となる。この結果、キーマトリクス回路31のプッシュスイッチS6が押されていなくても、t3のタイミングで制御IC33の入力端子R1、R2がロー状態となり、制御IC33はプッシュスイッチS2、S6が押されたものと誤認識してしまう。このような制御IC33の誤認識を防止するために、ダイオードD1〜D4を設け、キーマトリクス回路31における行ラインH1〜H5のレベル変化が相互に影響しないようにしている。
However, if the diodes D1 to D4 are not present, for example, when the push switch S2 of the
本発明に係る入力装置は、上記実施形態に示したようにキーマトリクス回路部にロータリーディップスイッチ34を組み込むと共にロータリーディップスイッチデータ取り込み方式を走査型として回路構成の簡易化を図っているが、業務用無線端末機に実施した場合、走査時間によっては無線機の性能に影響を与える可能性がある。特に走査信号の高調波成分が受信周波数と同一となる場合は、受信感度の劣化等の弊害が考えられる。このため本実施形態では、制御IC33に設けられるソフト制御部に、オープンドレイン出力端子C1〜C5の走査時間を、無線機で選択された受送信周波数に応じて可変する機能を持たせ、無線機の性能劣化を防止している。
The input device according to the present invention incorporates the rotary dip switch 34 into the key matrix circuit unit as shown in the above embodiment and simplifies the circuit configuration by using the rotary dip switch data capturing method as a scanning type. When implemented in a wireless terminal, there is a possibility of affecting the performance of the wireless device depending on the scanning time. In particular, when the harmonic component of the scanning signal is the same as the reception frequency, problems such as deterioration in reception sensitivity can be considered. For this reason, in the present embodiment, the software control unit provided in the
以下、無線機で選択された受送信周波数に応じて制御IC33のオープンドレイン出力端子C1〜C5の走査時間を設定する場合の処理動作を図3に示すフローチャートを参照して説明する。
Hereinafter, the processing operation when the scanning time of the open drain output terminals C1 to C5 of the
制御IC33に設けられるソフト制御部は、図3のステップA1に示すように無線機の受送信周波数が選択されたかどうかをチェックしている。受送信周波数が選択されると、選択された受送信周波数をfs、オープンドレイン出力端子C1〜C5に対する基準走査時間をTs、タイマ最小設定時間をTn、整数Nを「0」とし(ステップA2)、受送信周波数fsを走査周波数(1/Ts)で除算して剰余Mを求める(ステップA3)。
The software control unit provided in the
次いで上記剰余Mが「0」であるかどうかを判定する(ステップA4)。すなわち、走査周波数(1/Ts)の高調波成分が受送信周波数fsと同一かどうかを判定し、剰余Mが「0」(走査周波数(1/Ts)の高調波成分が受送信周波数fsと同一)であればNの値を「+1」し(ステップA5)、「Ts=(Ts+N*Tn)」の処理、すなわち走査時間Tsにタイマ最小設定時間Tnを加算した値を走査時間Tsとして設定する(ステップA6)。その後、ステップA3に戻り、上記ステップA6で設定した走査時間Tsを用い、受送信周波数fsを走査周波数(1/Ts)で除算して剰余Mを求める。 Next, it is determined whether or not the remainder M is “0” (step A4). That is, it is determined whether the harmonic component of the scanning frequency (1 / Ts) is the same as the transmission / reception frequency fs. The remainder M is “0” (the harmonic component of the scanning frequency (1 / Ts) is the transmission / reception frequency fs). If it is the same, the value of N is incremented by “+1” (step A5), and the process of “Ts = (Ts + N * Tn)”, that is, the value obtained by adding the timer minimum setting time Tn to the scanning time Ts is set as the scanning time Ts. (Step A6). Thereafter, returning to step A3, the remainder M is obtained by dividing the transmission / reception frequency fs by the scanning frequency (1 / Ts) using the scanning time Ts set in step A6.
そして、ステップA4で、剰余Mが「0」でないと判定されると、オープンドレイン出力端子C1〜C5の走査時間をTsに設定する(ステップA7)。 When it is determined in step A4 that the remainder M is not “0”, the scanning time of the open drain output terminals C1 to C5 is set to Ts (step A7).
上記のようにしてオープンドレイン出力端子C1〜C5の走査時間Tsを設定することにより、走査信号による走査ノイズの高調波成分が受送信周波数と同一となることを防ぎ、受信感度劣化などの弊害を防止することができる。 By setting the scanning time Ts of the open drain output terminals C1 to C5 as described above, it is possible to prevent the harmonic component of the scanning noise due to the scanning signal from being the same as the reception and transmission frequency, and to cause adverse effects such as deterioration in reception sensitivity. Can be prevented.
上記実施形態によれば、キーマトリクス回路部にロータリーディップスイッチ34を組み込むと共にロータリーディップスイッチデータ取り込み方式を走査型としているので、ロータリーディップスイッチ34のデータを取り込むための専用の入力端子を制御IC33に設けることなく、キーマトリクスデータ取り込み用の入力端子R1、R2、…を利用してロータリーディップスイッチ34のデータを制御IC33に取り込むことができ、入力端子数及びノイズ対策回路の数を少なくして回路構成を簡易化でき、基板上の実装面積を減少することができる。
According to the above embodiment, since the rotary dip switch 34 is incorporated in the key matrix circuit section and the rotary dip switch data fetching method is a scanning type, a dedicated input terminal for fetching data of the rotary dip switch 34 is provided in the
また、本実施形態では、制御IC33に設けられるソフト制御部に、オープンドレイン出力端子C1〜C5の走査時間を、無線機で選択された受送信周波数に応じて可変する機能を持たせているので、業務用無線端末機に適用した場合においても、走査信号による走査ノイズの高調波成分が受送信周波数と同一となることを防ぎ、受信感度劣化などの弊害を防止することができる。
In the present embodiment, the software control unit provided in the
なお、上記実施形態では、ロータリーディップスイッチ34により通信チャネルを選択する場合について示したが、その他、ロータリーディップスイッチ34により通信チャネル及びシステムを選択する場合であっても、同様にして実施し得るものである。 In the above embodiment, the case where the communication channel is selected by the rotary dip switch 34 has been described. However, even when the communication channel and the system are selected by the rotary dip switch 34, the embodiment can be implemented in the same manner. It is.
また、本発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できるものである。 Further, the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying constituent elements without departing from the scope of the invention in the implementation stage.
S1〜S20…プッシュスイッチ、R1〜R5…制御ICの入力端子、C1〜C5…制御ICのオープンドレイン出力端子、D1〜D4…ダイオード、H1〜H5…キーマトリクス回路の行ライン、V1〜V4…キーマトリクス回路の列ライン、31…キーマトリクス回路、32…ノイズ対策回路、33…制御IC、34…ロータリーディップスイッチ、35…信号ライン。
S1 to S20 ... push switches, R1 to R5 ... control IC input terminals, C1 to C5 ... control IC open drain output terminals, D1 to D4 ... diodes, H1 to H5 ... key matrix circuit row lines, V1 to V4 ... Column line of
Claims (1)
前記制御部は、前記キーマトリクス回路及びロータリーディップスイッチに与える走査信号のタイミング及び前記キーマトリクス回路の行ラインに生じる信号によって前記キーマトリクス回路の操作内容及びロータリーディップスイッチの設定内容を判別する判別手段と、当該ロータリーディップスイッチを用いた入力装置を携帯無線機に適用した場合に、前記携帯無線機で選択された受信周波数に応じて前記走査信号の周波数を可変設定する周波数設定手段とを備えたことを特徴とするロータリーディップスイッチを用いた入力装置。 A key matrix circuit in which a plurality of switches are arranged in a matrix, a rotary dip switch that includes a plurality of terminals and a common terminal, and outputs a code signal according to a connection state between the plurality of terminals and the common terminal, and the key Applying scanning signals to the diodes respectively provided between the row lines of the matrix circuit and the plurality of terminals of the rotary dip switch, and the column lines of the key matrix circuit and the common terminal of the rotary dip switch at different timings, An input device using a rotary dip switch comprising a control unit that captures a signal generated in a row line of a key matrix circuit ,
Wherein the control unit, said key matrix circuit and the rotary give DIP switch scan signal timing and discriminating means for discriminating the operation contents and settings of the rotary DIP switch of the key matrix circuit by a signal generated row lines of the key matrix circuit And a frequency setting means for variably setting the frequency of the scanning signal according to the reception frequency selected by the portable radio when the input device using the rotary dip switch is applied to the portable radio. An input device using a rotary dip switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007167973A JP5005442B2 (en) | 2007-06-26 | 2007-06-26 | Input device using rotary dip switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007167973A JP5005442B2 (en) | 2007-06-26 | 2007-06-26 | Input device using rotary dip switch |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2009010518A JP2009010518A (en) | 2009-01-15 |
JP2009010518A5 JP2009010518A5 (en) | 2010-06-03 |
JP5005442B2 true JP5005442B2 (en) | 2012-08-22 |
Family
ID=40325186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007167973A Active JP5005442B2 (en) | 2007-06-26 | 2007-06-26 | Input device using rotary dip switch |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5005442B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111600591A (en) * | 2020-07-27 | 2020-08-28 | 北京维普无限智能技术有限公司 | Key identification method and system of matrix keyboard |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62209608A (en) * | 1986-03-11 | 1987-09-14 | Sony Corp | Controller |
JPH07235238A (en) * | 1994-02-24 | 1995-09-05 | Sony Corp | Electronic equipment |
JPH10241867A (en) * | 1997-02-20 | 1998-09-11 | Asahi Natl Shomei Kk | Port signal setting device |
JP2005283384A (en) * | 2004-03-30 | 2005-10-13 | Optex Co Ltd | Microwave sensor and system for preventing mutual interference of microwave sensor |
-
2007
- 2007-06-26 JP JP2007167973A patent/JP5005442B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2009010518A (en) | 2009-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5005442B2 (en) | Input device using rotary dip switch | |
WO2010125423A1 (en) | Mobile phone with improved keyboard scanning and component reduction and method | |
EP2115606B1 (en) | Integrated circuit and electronic device | |
JP2007235462A (en) | Data receiving device | |
US6266049B1 (en) | One-chip microcomputer system | |
US20200162064A1 (en) | Debounce circuit using d flip-flops | |
TWI564813B (en) | Touch sensing circuit and control method thereof | |
US20020097883A1 (en) | System and method for sensing a sound system | |
JPH05284575A (en) | Device and method for controlling reception of remote controller | |
JP4931727B2 (en) | Data communication system | |
US7616039B2 (en) | Memory reset apparatus | |
TWI590105B (en) | Input Device and Status Detecting Method Using the Same | |
US20070076466A1 (en) | Multiple-clock controlled logic signal generating circuit | |
KR101633471B1 (en) | Method for equalizing output data signal of voltage mode driver and driver circuit using the same | |
JP4664845B2 (en) | Key matrix circuit | |
JP2007122250A (en) | Memory interface circuit | |
JP2009212930A (en) | Input-level determination circuit | |
JP4542334B2 (en) | Data transmission control device and data transmission control method | |
JP2010103663A (en) | Receiving circuit, electronic apparatus, and method for controlling receiving circuit | |
US10015026B2 (en) | Transmitter and communication system | |
US20090027237A1 (en) | Key system and method capable of detecting if a plurality of keys are triggered | |
JP2016224588A (en) | Controller and control method | |
JPH11282401A (en) | Planar display device | |
US20020044139A1 (en) | Digital rotary switch signal reading circuit | |
CN115794014A (en) | Data restoration detection method and device for image input interface and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100419 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100419 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120214 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120404 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120424 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120523 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150601 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5005442 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |