KR19990008898U - Key Scan Circuit Using Voltage Variation - Google Patents

Key Scan Circuit Using Voltage Variation Download PDF

Info

Publication number
KR19990008898U
KR19990008898U KR2019970022057U KR19970022057U KR19990008898U KR 19990008898 U KR19990008898 U KR 19990008898U KR 2019970022057 U KR2019970022057 U KR 2019970022057U KR 19970022057 U KR19970022057 U KR 19970022057U KR 19990008898 U KR19990008898 U KR 19990008898U
Authority
KR
South Korea
Prior art keywords
input
key
microprocessor
keys
voltage
Prior art date
Application number
KR2019970022057U
Other languages
Korean (ko)
Inventor
정식원
Original Assignee
윤종용
삼성전자 주식회사
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 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR2019970022057U priority Critical patent/KR19990008898U/en
Publication of KR19990008898U publication Critical patent/KR19990008898U/en

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

본 고안은 전압변동을 이용한 키이 스캔회로에 관한 것으로, 마이크로 프로세서의 아날로그/디지틀 변환기를 통하여 연결된 하나의 입력 포트에 스위칭 수단인 다수의 키이를 병렬로 연결하면서 각각 다른 값을 갖는 전압변동 수단인 저항들을 통하여 일정한 전압이 공급되도록 하여 사용자가 키이중 하나를 온시키면 저항을 통하여 저항에 의해 감쇄된 전압값으로 입력되도록 함으로써 하나의 포트를 통해 다수의 키이에 대해 온/오프의 여부를 정확하게 인식할 수 있으며 마이크로 프로세서의 입출력 포트의 활용도를 넓힐 수 있도록 한 것이다.The present invention relates to a key scan circuit using a voltage change, and a resistor which is a voltage change means having a different value while connecting a plurality of keys, which are switching means, in parallel to one input port connected through an analog / digital converter of a microprocessor. When a user turns on one of the keys and inputs the voltage value attenuated by the resistor through the resistor, the user can accurately recognize whether the key is turned on or off through a single port. It is designed to expand the utilization of the microprocessor's input and output ports.

Description

전압변동을 이용한 키이 스캔회로Key Scan Circuit Using Voltage Variation

본 고안은 전압변동을 이용한 키이 스캔회로에 관한 것으로, 특히 하나의 포트를 통해 다수의 키이에 대해 온/오프의 여부를 정확하게 인식할 수 있도록 하여 마이크로 프로세서의 입출력 포트의 활용도를 넓힐 수 있도록 한 전압변동을 이용한 키이 스캔회로에 관한 것이다.The present invention relates to a key scan circuit using voltage fluctuations. In particular, a single port can be used to accurately recognize whether a key is on or off for a plurality of keys, thereby increasing the utilization of the input / output port of the microprocessor. The key scan circuit using the variation.

일반적으로 마이크로 프로세서에서는 사용자가 임의의 기능을 선택하였는 가의 여부를 키이의 온/오프 상태로 인식하도록 하였고, 키이의 온/오프 상태를 인식하는 마이크로 프로세서에서는 입/출력 포트를 통해 H나 L의 값이 입력되는 가의 여부로 판단하도록 하였음은 이미 잘 알려진 사실이다.In general, the microprocessor makes the key recognize whether the user selects an arbitrary function as the key on / off state. In the microprocessor that recognizes the key on / off state, the value of H or L is determined through the input / output port. It is well known that it is determined whether or not this is input.

그리고 상기의 마이크로 프로세서에서 키이의 온/오프를 인지하는 가장 많이 사용되는 방식이 다수의 키이를 매트릭스로 연결하고, 각각의 교차점에서 상기의 마이크로 프로세서의 입력단 및 출력단에 접속함으로써 어느 교차점에 있는 키이를 온시켰는 가를 정확히 인식하도록 하였다.In the microprocessor, the most commonly used method of recognizing key on / off is to connect a plurality of keys in a matrix, and connect the keys at any intersection by connecting to the input and output terminals of the microprocessor at each intersection. It was correctly recognized whether it was turned on.

그러나 이러한 일반적인 키이 매트릭스에 의한 키이 스캔 방법에 의하여서는 마이크로 프로세서에서 키이의 온/오프를 인지하기 위한 포트를 많이 차지하게 되므로 다른 데이터의 입출력을 위하여 더 많은 포트를 갖는 마이크로 프로세서를 사용하여야 하므로 제조원가가 비싸지면서 기판의 면적이 커지게 되는 문제점이 있었다.However, in this key scan method by the key matrix, the microprocessor occupies a lot of ports for recognizing the on / off of the key. Therefore, it is necessary to use a microprocessor having more ports for input / output of other data. There was a problem that the area of the substrate becomes large while being expensive.

