CN2919361Y - Interface module between keyboard and LED displayer based on basic bus - Google Patents

Interface module between keyboard and LED displayer based on basic bus Download PDF

Info

Publication number
CN2919361Y
CN2919361Y CN 200520046271 CN200520046271U CN2919361Y CN 2919361 Y CN2919361 Y CN 2919361Y CN 200520046271 CN200520046271 CN 200520046271 CN 200520046271 U CN200520046271 U CN 200520046271U CN 2919361 Y CN2919361 Y CN 2919361Y
Authority
CN
China
Prior art keywords
chip
keyboard
control
signal
interface module
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN 200520046271
Other languages
Chinese (zh)
Inventor
施伟锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Maritime University
Original Assignee
Shanghai Maritime University
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 Shanghai Maritime University filed Critical Shanghai Maritime University
Priority to CN 200520046271 priority Critical patent/CN2919361Y/en
Application granted granted Critical
Publication of CN2919361Y publication Critical patent/CN2919361Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The utility model provides an interface module based on a keyboard and a LED displayer in the basic trunk, which is characterized in that the 256 key dynamic scanning coding and 16-digit LED dynamic scanning display are carried out in accordance with the standards of basic trunk and through a programmable controller, a decoding circuit and a drive circuit, with the keyboard binary coding automatically formed in the keyboard control; besides, the number of connecting wires between the keyboard/displayer and the interface module is smaller, while the number of keyboards controlled by the interface module in the basic trunk is larger than that of LED displayers. By applying the programmable interrupt mode to control the keyboard/displayer, the process of such control does not occupy the working time of the microprocessor; furthermore, the total input/output occupies little time of the microprocessor. In addition, the module is provided with the driving capacity and does not impose load on the basic trunk, and can thereby be expanded substantially. Compared with the circuit of ordinary device designing, the utility model has the advantages of compact structure, high working efficiency and large number of controlled keyboards and LED displayers.

Description

