CN108257571A - A kind of control circuit and method of MCU driving liquid crystal display - Google Patents

A kind of control circuit and method of MCU driving liquid crystal display Download PDF

Info

Publication number
CN108257571A
CN108257571A CN201810162161.9A CN201810162161A CN108257571A CN 108257571 A CN108257571 A CN 108257571A CN 201810162161 A CN201810162161 A CN 201810162161A CN 108257571 A CN108257571 A CN 108257571A
Authority
CN
China
Prior art keywords
liquid crystal
crystal display
control terminal
microcontroller
segment encode
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.)
Granted
Application number
CN201810162161.9A
Other languages
Chinese (zh)
Other versions
CN108257571B (en
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.)
Xiamen Polytron Technologies Inc
Xiamen Chipsun Science and Technology Co Ltd
Original Assignee
Xiamen Polytron Technologies Inc
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 Xiamen Polytron Technologies Inc filed Critical Xiamen Polytron Technologies Inc
Priority to CN201810162161.9A priority Critical patent/CN108257571B/en
Publication of CN108257571A publication Critical patent/CN108257571A/en
Application granted granted Critical
Publication of CN108257571B publication Critical patent/CN108257571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The present invention provides a kind of control circuit and method of MCU driving liquid crystal display;Wherein, the control circuit of MCU driving liquid crystal display includes microcontroller and liquid crystal display;Liquid crystal display includes several public control terminals and several segment encode control terminals;Several public control terminals are respectively connected to different I/O mouthfuls of microcontroller;Several segment encode control terminals are respectively connected to different I/O mouthfuls of microcontroller.The control circuit of MCU driving liquid crystal display provided in an embodiment of the present invention, using the microcontroller without liquid crystal display driving function, and without using dedicated liquid crystal display driving chip, the appliance component used is few, and circuit structure is simple, and production cost is low.

Description