그러므로 마이크로 프로세서에서 키이 스캔을 위한 포트의 수를 줄일 수 있도록 한 텔레비전 등의 제품에 적용되는 키이 스캔부를 도 1에 도시한 것과 같이 사용하였는 바,Therefore, a key scanning unit applied to a product such as a television, which can reduce the number of ports for key scanning in a microprocessor, is used as shown in FIG.

마이크로 프로세서(1)의 입/출력 포트(P1)(P2)(P3)(P4)들과 접지 포트(G)에 매트릭스로 연결하면서 각 교차점에는 다수의 키이(SW0),(SW1),(SW2),(SW3), (SW4),(SW5),(SW6), (SW7),(SW8),(SW9)을 연결하여 각각의 키이가 온/오프되는 상태를 인식하도록 하였다.A plurality of keys (SW0), (SW1), (SW2) are connected to the input / output ports (P1), (P2), (P3), (P4) of the microprocessor (1) and the ground port (G) in matrix at each intersection. ), (SW3), (SW4), (SW5), (SW6), (SW7), (SW8), and (SW9) are connected to recognize each key on / off status.

그러나 상기와 같은 종래의 키이 스캔회로에 의하여서는 마이크로 프로세서(1)에서 키이(SW0)∼(SW9)의 온/오프 상태를 인식하는 과정이 복잡하게 수행되는 것으로,However, in the conventional key scan circuit as described above, the process of recognizing the on / off states of the keys SW0 to SW9 is complicated by the microprocessor 1.

먼저 입/출력 포트(P1)∼(P4)들을 입력으로 하여 키이(SW0)∼(SW3)들이 세트(set)된 온상태인 가를 체크하고,First, input / output ports P1 to P4 are inputted to check whether the keys SW0 to SW3 are in an ON state.

입/출력 포트(P1)를 출력으로 하면서 입/출력 포트(P2)∼(P4)들을 입력으로 하여 키이(SW4)∼(SW6)들이 온상태인 가를 체크하고,While the input / output port P1 is output, the input / output ports P2 to P4 are input to check whether the keys SW4 to SW6 are on.

입/출력 포트(P2)를 출력으로 하면서 입/출력 포트(P1)(P3)(P4)들을 입력으로 하여 키이(SW7)(SW8)가 온상태인 가를 체크하고,While the input / output port P2 is output, the input / output ports P1, P3 and P4 are input to check whether the keys SW7 and SW8 are on.

입/출력 포트(P3)를 출력으로 하면서 입/출력 포트(P1)(P2)(P4)들을 입력으로 하여 키이(SW9)가 온상태인 가를 체크하고,While the input / output port P3 is output, the input / output ports P1, P2 and P4 are input to check whether the key SW9 is on.

입/출력 포트(P1)∼(P4)들을 출력으로 한 후 각 키이(SW0)∼(SW9)들을 오프시키고,After the input / output ports P1 to P4 are output, the keys SW0 to SW9 are turned off.

더블 키이의 경우에는 입/출력 포트(P1)∼(P4)를 체크하여 키이(SW0)∼(SW9)들이 온되면 키이의 온을 리시브하고 세트한 후 입력받는 과정에 의해 수행되도록 하였으므로, 키이의 온/오프를 스캔하는 과정이 복잡함은 물론, 마이크로 프로세서(1)의 입/출력 포트를 다수 할애해야 하는 단점이 있었다.In the case of the double key, the input / output ports P1 to P4 are checked, and if the keys SW0 to SW9 are turned on, the key is turned on and received and set and then performed. In addition, the process of scanning on / off is complicated, and there is a disadvantage in that a large number of input / output ports of the microprocessor 1 are allocated.

이에 따라 본 고안은 하나의 포트를 통해 키이의 온/오프를 정확하게 인식할 수 있도록 하여 마이크로 프로세서의 입출력 포트의 활용도를 넓힐 수 있도록 한 전압변동을 이용한 키이 스캔회로를 제공하는 것을 그 목적으로 한다.Accordingly, an object of the present invention is to provide a key scan circuit using voltage fluctuations, which enables the user to accurately recognize the on / off of a key through a single port, thereby increasing the utilization of the input / output port of the microprocessor.

이와 같은 목적을 달성하기 위한 본 고안은 마이크로 프로세서의 아날로그/디지틀 변환기를 통하여 연결된 하나의 입력 포트에 스위칭 수단인 다수의 키이를 병렬로 연결하면서 각각 다른 값을 갖는 전압변동 수단인 저항들을 통하여 일정한 전압이 공급되도록 하여 사용자가 키이중 하나를 온시키면 저항을 통하여 저항에 의해 감쇄된 전압값으로 입력되도록 함으로써 하나의 포트를 통해 다수의 키이에 대해 온/오프의 여부를 정확하게 인식할 수 있으며 마이크로 프로세서의 입출력 포트의 활용도를 넓힐 수 있도록 한 것이다.In order to achieve the above object, the present invention provides a constant voltage through resistors, which are voltage varying means having different values, while connecting a plurality of keys, which are switching means, in parallel to one input port connected through an analog / digital converter of a microprocessor. This function allows the user to turn on one of the keys and input the voltage value attenuated by the resistor through the resistor, so that one key can accurately recognize whether the key is on / off or not. It is intended to expand the utilization of input / output ports.

도 1은 종래 키이 스캔부의 구성을 나타낸 회로도.1 is a circuit diagram showing the configuration of a conventional key scanning unit.

도 2는 본 고안의 회로도.2 is a circuit diagram of the present invention.

* 도면의 주요부분에 대한 부호 설명 *Explanation of symbols on the main parts of the drawings

11 : 마이크로 프로세서 12 : 아날로그/디지틀 변환기11: microprocessor 12: analog / digital converter

R1∼R10 : 저항R1 to R10: resistance

이하 본 고안을 첨부 도면에 의거 상세히 기술하여 보면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 고안의 일실시예에 따른 구성을 나타낸 것으로서,2 shows a configuration according to an embodiment of the present invention,

마이크로 프로세서(11)의 아날로그/디지틀 변환기(12)를 통하여 연결된 하나의 입력 포트(I)에 스위칭 수단인 다수의 키이(SW11)(SW12)(SW13)(SW14) (SW15)(SW16) (SW17) (SW18)(SW19)(SW20)를 병렬로 연결하고,A plurality of keys SW11 (SW12) (SW12) (SW13) (SW14) (SW15) (SW16) (SW17) as switching means to one input port (I) connected through the analog-to-digital converter 12 of the microprocessor 11. ) (SW18) (SW19) (SW20) in parallel,

상기 스위칭 수단에는 각각 전압변동 수단인 저항(R1)(R2)(R3)(R4)(R5) (R6)(R7)(R8) (R9)(R10)을 통하여 일정한 전압이 공급되도록 한 것이다.The switching means are supplied with a constant voltage through the resistors R1, R2, R3, R4, R5, R6, R7, R8, R9, and R10, which are voltage changing means, respectively.

여기서 상기 전압변동 수단의 저항들은 각각 다른 값을 갖도록 하여 임의의 스위칭 수단을 통하여 입력되는 값을 정확히 인식하도록 한다.Here, the resistors of the voltage varying means have different values so as to accurately recognize the value input through any switching means.

이와 같이 구성한 본 고안의 전압변동을 이용한 키이 스캔회로는 마이크로 프로세서(11)의 아날로그/디지틀 변환기(12)를 통하여 연결된 하나의 입력 포트(I)에 스위칭 수단인 다수의 키이(SW11)∼(SW20)를 병렬로 연결하면서 각각 다른 값을 갖는 전압변동 수단인 저항(R1)∼(R10)을 통하여 일정한 전압이 공급되도록 함으로써 사용자가 키이(SW11)∼(SW20)중 하나를 온시키면 저항(R1)∼(R10)을 통하여 입력 포트(I)에 일정한 전압(예컨대 DC 5V)이 저항(R1)∼(R10)에 의해 감쇄된 전압값으로 입력된다.The key scan circuit using the voltage variation of the present invention configured as described above has a plurality of keys (SW11) to (SW20) as switching means to one input port (I) connected through the analog / digital converter 12 of the microprocessor 11. ) Are connected in parallel, and a constant voltage is supplied through the resistors R1 to R10, which are voltage changing means having different values, respectively, so that when the user turns on one of the keys SW11 to SW20, the resistor R1 A constant voltage (for example, DC 5V) is input to the input port I through R10 to a voltage value attenuated by the resistors R1 to R10.

그러므로 아날로그/디지틀 변환기(12)를 거쳐 전압값에 해당하는 값으로 변환된 디지틀신호를 인식하면 어느 키이가 온되었는 가를 정확히 알 수 있게 된다.Therefore, by recognizing the digital signal converted to the value corresponding to the voltage value through the analog / digital converter 12, it is possible to know exactly which key is on.

즉 하나의 입력 포트(I)에 입력되는 전압값을 인식하면서 각각 다른 저항을 통하여 연결된 어느 키이를 경유한 것인 가를 알게 된다.In other words, while recognizing the voltage value input to one input port (I), it knows which key is connected through a different resistor.

따라서 본 고안의 전압변동을 이용한 키이 스캔회로에 의하여서는 마이크로 프로세서의 아날로그/디지틀 변환기를 통하여 연결된 하나의 입력 포트에 스위칭 수단인 다수의 키이를 병렬로 연결하면서 각각 다른 값을 갖는 전압변동 수단인 저항들을 통하여 일정한 전압이 공급되도록 함으로써 하나의 포트를 통해 다수의 키이에 대해 온/오프의 여부를 정확하게 인식할 수 있으며 마이크로 프로세서의 입출력 포트의 활용도를 넓힐 수 있도록 한 것이다.Therefore, in the key scan circuit using the voltage variation of the present invention, a resistor which is a voltage variation means having a different value while connecting a plurality of keys in parallel to one input port connected through an analog / digital converter of a microprocessor in parallel By supplying a constant voltage through a single port, it is possible to accurately recognize whether a key is on / off through a single port and to expand the utilization of an input / output port of a microprocessor.

Claims (2)

마이크로 프로세서의 아날로그/디지틀 변환기를 통하여 연결된 하나의 입력 포트에 병렬로 다수 연결되어 사용자의 선택 사양을 입력시키기 위한 스위칭 수단과,Switching means for inputting a user's option by connecting multiple inputs in parallel to one input port connected through a microprocessor's analog / digital converter; 상기 스위칭 수단에 각각 연결되어 일정한 전압이 공급되도록 하는 전압변동 수단들로 구성됨을 특징으로 하는 전압변동을 이용한 키이 스캔회로.And a voltage changing means connected to each of the switching means to supply a constant voltage. 제 1항에 있어서, 상기의 전압변동 수단은 각각 다른 값을 갖는 저항으로 이루어진 전압변동을 이용한 키이 스캔회로.The key scan circuit according to claim 1, wherein the voltage change means comprises a voltage change made of a resistor having a different value.
KR2019970022057U 1997-08-13 1997-08-13 Key Scan Circuit Using Voltage Variation KR19990008898U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019970022057U KR19990008898U (en) 1997-08-13 1997-08-13 Key Scan Circuit Using Voltage Variation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019970022057U KR19990008898U (en) 1997-08-13 1997-08-13 Key Scan Circuit Using Voltage Variation

Publications (1)

Publication Number Publication Date
KR19990008898U true KR19990008898U (en) 1999-03-05

Family

ID=69688368

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019970022057U KR19990008898U (en) 1997-08-13 1997-08-13 Key Scan Circuit Using Voltage Variation

Country Status (1)

Country Link
KR (1) KR19990008898U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100481501B1 (en) * 2002-07-29 2005-04-07 삼성전자주식회사 Micom Interface of an image signal receiver
KR100481500B1 (en) * 2002-07-29 2005-04-07 삼성전자주식회사 Micom Interface of an image signal receiver
US8164489B2 (en) 2008-09-02 2012-04-24 Samsung Electro-Mechanics Co., Ltd. Key scanning circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100481501B1 (en) * 2002-07-29 2005-04-07 삼성전자주식회사 Micom Interface of an image signal receiver
KR100481500B1 (en) * 2002-07-29 2005-04-07 삼성전자주식회사 Micom Interface of an image signal receiver
US8164489B2 (en) 2008-09-02 2012-04-24 Samsung Electro-Mechanics Co., Ltd. Key scanning circuit

Similar Documents

Publication Publication Date Title
US5057836A (en) Data input apparatus having a microcomputer
US5059978A (en) Resistor-string digital to analog converters with auxiliary coarse ladders
JP4707396B2 (en) SARADC (successive approximation analog-digital converter) with programmable input range
US4198622A (en) Double digital-to-analog converter
US7026973B2 (en) Electronic device with multiple buttons
KR19990008898U (en) Key Scan Circuit Using Voltage Variation
EP0482845A2 (en) Digital-to-analog converting unit with improved linearity
JP2598138B2 (en) D / A converter
US4733216A (en) N+1 bit resolution from an N bit A/D converter
US3924229A (en) Bipolar digital to analog converter utilizing two reference voltages of the same polarity
US6847322B2 (en) Sequential comparison type AD converter and microcomputer
JPH05313803A (en) Key switch input circuit
US4782323A (en) Technique for maintaining a common centroid in switched element analog-to-digital converters
JPS6177430A (en) Analog-digital converter
US5561426A (en) Analog-to-digital converter
JPH06124155A (en) Keyboard
JP2783097B2 (en) keyboard
KR100722279B1 (en) Key pad and its operating method of mobile communication terminal
JPS6239556Y2 (en)
KR100631503B1 (en) Keypad apparatus for telephone
KR100628071B1 (en) Key pad and mobile terminal
JPH0124661Y2 (en)
JPS63206819A (en) Key input device
US6844746B2 (en) Electrical system like a testing system for testing the channels of a communication system
KR19980068044U (en) Key Matrix Multiple Key Input Function Circuit

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination