JPS5922131A - Key inputting method - Google Patents
Key inputting methodInfo
- Publication number
- JPS5922131A JPS5922131A JP57131591A JP13159182A JPS5922131A JP S5922131 A JPS5922131 A JP S5922131A JP 57131591 A JP57131591 A JP 57131591A JP 13159182 A JP13159182 A JP 13159182A JP S5922131 A JPS5922131 A JP S5922131A
- Authority
- JP
- Japan
- Prior art keywords
- key
- controller
- code
- terminals
- matrix
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M11/00—Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
- H03M11/22—Static coding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
Description
【発明の詳細な説明】
本発明は、マイクロコンピュータを使用した機器コント
ローラへのキー人力方法に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a manual key input method to an equipment controller using a microcomputer.
カセットデツキ等の機器を制御釦するコントローラにマ
イクロコンピュータを使用する場合、通審はキーマトリ
クスを組んで各種のキー(スイツチ)情報を入力する。When a microcomputer is used as a controller for controlling a device such as a cassette deck, the referee creates a key matrix and inputs information on various keys (switches).
第1図は4×4のキーマトリクス1を例としたもので、
これにより機器コントローラ2に対しキー情報を入力す
る。この例の様にキーマトリクスを組まずに16通りの
キー情報を入力しようとすれば16本のi /−o端子
を必要とするが、図示のようにタイミング用に4本の端
子、時分割入力用に4本の端子を用いれば耐8本のi/
仔端子で16通りのキー情報を入力できる。しかし、こ
のようにしても8本のi / o端子をキー人力で占有
してしまうので、コントローラ2で他の仕事をしようと
しても17石端子が不足することがある。Figure 1 shows a 4x4 key matrix 1 as an example.
As a result, key information is input to the device controller 2. If you try to input 16 types of key information without creating a key matrix as in this example, you will need 16 I/-O terminals, but as shown in the figure, there are 4 terminals for timing, and 4 terminals for time division. If four terminals are used for input, it can withstand 8 i/
You can input 16 types of key information using the child terminal. However, even if this is done, the 8 I/O terminals will be occupied by the key manually, so even if the controller 2 is used for other tasks, there may be a shortage of 17 terminals.
本発明は、キーマトリクス専用のコン1−ローラを設け
ることで機器コントローラへのキー入力端子数を低減す
るものである。本発明のキー人力方法は、キーマトリク
スからの各種キー操作情報をキーコントローラで受けて
それをキーコードに変換し、そして該キーコードを機器
コントローラに対し所定時間だけ出力することを特徴と
するが、以下図示の実施例を参照しながらこれを詳細に
説明する。The present invention reduces the number of key input terminals to the device controller by providing a controller dedicated to the key matrix. The key manual method of the present invention is characterized in that a key controller receives various key operation information from a key matrix, converts it into a key code, and outputs the key code to a device controller for a predetermined period of time. This will be explained in detail below with reference to the illustrated embodiments.
第2図は車載用のオーディオシステムに適用した本発明
の一実施例で、機器コントローラはカセットデツキを制
御するデツキコントローラ2或いはチューナを制御する
チューナコントローラ3である。4はマイクロコンピュ
ータを使用したキーコントローラで、4×4のキーマト
リクス1の16通りのキー情報を4ヒントの並列コード
に変換する。この4ビツトのSWコードはコントローラ
2.3に供給されるが、以下ではデツキコントローラ2
について説明する。このコントローラ2は表示用のデコ
ーダドライバIC2、カセットパンクの挿入、排出用プ
ランジャPLN+、ヘッド移動用のプランジャPLN2
、リールモータMOT1を制御する回路IC3、キャプ
スタンモータMOT2を制御する回路ICa、トラック
切替用のリレーRL等に制御信号を出力する。デツキコ
ントローラ2への入力には、リール回転検知信号A。FIG. 2 shows an embodiment of the present invention applied to an in-vehicle audio system, where the device controller is a deck controller 2 for controlling a cassette deck or a tuner controller 3 for controlling a tuner. 4 is a key controller using a microcomputer, which converts the 16 types of key information in the 4×4 key matrix 1 into parallel codes with 4 hints. This 4-bit SW code is supplied to controller 2.3, but in the following, deck controller 2.
I will explain about it. This controller 2 includes a decoder driver IC2 for display, a plunger PLN+ for inserting and ejecting a punctured cassette, and a plunger PLN2 for moving the head.
, a circuit IC3 that controls the reel motor MOT1, a circuit ICa that controls the capstan motor MOT2, a track switching relay RL, and the like. The reel rotation detection signal A is input to the deck controller 2.
B等のセンサ出力の他に、キーコントローラ4からのS
Wコードがある。しかし、このSWコードは4ビツトで
あるから4本のi / o端子DO〜D3しか占有しな
い。In addition to sensor outputs such as B, S from the key controller 4
There is a W code. However, since this SW code is 4 bits, it occupies only four I/O terminals DO to D3.
第3図はキーコントローラ4の処理フローである。この
コントローラ4はキーマトリクス1のどのキーSWも押
されていなければSWコードを全て“1”としているが
、いずれかのキーSWが押されるとそのキーに対応した
SWコードを所定時間(例えば10m5>だけ出力し、
再び出力端子をオール“1”にする。表1は各種のキー
とSWコードD o−D 3の対応表である。FIG. 3 is a processing flow of the key controller 4. This controller 4 sets all SW codes to "1" if no key SW in the key matrix 1 is pressed, but when any key SW is pressed, the SW code corresponding to that key is set to "1" for a predetermined period of time (for example, 10m5). > output only,
Set all output terminals to “1” again. Table 1 is a correspondence table between various keys and SW codes D o - D 3.
/
/
表1
デツキコントローラ2はこの8wコードを例えば5ms
の間隔でキーパソファ(図示せず)にとり込み、さらに
10m5間隔でその種類を判断する。/ / Table 1 Detsuki controller 2 converts this 8w code to, for example, 5ms.
A keeper sofa (not shown) receives the data at intervals of 10m5, and its type is determined at intervals of 10m5.
第4図はこのタイムチャートで、t+、t2.・・・・
・・はキー状態とり込みタイミング、T1.1”2゜・
・・・・・はSW判断タイミングである。8wコードの
発生するタイミングは不規則であるから、ケース1.3
のようにsw判断タイミング前に2回とり込みを行う場
合もあれば、ケース2,4のように1回の場合もある。FIG. 4 shows this time chart, t+, t2.・・・・・・
... is the key state capture timing, T1.1"2°.
. . . is the SW judgment timing. Since the timing at which the 8w code occurs is irregular, case 1.3
In some cases, the data is captured twice before the SW judgment timing, as in Cases 2 and 4, and in other cases, it is captured once, as in Cases 2 and 4.
ケース1では2回目のt2でキーバッファにとり込んだ
8wコードをTIで判断する。ケース2では1回目のt
4でとり込んだSWコードをT2で判断する。ケース3
では2回目のt4でとり込んだ8wコードをT2で判断
する。これらは特に問題のないケースである。ところが
ケース4では1回目のt3でキーバッファにとり込んで
も2回目のt、Iまで持続しないので、このときにキー
パソファの内容はオール“1”になり、T4のタイミン
グでは何もキーが押さていなかったことと等価になる。In case 1, the 8w code taken into the key buffer at the second time t2 is determined by TI. In case 2, the first t
The SW code taken in step 4 is judged at T2. Case 3
Then, the 8w code taken in at the second time t4 is judged at T2. These are cases where there are no particular problems. However, in case 4, even if it is captured in the key buffer at the first time t3, it does not persist until the second time t and I, so the contents of the key buffer become all "1" at this time, and no keys are pressed at the timing of T4. It becomes equivalent to that.
これでは不都合が生じるので、デツキコントローラ2例
の処理を第5図のようにする。Since this causes inconvenience, the processing of the two example deck controllers is performed as shown in FIG.
第5図(a)は1msおきに実行されるプログラムで、
とり込みタイミングを決めるカウンタTNの計数値が4
か9(この間隔が5 ms)である場合にキーコード入
力処理に移る。ただし、そのときのキーコード(SWコ
ード)がオール“1”であればそれはキーパ・7フアに
とり込まない。Figure 5(a) is a program that is executed every 1ms,
The count value of the counter TN that determines the import timing is 4.
or 9 (this interval is 5 ms), the process moves to key code input processing. However, if the key code (SW code) at that time is all "1", it will not be taken into the keeper 7.
第4図のt4のケースはこれに相当する。t4でキーパ
ソファの内容がオール“l”にならなければt3でとり
込まれたSWコードがT2まで持続するのでSW判断に
支障はない。要するにSWコードが有効である場合にだ
けキーパソファにその内容をとり込む。そして、SW判
断処理が終了したらキーパソファの内容をオール“1”
にしておく。同図(b)はこの処理フローであり、「S
Wココ−判断」でキーパソファの内容を見る・以上述べ
たように本発明によれば、デツキコントローラ等の機器
コントローラで使用するキー入力端子数を低減できるの
で、余った端子を用いて該コントローラが他の仕事をす
ることができる。The case of t4 in FIG. 4 corresponds to this. If the contents of the keeper sofa do not become all "L" at t4, the SW code taken in at t3 will last until T2, so there will be no problem in SW determination. In short, only when the SW code is valid, its contents are imported into the keeper sofa. Then, when the SW judgment process is completed, the contents of the keeper sofa are set to all “1”.
Keep it. Figure (b) shows this processing flow.
View the contents of the keypad sofa using "W Coco Judgment" - As described above, according to the present invention, the number of key input terminals used in a device controller such as a deck controller can be reduced, so the controller can be operated using the surplus terminals. I can do other jobs.
第1図は従来のキー人力方法の説明図、第2図は本発明
の一実施例を示す構成図、第3図はキーコントローラの
処理を示すフローチャート、第4図は機器コントローラ
のキーコードとり込みおよび判断処理のタイムチャート
、第5図はそのフローチャートである。
図中、■はキーマトリクス、2,3は機器コントローラ
、4はキーコントローラである。
出 願 人 富士通テン株式会社
代理人弁理士 青 柳 稔Fig. 1 is an explanatory diagram of the conventional key manual method, Fig. 2 is a configuration diagram showing an embodiment of the present invention, Fig. 3 is a flowchart showing the processing of the key controller, and Fig. 4 is a key code input method of the device controller. FIG. 5 is a flowchart of the time chart of the input and determination processing. In the figure, ■ is a key matrix, 2 and 3 are device controllers, and 4 is a key controller. Applicant: Minoru Aoyagi, Patent Attorney, Fujitsu Ten Limited
Claims (1)
ーラで受けてそれをキーコードに変換し、そして該キー
コードを機器コントローラに対し所定時間だけ出力する
ことを特徴とするキー人力方法。A key manual method characterized in that a key controller receives various key operation information from a key matrix, converts it into a key code, and outputs the key code to a device controller for a predetermined period of time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57131591A JPS5922131A (en) | 1982-07-28 | 1982-07-28 | Key inputting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57131591A JPS5922131A (en) | 1982-07-28 | 1982-07-28 | Key inputting method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5922131A true JPS5922131A (en) | 1984-02-04 |
Family
ID=15061628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57131591A Pending JPS5922131A (en) | 1982-07-28 | 1982-07-28 | Key inputting method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5922131A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010018935A (en) * | 2008-07-10 | 2010-01-28 | Satoko Kobayashi | Pad for cooling head portion |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS55147730A (en) * | 1979-05-08 | 1980-11-17 | Sharp Corp | Data input unit |
-
1982
- 1982-07-28 JP JP57131591A patent/JPS5922131A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS55147730A (en) * | 1979-05-08 | 1980-11-17 | Sharp Corp | Data input unit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010018935A (en) * | 2008-07-10 | 2010-01-28 | Satoko Kobayashi | Pad for cooling head portion |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2514134Y2 (en) | Remote control device | |
JPS5922131A (en) | Key inputting method | |
US3683370A (en) | Input device | |
KR970058171A (en) | How to Learn Remote Control Codes | |
KR950012376A (en) | How to operate multiple VRs | |
JPS59225407A (en) | Controller using voice recognition | |
KR0143893B1 (en) | Method for reviewing the past mode of a tape recorder | |
JPH0638210B2 (en) | Sequence controller input / output control system | |
JPS6022158B2 (en) | Electric lock control device | |
JP2627951B2 (en) | Key input method | |
JPH0728730Y2 (en) | Graphic equalizer | |
JPS6421756A (en) | Acoustic video apparatus | |
JPH0540586A (en) | On-screen manual display system | |
JPH09179672A (en) | Key input system | |
JPS60135933U (en) | terminal device | |
JPH02296494A (en) | Remote controller | |
JPS5815204U (en) | Step sequence controller | |
JPS5925588U (en) | display control device | |
KR920010563A (en) | How to lock the video recording and playback system using the remote control | |
JPH02127717A (en) | Key repeat input control system | |
JPS63294628A (en) | Function lock circuit | |
JPS58173930U (en) | Receiver operation circuit | |
EP0386260A4 (en) | ||
JPH02110710A (en) | Data input guide system | |
KR940003411A (en) | Device control method by time reservation of remote controller |