Keyboard and light-emitting diode display interface module based on essential bus
Technical field
The utility model relates to the Microprocessor Interface module, particularly a kind of interface module of keyboard and the light-emitting diode display based on essential bus.
Background technology
Keyboard and light-emitting diode display are single-chip microcomputer or microcomputer (hereinafter referred to as microprocessor) control system peripheral hardware commonly used, and some microprocessor control system often needs a large amount of operation keyboards to carry out system's control and carries out the demonstration of different types of data.As some control and Displaying Meters of using equipment and complex industrial control system based on the teaching and the scientific experiment of microprocessor, these real systems are often wished the compact conformation of device, require keyboard and light-emitting diode display to carry out physical connection by same interface module; Some system wishes that the operator can carry out sufficient man-machine message exchange with microprocessor, requires to have quantity keyboard and light-emitting diode display how, to satisfy the big needs of some microprocessor control system I/O data volumes; Require simultaneously will lack at the connecting line of High-speed Control lower keyboard/display and interface; Require interface that good versatility is arranged.Therefore, the operating key more than development can be controlled for microprocessor system and the efficient interface module of light-emitting diode display have significant practical applications.
During microprocessor system is used at present, based on the keyboard of basic (Base) bus and the keyboard quantity and the few problem of light-emitting diode display quantity of LED display driver interface existence support; Keyboard and the design of LED display interface circuit and the module of using are often only supported 16~24 keys and 4~8 light-emitting diode displays; This module adopts general parallel interface chip or digit-logic circuit chip to carry out keypad/display control, so the keyboard of interface control and the quantity of display are very limited; And since in the keypad/display control of the chip of these interface circuits sweep signal take place by microcomputer software, so interface control to take computing time of microcomputer many, the work efficiency of microcomputer is reduced, be unfavorable for the real-time control of microsystem.
Summary of the invention
The utility model purpose is to provide a keyboard and a light-emitting diode display interface module based on essential bus, this module is supported 256 keys and 16 light-emitting diode display controls, keypad/display and interface module connecting line are few, interface has good versatility, and the processing time that the interface control procedure takies microprocessor is few.
Realize above-mentioned purpose, the technical solution of the utility model is: press the BASE bus standard, the coding dynamic scan that utilization hardware programmable controller chip, decoding scheme, driving circuit carry out keyboard and demonstration, the coding dynamic scan mode has been expanded the processing capacity of interface to keyboard and LED, improved the treatment effeciency of interface, overcome formerly that technical interface is subjected to BASE bus signal line restricted number, be subjected to the shortcoming of microprocessor restriction working time, keyboard quantity and the LED quantity of the control of Base bus interface module are increased; Simultaneously, form the keyboard binary coding by the Programmable Logic Controller chip in the Keyboard Control, reduced the connecting line quantity between interface module and the keypad/display, improved the service efficiency of interface; Finally finish 256 keyboards and 16 control function that LED shows.This interface module can use the programmable Interrupt working method to carry out the Control work of keypad/display, and keyboard and scanning of a display control procedure take the working time of microprocessor hardly, and it is few that total signal I/O takies the microprocessor time.
Beneficial effect
The utility model meets the Base interface standard, can carry out interface with the Base bus, and module has driving force, the Base system bus is not caused load, can expand in a large number; Modular design can make the microprocessor system configuration flexible, and the hardware control system construction cycle is shortened, microprocessor system fault diagnosis and easy to maintenance, the principle of compliance with system opening and extensibility.Use microprocessor for control, no matter be that single-chip microcomputer or other are controlled microcomputer, as long as can with the Base bus interface, just can carry out interface with this module.Compare with the circuit of general designs, the time that this interface module interface control procedure takies microcomputer is few, and the connecting line of keypad/display and interface module is few, has compact conformation and efficient keyboard quantity and LED high and control and shows the big characteristics of quantity.
Description of drawings
Fig. 1 is an electrical schematic diagram of the present utility model.
Fig. 2 is the electrical schematic diagram that the utility model is connected with keyboard/light-emitting diode display.
Embodiment
Below in conjunction with accompanying drawing, concrete enforcement of the present utility model is described in further detail.
Referring to Fig. 1, interface module mainly drives output and keyboard and light-emitting diode display several sections by essential bus, bus driver, control able to programme, scanning decoding and forms.Composition wherein is: 1 is essential bus; 2,3 is the bidirectional bus chip for driving; 4 is the unidirectional bus chip for driving; 5 translate a yard chip selectively for sheet; 6 is keyboard and light-emitting diode display programmable control chip; 7 are the reading scan coding chip; 8 are the keyboard scan coding chip; 9 for selecting the signal chip for driving in the position; 10 is that section is selected the signal chip for driving; 11 is keyboard/light-emitting diode display peripheral hardware attachment plug.
The control signal of essential bus 1 is connected with the control line mouth of control chip 6 by two-way control line and chip for driving 2, this two-way control line also with chip for driving 3, dynamically chip 4 is connected.The data-signal of essential bus 1 is connected with the bidirectional data line mouth of control chip 6 by bidirectional data line and chip for driving 3.The address signal of essential bus 1 is connected with chip for driving 4 by unidirectional address wire, high position in the address is translated yard chip 5 selectively by sheet and is produced chip selection signals and be connected with the chip selection signal line of the control line mouth of control chip 6 then, and the low level signal in the address is directly connected to the address wire mouth of control chip 6.The keyboard state end of control chip 6 links to each other with two status key by attachment plug 11; The scanning delivery outlet of control chip 6 is connected with keyboard scan coding chip 8 with reading scan coding chip 7 by the dynamic scan line, keyboard scan coding chip 8 output keyboard scanning signals, output to the keyboard array by attachment plug 11, the keyboard scan of control chip 6 returns mouth and links to each other with the keyboard array by attachment plug 11.The display control signal control of reading scan coding chip 7 controlled chips 6, output reading scan signal; This sweep signal selects signal chip for driving 9, reading scan line and attachment plug 11 to select signal wire to be connected with the position of 16 light-emitting diode displays by the position.The display segments of control chip 6 selects delivery outlet to select signal chip for driving 10 by the section code selection line section of being connected to, and selects signal wire to be connected by attachment plug 11 with the section of 16 light-emitting diode displays again.
Referring to Fig. 2, keyboard is connected with interface module by attachment plug 11 with the light-emitting diode display peripheral hardware.
The course of work of module is divided into two parts: the interface control of interface module and bus, the control of 6 pairs of keyboards of programmable control chip and light-emitting diode display.
The interface course of work of interface module and bus is as follows: module is finished physical connection and power drive with essential bus based on 1, three chip for driving of essential bus 2,3,4, makes whole module not cause load to bus, so that a large amount of expansions of module.In the interface control, the chip selection signal of essential bus chooses bi-directional drive chip 2,3 and unidirectional drive chip 4 to make module work by control signal wire; The module controls line of essential bus drives 2 by bidirectional bus and amplifies the control mouth that the back arrives control chips 6, and utilization interrupt request and interrupt response service signal make interface module reply contact with microprocessor interrupts.In the data transmission, essential bus carries out message exchange by the bidirectional data line mouth of data line by bi-directional drive chip 3 and control chip 6; Make microprocessor carry out the initialization programming, in the Control work mode of decision and change interface module to control chip 6; After working method was determined, microprocessor and keyboard/light-emitting diode display can carry out message exchange by data line, finish the input of keyboard signal and the output of shows signal.In the control of address, the low order address of essential bus drives the back by unidirectional bus chip for driving 4 and chooses control chip 6 as address signal, after the high address of essential bus drives by chip for driving 4, translate the choose control signal of yard chip 5 decoding generations selectively by sheet again to control chip 6.
The control procedure of 6 pairs of keyboards of control chip and light-emitting diode display is: in the keyboard scan control, programmable chip 6 sends the dynamic scan coded signal, this signal sends the longitudinal register sweep signal by attachment plug 11 to the keyboard array again by keyboard scan coding chip 8 decoding output keyboard dynamic scan signals; When keyboard is pressed, sweep signal will be transferred to the return signal line by keyboard and return, produce the Landscape Keyboard positioning signal, the keyboard scan that is transferred to control chip 6 by attachment plug 11 returns mouth, and status signal final and status key was combined into the eight-digit binary number coding of keyboard after control chip 6 was encoded.At this moment control chip 6 connects signal wire by the interruption in the control line and sends interrupt request singal to microprocessor through after the logic determines, and microprocessor just can read keyboard coding; In conjunction with the pressing or can produce one of four states not according to following situation of two status key, one of four states combines with 8 * 8 keyboard arrays, produces 256 keys and accords with signals; Also can produce independently 256 key signals if two status key are carried out 2-4 decoding processing, obviously reduce connecting line thus with interface module.Show that dynamically microprocessor is as long as promptly finished output demonstration task with the code of display digit by the data port that data bus is input to control chip 6 in the control.Control chip 6 utilizes with keyboard and handles the same group of dynamic scan signal that sends, show decoding back output demonstration dynamic scan signal by reading scan coding chip 7, select chip for driving 9 to amplify back output by the position again, utilization dynamic scan signal is chosen a light-emitting diode display position in turn, so this signal is that signal is selected in the position of 16 displays; In addition, control chip 6 is according to the code of wanting video data, selects output port to show the section a collection of selected materials sign indicating number of number by the display segments of control chip 6, outputs to the certain character of display demonstration after selecting chip for driving 10 to amplify by section; It is to carry out again and again by dynamic scan that the integral body of 16 bit data shows, utilizes the demonstration twilight sunset of light emitting diode to reach.
According to the module standard of Base bus, can with this circuit design on the double-sided printed-circuit board that has Base connection modular connection of a 100mm * 150mm, finally insert in the standard PC case of Base bus.When introducing power supply signal to module, can carry out Filtering Processing with the electric capacity of 100 μ F/16V, to keep the stable of power supply signal from the Base bus.
Embodiment
The basic bus 1 of microprocessor can adopt the FD-Base of Fudan University bus, and Bussing connector is the S-56 signal standards, can with various microprocessor compatibilities.In the circuit design, bidirectional bus drives 2,3 can adopt 245 model chips, unidirectional address bus driver 4 can adopt 244 model chips, sheet is translated the 154 model chips that yard chip 5 can be deciphered with the 138 model chips or the 4-16 of 3-8 decoding according to the distribution condition of interface IP address selectively, finish the decoding of high-order address signal, to produce selected signal to control chip 6; Control chip 6 can adopt 8279 model control chips, and 8279 model control chips have the processing capacity of hardware keyboards/light-emitting diode display; Programme by initialization, 8279 model control chips can send the dynamic scan signal automatically, and the Refresh Data can dynamically show the time and definite function of keyboard coordinate, by with the signal combination of line of return input, automatically generate 8 binary coded value of keyboard signal, 8 binary codings can produce the code of 256 keys.8279 model control chips can carry out work with interrupt mode, whenever a finish dealing with keyboard or show control, just send the interrupt request singal of I/O to microprocessor, so that serve next time, the interruption of work mode can make the work efficiency of microprocessor obviously improve, avoided keyboard/LED display interface that the improper of microprocessor work time taken, so that the limited arithmetic speed of microprocessor fully is used for the needs of control in real time.When adopting 8279 model control chips, software programming is divided into break in service programming two parts of initialization programming and keyboard/LED demonstration of chip; The working method of initialization programming decision control chip, interrupt service routine is finished the I/O operation element of keyboard/light-emitting diode display.Owing to be provided with the keyboard base conditioning functions such as the dithering process that disappears of keyboard signal in 8279 model control chip inside, thus needn't consider the shake factor of keyboard during use, very low to the connection request of keyboard.Bond number as required and light-emitting diode display number show that coding chip 7 and keyboard decoding chip 8 can adopt as 138 model chips of 3-8 decoding and 154 model chips of 4-16 decoding.Position choosing and section select the chip for driving 9,10 can be with 06 model chip for driving, and when the light-emitting diode display of selection was high brightness indicator, the Current Control of driving was about 5mADC.The 11st, the plug that keyboard/light-emitting diode display is connected with module can be selected the attachment plug of different sizes according to the quantity that is connected to keyboard/light-emitting diode display signal wire.

Claims (2)

1. keyboard and light-emitting diode display interface module based on an essential bus comprise essential bus (1), programmable control chip (6), and attachment plug (11) is characterized in that:
A. the control signal of essential bus (1) is connected with the control line mouth of control chip (6) by two-way control line and chip for driving (2), this two-way control line also with chip for driving (3), dynamically chip (4) is connected; The data-signal of essential bus (1) is connected with the bidirectional data line mouth of control chip (6) by bidirectional data line and chip for driving (3); The address signal of essential bus (1) is connected with chip for driving (4) by unidirectional address wire, high position in the address is translated a yard chip (5) selectively by sheet and is produced chip selection signal and be connected with the chip selection signal line of the control line mouth of control chip (6) then, and the low level signal in the address is directly connected to the address wire mouth of control chip (6);
B. the keyboard state end of control chip (6) links to each other with two status key by attachment plug (11), the scanning delivery outlet of control chip (6) is connected with keyboard scan coding chip (8) with reading scan coding chip (7) by the dynamic scan line, keyboard scan coding chip (8) output keyboard scanning signal, output to the keyboard array by attachment plug (11), the keyboard scan of control chip (6) returns mouth and links to each other with the keyboard array by attachment plug (11), the display control signal control of the controlled chip of reading scan coding chip (7) (6), output reading scan signal, this sweep signal is selected signal chip for driving (9) by the position, the reading scan line selects signal wire to be connected with attachment plug (11) with the position of 16 light-emitting diode displays, the display segments of control chip (6) selects delivery outlet to select signal chip for driving (10) by the section code selection line section of being connected to, and selects signal wire to be connected by attachment plug (11) with the section of 16 light-emitting diode displays again.
2. keyboard and light-emitting diode display interface module based on essential bus according to claim 1 is characterized in that the module standard by essential bus, and the interface module circuit design has on the double-sided printed-circuit board that essential bus connects modular connection at one.
CN 200520046271 2005-11-04 2005-11-04 Interface module between keyboard and LED displayer based on basic bus Expired - Fee Related CN2919361Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200520046271 CN2919361Y (en) 2005-11-04 2005-11-04 Interface module between keyboard and LED displayer based on basic bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200520046271 CN2919361Y (en) 2005-11-04 2005-11-04 Interface module between keyboard and LED displayer based on basic bus

Publications (1)

Publication Number Publication Date
CN2919361Y true CN2919361Y (en) 2007-07-04

Family

ID=38217178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200520046271 Expired - Fee Related CN2919361Y (en) 2005-11-04 2005-11-04 Interface module between keyboard and LED displayer based on basic bus

Country Status (1)

Country Link
CN (1) CN2919361Y (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494024B (en) * 2009-02-11 2011-08-24 福州福大海矽微电子有限公司 LED display drive and keyboard control chip
CN102193634A (en) * 2010-03-03 2011-09-21 上海三旗通信科技有限公司 Method for realizing keyboard expansion by utilizing analog-to-digital conversion

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494024B (en) * 2009-02-11 2011-08-24 福州福大海矽微电子有限公司 LED display drive and keyboard control chip
CN102193634A (en) * 2010-03-03 2011-09-21 上海三旗通信科技有限公司 Method for realizing keyboard expansion by utilizing analog-to-digital conversion

Similar Documents

Publication Publication Date Title
CN101403904B (en) Programmable controller with bidirectional input/output
CN103761942B (en) The numeral method of tool array display multiplexing algorithm and key control chip
CN2919361Y (en) Interface module between keyboard and LED displayer based on basic bus
CN202364197U (en) Button detection and LED control circuit
CN2809777Y (en) Display circuit for motor vehicle gauge
CN200950217Y (en) Portable intelligent instrument development platform
CN102622963B (en) Simple and universal full-hardware control system of display screen
CN2522906Y (en) General integrated long-range observing and controlling terminal
CN2414437Y (en) Reprogrammable universal remote controller
CN1180354C (en) USB control circuit capable of switching path automatically
CN101382835B (en) Multi-LED human-computer interaction module of serial interface
CN201191375Y (en) Bidirectional input/output programmable controller
CN2526908Y (en) Universal system board of single board computer based on PSD
CN108417135B (en) Multi-course practice teaching platform and control method thereof
CN2702370Y (en) RS232 serial port signal and PS/2 keyboard (mouse) signal transforming cable
CN206877319U (en) A kind of operation of serial-port system based on numerical control control
CN201293972Y (en) Serial interface multi-LED human-computer interaction module
CN1598740A (en) Computer keyboard and operating method
CN200941204Y (en) Interface circuit with coding transmitting to support 16 bit LED display
CN1624487A (en) Method and device capable of testing remote controller function of electric appliances
CN2652039Y (en) Computer series double-circuit step-by-step motor controller
CN2456196Y (en) Computer input device connector
CN215729370U (en) Industrial control panel for modular heat exchanger unit
CN2155035Y (en) General intelligence controller for domestic electrical appliances
CN101232758B (en) Non-contact matrix switch for controlling a plurality of lighting equipments

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee