KR930004422B1 - Keyboard connecting apparatus and method therefor - Google Patents

Keyboard connecting apparatus and method therefor Download PDF

Info

Publication number
KR930004422B1
KR930004422B1 KR1019900020170A KR900020170A KR930004422B1 KR 930004422 B1 KR930004422 B1 KR 930004422B1 KR 1019900020170 A KR1019900020170 A KR 1019900020170A KR 900020170 A KR900020170 A KR 900020170A KR 930004422 B1 KR930004422 B1 KR 930004422B1
Authority
KR
South Korea
Prior art keywords
keyboard
data
cpu
terminal
input
Prior art date
Application number
KR1019900020170A
Other languages
Korean (ko)
Other versions
KR920013080A (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 KR1019900020170A priority Critical patent/KR930004422B1/en
Publication of KR920013080A publication Critical patent/KR920013080A/en
Application granted granted Critical
Publication of KR930004422B1 publication Critical patent/KR930004422B1/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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The device for connecting a terminal (2) including CPU (21), memory means (22) connected with the CPU (21), and Input/Output means (23) connected with the CPU (21) to a keyboard (1) involving a microprocessor (10) and connected with the input/output means (23) , includes UART (Universal Asynchronous Receiver/Transmitter) connected with the microprocessor (10) and the I/O means (23) and transmitting/receiving data. The connection method involves a first step for retrieving active state of the clock line, a second step for transmitting data into the data line, a third step for returning active state.

Description

터미널의 키보드 연결장치 및 방법Keyboard Connections and Methods for Terminals

제1도는 본 발명이 적용된 키보드 및 터미널의 구성도.1 is a block diagram of a keyboard and a terminal to which the present invention is applied.

제2도는 제1도의 UART와 키보드의 연결상태도.2 is a diagram illustrating the connection between the UART and the keyboard of FIG.

제3도는 본 발명에 의한 키보드 연결방법의 흐름도.3 is a flowchart of a keyboard connection method according to the present invention.

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

1 : 키보드 2 : 터미널1: keyboard 2: terminal

10 : 마이크로 프로세서 21 : CPU10: microprocessor 21: CPU

22 : ROM 23 : SIO22: ROM 23: SIO

24 : UART24: UART

본 발명은 터미널의 키보드에 관한 것으로, 특히 터미널의 키보드 연결장치 및 방법에 관한 것이다.The present invention relates to a keyboard of a terminal, and more particularly to a keyboard connection device and method of the terminal.

종래에는 터미널에 터미널용 키보드를 따로 설치하므로써 터미널용 키보드 생산과정을 부가시켜 생산가가 상승되는 문제점이 있었다.Conventionally, there is a problem in that the production price is increased by adding a terminal keyboard production process by separately installing a terminal keyboard in the terminal.

상기 문제점을 제거하기 위해 안출된 본 발명은 퍼스널 컴퓨터용 키보드를 터미널에 연결하기 위한 키보드 연결장치 및 방법을 제공함에 그 목적이 있다.Disclosure of Invention The present invention devised to solve the above problems is to provide a keyboard connection device and method for connecting a keyboard for a personal computer to a terminal.

상기 목적을 달성하기 위해 본 발명은 CPU, 상기 CPU에 연결된 메모리수단, 및 상기 CPU에 연결된 입출력수단을 포함하여 구성된 터미널과 상기 입출력 수단에 연결되고 마이크로 프로세서를 포함하여 구성된 키보드와의 데이타 송수신을 위한 키보드 연결장치에 있어서, 상기 마이크로 프로세서와 입출력수단에 연결되어 클럭 및 데이타를 송수신하는 UART(Universal Aoynchronous Receiver/Tranomitter)를 부가하여 구성하고, 상기와 같이 구성된 키보드 연결장치를 이용하여 상기 클럭라인이 액티브 상태인지 검색하는 제1단계, 상기 클럭라인이 액티브 상태이면 상기 클럭 라인을 인액티브 상태로 만들고, 상기 데이타라인으로 데이타를 전송하는 제2단계 및, 상기 클럭라인을 다시 액티브 상태로 만드는 제3단계에 의해 수행되는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a terminal for data transmission and reception with a terminal comprising a CPU, a memory means connected to the CPU, and an input / output means connected to the CPU, and a keyboard connected to the input / output means and including a microprocessor. A keyboard connection device, comprising: a UART (Universal Aoynchronous Receiver / Tranomitter) connected to the microprocessor and input / output means for transmitting and receiving clock and data, and the clock line is active using the keyboard connection device configured as described above. A first step of detecting whether the clock line is in an active state; a second step of making the clock line in an inactive state if the clock line is in an active state; transferring data to the data line; and a third step of making the clock line active again Characterized in that performed by.

이하, 첨부한 도면을 참조하여 본 발명의 일실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention;

제1도는 본 발명이 적용된 키보드 및 터미널의 구성도, 제2도는 제1도의 UART와 키보드의 연결상태도로, 1은 키보드, 2는 터미널, 10은 마이크로 프로세서, 21은 CPU, 22는 ROM, 23은 SIO(Serial nput/Output), 24는 UART(Universal Asynchronous Receiver/Transmitter)를 각각 나타낸다.1 is a configuration diagram of a keyboard and a terminal to which the present invention is applied, and FIG. 2 is a connection state of the UART and the keyboard of FIG. 1, 1 is a keyboard, 2 is a terminal, 10 is a microprocessor, 21 is a CPU, 22 is a ROM, 23 Is SIO (Serial nput / Output), and 24 is UART (Universal Asynchronous Receiver / Transmitter).

본 발명은 제1도에 도시한 바와같이 CPU(Central Processing Unit)(21)에 ROM(22)과 SIO(23)를 연결하고, 상기 SIO(23)에 UART(24)를 연결하여 구성된 터미널(2)과 상기 터미널(2)의 UART(24)에 연결되고 마이크로 프로세서(10)를 포함하여 구성된 키보드(1)로 구성된다.As shown in FIG. 1, a terminal configured by connecting a ROM 22 and an SIO 23 to a central processing unit (CPU) 21 and a UART 24 to the SIO 23 is provided. 2) and a keyboard 1 connected to the UART 24 of the terminal 2 and including a microprocessor 10.