A kind of control circuit and method of MCU driving liquid crystal display
Technical field
The present invention relates to electronic technology field, the more particularly to a kind of control circuit and method of MCU driving liquid crystal display.
Background technology
Liquid crystal display is the filling liquid crystal material between two blocks of parallel-plates using liquid crystal material as basic module, by voltage come Change liquid crystal material interior molecules comes column-shaped condition, straggly to have to achieve the purpose that shading and light transmission are deep mixed to show The image of cause.Liquid crystal display generally can be divided into matrix LCD and segment liquid crystal screen, and wherein segment liquid crystal is also referred to as pattern type liquid Crystalline substance screen, segment encode liquid crystal display.Liquid crystal display operation principle is:A common signal port (commonly referred to as COM port) for liquid crystal display and One segment signal port (commonly referred to as SEG ports), combination controls a segment encode on liquid crystal display.When liquid crystal display common signal end Mouthful with segment signal port differential pressure, during equal to liquid crystal display driving voltage, corresponding segment encode is lighted on liquid crystal display:Conversely, work as liquid crystal display Common signal port and segment signal port differential pressure, when differing larger with liquid crystal display driving voltage, corresponding segment encode goes out on liquid crystal display. At present, the microcontroller generally driven by being built-in with liquid crystal display directly drives liquid crystal display to show, but this interior with fixed I/O port The microcontroller cost for putting liquid crystal display driving is higher;The chip communication either driven by microcontroller with being exclusively used in liquid crystal display, comes Turntable driving liquid crystal display, but such mode communication program is complicated, and external driving chip can also make circuit become complicated, carry High processing cost.
Invention content
To solve the above-mentioned deficiency mentioned in the prior art, the embodiment of the present invention provides a kind of MCU driving liquid crystal display Control circuit includes microcontroller and liquid crystal display;
The liquid crystal display includes several public control terminals and several segment encode control terminals;
Several public control terminals are respectively connected to different I/O mouthfuls of the microcontroller;Several segment encode control terminals It is respectively connected to different I/O mouthfuls of the microcontroller;
Several bleeder circuits are further included, the bleeder circuit includes pull-up resistor, pull down resistor and current potential output terminal;Institute It states pull-up resistor and the pull down resistor is sequentially connected in series between DC power supply and ground wire;The current potential output terminal connects institute State the common end of pull-up resistor and the pull down resistor;The bleeder circuit is identical with the public control terminal quantity, Ruo Gansuo State the current potential output terminal that public control terminal is further connected to the different bleeder circuits.
Further, the liquid crystal display is segment encode liquid crystal display.
Further, the public control terminal is equipped with 5, and the segment encode control terminal is equipped with 8.
Further, the resistance value of the pull-up resistor is identical with the resistance value of the pull down resistor.
Further, the resistance value of the pull-up resistor and the resistance value of the pull down resistor are 47k Ω.
The present invention also provides a kind of control method of MCU driving liquid crystal display, applied to as above any one of them monolithic Machine drives the control circuit of liquid crystal display, includes the following steps:
S10:The public control terminal of m-th of microcontroller to the liquid crystal display sends high level signal, while microcontroller The I/O mouths being connected with remaining public control terminal on the liquid crystal display are set as input state;
S11:Segment encode situation to be shown is needed according to liquid crystal display, microcontroller is corresponded to the public control terminal of the m-th Need segment encode to be shown corresponding to segment encode control terminal send low level signal, microcontroller is to the public control terminal of the m-th The corresponding segment encode control terminal being not required to corresponding to segment encode to be shown sends high level signal;
S12:Judge the relationship of M and N, if M=N, M values are reset to 1, and perform S20~S22;If M<N, then by M values Increase 1, and perform S10~S12;
S20:The public control terminal of m-th of microcontroller to the liquid crystal display sends low level signal, while microcontroller The I/O mouths being connected with remaining public control terminal on the liquid crystal display are set as input state;
S21:Segment encode situation to be shown is needed according to liquid crystal display, microcontroller is corresponded to the public control terminal of the m-th Need segment encode to be shown corresponding to segment encode control terminal send high level signal, microcontroller is to the public control terminal of the m-th The corresponding segment encode control terminal being not required to corresponding to segment encode to be shown sends low level signal;
S22:Judge the relationship of M and N, if M=N, M values are reset to 1, and perform S10~S12;If M<N, then by M values Increase 1, and perform S20~S22;
Wherein, microcontroller is every time to the time of the transmission high level signal of each public control terminal or low level signal 10/N milliseconds~16/N milliseconds, N is the quantity of public control terminal on the liquid crystal display, and M is the positive integer less than or equal to N.
Further, microcontroller is every time to the time for sending high level signal or low level signal of each public control terminal It is 12/N milliseconds.
The control circuit of MCU driving liquid crystal display provided by the invention, by microcontroller successively in turn to liquid crystal display On each public control terminal send high level signal or low level signal, each segment encode control terminal on liquid crystal display is sent High level signal or low level signal control the corresponding segment encode of each public control terminal on liquid crystal display to show, and pass through control The display time of each segment encode is made, the resolution of human eye is made not go out the frequency of each segment encode switching of liquid crystal display, so as to people's Visual experience is still the display data of one group of stabilization.The control circuit of MCU driving liquid crystal display provided in an embodiment of the present invention, Using the microcontroller without liquid crystal display driving function, and without using dedicated liquid crystal display driving chip, the electric appliance member used Device is few, and the simple production cost of circuit structure is low.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the circuit diagram of the control circuit of MCU driving liquid crystal display provided in an embodiment of the present invention.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art All other embodiments obtained without creative efforts shall fall within the protection scope of the present invention.
" first ", " second " and the similar word used in the embodiment of the present invention is not offered as any sequence, quantity Or importance, and be only intended to distinguish different component parts.The similar word such as " one end ", " other end ", simply means to show dress It puts or the orientation of element or position relationship is based on orientation shown in the drawings or position relationship rather than instruction or implies signified Device or element must have specific orientation, with specific azimuth configuration and operation.The similar word such as " comprising " or "comprising" The meaning of one's words points out that either object covers the element for appearing in the word presented hereinafter or object and its equivalent for element before the word, And it is not excluded for other elements or object." connection " either the similar word such as " connected " is not limited to physics or mechanical company It connects, but electrical connection can be included, it is either directly or indirect.
Fig. 1 is a kind of circuit diagram of the control circuit of MCU driving liquid crystal display provided in an embodiment of the present invention;Such as Shown in Fig. 1, the control circuit of MCU driving liquid crystal display includes microcontroller and liquid crystal display;
The liquid crystal display includes several public control terminals and several segment encode control terminals;
Several public control terminals are respectively connected to different I/O mouthfuls of the microcontroller;Several segment encode control terminals It is respectively connected to different I/O mouthfuls of the microcontroller;
Several bleeder circuits are further included, the bleeder circuit includes pull-up resistor, pull down resistor and current potential output terminal;Institute It states pull-up resistor and the pull down resistor is sequentially connected in series between DC power supply and ground wire;The current potential output terminal connects institute State the common end of pull-up resistor and the pull down resistor;The bleeder circuit is identical with the public control terminal quantity, Ruo Gansuo State the current potential output terminal that public control terminal is further connected to the different bleeder circuits.
Specifically, as shown in Figure 1, the control circuit of MCU driving liquid crystal display provided in an embodiment of the present invention includes monolithic Machine and liquid crystal display;Wherein microcontroller is powered by DC power supply, and DC power supply is provided by reduction voltage circuit, the output of DC power supply Voltage is VDD;Liquid crystal display is segment encode liquid crystal display, and the driving voltage of liquid crystal display is VDD;Liquid crystal display includes Several public control terminals and several segment encode control terminals, the public control terminal of liquid crystal display in the embodiment of the present invention are equipped with 5, point Not Wei COM1, COM2, COM3, COM4 and COM5,5 public control terminals of liquid crystal display respectively with 5 differences of microcontroller I/O mouths be connected;Liquid crystal display segment encode control terminal in the embodiment of the present invention is equipped with 8, respectively SEG1, SEG2, SEG3, SEG4, SEG5, SEG6, SEG7 and SEG8,8 segment encode control terminals of liquid crystal display respectively with 8 differences of microcontroller I/O mouths be connected;
The control circuit of MCU driving liquid crystal display provided in an embodiment of the present invention further includes several bleeder circuits, Mei Gefen Volt circuit is made of pull-up resistor, pull down resistor and current potential output terminal, and wherein pull-up resistor one end is connected to DC power supply, on The pull-up resistor other end connects one end of pull down resistor, and the other end of pull down resistor is connected to ground wire;Current potential output terminal connection pull-up The common end of resistance and pull down resistor;By adjusting the resistance value of pull-up resistor and pull down resistor, current potential output terminal can be adjusted Output voltage, be configured in practical applications according to the bias of liquid crystal display ratio;In the embodiment of the present invention, liquid crystal display It is 1/2 that the bias of screen, which compares, and the resistance value of pull-up resistor and the resistance value of pull down resistor are 47k Ω, make the defeated of current potential output terminal Go out the half that voltage is DC power output voltage.
As shown in Figure 1, the quantity of bleeder circuit is equipped with 5 in the embodiment of the present invention, wherein resistance R1 and resistance R2 distinguish For the pull-up resistor and pull down resistor of the first bleeder circuit, the current potential output terminal of the first bleeder circuit and public control terminal COM1 phases Even;Resistance R3 and resistance R4 is respectively the pull-up resistor and pull down resistor of the second bleeder circuit, and the current potential of the second bleeder circuit is defeated Outlet is connected with public control terminal COM2;Resistance R5 and resistance R6 is respectively the pull-up resistor of third bleeder circuit and drop-down electricity Resistance, the current potential output terminal of third bleeder circuit are connected with public control terminal COM3;Resistance R7 and resistance R8 is respectively the 4th partial pressure The pull-up resistor and pull down resistor of circuit, the current potential output terminal of the 4th bleeder circuit are connected with public control terminal COM4;Resistance R9 Be respectively the pull-up resistor and pull down resistor of the 4th bleeder circuit with resistance R10, the current potential output terminal of the 4th bleeder circuit with it is public Control terminal COM5 is connected altogether;
During specific works, if microcontroller sends high level signal to the public control terminal of liquid crystal display, make public control The input voltage at end is VDD;If microcontroller sends low level signal, liquid to 8 segment encode control terminals of liquid crystal display at this time Pressure difference between the public control terminal (COM1) and segment encode control terminal of crystal display screen is VDD, and corresponding segment encode is dispaly state, if Microcontroller sends the public control terminal of high level signal, then liquid crystal display to 8 segment encode control terminals of liquid crystal display (COM1) pressure difference between segment encode control terminal is 0, and corresponding segment encode is not dispaly state;
If the I/O mouths that microcontroller is connected with the public control terminal on liquid crystal display are set as input state, public control Output voltage of the input voltage at end processed for current potential output terminal, i.e. 1/2VDD;At this time no matter section from microcontroller to liquid crystal display Code control terminal sends high level signal or low level signal, between the public control terminal of liquid crystal display and segment encode control terminal For pressure difference all for 1/2VDD, corresponding segment encode is not dispaly state.
The present invention also provides a kind of control method of MCU driving liquid crystal display, applied to as above any one of them monolithic Machine drives the control circuit of liquid crystal display, includes the following steps:
S10:The public control terminal of m-th of microcontroller to the liquid crystal display sends high level signal, while microcontroller The I/O mouths being connected with remaining public control terminal on the liquid crystal display are set as input state;
S11:Segment encode situation to be shown is needed according to liquid crystal display, microcontroller is corresponded to the public control terminal of the m-th Need segment encode to be shown corresponding to segment encode control terminal send low level signal, microcontroller is to the public control terminal of the m-th The corresponding segment encode control terminal being not required to corresponding to segment encode to be shown sends high level signal;
S12:Judge the relationship of M and N, if M=N, M values are reset to 1, and perform S20~S22;If M<N, then by M values Increase 1, and perform S10~S12;
S20:The public control terminal of m-th of microcontroller to the liquid crystal display sends low level signal, while microcontroller The I/O mouths being connected with remaining public control terminal on the liquid crystal display are set as input state;
S21:Segment encode situation to be shown is needed according to liquid crystal display, microcontroller is corresponded to the public control terminal of the m-th Need segment encode to be shown corresponding to segment encode control terminal send high level signal, microcontroller is to the public control terminal of the m-th The corresponding segment encode control terminal being not required to corresponding to segment encode to be shown sends low level signal;
S22:Judge the relationship of M and N, if M=N, M values are reset to 1, and perform S10~S12;If M<N, then by M values Increase 1, and perform S20~S22;
Wherein, microcontroller is every time to the time of the transmission high level signal of each public control terminal or low level signal 10/N milliseconds~16/N milliseconds, N is the quantity of public control terminal on the liquid crystal display, and M is the positive integer less than or equal to N. Specifically, the control method of MCU driving liquid crystal display provided in an embodiment of the present invention, the MCU driving liquid crystal display of application Control circuit in public control terminal on liquid crystal display be equipped with 5, i.e. N=5;It is if M=1, that is, single when performing step S10 1st public control terminal (COM1) of the piece machine into liquid crystal display sends high level signal, makes the input of the public control terminal Voltage is VDD;Microcontroller is connected with remaining public control terminal (COM2, COM3, COM4 and COM5) on liquid crystal display simultaneously I/O mouths be set as input state, make remaining public control terminal on liquid crystal display input voltage be current potential output terminal output Voltage, i.e. 1/2VDD;If microcontroller sends low level signal, liquid crystal to 8 segment encode control terminals of liquid crystal display at this time Pressure difference between the public control terminal (COM1) and segment encode control terminal of display screen is VDD, and corresponding segment encode is dispaly state, if monolithic 8 segment encode control terminals from machine to liquid crystal display send high level signal, then the public control terminal (COM1) of liquid crystal display with Pressure difference between segment encode control terminal is 0, and corresponding segment encode is not dispaly state;And due to remaining public control of liquid crystal display It is all 1/2VDD to hold the pressure difference between (COM2, COM3, COM4 and COM5) and segment encode control terminal, and corresponding segment encode is not show State;
It can need segment encode situation to be shown according to liquid crystal display at this time, control single chip computer is to needing corresponding to segment encode to be shown Segment encode control terminal send low level signal, control single chip computer is sent to the segment encode control terminal that is not required to corresponding to segment encode to be shown High level signal makes the segment encode on liquid crystal display corresponding to public control terminal (COM1) show required image;If M at this time< N continues to execute S10~S12, i.e. 2nd public control terminal (COM2) of the microcontroller into liquid crystal display after the value of M is increased 1 High level signal is sent, makes only to show the segment encode corresponding to public control terminal (COM2) on liquid crystal display;Until M=N, that is, work as After all public control terminals on liquid crystal display all complete the display of a wheel, by the value of M reset to 1 and perform step S20~ S22;
When performing step S20,1st public control terminal (COM1) output low level of the microcontroller first into liquid crystal display Signal, the input voltage for making the public control terminal are 0;Simultaneously remaining public control terminal on microcontroller and liquid crystal display (COM2, COM3, COM4 and COM5) the I/O mouths that are connected are set as input state, make the input of remaining public control terminal on liquid crystal display Output voltage of the voltage for current potential output terminal, i.e. 1/2VDD;If microcontroller is sent out to 8 segment encode control terminals of liquid crystal display at this time Send low level signal, then the pressure difference between the public control terminal (COM1) of liquid crystal display and segment encode control terminal be 0, corresponding section Code is not dispaly state, if microcontroller sends high level signal, liquid crystal display to 8 segment encode control terminals of liquid crystal display Public control terminal (COM1) and segment encode control terminal between pressure difference for 0, corresponding segment encode is dispaly state;And due to liquid crystal Pressure difference between the public control terminal of remaining of display screen (COM2, COM3, COM4 and COM5) and segment encode control terminal is all 1/2VDD, right The segment encode answered is not dispaly state;
It can need segment encode situation to be shown according to liquid crystal display at this time, control single chip computer is to needing corresponding to segment encode to be shown Segment encode control terminal send high level signal, control single chip computer is sent to the segment encode control terminal that is not required to corresponding to segment encode to be shown Low level signal makes the segment encode on liquid crystal display corresponding to public control terminal (COM1) show required image;If M at this time< N continues to execute S20~S22, i.e. 2nd public control terminal (COM2) of the microcontroller into liquid crystal display after the value of M is increased 1 High level signal is sent, makes only to show the segment encode corresponding to public control terminal (COM2) on liquid crystal display;Until M=N, that is, work as After all public control terminals on liquid crystal display all complete the display of a wheel, by the value of M reset to 1 and perform step S10~ S12。
In the embodiment of the present invention, by alternately adding high level signal and low electricity on public control terminal to be shown is needed Ordinary mail number, and then change potential difference direction when liquid crystal display is shown between public control terminal and segment encode control terminal, avoid liquid crystal Liquid crystal in display screen reverses for a long time to same direction, can effectively extend the service life of liquid crystal display.
Wherein, microcontroller is every time to the time of the transmission high level signal of each public control terminal or low level signal 10/N milliseconds~16/N milliseconds, it is preferable that microcontroller is every time to the transmission high level signal or low level of each public control terminal The time of signal is 12/N milliseconds.In the embodiment of the present invention, microcontroller is every time to the transmission high level signal of each public control terminal Or the time of low level signal is 2 milliseconds.Since human eye vision persists phenomenon, although actually each segment encode is not on liquid crystal display Light simultaneously, but people be still visually one group of stabilization display image, do not have flickering.
The control circuit of MCU driving liquid crystal display provided in an embodiment of the present invention, by microcontroller successively in turn to liquid crystal Each public control terminal on display screen sends high level signal or low level signal, and to be shown section is needed according to liquid crystal display Each segment encode control terminal of the code situation on liquid crystal display sends high level signal or low level signal, controls liquid crystal display Above the corresponding segment encode of each public control terminal is shown, and pass through the display time for controlling each segment encode, makes the resolution of human eye The frequency of each segment encode switching of liquid crystal display is not gone out, so as to be still the display data of one group of stabilization to the visual experience of people.It is of the invention real The control circuit of the MCU driving liquid crystal display of example offer is provided, using the microcontroller without liquid crystal display driving function, and need not Using dedicated liquid crystal display driving chip, the appliance component used is few, and the simple production cost of circuit structure is low.
Although more herein used the arts such as microcontroller, liquid crystal display, public control terminal, segment encode control terminal Language, but it does not preclude the possibility of using other terms.The use of these items is only for more easily describe and explain this The essence of invention;Any one of the additional limitations is construed as all to disagree with spirit of the present invention.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to Can so modify to the technical solution recorded in foregoing embodiments either to which part or all technical features into Row equivalent replacement;And these modifications or replacement, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (7)

