Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2687 Datasheet(PDF) 17 Page - STMicroelectronics

Part # AN2687
Description  STM8S20xxx LCD software driver
PDF  22 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2687 Datasheet(HTML) 17 Page - STMicroelectronics

Back Button AN2687 Datasheet HTML 13Page - STMicroelectronics AN2687 Datasheet HTML 14Page - STMicroelectronics AN2687 Datasheet HTML 15Page - STMicroelectronics AN2687 Datasheet HTML 16Page - STMicroelectronics AN2687 Datasheet HTML 17Page - STMicroelectronics AN2687 Datasheet HTML 18Page - STMicroelectronics AN2687 Datasheet HTML 19Page - STMicroelectronics AN2687 Datasheet HTML 20Page - STMicroelectronics AN2687 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 22 page
background image
AN2687
Software contrast control with the first method
Doc ID 14296 Rev 1
17/22
5
Software contrast control with the first method
Software contrast control is under patent from STMicroelectronics. The use of this technique
with a non-STMicroelectronics microcontroller has to be agreed by STMicroelectronics.
LCD contrast is entirely controlled by software with no need for any external component.
LCD contrast can be adjusted to the optimal value depending on the operating voltage of the
used LCD. LCD contrast is controlled by varying the dead phase timing as shown in the LCD
timing diagrams. This corresponds to the variation of the compare event value.
Dead time can be used to either decrease or increase the LCD Vrms. Dead time is the
voltage compensation time to regulate the rms voltage up and down. Dead time can be
implemented either after each control period or at the end of the frame. To avoid flickering,
the dead time duration must be adjusted depending on the quality of LCD and the frequency
of the frame.
In the example shown in Figure 6, the Vrms value of the LCD decreases when the dead
time duration increases and the Vrms value increases when the dead time duration
decreases. The opposite process is shown in Figure 7.
Two push-buttons connected to PA4 and PA5 are used on the demo board to decrease and
increase contrast, respectively, using this software method.
Relatively high software contrast control steps were chosen with the object of reaching
maximum or minimum contrast by pressing the push-buttons around 10 times. This can be
further fine-tuned if needed.
5.1
Contrast calculations
Let the frame period be T + xT, where:
●
T is the Active time
●
xT is the Dead time
In the formulas below, x corresponds to the proportion of dead time and Vx corresponds to
the voltage during the Dead time.
Vrms(on) =
Vrms(on) =
Vrms(on) =
Vrms(on) =
1
TxT
+
-----------------
ft

2
dt
0
TxT
+

1
TxT
+
-----------------
V
DD

2
dt
V
DD
–

2
dt
V
DD
2
-----------


2
dt
Vx

2
dt 8
0
xT
8
-------
+
2T
8
-------
T
+
T
8
---
2T
8
-------
+
0
T
8
---





1
TxT
+
-----------------V
DD
2 T
8
---
V
DD
2 T
8
---
V
DD
4
-----------
2
6T
8
-------
Vx

2 xT
8
-------


8
+
+
+



1
1x
+
------------
14V
DD
32
------------------
2
Vx

2
x
+





Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com