Czy układ będzie dział z wyświetlaczem DEM 128064A Taki mam Wiem że ma inne wyprowadzenia podłączyłem zgodnie z aplikacją i nie działa. Załącznik Aplikacja tego wyświetlacza. Tabelka z wyprowadzeniami na stronie 5. Udało się uruchomić ale nie wyświetla tak jak powinno być http://obrazki.elektroda.pl/2484705100_1328530643_thumb.jpg Kolejne uruchomienia http://obrazki.elektroda.pl/7990087400_1328531199_thumb.jpg Co jest tego przyczyną ? Co połączyłem nie tak ? Może coś innego jest nie tak ?
DISPLAY Elektronik GmbH
LCD MODULE
DEM 128064A SBH-PW-N
Product specification
Version :12
07/Jun/2006
GENERAL SPECIFICATION
MODULE NO. :
DEM 128064A SBH-PW-N
CUSTOMER P/N
VERSION NO.
CHANGE DESCRIPTION
DATE
0
18/12/2002
4
ORIGINAL VERSION
THE EXTERNAL DIMENSIONS
CHANGED
ADD VERSION
CHANGED BACKLIGHT
ELECTRICAL/OPTICAL
SPECIFICATIONS
CANCEL VERSION
5
ADD VERSION
27/06/2005
6
CHANGE BACKLIGHT RESISTOR
27/10/2005
7
ADD VERSION
18/11/2005
8
ADD JUMPER SETTING
07/02/2006
9
CHANGED PCB DESCRIPTION
10/02/2006
10
ADD VERSION
132/03/2006
11
CANCEL VERSION
16/03/2006
12
MODIFY SECTION 10-1
07/06/2007
1
2
3
PREPARED BY:
WJN
APPROVED BY: MH
14/01/2003
06/08/2003
10/11/2004
06/01/2004
DATE: 07/06/2007
DATE: 25/06/2007
DEM 128064A SBH-PW-N
Product Specification
CONTENTS
1. FUNCTIONS & FEATURES ---------------------------------------------------------------- 2
2. MECHANICAL SPECIFICATIONS ------------------------------------------------------- 2
3. BLOCK DIAGRAM -------------------------------------------------------------------------- 2
4. EXTERNAL DIMENSIONS---------------------------------------------------------------- 3
5. PIN ASSIGNMENT -------------------------------------------------------------------------- 3
6. PCB DRAWING AND DESCRIPTION---------------------------------------------------- 4
7. BACKLIGHT ELECTRICAL / OPTICAL SPECIFICATION -------------------------- 5
8. APPLICATION CIRCUIT-------------------------------------------------------------------- 6
9. MAXIMUM ABSOLUTE LIMIT----------------------------------------------------------- 6
10. ELECTRICAL CHARACTERISTICS---------------------------------------------------- 7
11. OPERATING PRINCIPLES & METHODS---------------------------------------------- 9
12. DISPLAY CONTROL INSTRUCTION -------------------------------------------------- 11
13. LCD MODULES HANDLING PRECAUTIONS --------------------------------------- 13
14. OTHERS -------------------------------------------------------------------------------------- 13
Version:12
PAGE: 1
DEM 128064A SBH-PW-N
Product Specification
1. FUNCTIONS & FEATURES
MODULE
DEM 128064A SBH-PW-N
Viewing Direction
Driving Scheme
Power Supply Voltage
VLCD Adjustable for Best Contrast
Display Format
Interface RAM
Interface
Operating Temperature
Storage Temperature
DC/DC-Converter
LCD TYPE
STN Blue Transmissive Negative Mode
: 6 o’clock
: 1/64 Duty Cycle, 1/9 Bias
: 5.0 Volt (typ.)
: 12.9 Volt (typ. @ 25°C)
: 128 x 64 Dots
: 512 bytes (4096 bits)
: 8 bit parallel display data from MPU
: -20°C to +70°C
: -25°C to +75°C
: NJU7670M (or equivalent)
2. MECHANICAL SPECIFICATIONS
Module Size
Dot Size
Dot Pitch
Dot Gap
: 93.00 x 70.00 x 12.8 mm
: 0.48 x 0.48 mm
: 0.52 x 0.52 mm
: 0.04 mm
3. BLOCK DIAGRAM
DB0~DB7
RS, R/W, E
RSTB
CS2
8
3
SEGMENT
DRIVER IC
S6B0108
CS1
5
Seg1~Seg64
VSS
VDD
V0
VOUT
LED+(A)
LED-(K)
Version:12
COMMON
DRIVER IC
S6B0107
Com1~Com64
SEGMENT
DRIVER IC
S6B0108
Seg65~Seg128
LCD PANEL
128 x 64 DOTS
DC/DC Converter
SCI7661M or NJU7670M
LED BACK LIGHT
PAGE: 2
DEM 128064A SBH-PW-N
Product Specification
4. EXTERNAL DIMENSIONS
5. PIN ASSIGNMENT
Pin No.
1
2
3
Symbol
VSS
VDD
V0
4
RS
5
R/W
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
E
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
CS1
CS2
RSTB
VOUT
LED + (A)
LED – (K)
Version:12
Function
Ground
Power supply voltage for logic, (typ. 5.0 Volt).
Input voltage for LCD
Register select
RS = 0 (Instruction register) RS = 1 (Data register)
Read /Write
R/W = 1 (Read)
R/W = 0 (Write)
Chip enable signal
Data bit 0
Data bit 1
Data bit 2
Data bit 3
Data bit 4
Data bit 5
Data bit 6
Data bit 7
Chip select signal for S6B0108(1)
Chip select signal for S6B0108(2)
Reset signal
Output voltage for LCD, (-9.5Volt)
Please also refer to 6.1 Example application
Please also refer to 6.1 Example application
PAGE: 33
DEM 128064A SBH-PW-N
Product Specification
6. PCB DRAWING AND DESCRIPTION
C1 R6 J6
+C4
U5
E
C3
R7
Q1
C
B
R1 R2
A
U1
DEM128064A
R3 R4
U4
U2
C2
U3
K
J5
R5 R9 R8
R10
J1 J2
J4
J3
DESCRIPTION:
6.1.1 The polarity of the pin 19 and the pin 20:
J2,J4
J1,J3
19 Pin
Open
Close
Anode
Close
Open
Cathode
Note: In application module, J2=J4=open, J1=J3=closed
6.1.2 The LED resistor can be bridged when the J5 is closed
Note: In application module, J5=open
6.1.3 The R8, R9 and R10 are the LED resistor.
Note: In application module, R8=R9=33Ohm, R10=open
6.1.4 The metal-bezel is set on ground when the J6 is closed.
Note: In application module, J6=closed.
6.1.5 The module number DEM128064A is printed on the PCB.
20 Pin
Cathode
Anode
6.2 Example application
6.2.1 The LED resistor should be bridged as following.
R10
R9
R8
J5
6-1-2. The 19 pin is the anode and the 20 pin is the cathode as following.
J2
J4
6-1-3.The 19 pin is the cathode and the 20 pin is the anode as following.
J1
Version:12
J3
PAGE: 4
DEM 128064A SBH-PW-N
Product Specification
7. BACKLIGHT ELECTRICAL/OPTICAL SPECIFICATION
7-1 BACKLIGHT ELECTRICAL/OPTICAL DESCRIPTION.
Item
Symbol
MIN.
TYP.
MAX.
Unit
Conditions
Forward Voltage
Vf
4.0
Forward Current
If
90
Power Dissipation
Pd
0.36
Reverse Voltage
VR
5.0
V
Reverse Current
IR
0.4
mA
Luminous Intensity
Lv
130
cd/m2
Vf = 4.0V
Δ Lv
70
%
Vf = 4.0V
x
0.27
0.32
y
0.27
0.32
Luminous Uniformity
Emission Wavelength
Backlight Color
V
120
mA
Vf = 4.0V
W
Vf = 4.0V
If=10mA, Ta=25°C (each chip)
White
7-2. BACKLIGHT DRAWING
K
Li ght ar ea
A
Version:12
PAGE: 5
DEM 128064A SBH-PW-N
Product Specification
8. APPLICATION CIRCUIT
RSTB
CS2
DB6
DB7
CS1
DB5
DB4
DB2
DB3
DB1
E
DB0
RS
R/W
V0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
VSS
VDD
128 X 64 dots
VOUT
LED+(A)
LED-(K)
LCD Module
LED CONTROL
+5.0V
MCU
V+
R1
+
-
10K
+
C1
V-
U1
LM324
+
C2
NOTE: 1. R1 is the contrast resistor.
2. VOUT=-9.5V
3. Adjust R1, it will be best contrast when V0 is –7.9V.
9. MAXIMUM ABSOLUTE POWER RATINGS ( Ta=25°C)
Item
Supply voltage for logic
Symbol
VDD
Standard value
-0.3 ~ +7.0
Unit
V
V0
VDD-19.0 ~ VDD+0.3
V
Driver supply voltage
VDD -V0
V0 -0.3 ~ VDD+0.3
V
Operating temperature
Storage temperature
Topr
Tstg
-20 ~ +70
-25 ~ +75
°C
°C
Supply voltage
Version:12
PAGE: 6
DEM 128064A SBH-PW-N
Product Specification
10. ELECTRICAL CHARACTERISTICS
10-1 DC Characteristics (VDD=+5±10% Vss=0V,Ta=-20~+70°C)
Standard Value
MIN
TYP
MAX
Test
Condition
Unit
VDD
4.5
5.0
5.5
-------
V
IDD
----
2.62
4
-------
mA
13.4
14.1
14.8
-20°C
12.2
12.9
13.6
25°C
11.0
11.7
12.4
70°C
Item
Symbol
Supply current for logic
Supply current for logic
Operating Voltage for
LCD
VDD-V0
V
Input voltage “H” level
VIH
0.7VDD
---
VDD
---
V
Input voltage “L” level
VIL
0
---
0.3VDD
---
V
10-2 MPU Interface
Characteristic
Symbol
Min
Typ
Max
Unit
E Cycle
tC
1000
-
-
ns
E Rise
tR
-
-
25
ns
E Fall
tF
-
-
25
ns
E High Level Width
tWH
450
-
-
ns
E-Low Level Width
tWL
450
-
-
ns
Address Set –Up Time
tASU
140
-
-
ns
Address Hold Time
tAH
10
-
-
ns
Data Delay Time
tD
-
-
320
ns
Data Set –Up Time
tDSU
200
-
-
ns
Data Hold Time ( Write)
tDHW
10
-
-
ns
Data Hold Time (Read)
tDHR
20
-
-
ns
Version:12
PAGE: 7
DEM 128064A SBH-PW-N
Product Specification
tC
E
tWL
2.0V
0.8V
tWH
tR
tF
tAH
tASU
R/W
tAH
tASU
CS1,CS2
2.0V
0.8V
tDHW
tDSU
DB0~DB7
Figure 5.0 MPU write timing
tC
E
tWL
tWH
tR
R/W
tF
tAH
tASU
tAH
tASU
CS1,CS2
tD
tDHR
DB0~DB7
Version:12
PAGE: 8
DEM 128064A SBH-PW-N
Product Specification
11. OPERATING PRINCIPLES & METHODS
11-1. I/O Buffer
Input buffer controls the status between the enable the and disable of chip. Unless the CS1 to CS2 is in active mode. Input
or output of data and instruction does not execute. Therefore internal stade is not change.
Bust RSTB and ADC can operate regardless CS1-CS2.
11-2. Input register
Input register is provided to interface with MPU which is different operating frequency. Input register stores the data
temporarily before writing it into display RAM. When CS1 to CS2 are in the active mode, R/W and RS select the input
register. The data from MPU is written into input register. Then Writing it into display RAM. Data latched for the E signal
and write automatically into the display data RAM by internal operation.
11-3. Output register
Output register stores the data temporarily from display data RAM when CS1 and CS2 are in active mode and R/W and
RS=H, stored data in display data RAM is latched in output register. When CS1 to CS2 are in the active mode and R/W=H,
RS=L, status data (busy check) can read out. To read the contents of display data RAM, twice access of read instruction
needed. In first access, data in display data RAM is latched into output register. In second access, MPU can read data which
is latched. That is , to read the data in display data RAM, it needs dummy read. But staus read is not read needed dummy.
RS
R/W
Function
L
Instruction
L
H
Status read (busy check)
L
Data write (from input read register to display data RAM
H
H
Data read (from display data RAM to output register)
11-4. Reset
The system can be initialized by setting RSTB terminal at low level when turning power on receiving instruction from
RAM. When RSTB becomes low, following procedure is occurred.
1. Display off
2. Display start line register become set by 0. (Z-address 0)
While RSTB is low, No instruction except status read can be accepted. Therefore, execute other instructions after making
sure than DB4=0 (clear RSTB) and DB7=0 (ready) by status read instruction.
The conditions of power supply data initial power up are shown in table 1.
Table 1. Power Supply Initial Conditions
Item
Symb
Min.
Typ.
Max.
Unit
Reset time
TRS
1
-
-
us
Rise time
tR
-
-
200
us
4.5[V]
VDD
RSTB
Version:12
tRS
tR
0.7VDD
0.3VDD
PAGE: 9
DEM 128064A SBH-PW-N
Product Specification
11-5. Busy flag
Busy flay indicates that S6B0108 is operating or on operating. When busy flag is high, S6B0108 is internal operating.
When busy flag is low, S6B0108 can accept the data or instruction.
DB7 indicates busy flag of the S6B0108.
Busy Check
E
Busy flag
T Busy
11-6. Display ON/OFF Flip-Flop
The display on/off flip-flop makes on/off the liquid crystal display. When flip-flop is reset (logical low).
selective voltage or non selective voltage appears on segment output terminals. When flip-flop is set
(logic high), non selective voltage appears on segment output terminals regardless of display RAM data. The display on/off
flip-flop can changes status by instruction. The display data at all segment disappear while RSTB is low. The status of the
flip-flop is output to DB5 by status read instruction.
11-7. X Page Register
X page register designates pages of the internal display data RAM.
Count function is not available. An adders is set by instruction.
Version:12
PAGE: 10
DEM 128064A SBH-PW-N
Product Specification
11-8. Y address counter
Y address counter designates address of the internal data RAM. An address is set by instruction and is increased by 1
automatically by read or write operations of display data.
11-9. Display Data RAM
Display Data RAM stores a display data for liquid crystal display. To indicate on state dot matrix of liquid crystal display,
write data 1. The other way , off state, writes 0.
11-10. Display Start Line Register
The display start line register indicates of display data RAM to display top liquid crystal display. Bit data
(DB & lt; 0:5 & gt; ) of the display start line set instruction is latched in display start line register. Latched data is transferred to the Z
address counter while FRM is high, presetting the Z address counter. It is used for scrolling of the liquid crystal display
screen.
12. DISPLAY CONTROL INSTRUCTION
The display control instructions the internal state of the S6B0108. Instruction is received from MPU to S6B0108 for the
display control. The following table shows various instructions.
Instruction RS R/W DB7
DB6
DB5 DB4 DB3 DB2 DB1 DB0
Function
Display
L
L
L
L
H
H
H
H
L/H
Controls the
ON/OFF
display on or off. Internal
status and display RAM
data is not affected.
L: OFF, H: ON
Set Address
L
L
L
H
Y address (0~63)
Sets the Y address
(Y address)
in the Y address counter.
Set Page
L
L
H
L
H
H
H
Page (0~7)
Sets the X address
(X address)
At the X address counter
Display Start L
L
H
H
Display start line (0~63)
Indicates the
line
display data RAM
(Z address)
displayed at the top of the
screen.
Status Read
L
H
B
L
O
R
L
L
L
L
Read status
U
N
E
BUSY L: Ready
S
/
S
H: In operation
Y
O
E
On/Off L: display ON
F
T
H: Display OFF
F
RESET L: Normal
H: Reset
Write
H
L
Write Date
Writes data (DB0:7) into
Display Data
display data RAM . After
writing instruction, Y
address is increased by 1
automatically.
Read
H
H
Read Date
Reads data (DB0:7)
Display data
From display data RAM to
the data bus.
12-1. Display On/Off
RS
R/W
DB7
DB6
DB5
DB4
DB3
0
0
0
0
1
1
1
The display data appears when D is 1 and disappears when D is 0.
Though the data is not on the screen with D=0, it remains display data RAM.
Therefore, you can make it appear by changing D=0 into D=1.
Version:12
DB2
1
DB1
1
DB0
D0
PAGE: 11
DEM 128064A SBH-PW-N
Product Specification
12-2. Set Address (Y Address)
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
0
0
0
1
AC5
AC4
AC3
AC2
AC1
Y address (AC0~AC5) of the display data RAM is set in the Y address counter.
An address is set by instruction and increased by 1 automatically by read or write operations of display data.
DB0
AC0
12-3. Set Page (X Address)
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
0
0
1
0
1
1
1
AC2
X address (AC0~AC2) of the display data RAM is set in the X address register.
Writing or reading to or from MPU is executed in this specified page until the next page is set.
DB1
AC1
DB0
AC0
12-4. Display Start Line (Z Address)
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
1
1
AC5
AC4
AC3
AC2
AC1
AC0
Z address (AC0~AC5) of the display data RAM is set in the display start line register and display at the top of the screen.
When the display duty cycle is 1/64 or others (1/32~1/64), the data of total line number of LCD screen, from the line
specified by display start line instruction, is displayed.
12-5. Status Read
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
0
0
BUSY
0
ON/OFF
RESET
0
0
BUSY
When BUSY is 1, the Chip is executing internal operation and no instructions are accepted.
When BUSY is 0, the Chip is ready to accept any instructions.
ON/OFF
When ON/OFF is 1, the display is on.
When ON/OFF is 0, the display is off.
RESET
When RESET is 1, the system is being initialized.
In this condition is 0, no instructions except status read can be accepted.
When RESET is 0, initialized has finished and the system is in the usual operation condition
DB1
0
DB0
0
12-6. Write Display data
R/W
DB7
DB6
DB5
DB4
1
D7
D6
D5
D4
Writes data (D0~D7) into the display data RAM.
After writing instruction, Y addressed is increased 1 automatically.
DB3
D3
DB2
D2
DB3
D3
DB2
D2
DB1
D1
DB0
D0
12-7. Read Display data
R/W
DB7
DB6
DB5
DB4
1
D7
D6
D5
D4
Reads data (D0~D7) from the display data RAM.
After reading instruction, Y addressed is increased 1 automatically.
Version:12
DB1
D1
DB0
D0
PAGE: 12
DEM 128064A SBH-PW-N
Product Specification
13. LCD MODULES HANDLING PRECAUTIONS
Please remove the protection foil of polarizer before using.
The display panel is made of glass. Do not subject it to a mechanical shock by dropping it from a high place, etc.
If the display panel is damaged and the liquid crystal substance inside it leaks out, do not get any in your mouth. If the
substance come into contact with your skin or clothes promptly wash it off using soap and water.
Do not apply excessive force to the display surface or the adjoining areas since this may cause the color tone to vary.
The polarizer covering the display surface of the LCD module is soft and easily scratched. Handle this polarize
carefully.
To prevent destruction of the elements by static electricity, be careful to maintain an optimum work environment.
-Be sure to ground the body when handling the LCD module.
-Tools required for assembly, such as soldering irons, must be properly grounded.
-To reduce the amount of static electricity generated, do not conduct assembly and other work under dry conditions.
-The LCD module is coated with a film to protect the display surface. Exercise care when peeling off this protective
film since static electricity may be generated.
Storage precautions
When storing the LCD modules, avoid exposure to direct sunlight or to the light of fluorescent lamps. Keep the
modules in bags designed to prevent static electricity charging under low temperature / normal humidity conditions
(avoid high temperature / high humidity and low temperatures below 0°C). Whenever possible, the LCD modules
should be stored in the same conditions in which they were shipped from our company.
14. OTHERS
Liquid crystals solidify at low temperature (below the storage temperature range) leading to defective orientation of
liquid crystal or the generation of air bubbles (black or white). Air bubbles may also be generated if the module is
subjected to a strong shock at a low temperature.
If the LCD modules have been operating for a long time showing the same display patterns may remain on the screen
as ghost images and a slight contrast irregularity may also appear. Abnormal operating status can be resumed to be
normal condition by suspending use for some time. It should be noted that this phenomena does not adversely affect
performance reliability.
To minimize the performance degradation of the LCD modules resulting from caused by static electricity, etc.
exercise care to avoid holding the following sections when handling the modules:
- Exposed area of the printed circuit board
- Terminal electrode sections
Version:12
PAGE: 13