CN102497213A - Multi-interface selection method and multi-interface selection circuit based on keyboard scan and display driving chip - Google Patents

Multi-interface selection method and multi-interface selection circuit based on keyboard scan and display driving chip Download PDF

Info

Publication number
CN102497213A
CN102497213A CN2011104172982A CN201110417298A CN102497213A CN 102497213 A CN102497213 A CN 102497213A CN 2011104172982 A CN2011104172982 A CN 2011104172982A CN 201110417298 A CN201110417298 A CN 201110417298A CN 102497213 A CN102497213 A CN 102497213A
Authority
CN
China
Prior art keywords
wire jumper
interface
key
keyboard scan
states
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.)
Pending
Application number
CN2011104172982A
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.)
SHENZHEN CHK ELECTRONICS CO Ltd
Original Assignee
SHENZHEN CHK ELECTRONICS CO Ltd
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 SHENZHEN CHK ELECTRONICS CO Ltd filed Critical SHENZHEN CHK ELECTRONICS CO Ltd
Priority to CN2011104172982A priority Critical patent/CN102497213A/en
Publication of CN102497213A publication Critical patent/CN102497213A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

A multi-interface selection method based on a keyboard scan and display driving chip includes the steps: a, dividing intersections of an NXN array into n key positions and m jumper wire positions, enabling the m jumper wire positions to form a plurality of jumper wire position state combinations by selecting short connecting circuit lines, writing corresponding interfaces and functional subprograms according to functional requirements of a series of machine types adopting an MCU (microprogrammed control unit), and enabling the subprograms to be in one-to-one correspondence to the jumper wire position state combinations to be stored in a storage of a master control board; and b, obtaining key numbers on a PCB (printed circuit board) and binary values of jumper wire position state combinations by means of keyboard scan after an operating panel PCB of one machine type of a series of machine types is connected with the master control board through a communication interface, and utilizing the MCU to invoke the corresponding interface and subprograms according to the binary values and to switch to the corresponding interfaces, so that functional operation of the corresponding keys is completed. The universal master control board is employed, only one-time programming is needed, development of a novel machine type is facilitated, the method is suitable for batch production, and debugging and after-sale maintenance are facilitated.

Description

System of selection of many interfaces and circuit based on the keyboard scan display driver chip
Technical field
The invention belongs to electromagnetic oven design and fabrication technology field, especially for system of selection of many interfaces and the circuit based on the keyboard scan display driver chip electromagnetic oven series model, a kind of.
Background technology
The automatically controlled part of common electromagnetic oven mainly is made up of the power control board and the guidance panel that contain main control MCU.Main control MCU comes the power controlling control board to realize various preset heating functions through the human-machine interactive information that obtains guidance panel.Be combined into multiple culinary art pattern through heating power, time, temperature.For being fit to the functional requirement of different type of machines electromagnetic oven, usually need move by MCU according to the function weaving different programs of each type.Bring inconvenience in production debugging, maintenance and the program management to the series model that adopts same main control chip like this.
Summary of the invention
Be the above-mentioned defective of avoiding existing electromagnetic oven design and fabrication technology to exist; The present invention provides a kind of system of selection of many interfaces and circuit based on the keyboard scan display driver chip; With convenient production, debugging and the maintenance of adopting with a kind of serial electromagnetic oven of main control chip, reduce manufacturing cost.
The present invention is based on many interfaces system of selection of keyboard scan display driver chip, may further comprise the steps:
A,The N bar column rule that will be connected with the I/O port of keyboard scan display driver chip and N bar alignment constitute N * N matrix, and N equals 1-12, in N * N matrix crosspoint, distribute n key position and m wire jumper position, key of each key position setting number; Make m wire jumper position form a plurality of wire jumpers position combinations of states through selecting to connect short-circuit line with binary number representation; Wherein, n and m are natural number;
According to the functional requirement of adopting with the series model of a kind of MCU; Key arrangement, the display mode of confirming various type requirements are written as corresponding interface and function subprogram; And make each interface and function subprogram corresponding one by one, be stored in the memory of master board with said wire jumper position combinations of states; And
B, when the guidance panel PCB of a kind of type in the said series model with after master board is connected through communication interface; Obtain button number and the binary value of wire jumper position combinations of states on this PCB through keyboard scan; MCU calls corresponding interface and function subprogram according to the binary value of this wire jumper position combinations of states; Switch to respective interface, and then accomplish the feature operation of respective keys.
The said keyboard scan display driver chip of step a is set on a kind of guidance panel PCB of type in the said series model; N bar column rule that is connected with the I/O port of said chip and N bar alignment constitute N * N matrix, by the LED charactron and the communication interface H1 of said chip drives; In this N * N matrix; With the function button of the said n of step a key position key bits corresponding cross-over connection smaller or equal to n; Connect short-circuit line in corresponding with the said wire jumper of step a position m wire jumper position, form with said a plurality of wire jumpers position combinations of states in one of a wire jumper position combinations of states being consistent.
Circuit is selected at a kind of many interfaces based on the keyboard scan display driver chip, comprising:
One guidance panel PCB; One keyboard scan display driver chip, the LED charactron by this chip drives, communication interface H1, N bar column rule and N bar alignment are set on this PCB; N equals 1-12; N bar column rule, N bar alignment are connected with the corresponding I/O port of this chip, n key position of configuration and m wire jumper position in N * N matrix crosspoint that N bar column rule and N bar alignment constitute, and each key position is to a key number; Be not more than the function button of n this n key position cross-over connection quantity, select to connect short-circuit line this m wire jumper position and form a wire jumper position combinations of states; Wherein, n and m are natural number; And
One control circuit part is arranged in the master board; It comprises the internal memory of MCU, MCU and the communication interface H2 that is connected with the MCU serial port; This communication interface H2 is connected with communication interface H1 on being positioned at said guidance panel PCB through cable; Store pairing interface of key arrangement, display mode and function subprogram in this memory, be used for interface switching and the feature operation that realizes respective keys based on the various types of this MCU.
The inventive method is carried out the one-time programming exploitation to main control MCU; Different types of machines adopt unified master board, only need adjust panel layout (LAYOUT) during the new architecture exploitation, and select suitable wire jumper position according to demand; Just can accomplish the development of different types of machines, improve development efficiency.
It adopts general master board, is fit to produce in enormous quantities, and debugging and after-sales service are convenient, reduce overall cost.
Description of drawings
Fig. 1 is the sketch map that is connected of guidance panel of the present invention and master board part;
Fig. 2 is an embodiment partial circuit figure of Fig. 1 guidance panel PCB part;
Fig. 3 is an embodiment circuit diagram of Fig. 1 control circuit part.
Fig. 4,5 is respectively employing and lays sketch map with the A of a kind of MCU, the interface of B two type.
Embodiment
Further specify below in conjunction with accompanying drawing.
With reference to Fig. 1-3, the present invention includes guidance panel and master board two parts, the communication interface H2 in the master board is connected with communication interface H1 on being positioned at guidance panel PCB through cable.
LED charactron (not shown among Fig. 2), communication interface H1,4 column rules and 6 alignments of one keyboard scan display driver chip U1 being set on the guidance panel PCB, driving by this keyboard scan display driver chip U1; Article 4, column rule, 6 alignments are connected with the corresponding I/O port of keyboard scan display driver chip U1, and communication interface H1 is connected to serial port 14, the 16Pin of U1.
Wherein, Article 2, column rule X3, X4 and 6 alignment Y1-Y6 constitute 2 * 6 matrixes, and column rule X3, X4 are assigned as 8 key positions with 2 * 4 matrix crosspoints of alignment Y1-Y 4 formations, the given key in each key position number; Function button of cross-over connection as required is like button S1-S8; The matrix crosspoint of column rule X3 and alignment Y5, Y6 is vacant subsequent use.
2 matrix crosspoints of column rule X4 and alignment Y5, Y6 are as 2 wire jumper positions, are in column rule X4 and alignment Y5 crosspoint a terminal X41 is set on the column rule X4, and a terminal Y51 is set on alignment Y5; At column rule X4 and place, alignment Y6 crosspoint, another terminal X42 is set on column rule X4, a terminal Y61 is set on alignment Y6.If select to connect short-circuit line, make these 2 wire jumper potential energies enough form 4 wire jumper position combinations of states, available two bits are represented this 4 wire jumper position combinations of states, i.e. " 11 ", " 10 ", " 01 ", " 00 " (wherein " 1 " expression).Figure In 2Terminal X41, Y51 (are Fig. 2 by short-circuit line InThick vertical line) short circuit, this state is " 10 " wire jumper position combinations of states.Fig. 2 InArticle 2,2 * 4 matrix crosspoints that constitute of column rule X1, X2 and 6 alignment Y1-Y6 LED of cross-over connection respectively are as indications such as the electromagnetic oven power of routine or key-press status.
Like Fig. 3, control circuit partly is arranged in the master board; Control circuit partly comprises the internal memory of MCU U2, MCU and the communication interface H2 that is connected with the MCU serial port; Communication interface H2 is connected with communication interface H1 on being positioned at guidance panel PCB through cable; Store pairing interface of key arrangement, display mode and function subprogram in this memory, be used for interface switching and the feature operation that realizes respective keys based on the various types of this MCU.Wherein, 2 wire jumper positions on each interface and function subprogram and the said guidance panel PCB are corresponding one by one through 4 wire jumper position combinations of states selecting to be connected short-circuit line and can form.
In conjunction with Fig. 1-3 the present invention's many interfaces system of selection performing step is described:
1,2 column rule X3, X4 and 6 alignment Y1-Y6 of being connected with the I/O port of keyboard scan display driver chip are set and constitute 2 * 6 matrixes on guidance panel PCB; Wherein 2 * 4 matrix cross-point arrangement of column rule X3, X4 and alignment Y1-Y4 formation are 8 key positions; Button of each key position cross-over connection is like button S1-S8; 2 matrix crosspoints of column rule X4 and alignment Y5, Y6 can make these 2 wire jumper positions form 4 wire jumper position combinations of states as 2 wire jumper positions through selecting to connect short-circuit line, promptly are expressed as " 11 ", " 10 ", " 01 ", " 00 " with two bits; Terminal X41, Y51 are by the short-circuit line short circuit among Fig. 2, and this state is " 10 " wire jumper position combinations of states.
As adopting series model that 4 kinds of types are arranged with a kind of MCU; Functional requirement according to these 4 kinds of types; Confirm the key arrangement and the display mode of these 4 kinds of type requirements; Be written as corresponding interface and function subprogram, and make each interface and function subprogram corresponding one by one, be stored in the memory of master board with 4 the setting wire jumper position combinations of states that can form on the said guidance panel PCB.
2, when one of said 4 kinds of types adopt Fig. 2 guidance panel PCB; This guidance panel PCB is with after master board is connected through communication interface; Obtain button number and the binary value " 10 " of wire jumper position combinations of states on this PCB through keyboard scan; MCU calls corresponding interface and function subprogram according to the binary value of this wire jumper position combinations of states, switches to respective interface, and then accomplishes the feature operation of respective keys.Keyboard scan can be adopted rank scanning mode commonly used.After switch at the interface, MCU to the detection of electromagnetic oven power, control same existing mode.
From automatically controlled angle, employing is actually the difference of key arrangement and display mode with the difference of the electromagnetic oven series model of a kind of MCU.
For example: have A, B two type to need exploitation, all adopt with a kind of MCU, Fig. 4 representes the interface of A money machine, and Fig. 5 representes the interface of B money machine.Two type difference difference is following:
1), the function key position is variant, except that same section, the A money has boiling, heats up water.The B money then is heat milk, quick-fried.And the key position distributes also different.
2), display interface is variant, the A money is 3 charactrons, the B money is 4 charactrons.
3), power gear and maximum power be variant, the A money is 8 grades of adjustable power, maximum power 1800W, the B money is 10 grades of adjustable power, maximum power 2200W.
The present invention distributes a distinctive keypress function for each key position of distributing in N * N matrix crosspoint in advance; The adjustment key position comes corresponding one by one during LAYOUT; Main control MCU also is each function weaving subprogram in advance, and triggers the function corresponding subprogram according to key information.Main control MCU utilizes wire jumper position combinations of states to select different display modes, like the charactron figure place, and maximum power size, performance number etc.Confirm the display buffer content in conjunction with performed function subprogram, and send the keyboard scan display driver chip to, accomplish the interface display function.
The keyboard scan display driver chip can adopt circuit such as T1668, and wherein built-in 18X4 shows memory block, LED charactron driver, serial line interface, keyboard scanning circuit, RC oscillating circuit etc.Do not need other extra MCU resource, main control MCU just can obtain wire jumper through key information and select information.

Claims (6)

1. many interfaces system of selection based on the keyboard scan display driver chip is characterized in that may further comprise the steps:
A,The N bar column rule that will be connected with the I/O port of keyboard scan display driver chip and N bar alignment constitute N * N matrix, and N equals 1-12, in N * N matrix crosspoint, distribute n key position and m wire jumper position, key of each key position setting number; Make m wire jumper position form a plurality of wire jumpers position combinations of states through selecting to connect short-circuit line with binary number representation; Wherein, n and m are natural number;
According to the functional requirement of adopting with the series model of a kind of MCU; Key arrangement, the display mode of confirming various type requirements are written as corresponding interface and function subprogram; And make each interface and function subprogram corresponding one by one, be stored in the memory of master board with said wire jumper position combinations of states; And
B, when the guidance panel PCB of a kind of type in the said series model with after master board is connected through communication interface; Obtain button number and the binary value of wire jumper position combinations of states on this PCB through keyboard scan; MCU calls corresponding interface and function subprogram according to the binary value of this wire jumper position combinations of states; Switch to respective interface, and then accomplish the feature operation of respective keys.
2. many interfaces as claimed in claim 1 system of selection; It is characterized in that: the said keyboard scan display driver chip of step a is set on a kind of guidance panel PCB of type in the said series model; N bar column rule that is connected with the I/O port of said chip and N bar alignment constitute N * N matrix, by the LED charactron and the communication interface H1 of said chip drives; In this N * N matrix; With the function button of the said n of step a key position key bits corresponding cross-over connection smaller or equal to n; Connect short-circuit line in corresponding with the said wire jumper of step a position m wire jumper position, form with said a plurality of wire jumpers position combinations of states in one of a wire jumper position combinations of states being consistent.
3. according to claim 1 or claim 2 many interfaces system of selection, it is characterized in that: said keyboard scan display driver chip has COM.
4. many interfaces as claimed in claim 1 system of selection is characterized in that: described display mode comprises charactron figure place, maximum power value and the performance number that the keyboard scan display driver chip drives.
5. realize a kind of many interfaces selection circuit of the arbitrary said method of claim 1-2, it is characterized in that comprising based on the keyboard scan display driver chip:
One guidance panel PCB; One keyboard scan display driver chip, the LED charactron by this chip drives, communication interface H1, N bar column rule and N bar alignment are set on this PCB; N equals 1-12; N bar column rule, N bar alignment are connected with the corresponding I/O port of this chip, n key position of configuration and m wire jumper position in N * N matrix crosspoint that N bar column rule and N bar alignment constitute, and each key position is to a key number; Be not more than the function button of n this n key position cross-over connection quantity, select to connect short-circuit line this m wire jumper position and form a wire jumper position combinations of states; Wherein, n and m are natural number; And
One control circuit part is arranged in the master board; It comprises the internal memory of MCU, MCU and the communication interface H2 that is connected with the MCU serial port; This communication interface H2 is connected with communication interface H1 on being positioned at said guidance panel PCB through cable; Store pairing interface of key arrangement, display mode and function subprogram in this memory, be used for interface switching and the feature operation that realizes respective keys based on the various types of this MCU.
6. circuit is selected at many interfaces as claimed in claim 6; It is characterized in that: m wire jumper position on the said guidance panel PCB can form a plurality of wire jumpers position combinations of states through selecting to connect short-circuit line, and this a plurality of wire jumpers position combinations of states is corresponding one by one with said interface and function subprogram.
CN2011104172982A 2011-12-14 2011-12-14 Multi-interface selection method and multi-interface selection circuit based on keyboard scan and display driving chip Pending CN102497213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104172982A CN102497213A (en) 2011-12-14 2011-12-14 Multi-interface selection method and multi-interface selection circuit based on keyboard scan and display driving chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104172982A CN102497213A (en) 2011-12-14 2011-12-14 Multi-interface selection method and multi-interface selection circuit based on keyboard scan and display driving chip

Publications (1)

Publication Number Publication Date
CN102497213A true CN102497213A (en) 2012-06-13

Family

ID=46189008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104172982A Pending CN102497213A (en) 2011-12-14 2011-12-14 Multi-interface selection method and multi-interface selection circuit based on keyboard scan and display driving chip

Country Status (1)

Country Link
CN (1) CN102497213A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020832A (en) * 2016-05-25 2016-10-12 大唐网络有限公司 Generation method and device for interface information on application programs
CN109922575A (en) * 2019-04-16 2019-06-21 捷卡(厦门)工业科技有限公司 A kind of more LED light control circuits
CN111462681A (en) * 2020-04-21 2020-07-28 深圳天源中芯半导体有限公司 Multi-path cascade application system and control method for detecting and receiving correct data thereof
CN111628781A (en) * 2020-06-17 2020-09-04 玉林师范学院 Matrix keyboard based on RS232 serial port communication

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2535848Y (en) * 2001-05-14 2003-02-12 齐全福 Intelligent constant value control instrument
CN101055095A (en) * 2007-05-27 2007-10-17 美的集团有限公司 Control device and selection method for applicable machine type of electric control board of microwave oven
CN101281697A (en) * 2008-05-29 2008-10-08 华东师范大学 Multifunctional single-chip experimental development plate
CN101776296A (en) * 2010-03-01 2010-07-14 美的集团有限公司 Model selection control device of microwave oven and selection control method thereof
CN102214389A (en) * 2010-04-12 2011-10-12 海尔集团公司 Method for realizing function selection of remote controller and remote controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2535848Y (en) * 2001-05-14 2003-02-12 齐全福 Intelligent constant value control instrument
CN101055095A (en) * 2007-05-27 2007-10-17 美的集团有限公司 Control device and selection method for applicable machine type of electric control board of microwave oven
CN101281697A (en) * 2008-05-29 2008-10-08 华东师范大学 Multifunctional single-chip experimental development plate
CN101776296A (en) * 2010-03-01 2010-07-14 美的集团有限公司 Model selection control device of microwave oven and selection control method thereof
CN102214389A (en) * 2010-04-12 2011-10-12 海尔集团公司 Method for realizing function selection of remote controller and remote controller

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020832A (en) * 2016-05-25 2016-10-12 大唐网络有限公司 Generation method and device for interface information on application programs
CN109922575A (en) * 2019-04-16 2019-06-21 捷卡(厦门)工业科技有限公司 A kind of more LED light control circuits
CN111462681A (en) * 2020-04-21 2020-07-28 深圳天源中芯半导体有限公司 Multi-path cascade application system and control method for detecting and receiving correct data thereof
CN111462681B (en) * 2020-04-21 2024-01-30 深圳天源中芯半导体有限公司 Multipath cascade application system and control method for detecting and receiving correct data thereof
CN111628781A (en) * 2020-06-17 2020-09-04 玉林师范学院 Matrix keyboard based on RS232 serial port communication
CN111628781B (en) * 2020-06-17 2023-07-14 玉林师范学院 Matrix keyboard based on RS232 serial port communication

Similar Documents

Publication Publication Date Title
CN102497213A (en) Multi-interface selection method and multi-interface selection circuit based on keyboard scan and display driving chip
CN101054749B (en) Electromagnetism needle selector drive plate and electronic jacquard machine control system using the same
JP2003527709A (en) Computer input device with independently configurable programmable switch
CN105912076A (en) Hard disk backplane and hard disk indicating light control method and system
CN103761942A (en) Digital tube display and key control chip with array display multiplexing algorithm
CN101771700A (en) Modbus protocol communication node based on FPGA
CN102693196A (en) Memory controller address and data pin multiplexing
CN102682702A (en) Configuration method and configuration system for LED (light-emitting diode) display screen
CN104181836B (en) Signal switching apparatus
JP2005018135A (en) Kvm switching unit and kvm switching method
CN209388273U (en) A kind of programmable key control device
CN104766465A (en) General remote controller
CN201556294U (en) Remote controller
CN101739229A (en) Method for displaying composite image on spliced display screen
CN202711659U (en) Configuration system of LED display screen
CN103164124A (en) Display device using sliding touch mode to control
CN1949164B (en) Time-division multiplexing IC card interface equipment
CN203858630U (en) Pcie interface switching device
CN203405806U (en) Keyboard-video-mouse switching system
CN103123799A (en) Rate indication circuit, rigid disk backboard and electronic device
CN201532404U (en) Matrix switch circuit device for OLED test equipment
CN101206602B (en) Computer connector tester
CN202404585U (en) EDID (extended display identification data) transmission device for DVI (digital visual interface)
AU2001264476A2 (en) Control unit with variable visual indicator
CN210515845U (en) Programming building block based on resistance coding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: Post office building Baoan District 13 Baomin Shenzhen city Guangdong province 518101 Road 27 layer

Applicant after: Xin Huike limited company of Shenzhen

Address before: Post office building Baoan District 13 Baomin Shenzhen city Guangdong province 518101 Road 27 layer

Applicant before: Shenzhen CHK Electronics Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN CHK ELECTRONICS CO., LTD. TO: SHENZHEN XINHUI TECHNOLOGY CO., LTD.

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120613