KR930023811A - Key matrix recognition method and device - Google Patents

Key matrix recognition method and device Download PDF

Info

Publication number
KR930023811A
KR930023811A KR1019920008090A KR920008090A KR930023811A KR 930023811 A KR930023811 A KR 930023811A KR 1019920008090 A KR1019920008090 A KR 1019920008090A KR 920008090 A KR920008090 A KR 920008090A KR 930023811 A KR930023811 A KR 930023811A
Authority
KR
South Korea
Prior art keywords
key
voltage
matrix
value
matrix unit
Prior art date
Application number
KR1019920008090A
Other languages
Korean (ko)
Inventor
성한선
Original Assignee
이헌조
주식회사 금성사
Filing date
Publication date
Application filed by 이헌조, 주식회사 금성사 filed Critical 이헌조
Publication of KR930023811A publication Critical patent/KR930023811A/en

Links

Abstract

본 발명은 키이 매트릭스 인식방법 및 그 장치에 관한 것으로서, 이는 마이콤의 적은 수의 포트로 많은 키이 매트릭스를 입력 처리하여 인식할 수 있도록 한 것이다.The present invention relates to a key matrix recognition method and an apparatus thereof, which enables input processing of a large number of key matrices with a small number of ports of the microcomputer.

이와같은 본 발명은 적어도 하나 이상의 다이오드와 저항이 순차적으로 직렬 접속된 제1 매트릭스(10) 및 이와 역방향으로 순차적으로 접속된 제2 매트릭스(20)의 사이에 키이스위치(K1-Kn)를 순차적으로 접속하여 그 키이스위치의 키이 스위칭에 따라 전압을 변화시켜 출력하는 키이매트릭스부(1)와, 상기 키이매트릭스부(1)의 제1 매트릭스(10) 및 제2 매트릭스(20)로부터 변화되어 출력되는 전압을 제1, 제2 아날로그/디지탈 변환단자(A/D1)(A/D2)로 입력받아 디지탈 변환한 후 그 변화된 전압으로 키이매트릭스부(1)의 키이입력신호를 인식하는 마이콤(2)으로 구성함으로써, 적은 수의 포트로 많은 키이 신호를 인식 처리할 수 있는 것이다.In the present invention, the key switches K1-Kn are sequentially disposed between the first matrix 10 having the at least one diode and the resistor sequentially connected in series and the second matrix 20 sequentially connected in the reverse direction. Connected to the key matrix unit 1 for changing the voltage according to the key switching of the key switch, and the first matrix 10 and the second matrix 20 of the key matrix unit 1 are outputted after being changed. The microcomputer 2 that receives the voltage through the first and second analog / digital conversion terminals A / D1 and A / D2, converts the digital signal, and recognizes the key input signal of the key matrix unit 1 using the changed voltage. By configuring this, a large number of key signals can be recognized and processed with a small number of ports.

Description

키이 매트릭스 인식방법 및 그 장치Key matrix recognition method and device

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음Since this is an open matter, no full text was included.

제2도는 본 발명은 키이 매트릭스 인식시스템 구성도, 제3도는 제2도의 동작설명에 대한 신호흐름도.2 is a block diagram of a key matrix recognition system according to an embodiment of the present invention, and FIG. 3 is a signal flow diagram for explaining the operation of FIG.

Claims (2)

제1, 제2 아날로그/디지탈 변환단자를 통해 입력되는 키이매트릭스부의 출력 전압변화를 검색하는 제1단계와, 상기 검색한 전압의 변화가 있으면 그 변화되어 입력되는 각각의 전압을 가산하여 저장하는 제2단계와, 상기 가산한 전압이 일정전압에 도달하였는가를 비교하여 그 가산한 전압이 일정전압에 도달하지 않았을 때에는 두개이상의 키이신호 입력으로 판단하는 제3 단계와, 상기 비교한 결과 가산전압이 일정전압에 도달하면 제1 아날로그/디지탈 변환단자의 입력 전압값을 키이값으로 하고 그 키이값이 새로운 값인가를 검색하는 제4 단계와, 상기 검색한 키이값이 새로운 값이면 키이입력시간을 설정하여 키이 수행을 하는 제5 단계와, 상기 검색한 키이값이 이전의 값이면 현재의 키이입력시간을 감산하여 새로히 키이 입력시간을 설정하는 제 6단계와, 상기 키이입력시간이 경과 하였는가를 검색하여 경과 하였으면 키이 동작을 수행하고 경과하지 않았으면 키이입력동작을 종료하는 제 7단계로 이루어짐을 특징으로 한 키이 매트릭스 인식방법.A first step of retrieving the output voltage change of the key matrix unit inputted through the first and second analog / digital conversion terminals; and adding and storing each changed and input voltage when there is a change in the searched voltage. Step 2, comparing the added voltage to reach a constant voltage, and when the added voltage does not reach a constant voltage, determining a two or more key signal inputs, and comparing the added voltage with a constant result When the voltage is reached, the fourth step of searching for the input voltage value of the first analog / digital conversion terminal as the key value and searching whether the key value is a new value, and setting the key input time if the searched key value is the new value, A fifth step of performing a key and, if the searched key value is a previous value, subtracts a current key input time and sets a new key input time. And a seventh step of searching for whether the key input time has elapsed, and performing a key operation if the key input time has elapsed, and terminating the key input operation if it has not elapsed. 적어도 하나 이상의 다이오드와 저항이 순차적으로 직렬 접속된 제1 매트릭스(10) 및 이와 역방향으로 순차적으로 접속된 제2 매트릭스(20)의 사이에 키이스위치(K1-Kn)를 순차적으로 접속하여 그 키이스위치의 키이 스위칭에 따라 전압을 변화시켜 출력하는 키이매트릭스부(1)와, 상기 키이매트릭스부(1)의 제1 매트릭스(10) 및 제2 매트릭스(20)로부터 변화되어 출력되는 전압을 제1, 제2 아날로그/디지탈 변환단자(A/D1)(A/D2)로 입력받아 디지탈 변환한 후 그 변화된 전압으로 키이매트릭스부(1)의 키이입력신호를 인식하는 마이콤(2)을 포함하여 된 키이 매트릭스 인식장치.Key switches K1-Kn are sequentially connected between the first matrix 10 having at least one diode and the resistors sequentially connected in series and the second matrix 20 sequentially connected in the reverse direction, and the keyswitch The key matrix unit 1 for changing the voltage according to the key switching of the key matrix unit 1 and the voltage outputted from the first matrix 10 and the second matrix 20 of the key matrix unit 1 are outputted to the first matrix unit 1. A key including a microcomputer 2 that receives a second analog / digital conversion terminal A / D1 (A / D2), performs digital conversion, and recognizes a key input signal of the key matrix unit 1 with the changed voltage. Matrix recognition device. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.
KR1019920008090A 1992-05-13 Key matrix recognition method and device KR930023811A (en)

Publications (1)

Publication Number Publication Date
KR930023811A true KR930023811A (en) 1993-12-21

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180060092A (en) 2016-11-28 2018-06-07 주식회사 질라이트 Apparatus and method for recognizing digital code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180060092A (en) 2016-11-28 2018-06-07 주식회사 질라이트 Apparatus and method for recognizing digital code

Similar Documents

Publication Publication Date Title
KR900019375A (en) Sample-hold device
KR830006735A (en) Interface control method
KR950023885A (en) A voltage selector that receives a plurality of inputs and selectively outputs one of them
KR970022771A (en) Calculation circuit and instant recognition method with instant recognition
KR870001709A (en) D / A Converter
SE451781B (en) INTEGRATED CONTROL CIRCUIT FOR REPLACING INDUCTIVE LOADS, WHICH CIRCUIT INCLUDES A RECEIVING STEP
KR930023811A (en) Key matrix recognition method and device
EP0052226B1 (en) Digital to analog converting apparatus
KR880000764A (en) Refrigerator temperature control
JPS5732124A (en) Pulse detecting circuit
SU1181075A2 (en) Reversible device
SU1686430A1 (en) Signal shaper as power is switched on/off
JPS56137120A (en) Temperature detecting circuit
SU1176055A1 (en) Apparatus for controlling electronic locks
KR880004397A (en) Analog Signal Comparison Circuit
SU1559357A1 (en) Thyristor model
SU864275A1 (en) Information input device
KR940000954A (en) Key input device
KR900005654Y1 (en) Band control circuit of low band pass filter
SU1499368A1 (en) Device for investigating graphs
KR880000758A (en) Temperature controller for chiller
SU1356014A1 (en) Device for controlling electromagnet mechanism
SU1203705A1 (en) Resistance-to-pulse frequency converter
SU1336043A1 (en) Device for determining "k" independent shortest forward paths on a graph
KR930002657Y1 (en) Driving circuit of multi-stepping motor