1. a kind of control circuit of MCU driving liquid crystal display, it is characterised in that:Including microcontroller and liquid crystal display;
The liquid crystal display includes several public control terminals and several segment encode control terminals;
Several public control terminals are respectively connected to different I/O mouthfuls of the microcontroller;Several segment encode control terminal difference It is connected to different I/O mouthfuls of the microcontroller;
Several bleeder circuits are further included, the bleeder circuit includes pull-up resistor, pull down resistor and current potential output terminal;On described Pull-up resistor and the pull down resistor are sequentially connected in series between DC power supply and ground wire;On the current potential output terminal connection is described The common end of pull-up resistor and the pull down resistor;The bleeder circuit is identical with the public control terminal quantity, several public affairs Control terminal is further connected to the current potential output terminal of the different bleeder circuits altogether.
2. the control circuit of MCU driving liquid crystal display according to claim 1, it is characterised in that:The liquid crystal display is Segment encode liquid crystal display.
3. the control circuit of MCU driving liquid crystal display according to claim 1, it is characterised in that:The public control terminal is set There are 5, the segment encode control terminal is equipped with 8.
4. the control circuit of MCU driving liquid crystal display according to claim 1, it is characterised in that:The electricity of the pull-up resistor Resistance value is identical with the resistance value of the pull down resistor.
5. the control circuit of MCU driving liquid crystal display according to claim 4, it is characterised in that:The electricity of the pull-up resistor Resistance value and the resistance value of the pull down resistor are 47k Ω.
6. a kind of control method of MCU driving liquid crystal display is driven applied to such as Claims 1 to 5 any one of them microcontroller The control circuit of dynamic liquid crystal display, it is characterised in that:Include the following steps:
S10:The public control terminal of m-th of microcontroller to the liquid crystal display sends high level signal, while microcontroller and institute It states the I/O mouths that remaining public control terminal on liquid crystal display is connected and is set as input state;
S11:Segment encode situation to be shown is needed according to liquid crystal display, microcontroller is to the corresponding need of the public control terminal of the m-th Segment encode control terminal corresponding to segment encode to be shown sends low level signal, and microcontroller is corresponded to the public control terminal of the m-th The segment encode control terminal that is not required to corresponding to segment encode to be shown send high level signal;
S12:Judge the relationship of M and N, if M=N, M values are reset to 1, and perform S20~S22;If M<M values are then increased 1 by N, And perform S10~S12;
S20:The public control terminal of m-th of microcontroller to the liquid crystal display sends low level signal, while microcontroller and institute It states the I/O mouths that remaining public control terminal on liquid crystal display is connected and is set as input state;
S21:Segment encode situation to be shown is needed according to liquid crystal display, microcontroller is to the corresponding need of the public control terminal of the m-th Segment encode control terminal corresponding to segment encode to be shown sends high level signal, and microcontroller is corresponded to the public control terminal of the m-th The segment encode control terminal that is not required to corresponding to segment encode to be shown send low level signal;
S22:Judge the relationship of M and N, if M=N, M values are reset to 1, and perform S10~S12;If M<M values are then increased 1 by N, And perform S20~S22;
Wherein, microcontroller is every time 10/N millis to the time for sending high level signal or low level signal of each public control terminal Second~16/N milliseconds, N is the quantity of public control terminal on the liquid crystal display, and M is the positive integer less than or equal to N.
7. the control method of MCU driving liquid crystal display according to claim 6, it is characterised in that:Microcontroller is every time to each public affairs The send high level signal or the time of low level signal of control terminal are 12/N milliseconds altogether.
CN201810162161.9A 2018-02-27 2018-02-27 Control circuit and method for driving liquid crystal display by single chip microcomputer Active CN108257571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810162161.9A CN108257571B (en) 2018-02-27 2018-02-27 Control circuit and method for driving liquid crystal display by single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810162161.9A CN108257571B (en) 2018-02-27 2018-02-27 Control circuit and method for driving liquid crystal display by single chip microcomputer

Publications (2)

Publication Number Publication Date
CN108257571A true CN108257571A (en) 2018-07-06
CN108257571B CN108257571B (en) 2021-01-05

Family

ID=62745327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810162161.9A Active CN108257571B (en) 2018-02-27 2018-02-27 Control circuit and method for driving liquid crystal display by single chip microcomputer

Country Status (1)

Country Link
CN (1) CN108257571B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4462026A (en) * 1981-12-17 1984-07-24 Westinghouse Electric Corp. Electronic display apparatus using time multiplexed data and control signals
US4472065A (en) * 1981-03-27 1984-09-18 Joseph Goodman Time read-out device for electronic clocks
CN202363079U (en) * 2011-11-24 2012-08-01 深圳市康美特科技有限公司 Control circuit using IO port of one-chip microcomputer to drive LCD
CN202996252U (en) * 2012-12-29 2013-06-12 佛山市顺德区瑞德电子实业有限公司 A liquid crystal driving device
CN103839505A (en) * 2012-11-23 2014-06-04 广东美的制冷设备有限公司 Liquid crystal color display control circuit and air conditioner
CN103854623A (en) * 2014-03-11 2014-06-11 亚世光电股份有限公司 Segmented multi-path liquid crystal display achieving driving by I/O port of MCU and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4472065A (en) * 1981-03-27 1984-09-18 Joseph Goodman Time read-out device for electronic clocks
US4462026A (en) * 1981-12-17 1984-07-24 Westinghouse Electric Corp. Electronic display apparatus using time multiplexed data and control signals
CN202363079U (en) * 2011-11-24 2012-08-01 深圳市康美特科技有限公司 Control circuit using IO port of one-chip microcomputer to drive LCD
CN103839505A (en) * 2012-11-23 2014-06-04 广东美的制冷设备有限公司 Liquid crystal color display control circuit and air conditioner
CN202996252U (en) * 2012-12-29 2013-06-12 佛山市顺德区瑞德电子实业有限公司 A liquid crystal driving device
CN103854623A (en) * 2014-03-11 2014-06-11 亚世光电股份有限公司 Segmented multi-path liquid crystal display achieving driving by I/O port of MCU and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
缪丽玲: "基于STM32F0单片机IO直接驱动段式液晶的设计与实现", 《电子技术与软件工程》 *

Also Published As

Publication number Publication date
CN108257571B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN100489947C (en) Displaying device and driving method thereof
CN105206248B (en) Display driver circuit, display device and display driving method
CN105448261B (en) Liquid crystal display
CN100468510C (en) Display device and driving device
CN103137086B (en) Display device
CN102566177B (en) Display panel, pixel unit in display panel and driving method in display panel
CN105654913B (en) Voltage feed unit and display device with voltage feed unit
CN106297689A (en) The method driving display floater, the display device performing the method and the equipment of driving
US20070035533A1 (en) Protection circuit, flat display device using the same, and method for driving flat display device using the same
CN106847215B (en) Display device
CN111524491B (en) Drive circuit and drive method of light control glass and light control glass device
CN101995719B (en) Liquid crystal display
CN102770898B (en) Source driver circuit of liquid crystal display device
CN107068077A (en) Gate driver on array unit, device, driving method and display device
CN109410865A (en) Driving device and display apparatus
CN101587688B (en) Power sequence control circuit, grid driver and liquid crystal display panel applied by power sequence control circuit
CN109658899A (en) Voltage commutation circuit, gamma voltage generation circuit and liquid crystal display device
CN102187268B (en) Method and device for driving a bistable nematic dot-matrix liquid crystal display
TW201039309A (en) Bi-stable display, frame updating method and timing sequence controlling method thereof
CN108257571A (en) A kind of control circuit and method of MCU driving liquid crystal display
CN103460280A (en) Display device
CN109036313A (en) Voltage generation circuit and display device
CN101714346A (en) System for controlling overturn from left to right of display picture
CN106875909B (en) Driving circuit and liquid crystal display device
CN110133926A (en) Display panel and display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant