KR900004180Y1 - Keyboard's interface circuit - Google Patents

Keyboard's interface circuit Download PDF

Info

Publication number
KR900004180Y1
KR900004180Y1 KR2019870021520U KR870021520U KR900004180Y1 KR 900004180 Y1 KR900004180 Y1 KR 900004180Y1 KR 2019870021520 U KR2019870021520 U KR 2019870021520U KR 870021520 U KR870021520 U KR 870021520U KR 900004180 Y1 KR900004180 Y1 KR 900004180Y1
Authority
KR
South Korea
Prior art keywords
keyboard
terminal
data
signal
transistor
Prior art date
Application number
KR2019870021520U
Other languages
Korean (ko)
Other versions
KR890014206U (en
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 KR2019870021520U priority Critical patent/KR900004180Y1/en
Publication of KR890014206U publication Critical patent/KR890014206U/en
Application granted granted Critical
Publication of KR900004180Y1 publication Critical patent/KR900004180Y1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/20Dynamic coding, i.e. by key scanning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Bidirectional Digital Transmission (AREA)
  • Communication Control (AREA)

Abstract

내용 없음.No content.

Description

키 보드 인터페이스 회로Key board interface circuit

제1도는 본 고안에 회로도.1 is a circuit diagram of the present invention.

제2도는 본 고안에 사용된 폴 신호와 발광다이오드 콘트롤 폴 신호.2 is a pole signal and a light emitting diode control pole signal used in the present invention.

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

5 : 키보드 10 : 터미널5: keyboard 10: terminal

Q1,Q2: 트랜지스터 u1,u2: 인버터 버퍼Q 1 , Q 2 : transistor u 1 , u 2 : inverter buffer

R1-R6: 저항 C1-C3: 콘덴서R 1- R 6 : Resistor C 1- C 3 : Capacitor

D1: 다이오드D 1 : Diode

본 고안은 퍼스널 컴퓨터나 터미널등 키 보드(Key Board)를 사용하는 제품에 있어서 키보드와 본체 사이에 한 라인(line)을 이용하여 쌍방향성 데이타 전송을 할 수 있도록 한 키 보드 인터페이스 회로에 관한 것이다.The present invention relates to a keyboard interface circuit capable of bidirectional data transfer using a line between a keyboard and a main body in a product using a key board such as a personal computer or a terminal.

종래에는 키보드와 본체 사이의 쌍방향성 데이타 전송을 위해서는 두 라인을 사용하였으나 이와 같이 두 라인을 사용할 경우에는 권선(Wire)수가 늘어나야 되고 또한 인터페이스(Interface)를 위해서 사용되는 콘넥터(Connector)등도 핀 수가 많은 것을 사용해야만 하는 단점이 있었다.Conventionally, two lines have been used for the bidirectional data transmission between the keyboard and the main body. However, when the two lines are used, the number of wires must be increased and the connector used for the interface also has a large number of pins. There was a downside to having to use it.

본 고안은 이와 같은 점을 감안하여 키보드와 본체 사이에 한 라인에서 쌍방향성 데이타의 인터페이스가 가능하도록 한 것으로써 마이콤으로 콘트롤 가능한 폴 신호로 전송하고자 하는 데이타를 트랜지스터의 "온-오프"특성을 이용하여 전송할 수 있도록 한 것이다.In view of the above, the present invention enables the interface of the interactive data in one line between the keyboard and the main body, and uses the "on-off" characteristic of the transistor to transmit the data to be transmitted as a micom controllable pole signal. Will be able to transmit.

이를 첨부 도면에 의하여 상세히 설명하면 다음과 같다.This will be described in detail with reference to the accompanying drawings.

제1도는 본 고안의 회로도로써 키보드(5) 쪽 회로와 터미널(10)쪽 회로가 임피던스 매칭을 위하여 동일하게 구성되어 있다.1 is a circuit diagram of the present invention, the circuit of the keyboard 5 side and the terminal 10 side are identically configured for impedance matching.

먼저 키보드(5)쪽 회로 구성을 살펴보면 키보드(5)로부터 터미널(10)로 데이타 전달을 위하여 키보드(5)의 데이타 출력이 NPN 트랜지스터(Q1)의 베이스에 인가되게 구성하고 에미터가 접지된 트랜지스터(Q1)의 콜렉터측에는 저항(R1)을 통하여 데이타 전송 라인에 연결함과 동시에 저항(R2)을 통하여 전원(5V) 라인에 연결되게 구성하여 터미널(10)에서 전송되는 데이타를 받아들이기 위해서 저항(R3)을 통하여 인버터 버퍼(u1)를 연결한 후 이 출력이 키보드(5)에 입력되게 구성된다.First, the circuit configuration of the keyboard 5 side is configured so that the data output of the keyboard 5 is applied to the base of the NPN transistor Q 1 for data transfer from the keyboard 5 to the terminal 10, and the emitter is grounded. The collector side of the transistor Q 1 is connected to the data transmission line through the resistor R 1 and connected to the power supply 5V line through the resistor R 2 to receive data transmitted from the terminal 10. In order to connect the inverter buffer u 1 via a resistor R 3 , the output is configured to be input to the keyboard 5.

그리고 터미널(10)쪽의 회로 구성은 키보드(5)쪽의 회로 구성과 같은 형태를 갖는 것으로 먼저 키보드(5)로 어떤 신호 전달을 위하여 터미널(10) 측 출력단자가 트랜지스터(Q2)의 베이스에 연결되고 에미터가 접지된 트랜지스터(Q2)의 콜렉터측의 저항(R4)(R5)을 통하여 전원(5V) 라인과 연결되며, 저항(R4)(R5)의 연결점이 데이타 전송 라인에 연결되게 구성한 후 키보드(5)로부터 인가되는 인버터 버퍼(u2)에 연결되게 구성한다.The circuit configuration of the terminal 10 side is the same as the circuit configuration of the keyboard 5 side. First, the output terminal of the terminal 10 side is connected to the base of the transistor Q 2 for some signal transmission to the keyboard 5. Connected to the power supply (5V) line via a resistor (R 4 ) (R 5 ) on the collector side of transistor (Q 2 ) with the connected and emitter grounded, and the connection point of resistor (R 4 ) (R 5 ) transfers data It is configured to be connected to the line and then connected to the inverter buffer (u 2 ) applied from the keyboard (5).

이때 콘덴서(C1-C3)와 다이오드(D1)는 노이즈제거용으로 사용된다.At this time, the capacitor (C 1 -C 3 ) and the diode (D 1 ) is used for noise removal.

이와 같이 구성된 본 고안의 작용효과는 키보드(5)로 들어오는 데이타를 정상적으로 받아 들이기 위해서 터미널(10)측에서는 출력단에 마이콤으로 콘트롤이 가능한 "폴(Poll)신호를 출력시켜 트랜지스터(Q2)의 베이스에 인가시켜 준다.The effect of the present invention configured as described above is to output the "pol" signal which can be controlled by the microcomputer to the output terminal at the terminal 10 in order to receive the data coming into the keyboard 5 normally, and to the base of the transistor Q 2 . Authorize it.

즉, 터미널(10)에서는 제2a도에서와 같은 "폴"신호를 트랜지스터(Q2)의 베이스에 인가시켜 주게되며 "폴신호"는 주기가초이고 하나의 펄스폭의 25㎲±20%가 되는 신호이다.That is, the terminal 10 applies the "pole" signal to the base of the transistor Q 2 as shown in FIG. 2a, and the "pole signal" has a period. This is a signal that is 25 seconds ± 20% of one pulse width.

이러한 폴 신호는 트랜지스터(Q2)의 "온-오프"동작에 따라 저항(R4)(R5)이 연결된 트랜지스터(Q2)의 콜렉터 단자에는 반전되어 나타나게 되며 이러한 반전된 폭 신호는 데이타 라인에 저항(R3)을 통하여 연결된 인버터 버퍼(u1)를 통하여 원래의 "폴신호"와 같은 파형으로 키보드(5)의 입력단에 인가되게 된다.These pole signal of the transistor (Q 2) - according to the "on-off" on-resistance (R 4) (R 5) is has been inverted the collector terminal of the associated transistor (Q 2) to appear and these inverted width signal data lines It is applied to the input terminal of the keyboard 5 in the same waveform as the original " pole signal " through the inverter buffer u 1 connected through the resistor R 3 .

즉, 키보드(5)로 들어오는 데이타를 정상적으로 받아 들이기 위해서 터미널(10)에서는 마이콤으로 콘트롤이 가능한 폴신호를 출력시켜 트랜지스터(Q2)의 "온-오프"동작으로 반전시킨후 데이타 라인에 연결된 인버터 버퍼(u1)를 통하여 키보드(5)에 원래의 폴신호로 인가시키게 된다.That is, in order to normally receive the data coming into the keyboard 5, the terminal 10 outputs a micro signal that can be controlled by the microcomputer, inverts the transistor Q 2 by the “on-off” operation, and then connects the inverter to the data line. The original pole signal is applied to the keyboard 5 through the buffer u 1 .

따라서 키보드(5)에서는 터미널(10)에서 출력시킨 제2a도에서와 같은 폴신호가 인가되면 이러한 폴신호를 데이타 전송의 동기 신호로 잡아서 보내고자 할 데이타(보통 8개 비트)를 키보드(5)의 데이타 출력단에서 출력시켜 트랜지스터(Q1)의 베이스에 인가시켜 준다.Therefore, when the poll signal as shown in FIG. 2a output from the terminal 10 is applied to the keyboard 5, the keyboard 5 transmits data (usually 8 bits) to be sent by catching the poll signal as a synchronization signal for data transmission. Is output from the data output terminal of and applied to the base of transistor Q 1 .

그리고 키보드(5)로부터 트랜지스터(Q1)의 베이스에 인가되는 보통 8개 비트의 데이타 신호는 터미널에서 출력시킨 "폴신호"와 같이 하이레벨과 로우 레벨에 따라 트랜지스터(Q1)를 "온-오프"시켜 주므로써 트랜지스터(Q1)의 콜렉터측에서는 반전된 데이타 신호가 출력되게 되고 이러한 반전된 데이타 신호는 데이타 라인에 연결된 인버터 버퍼(u2)에 의하여 원래의 데이타 신호로 반전된 후 터미널(10)의 입력단에 인가되게 된다.And a transistor (Q 1) in accordance with high level and low level, such as "pole signal" in which output data signals of the normal eight-bit applied to the base of the transistor (Q 1) from a keyboard (5) at a terminal "on- Off ", the inverted data signal is outputted on the collector side of transistor Q 1 , and the inverted data signal is inverted to the original data signal by inverter buffer u 2 connected to the data line and then the terminal 10. Will be applied to the input terminal.

따라서 키보드(5)로부터 들어오는 데이타를 정상적으로 받아들이기 위해서 터미널(10)에서는 폴신호를 출력시켜 트랜지스터(Q2)와 인버터 버퍼(u1)를 통한후 키보드(5)에 인가시켜 주며 키보드(5)에서는 이러한 폴신호를 데이타 전송의 동기신호로 잡아서 보통 8개의 비트의 보내고자 할 데이타를 출력시켜 트랜지스터(Q1)와 인버터 버퍼(u2)을 통한후 터미널(10)에 입력시켜 주므로써 한 라인으로 쌍방향성 데이타의 인터페이스에 가능하게 되는 것이다.Therefore, in order to receive the data from the keyboard 5 normally, the terminal 10 outputs a pole signal through the transistor Q 2 and the inverter buffer u 1 and then applied to the keyboard 5. In this case, the poll signal is regarded as a synchronization signal for data transmission, and 8 bits of data to be sent are outputted, and then input to the terminal 10 through the transistor Q 1 and the inverter buffer u 2 . This makes it possible to interface with interactive data.

그러나 이와는 반대로 터미널(10)로부터 들어오는 데이타를 정상적으로 받아들이기 위해서 키보드(5)에서는 폴 신호를 출력시켜 트랜지스터(Q1)와 인버터 버퍼(u2)를 통한후 터미널(10)에 인가시켜 주며 터미널(10)에서는 이러한 폴 신호를 데이타 전송의 동기 신호로 잡아서 보통 8개 비트의 보내고자 할 데이타를 출력시켜 트랜지스터(Q2)와 인버터 버퍼(u1)를 통한 후 키보드(5)에 입력시켜 주므로써 한 라인으로 쌍방향성 데이타의 인터페이스가 가능하게 되는 것이다.However, on the contrary, in order to receive the data from the terminal 10 normally, the keyboard 5 outputs a poll signal and applies the terminal 10 to the terminal 10 through the transistor Q 1 and the inverter buffer u 2 . In this case, the poll signal is captured as a synchronization signal for data transmission, and 8 bits of data to be sent are output, and then input to the keyboard 5 through the transistor Q 2 and the inverter buffer u 1 . It is possible to interface interactive data in one line.

그리고 터미널(10)의 경우 키보드(5)에 있는 발광다이오드(LED)나 벨(Bell)을 콘트롤 하기 위해서는 정상적인 데이타 수신의 경우와는 다른 신호를 키보드(5)로 보내도록 하는데 본 고안에서는 제2b도에서와 같은 발광다이오드 콘트롤 시퀸스(Sequence)라는 폴신호로써 가능하게 하여 준다.In the case of the terminal 10, in order to control a light emitting diode (LED) or a bell in the keyboard 5, a signal different from the normal data reception is sent to the keyboard 5. This is made possible by a pole signal called a light emitting diode control sequence as shown in FIG.

즉 터미널(10)에서 제2b도에서 표시한 발광다이오드 콘트롤 폴 신호와 같이 폴 신호를 변경하여 출력시키면 제2a도에서와 같은 폴 신호와 같은 경로로 키보드(5)에 인가되게 되며 키보드(5)에서는 이러한 제2b도에서와 같은 발광다이오드 콘트롤 폴 신호를 해석하여 자체내에서 발광다이오드(LED) 나 벨(Bell)을 콘트롤 한다.That is, when the terminal 10 changes and outputs a pole signal like the light emitting diode control pole signal shown in FIG. 2b, it is applied to the keyboard 5 in the same path as the pole signal as shown in FIG. 2a, and the keyboard 5 In FIG. 2b, the LED control pole signal is analyzed as shown in FIG. 2B to control the LED or the bell within itself.

이는 제2b도에서와 같은 파형중 마지막 펄스나 하나의 펄스가 되면 발광다이오드(LED)는 "오프"되고 마지막 펄스가 되면 발광다이오드(LED)는 "오프"되고 마지막 펄스가 두 개의 펄스가 되면 발광다이오드(LED)가 "온"되게 하므로써 가능하게 되는 것이다.This is because the light emitting diode (LED) is "off" when the last pulse or one of the waveforms shown in FIG. 2b is turned off, and the light emitting diode (LED) is "off" when the last pulse is generated and light is emitted when the last pulse is two pulses This is made possible by turning on the diode (LED).

한편 본 고안은 제어 회로에서 사용되는 한 모듈(module)과 또 다른 모듈사이의 데이타 전송 회로에 사용 가능하다.Meanwhile, the present invention can be used for a data transfer circuit between one module and another module used in the control circuit.

이상에서와 같이 본 고안은 터미널과 키보드의 인터페이스를 마이콤으로 콘트롤 되는 폴 신호로 트랜지스터를 제어해 주어 한 개의 데이타 라인으로 쌍방향 데이타 전송이 가능하게 되는 것이다.As described above, the present invention is to control the transistor by the pole signal controlled by the microcomputer interface between the terminal and the keyboard to enable two-way data transmission through one data line.

Claims (1)

키보드(5)와 터미널(10)의 데이타 전송 라인에 있어서 마이콤으로 콘트롤이 가능한 터미널(10)의 폴신호를 저항(R4)(R5)이 연결된 트랜지스터(Q2)에서 반전되고, 저항(R3)과 인버터 버퍼(u1)를 통하여 반전된 후 키보드(5)에 인가되게 구성하며 키보드(5)의 데이타 출력은 저항(R1)(R2)이 연결된 트랜지스터(Q1)에서 반전되고 저항(R6)과 인버터 버퍼(u2)를 통하여 다시반전된후 터미널(10)에 인가되게 데이타 라인을 구성한 키보드 인터페이스 회로.In the data transmission line of the keyboard 5 and the terminal 10, the pole signal of the terminal 10 which can be controlled by the microcomputer is inverted by the transistor Q 2 to which the resistors R 4 and R 5 are connected. It is configured to be inverted through R 3 ) and the inverter buffer u 1 and applied to the keyboard 5, and the data output of the keyboard 5 is inverted at the transistor Q 1 to which the resistor R 1 (R 2 ) is connected. And a data line configured to be applied to the terminal 10 after being inverted again through the resistor R 6 and the inverter buffer u 2 .
KR2019870021520U 1987-12-04 1987-12-04 Keyboard's interface circuit KR900004180Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019870021520U KR900004180Y1 (en) 1987-12-04 1987-12-04 Keyboard's interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019870021520U KR900004180Y1 (en) 1987-12-04 1987-12-04 Keyboard's interface circuit

Publications (2)

Publication Number Publication Date
KR890014206U KR890014206U (en) 1989-08-10
KR900004180Y1 true KR900004180Y1 (en) 1990-05-12

Family

ID=19270149

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019870021520U KR900004180Y1 (en) 1987-12-04 1987-12-04 Keyboard's interface circuit

Country Status (1)

Country Link
KR (1) KR900004180Y1 (en)

Also Published As

Publication number Publication date
KR890014206U (en) 1989-08-10

Similar Documents

Publication Publication Date Title
KR960701527A (en) Infrared Remote Control Unit for PDA
US4756006A (en) Bus transceiver
EP0322901A3 (en) Semiconductor integrated circuit
DE69026928D1 (en) Circuit test system with an interface of N-bit per pin
JPS6477339A (en) Collision detecting type lan terminal interface module
CA2124745A1 (en) High-speed cmos pseudo-ecl output driver
KR900004180Y1 (en) Keyboard's interface circuit
KR970016877A (en) Detachable personal computer card
AU2001251674A1 (en) Extended cardbus/pc card controller with split-bridge technology
KR890702142A (en) Node Device for Backplane Bus
US5067076A (en) Circuit arrangement for serial data transfer
JPS6444144A (en) Circuit for avoiding competition of digital signals and method of avoiding competition of drivers
WO1989002201A3 (en) High-speed digital data communication system
KR880014452A (en) I / O circuitry for microprocessors
KR19980040573A (en) Monitor that communicates with PC
JPS59169237A (en) Contactless connection system
US6567878B2 (en) Two wire mixed signal bi-directional bus interface
US5313619A (en) External clock unit for a computer
KR880002760Y1 (en) Data signal transmission circuit of a remocon receiver
KR940006657Y1 (en) Selecting circuit of information i/o
JPS63126054A (en) Information processor
KR930002264Y1 (en) Wireless data receiver
SU1413707A1 (en) Optronic transducer
KR890000958A (en) Card Reader for Terminal
ES2108739T3 (en) IMPEDANCE ADAPTATION DEVICE FOR LINKAGES BY TRANSMISSION LINES BETWEEN ONE OR MULTIPLE EMITTERS AND ONE OR MULTIPLE SIGNAL RECEIVERS.

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 19980428

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee