KR880000422B1 - Matrix key and data selector - Google Patents
Matrix key and data selector Download PDFInfo
- Publication number
- KR880000422B1 KR880000422B1 KR1019830003798A KR830003798A KR880000422B1 KR 880000422 B1 KR880000422 B1 KR 880000422B1 KR 1019830003798 A KR1019830003798 A KR 1019830003798A KR 830003798 A KR830003798 A KR 830003798A KR 880000422 B1 KR880000422 B1 KR 880000422B1
- Authority
- KR
- South Korea
- Prior art keywords
- input
- microcomputer
- data selector
- key
- output
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06C—DIGITAL COMPUTERS IN WHICH ALL THE COMPUTATION IS EFFECTED MECHANICALLY
- G06C1/00—Computing aids in which the computing members form at least part of the displayed result and are manipulated directly by hand, e.g. abacuses or pocket adding devices
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
Description
제1도는 로크 키(lock key)입력 또는 상태(state)입력 방법.1 is a lock key input or state input method.
제2도는 소프트 타치(soft touch) 키 입력 방법.2 is a soft touch key input method.
제3도는 로크 키 입력과 상태입력을 조합한 매트릭스 결선도.3 is a matrix wiring diagram combining lock key input and status input.
제4도는 데이터 선별기(data selector)를 이용하는 방법.4 illustrates a method of using a data selector.
제5도는 본 발명에 따르는 조합방법의 실시예.5 is an embodiment of a combination method according to the invention.
제6도는 제1도, 제2도, 제4도의 방법에서 마이크로 컴퓨터에 소요되는 입력 단자수를 나타낸 그래프이다.FIG. 6 is a graph showing the number of input terminals required for the microcomputer in the methods of FIG. 1, FIG. 2, and FIG.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1 : 마이크로 컴퓨터 2, 2' : 데이터 선별기1:
3 : 소프트 타치 키(soft touch key) 4 : 앤드 게이트(AND gate)3: soft touch key 4: AND gate
본 발명은 데이터 선별기를 이용하고 로크 키와 매트릭스 키를 조합해서 마이크로컴퓨터의 필요 입출력단자수를 줄이는 방법에 관한 것이다.The present invention relates to a method of reducing the number of input / output terminals required of a microcomputer by using a data selector and combining a lock key and a matrix key.
종래의 마이크로 컴퓨터에서는 첨부도면의 제1도, 제2도, 제3도 및 제4도에 도시된 바와 같은 여러가지 입력방법을 사용하였는데 이러한 방법에 의하면 많은 수의 입출력 단자수를 필요로 하기 때문에 효율적으로 시스템을 제어하지 못하는 단점이 있었다.Conventional microcomputers use various input methods as shown in FIGS. 1, 2, 3, and 4 of the accompanying drawings. There was a disadvantage of not controlling the system.
본 발명은 상기한 종래의 문제점을 해결한 것으로, 로크 키와 데이터 선별기 및 매트릭스 키를 복합적으로 조합하므로써 적은 입출력 단자의 마이크로 컴퓨터로 많은 수의 외부상태(state)를 처리하게 하여 효율적으로 시스템을 제어할 수 있도록함에 발명의 목적이 있다.SUMMARY OF THE INVENTION The present invention solves the above-mentioned problems, and by combining a lock key, a data selector and a matrix key, a microcomputer with a small number of input / output terminals can handle a large number of external states to efficiently control the system. It is an object of the invention to enable it.
이하 본 발명을 예시도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
마이크로 컴퓨터(1)에서는 사용자의 명령을 알아내거나 혹은 주변의 정보를 처리하고 제어하기 위한 입출력 단자가 필요하다. 본 발명의 도면에는 몇가지의 입출력 방법이 도시되어 있다.In the
제1도에 보인 방법은 입력이 로크 키(lock key)에 의한 것이거나 하이 상태(high state)가 계속 유지되는 상태입력(state input)인 경우에 편리하다. 그러나 이와같은 방법은 입력을 구별해 내는 소프트웨어가 간단하지만, 입력단자의 갯수가 많아지는 단점을 가지고 있다. 즉, 이 경우에는 n개의 입력에 대해 n개의 마이크로 컴퓨터(1)의 입력 단자가 필요하다.The method shown in FIG. 1 is convenient when the input is by a lock key or a state input where a high state is maintained. However, this method is simple in distinguishing software, but has a disadvantage of increasing the number of input terminals. That is, in this case, input terminals of
제2도에 도시된 소프트 타치 키(soft touch key)(3)를 사용하는 방법에서는 (m+n)개의 입력단자로 (m×n)개의 입력을 구별해 낼 수 있으므로 입출력 단자를 적게 사용해도 비교적 많은 입력데이터를 받아들일 수 있다.In the method of using the
한편, 입력 키가 모두 로크 키(lock key)일 경우에는 제3도와 같은 매트릭스 록크 키 입력을 구성할수 있다. 이 방법은 제2도의 방법에서와 같이 (m+n)개의 입력단자로 (m×n)개의 입력을 구별할 수 있다.On the other hand, when the input keys are all lock keys, the matrix lock key input as shown in FIG. 3 can be configured. This method can distinguish (m × n) inputs by (m + n) input terminals as in the method of FIG.
제4도는 데이터 선별기(2)를 이용한 방법인데, 이 경우 4개의 입력을 구별하려면 22=4이므로 마이크로 컴퓨터(1)에서 2개의 출력이 데이터 선별기(2)로 입력되어야 하며 데이터 선별기(2)의 1개의 출력이 마이크로 컴퓨터(1)로 입력되어야 한다. 따라서 마이크로 컴퓨터(1)의 입출력 단자는 3개가 필요하게 된다. 이러한 방법에 따르면 마이크로 컴퓨터(1)의 입출력 단자 n개를 이용해서 외부의 상태를 구별해 내려고 할때에 단자 1개는 데이터 선별기(2)의 출력을 받아들이는데 사용하고 나머지 (n-1)개는 외부상태를 구별하는데 이용하게 되므로 2(n-1)개의 외부상태를 구별할 수가 있다.4 is a method using the
이상을 종합하여 보면 제1도, 제2도 및 제4도의 방법에서 마이크로 컴퓨터(1)의 입출력 단자를 똑같이 n개를 사용할 때 제1도의 방법으로는 n개의 외부상태를 구별할 수 있고, 제2도의 방법으로는 n이 짝수인 경우에는 최고개, n이 홀수인 경우에는 최고개를 구별할 수 있으며, 제4도의 방법으로는 2(n-1)개를 구별해 낼 수 있다.In summary, when the same input / output terminals of the
제6도에는 상기한 각각의 방법에 따라서 마이크로 컴퓨터(1)가 구별해 낼 수 있는 외부 상태수가 그래프로 표시되어 있다.In FIG. 6, the number of external states which the
제6도의 그래프에서 알 수 있듯이 마이크로 컴퓨터(1)의 입출력 단자를 4개 이상 사용하는 경우 제4도와 같이 데어터 선별기(2)를 사용하는 방법이 가장 많은 외부상태를 구별해 낼 수 있고, 다음 이 제2도와 같은 소프트 타치 키를 사용한 입력방법, 그 다음이 제1도와 같은 로크키 입력방법 또는 상태 입력 방법이다.As shown in the graph of FIG. 6, when four or more input / output terminals of the
상기한 바와 같이, 로크 키와 하이 상태(high state) 또는 로우 상태(low state)를 계속 유지하는 상태입력의 경우에는 제1도나 제4도의 방법이 유리하며 소프트 타치인 경우에는 제2도의 방법이 유리하다.As described above, the method of FIG. 1 or FIG. 4 is advantageous for the lock key and the state input that maintains the high state or the low state, and the method of FIG. 2 for the soft touch. It is advantageous.
제5도에 예시된 것은 본 발명에 따르는 실시예로써, 로크 키나 상태 입력 그리고 소프트 타치 입력이 함께 존재할 때 사용할 수 있는 방법이다. 데이터 선별기(2)를 사용할 때는 하드웨어 비용이 올라가므로 소프트 타치 입력에 대해서는 제2도에 도시된 방법을 사용하는 것이 유리하다. 로크 키나 상태입력인 경우는 제3도나 제4도에 도시한 방법을 사용할 수 있는데, 로크 키나 상태입력의 갯수와 마이크로 컴퓨터(1)에서 사용할 수 있는 입출력에서 사용할 수 있는 입출력 단자의 갯수에 따라 어느 쪽이 유리한가를 결정해서 사용한다.Illustrated in FIG. 5 is an embodiment in accordance with the present invention, which can be used when a lock key or a status input and a soft touch input are present. Since the hardware cost increases when using the
그리고 제5도는 제2도의 방법과 제4도의 방법을 조합할 때 마이크로 컴퓨터(1)에서 소프트 타치 키(3)를 이용한 매트릭스 키나 데이터 선별기(2)(2')로 나가는 출력단자를 공통으로 사용하고 있는 것을 보여주고 있으며, 이러한 방법을 택함으로써 마이크로 컴퓨터(1)의 입출력 단자수를 대폭 줄일 수 있다.In FIG. 5, when combining the method of FIG. 2 and the method of FIG. 4, the
제5도의 실시예는 다음과 같은 동작을 실시하게 된다.The embodiment of FIG. 5 performs the following operation.
먼저 마이크로 컴퓨터(1)의 출력단자(O0)(O1)(O2)에 차례로 하이레벨(high level : "1")을 출력해서 매트릭스 키에서 마이크로 컴퓨터(1)의 입력단자(IK0)(IK1)(IK2)로 들어오는 소프트 타치 키(3)의 입력을 파악한 후 파악된 입력은 마이크로 컴퓨터(1)에서 2진 코드로 변화되어 출력단자(O0)(O1)(O2)를 통해 데이터 선별기(2)(2')로 출력된다. 데이터 선별기(2)(2')에서는 그에 해당하는 로크키입력 또는 상태(state)입력을 선택하여 마이크로 컴퓨터(1)의 입력단자(I0)(I1)에 전달하게 되므로 적은 입출력 단자로 많은 양의 정보를 처리할 수 있게 된다.First, the high level "1" is output to the output terminals O 0 (O 1 ) and (O 2 ) of the
상기한 바와 같이 본 발명은 로크 키나 소프트 타치 키(3) 및 상태입력 신호를 효과적으로 조합하여 마이크로 컴퓨터(1)에 전달하는 방법을 제공하게 되므로 적은 입출력 단자로도 많은 양의 정보 신호를 처리할 수 있고, 전체 시스템의 회로를 간소화 할 수 있는 장점이 있다.As described above, the present invention provides a method of effectively combining the lock key or
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019830003798A KR880000422B1 (en) | 1983-08-13 | 1983-08-13 | Matrix key and data selector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019830003798A KR880000422B1 (en) | 1983-08-13 | 1983-08-13 | Matrix key and data selector |
Publications (2)
Publication Number | Publication Date |
---|---|
KR850002125A KR850002125A (en) | 1985-05-06 |
KR880000422B1 true KR880000422B1 (en) | 1988-03-22 |
Family
ID=19229700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019830003798A KR880000422B1 (en) | 1983-08-13 | 1983-08-13 | Matrix key and data selector |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR880000422B1 (en) |
-
1983
- 1983-08-13 KR KR1019830003798A patent/KR880000422B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR850002125A (en) | 1985-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4200929A (en) | Input device for delivery of data from digital transmitters | |
US4588187A (en) | Port expansion adapter for video game port | |
EP0328063A2 (en) | Absolute value calculating circuit having a single adder | |
US4591833A (en) | Keyboard unit control system using block scanning techniques | |
KR880000422B1 (en) | Matrix key and data selector | |
US5457455A (en) | Real time keyboard scanner | |
US4064399A (en) | Electronic calculator having keyboard for entering data | |
US4609997A (en) | Input processor | |
US4667307A (en) | Circuit for selecting and locking in operation function circuitry | |
JPS61134828A (en) | Key input device | |
US3514762A (en) | Computer memory transfer system | |
KR960004571B1 (en) | Scan data transition circuit | |
US5379442A (en) | Fast primary and feedback path in a programmable logic circuit | |
US4755968A (en) | Buffer memory device controlled by a least recently used method | |
JPS6155725A (en) | Keyboard device | |
RU2020744C1 (en) | Universal modulo-m parallel counter-decoder of bits in n-bit binary code | |
US3423577A (en) | Full adder stage utilizing dual-threshold logic | |
JPS63163654A (en) | Device for selecting input/output unit | |
SU1037233A1 (en) | Data input device | |
JP2922963B2 (en) | Sequence controller | |
RU2222822C2 (en) | Device for programmed control over electric motor drives, electron keys and signaling | |
JPS59163626A (en) | Keyboard identifying system | |
SU857993A1 (en) | Device for control of computing complex | |
KR950007107B1 (en) | Computer w/additional microprocessor | |
JPS6263328A (en) | Key input device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20020227 Year of fee payment: 15 |
|
LAPS | Lapse due to unpaid annual fee |