퍼스널 컴퓨터용 키보드의 마이크로 프로세서와 퍼스널 컴퓨터의 키보드 콘트롤러 사이의 데이타 포맷은 데이타 샘플링 방식을 제외한 터미널에서의 일반적인 비동기 시리얼 데이타 포맷(Asynchronous Serial data format)과 일치한다.The data format between the microprocessor of the personal computer keyboard and the keyboard controller of the personal computer is consistent with the general asynchronous serial data format in terminals except data sampling.

퍼스널 컴퓨터용 키보드는 오픈 콜렉터(Open Collector) 방식으로 연결된 클럭라인과 데이타 라인을 가지고 있다.The keyboard for a personal computer has a clock line and a data line connected by an open collector method.

키보드에서 데이타를 전송하고 싶으면 먼저 클럭라인이 액티브(Active) 상태 인지를 검사하고 만일 액티브 상태라면 키보드(1)에서 데이타를 보내고 있거나 보낼 준비를 하고 있는 상태인 인액티브(inactive) 상태로 바꾸고 데이타 라인으로 데이타를 전송한다.If you want to transfer data from the keyboard, first check whether the clock line is active, and if it is active, change the data line from the keyboard (1) to the inactive state you are sending or preparing to send. Send data to

마찬가지로 퍼스널 컴퓨터용 키보드로 데이타를 전송할 경우에도 먼저 클럭라인이 액티브 상태인지를 검사하고 액티브 상태라면, 인액티브 상태로 바꾼후 데이타를 데이타 라인으로 전송한다.Similarly, when transferring data to a personal computer keyboard, it is first checked whether the clock line is active. If it is active, the data line is transferred to the data line.

본 발명은 일반적으로 키보드(1)로 부터의 전송이 키보드(1)로의 전송보다 훨씬 많다는 점을 이용하여 키보드(1)로 부터의 전송은 터미널(2)에 내장한 수신전용 UART(24)에서 전송하도록 하고 키보드(1)로의 전송은 CPU(21)가 관여하여 클럭라인을 검사하고 액티브 상태라면 라인을 인액티브시키고 데이타를 발생시켜 전송하도록 한다.The present invention generally utilizes much more transmissions from the keyboard (1) than transfers to the keyboard (1), so that transmissions from the keyboard (1) are carried out in a receive-only UART (24) built into the terminal (2). The transfer to the keyboard 1 causes the CPU 21 to participate in checking the clock line and, if active, inactivate the line and generate and transmit data.

제2도는 참조하여 세부적으로 설명하면 다음과 같다.2 is described in detail with reference to the following.

먼저 키보드(1)로 부터 데이타가 전송될때는 UART(24)의 클럭 수신단(Rx Clock)과 데이타 수신단(Rx Data)을 이용하고 키보드(1)로 데이타를 보낼 경우에는 CPU(21)가 키보드 클럭에 연결된 GPI(General Purpose Input)값을 보고 액티브인 경우 키보드 클럭에 연결된 GPO(General Purpose Output)로 라인을 인액티브 시킨뒤 키보드 데이타에 연결된 GPO를 이용하여 데이타를 전송한다.First, when data is transmitted from the keyboard 1, the clock receiver (Rx Clock) and data receiver (Rx Data) of the UART 24 are used, and when the data is sent to the keyboard 1, the CPU 21 receives the keyboard clock. The GPI (general purpose input) value connected to the GPI (General Purpose Input) value is connected to the GPO (general purpose output) connected to the keyboard clock, if active, the data is sent using the GPO connected to the keyboard data.

제3도는 본 발명에 의한 키보드 연결방법의 흐름도로 터미널(2)에서 키보드(1)로의 데이타 전송시 필요한 제어프로그램이다.3 is a flowchart of a keyboard connection method according to the present invention, which is a control program required for data transmission from the terminal 2 to the keyboard 1.

먼저 키보드 클럭에 연결된 클럭라인(GPI)이 액티브 상태인지 검색하여(100), 액티브 상태이면 키보드 클럭에 연결된 클럭라인(GPO)을 인액티브 상태로 만들고(110), 키보드의 데이타에 연결된 데이타라인(GPO)으로 데이타를 시리얼 전송하고(120) 다시 키보드 클럭에 연결된 클럭라인(GPO)을 액티브 상태로 만든다(130).First, it detects whether the clock line (GPI) connected to the keyboard clock is active (100), and if it is active, makes the clock line (GPO) connected to the keyboard clock inactive (110), and the data line connected to data of the keyboard ( Serial data transmission (GPO) (120) and makes the clock line (GPO) connected to the keyboard clock active again (130).

상기와 같이 구성되어 작동하는 본 발명은 터미널용 키보드를 따로 사용하지 않고 퍼스널 컴퓨터로 이용할 수 있도록 하므로써 생산가격이 낮아지는 효과가 있다.The present invention configured and operated as described above has an effect of lowering the production price by allowing the terminal keyboard to be used as a personal computer.

Claims (2)

CPU(21), 상기 CPU(21)에 연결된 메모리수단(22), 및 상기 CPU(21)에 연결된 입출력수단(23)을 포함하여 구성된 터미널(1)과, 상기 입출력 수단(23)에 연결되고 마이크로 프로세서(10)를 포함하여 구성된 키보드(1)와의 데이타 송수신을 위한 키보드 연결장치에 있어서; 상기 마이크로 프로세서(10)와 입출력수단(23)에 연결되어 클럭 및 데이타를 송수신하는 UART(Universal Aoynchronous Receiver/Transmitter)(24)를 부가하여 구성하는 것을 특징으로 하는 키보드 연결장치.A terminal 1 comprising a CPU 21, a memory means 22 connected to the CPU 21, and an input / output means 23 connected to the CPU 21, and connected to the input / output means 23, A keyboard connection device for data transmission and reception with a keyboard (1) comprising a microprocessor (10); And a UART (Universal Aoynchronous Receiver / Transmitter) (24) connected to the microprocessor (10) and the input / output means (23) to transmit and receive clocks and data. CPU(21), 상기 CPU(21)에 연결된 메모리 수단(22), 상기 CPU(21)에 연결된 입출력수단(23), 및 상기 입출력수단(23)에 연결된 UART(24)로 구성된 터미널(1)과 상기 UART(24)에 클럭라인과 데이타라인을 통해 연결되고 마이크로 프로세서(10)를 포함하여 구성된 키보드(1)와의 데이타 송수신을 위한 키보드 연결방법에 있어서; 상기 클럭라인이 액티브 상태인지 검색하는 제1단계, 상기 클럭라인이 액티브 상태이면 상기 클럭 라인을 인액티브 상태로 만들고, 상기 데이타라인으로 데이타를 전송하는 제2단계 및, 상기 클럭라인을 다시 액티브 상태로 만드는 제3단계에 의해 수행되는 것을 특징으로 하는 키보드 연결방법.A terminal 1 composed of a CPU 21, a memory means 22 connected to the CPU 21, an input / output means 23 connected to the CPU 21, and a UART 24 connected to the input / output means 23. And a keyboard connection method for data transmission / reception with a keyboard (1) connected to the UART (24) via a clock line and a data line and including a microprocessor (10); A first step of searching whether the clock line is active, a second step of making the clock line inactive when the clock line is active, and transmitting data to the data line, and reactivating the clock line Keyboard connection method characterized in that performed by the third step to make.
KR1019900020170A 1990-12-08 1990-12-08 Keyboard connecting apparatus and method therefor KR930004422B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900020170A KR930004422B1 (en) 1990-12-08 1990-12-08 Keyboard connecting apparatus and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900020170A KR930004422B1 (en) 1990-12-08 1990-12-08 Keyboard connecting apparatus and method therefor

Publications (2)

Publication Number Publication Date
KR920013080A KR920013080A (en) 1992-07-28
KR930004422B1 true KR930004422B1 (en) 1993-05-27

Family

ID=19307237

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900020170A KR930004422B1 (en) 1990-12-08 1990-12-08 Keyboard connecting apparatus and method therefor

Country Status (1)

Country Link
KR (1) KR930004422B1 (en)

Also Published As

Publication number Publication date
KR920013080A (en) 1992-07-28

Similar Documents

Publication Publication Date Title
TW200707201A (en) Computer system and control method of the same
TW201411336A (en) Debug control system and method thereof
US5586123A (en) Interface and loopback circuit for character based computer peripheral devices
KR930004422B1 (en) Keyboard connecting apparatus and method therefor
KR100663566B1 (en) Connecting cable for debugging wireless telephone and method thereof
WO1987003764A1 (en) Telephone line interface option module
KR200328928Y1 (en) Matching device between base station controller for mobile communication and personal computer
KR0176391B1 (en) Speed junction method between digital communication device and terminal device
JPS63215237A (en) Polling communication circuit
KR0128049B1 (en) Keyboard interface device
CN117370245A (en) Rate adaptation system suitable for USB3 speed reduction bridge and USB3 speed reduction bridge
KR100262864B1 (en) Communication protocol of plc
KR930003450B1 (en) Data communication circuit between processors
JP2621605B2 (en) Portable terminal device
TW202213117A (en) Usb system and method for performing lfps handshake
JPH0530198Y2 (en)
JP2000187537A (en) Usb port hub
CN116700986A (en) UART controller circuit supporting DMA communication mode
KR100202993B1 (en) Conjunction apparatus between two connectors
JPS59219051A (en) Data transmission system
CN117453599A (en) USB hub device with host bridging function and control method thereof
KR100200836B1 (en) Communication device having radio paging function and interface method thereof
JPH0993274A (en) Serial transmitter
KR20010046914A (en) Data interface circuit
KR960025102A (en) Processor for connecting electronic electronic switch

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: 19960514

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee