Witam wszystkich, Chciałbym obsłużyć wyświetlacz RG160160a (celem ostatecznym jest zbudowanie analizatora widma akustycznego). Jest on obsługiwany przez wspomniany wcześniej kontroler (4 sztuki są na PCB). Problem, z którym nie mogę sobie poradzić polega na tym, że nie mogę stworzyć wierszy, które by się różniły między sobą układem kropek. Kiedy przychodzi nowy wiersz wszystkie pozostałe przyjmują taki sam układ zapalonych/zgaszonych punktów tak, że cokolwiek bym nie robił otrzymuję pionowe paski. Poniżej zamieszczam kod mojego programu, a zdjęcie to efekt jego wykonania. Jak widać na zdjęciu jest kiepski kontrast między zapalonymi, a zgaszonymi punktami - czy to jest dlatego, że mam jedno źródło zasilania +5V, a nie jak wg noty katalogowej (z tego, co zrozumiałem do zasilania LCD powinienem podać -16 do - 18V)? Pewnie pominąłem coś bardzo oczywistego w tym wszystkim i bardzo proszę pomoc w tym temacie. #define F_CPU 8000000L #include <avr/io.h> #include <util/delay.h> const int krok= 5000; void dane(short dana){ short bufor = PORTA; dana&=0b00001111; bufor&=0b11110000; bufor|=dana; PORTA=bufor; _delay_us(krok); PORTA^=0b00010000; _delay_us(krok); //PORTA^=0b10000000; PORTA^=0b00010000; _delay_us(krok); } void nowa_linia(){ //PORTA&=0b11011111; PORTA^=0b11000000; _delay_us(krok); PORTA^=0b00100000; //_delay_ms(krok); PORTA^=0b00100000; PORTA^=0b01000000; PORTA^=0b10000000; // _delay_us(1); //PORTA|=0b00101111; } int main(void) { DDRA = 0b11111111; PORTA=0b00001111; _delay_ms(10); for (int i=0; i<100; i++){ for (int j=0; j<20; j++){ dane(j); dane(i); } nowa_linia(); } while (1) { PORTA=0xff; } } Użyte piny: PA0-PA3 - D0 - D3; PA4 - CL2; PA5 - CL1; PA6 - FLM; PA7 - M. Tak duży delay wstawiłem tylko po to, żebym mógł dobrze obserwować zmiany na wyświetlaczu. Pozdrawiam
曜凌光電股份有限公司
住址: 42878 台中縣大雅鄉科雅路 25 號 5F WEB: http://www.Raystar-Optronics.com
5F, No.25, keya Rd. Daya Township,
E-mail: sales@raystar-optronics.com
Taichung County, Taiwan
Tel:886-4-2565-0761 Fax:886-4-2565-0760
RG160160A-YHY-X
SPECIFICATION
CUSTOMER:
APPROVED BY
PCB VERSION
DATE
FOR CUSTOMER USE ONLY
SALES BY
APPROVED BY
CHECKED BY
PREPARED BY
ISSUED DATE:
Page 1 , Total 21 Pages
RG160160A-YHY-X
Contents
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
Revision History
General Specification
Module Coding System
Interface Pin Function
Outline dimension & Block Diagram
Display Control Instruction
Timing Characteristics
Optical Characteristics
Absolute Maximum Ratings
Electrical Characteristics
Backlight Information
Reliability
Inspection specification
Precautions in use of LCD Modules
Material List of Components for RoHs
Page
3
4
5
6
7
8
9
10
11
11
12
13
14
18
19
Page 2 , Total 21 Pages
RG160160A-YHY-X
1. Revision History
DATE
VERSION
2008.07.25
1
REVISED PAGE NO.
Note
First issue
Page 3 , Total 21 Pages
RG160160A-YHY-X
2. General Specification
The Features is described as follow:
Module dimension: 89.2×85.0×14.5 (max.) mm3
View area: 62.0 x 62.0 mm2
Active area: 60.76 x 60.76 mm2
Number of dots: 160 x 160
Dot size: 0.34 x 0.34 mm2
Dot pitch: 0.38 x 0.38 mm2
LCD type: STN Positive, Transflective, Yellow Green
Duty: 1/160
View direction: 6 o’clock
Backlight Type: LED , Yellow Green
Page 4 , Total 21 Pages
RG160160A-YHY-X
3. Module Coding System
R
G
160160
A
-
Y
H
Y
-
X
1
2
3
4
-
5
6
7
-
8
Item
Description
R:Raystar Optronics Inc.
1
C:Character Type,
2
Display
G:Graphic Type
Number of dots:160 x160 Dots
3
4
Serials code
P:TN Positive, Gray
5
LCD
Polarizer
Type,
6
Temperature
range,
View
direction
7
8
Backlight
N:TN Negative,
G:STN Positive, Gray
Y:STN Positive, Yellow Green
B:STN Negative, Blue
F:FSTN Positive
T:FSTN Negative
A:Reflective, N.T, 6:00
K:Transflective, W.T,12:00
D:Reflective, N.T, 12:00
1:Transflective, U.T,6:00
G:Reflective, W. T, 6:00
4:Transflective, U.T.12:00
J:Reflective, W. T, 12:00
0:Reflective, U. T, 6:00
3:Reflective, U. T, 12:00
B:Transflective, N.T,6:00
E:Transflective, N.T.12:00
H Transflective, W.T,6:00
:
N:Without backlight
P:EL, Blue green
T:EL, Green
D:EL, White
C:Transmissive, N.T,6:00
F:Transmissive, N.T,12:00
I:Transmissive, W. T, 6:00
L:Transmissive, W.T,12:00
2:Transmissive, U. T, 6:00
5:Transmissive, U.T,12:00
Y:LED, Yellow Green
A:LED, Amber
W:LED, White
O:LED, Orange
F:CCFL, White
G:LED, Green
Special code X: Without Negative Voltage
Page 5 , Total 21 Pages
RG160160A-YHY-X
4. Interface Pin Function
Pin #
Symbol
Level
Description
1
VSS
0V
Ground
2
M
H/L
Control Signal For AC Driving
3
FLM
H
4
CL1
H/L
Display data latch
5
CL2
H/L
Display data Shift
6
DB3
H/L
Display data
7
DB2
H/L
Display data
8
DB1
H/L
Display data
9
DB0
H/L
Display data
10
VEE
H/L
Power supply for LC driving
11
VDD
-
Power supply for logic circuit
12
VO
-
Operating voltage for LCD driving
13
DISP OFF
L
Display off when low level
14
A
-
Power supply for backlight ( + )
15
K
-
Power supply for backlight ( - )
Operating voltage for LCD
Page 6 , Total 21 Pages
RG160160A-YHY-X
5. Outline Dimension & Block Diagram
Page 7 , Total 21 Pages
RG160160A-YHY-X
6. Display Control Instruction
This LCD Module doesn’t have built in controller , so it must connect with a controller from
user’s control board .and it’s software command must match the Timing Characteristics (shown
in Sec.11) , below is interface diagram .
DISP OFF
FLM
SED 1330 seris
OKI 6255
HITACHI 64646
controller
CPU
M
CL1
LCD
Module
CL2
DB0 ~ DB3
Address &
Control Bus
DATA BUS
SRAM
Page 8 , Total 21 Pages
RG160160A-YHY-X
7. Timing Characteristics
tw
tw
tw
tr
tf
0.8 VDD
CL2
0.8 VDD
0.2 VDD
tDSU
tDHD
0.8 VDD
0.2 VDD
D3 ~ D0
0.8 VDD
0.2 VDD
tLSU
0.8 VDD
CL1
tLC
0.8 VDD
0.2 VDD
tw
tr
tf
tsetup
0.8 VDD
FLM
thold
0.8 VDD
0.2 VDD
tDF
0.8 VDD
M
( Vss = 0 V , VDD = 5 V )
Item
Symbol
Min
Typ
Max
Unit
Frequency of maximum clock
fcp
-
-
8
MHZ
CL1,CL2,pulse width
tw
45
-
-
ns
Rise , fall time
tr , tf
-
-
50
ns
Data setup time
tDSU
30
-
-
ns
Data hold time
tDHD
30
-
-
ns
CL1 setup time
tLSU
80
-
-
ns
tLC
80
FLM setup time
tsetup
100
-
-
ns
FLM hold time
thold
100
-
-
ns
M delay time
tDF
-
-
1.0
µs
CL1
CL2 time
ns
Page 9 , Total 21 Pages
RG160160A-YHY-X
8. Optical Characteristics
Item
Symbol
Min
Typ
Max
Unit
(V)θ
CR≧2
20
-
40
deg
(H)φ
CR≧2
-30
-
30
deg
CR
-
-
3
-
-
T rise
-
-
200
300
ms
T fall
View Angle
Condition
-
-
200
300
ms
Contrast Ratio
Response Time
Definition of Operation Voltage (Vop)
Intensity
100%
Definition of Response Time ( Tr , Tf )
Non-selected
Conition
Selected Wave
Non-selected Wave
Selected Conition
Non-selected
Conition
Intensity
10%
Cr Max
Cr = Lon / Loff
90%
100%
Vop
Tr
Driving Voltage(V)
[positive type]
Tf
[positive type]
Conditions :
Operating Voltage : Vop
Viewing Angle(θ,φ) : 0°, 0°
Frame Frequency : 64 HZ Driving Waveform : 1/N duty , 1/a bias
Definition of viewing angle(CR≧2)
θb
θf
θl
φ= 180°
θr
φ= 90°
φ= 270°
φ= 0°
Page 10 , Total 21 Pages
RG160160A-YHY-X
9. Absolute Maximum Ratings
ITEM
SYMBOL MIN.
TYP.
MAX.
UNIT
Operating Temperature
TOP
-20
-
+70
℃
Storage Temperature
TST
-30
-
+80
℃
Input Voltage
VI
VSS
-
VDD
V
Supply Voltage For Logic
VDD-VSS
-0.3
-
7
V
Supply Voltage For LCD
VDD-V0
-0.3
-
28
V
10. Electrical Characteristics
SYMBOL
Voltage
For
Logic
Supply
Voltage
LCD
For
MIN.
TYP.
MAX.
UNIT
VDD-VSS
-
4.5
5.0
5.5
V
-
-
20.1
V
Ta=25℃
-
18.5
-
V
Ta=70℃
Supply
CONDITION
Ta=-20℃
ITEM
16.8
-
-
V
VDD-V0
Input High Vol
VIH
-
0.8VDD
-
VDD
V
Input Low Vol
VIL
-
-0.3
-
0.2 VDD
V
Output High Vol
VOH
-
VDD-0.4
-
VDD
V
Output Low Vol.
VOL
-
0
-
0.4
V
Supply Current
IDD
VDD=5V
4.0
5.5
8.0
mA
Page 11 , Total 21 Pages
RG160160A-YHY-X
11. Backlight Information
Specification
PARAMETER
SYMBOL MIN
TYP
MAX
UNIT
TEST
CONDITION
Supply Current ILED
400
500
750
mA
V=4.2V
Supply Voltage V
4.0
4.2
4.4
V
-
Reverse Voltage VR
-
-
8
V
-
IV
150
190
-
CD/M2 ILED=500mA
Wave Length
λp
560
570
580
nm
ILED=500mA
Life Time
-
-
100K
-
Hr.
ILED≦500mA
Color
Yellow Green
Luminous
Intensity
Note:
The LED of B/L is drive by current only; drive voltage is for reference only. Drive voltage has to make
driving current under safety area (current between minimum and maximum).
Drive from pin14,pin15
pin14
pin15
R
R
A
B/L
K
LCM
Page 12 , Total 21 Pages
RG160160A-YHY-X
12. Reliability
Content of Reliability Test (wide temperature, -20℃~70℃)
Environmental Test
Test Item
High Temperature storage
Low Temperature storage
High Temperature Operation
Low Temperature Operation
High Temperature/
Humidity Operation
Content of Test
Condition
Endurance test applying the high storage temperature for a long 80℃
time.
200hrs
Endurance test applying the high storage temperature for a long -30℃
time.
200hrs
Endurance test applying the electric stress (Voltage & Current) 70℃
and the thermal stress to the element for a long time.
Endurance
test
applying
the
electric
stress
200hrs
under
low -20℃
temperature for a long time.
200hrs
The module should be allowed to stand at 60℃,90%RH max
For 96hrs under no-load condition excluding the polarizer,
Then taking it out and drying it at normal temperature.
60℃,90%RH
96hrs
Note
2
1,2
1
1,2
The sample should be allowed stand the following 10 cycles of
operation
-20℃
25℃
70℃
Thermal shock resistance
-20℃/70℃
10 cycles
30min
5min
-
30min
1 cycle
fixed
amplitude:
15mm
Vibration.
Frequency:
Vibration test
Endurance test applying the vibration during transportation and 10~55Hz.
using.
One cycle 60
3
seconds to 3
directions of
X,Y,Z for
Each 15
minutes
VS=800V,RS=
Static electricity test
Endurance test applying the electric stress to the terminal.
1.5kΩ
CS=100pF
——
1 time
Note1: No dew condensation to be observed.
Note2: The function test shall be conducted after 4 hours storage at the normal temperature and humidity
after remove from the test chamber.
Note3: Vibration test will be conducted to the product itself without putting it in a container.
Page 13 , Total 21 Pages
RG160160A-YHY-X
13. Inspection specification
NO
Item
01
Electrical
Testing
02
Criterion
1.1 Missing vertical, horizontal segment, segment contrast
defect.
1.2 Missing character, dot or icon.
1.3 Display malfunction.
1.4 No function or no display.
1.5 Current consumption exceeds product specifications.
1.6 LCD viewing angle defect.
1.7 Mixed product types.
1.8 Contrast defect.
2.1 White and black spots on display ≦0.25mm, no more
Black or
than three white or black spots present.
white spots
2.2 Densely spaced: No more than two spots or lines within
on LCD
3mm
(display only)
AQL
0.65
2.5
3.1 Round type : As following drawing
Φ=( x + y ) / 2
2.5
03
LCD black
spots, white
spots,
contaminatio
n
3.2 Line type : (As following drawing)
(non-display)
Length
Width
--L≦3.0
L≦2.5
---
04
Polarizer
bubbles
W≦0.02
0.02<W≦0.03
0.03<W≦0.05
0.05<W
If bubbles are visible,
judge using black spot
specifications, not
easy to find, must
check in specify
direction.
Size Φ
Φ≦0.20
0.20<Φ≦0.50
0.50<Φ≦1.00
1.00<Φ
Total Q TY
Acceptable Q
TY
Accept no
dense
2.5
2
As round type
Acceptable Q
TY
Accept no
dense
3
2
0
3
2.5
Page 14 , Total 21 Pages
RG160160A-YHY-X
NO
05
Item
Scratches
Criterion
Follow NO.3 LCD black spots, white spots, contamination
AQL
Symbols Define:
x: Chip length
y: Chip width
z: Chip thickness
k: Seal width
t: Glass thickness a: LCD side length
L: Electrode pad length:
6.1 General glass chip :
6.1.1 Chip on panel surface and crack between panels:
06
Chipped
glass
z: Chip thickness
Z≦1/2t
y: Chip width
x: Chip length
Not over viewing
x≦1/8a
area
Not exceed 1/3k
1/2t<z≦2t
x≦1/8a
☉If there are 2 or more chips, x is total length of each chip.
2.5
6.1.2 Corner crack:
z: Chip thickness
Z≦1/2t
y: Chip width
x: Chip length
Not over viewing
x≦1/8a
area
Not exceed 1/3k
1/2t<z≦2t
x≦1/8a
☉If there are 2 or more chips, x is the total length of each chip.
Page 15 , Total 21 Pages
RG160160A-YHY-X
NO
Item
Criterion
AQL
Symbols :
x: Chip length
y: Chip width
z: Chip thickness
k: Seal width
t: Glass thickness a: LCD side length
L: Electrode pad length
6.2 Protrusion over terminal :
6.2.1 Chip on electrode pad :
y: Chip width
x: Chip length
y≦0.5mm
x≦1/8a
6.2.2 Non-conductive portion:
06
z: Chip thickness
0 < z≦t
Glass
crack
2.5
y: Chip width
x: Chip length
z: Chip
thickness
y≦ L
x≦1/8a
0 < z≦t
☉If the chipped area touches the ITO terminal, over 2/3 of the
ITO must remain and be inspected according to electrode
terminal specifications.
☉If the product will be heat sealed by the customer, the
alignment mark not be damaged.
6.2.3 Substrate protuberance and internal crack.
y: width
y≦1/3L
x: length
x≦a
Page 16 , Total 21 Pages
RG160160A-YHY-X
NO
07
08
09
10
Item
Cracked
glass
Backlight
elements
Bezel
PCB、COB
Criterion
AQL
The LCD with extensive crack is not acceptable.
2.5
8.1 Illumination source flickers when lit.
8.2 Spots or scratched that appear when lit must be judged.
Using LCD spot, lines and contamination standards.
8.3 Backlight doesn’t light or color wrong.
0.65
2.5
9.1 Bezel may not have rust, be deformed or have
fingerprints, stains or other contamination.
9.2 Bezel must comply with job specifications.
2.5
0.65
10.1 COB seal may not have pinholes larger than 0.2mm or
contamination.
10.2 COB seal surface may not have pinholes through to the
IC.
10.3 The height of the COB should not exceed the height
indicated in the assembly diagram.
10.4 There may not be more than 2mm of sealant outside
the seal area on the PCB. And there should be no more
than three places.
10.5 No oxidation or contamination PCB terminals.
10.6 Parts on PCB must be the same as on the production
characteristic chart. There should be no wrong parts,
missing parts or excess parts.
10.7 The jumper on the PCB should conform to the product
characteristic chart.
10.8 If solder gets on bezel tab pads, LED pad, zebra pad or
screw hold pad, make sure it is smoothed down.
10.9 The Scraping testing standard for Copper Coating of
PCB
2.5
0.65
2.5
0.65
2.5
2.5
0.65
0.65
2.5
2.5
X
Y
X * Y & lt; =2mm2
2.5
2.5
11
Soldering
11.1 No un-melted solder paste may be present on the PCB.
11.2 No cold solder joints, missing solder connections,
oxidation or icicle.
11.3 No residue or solder balls on PCB.
11.4 No short circuits in components on PCB.
2.5
0.65
Page 17 , Total 21 Pages
RG160160A-YHY-X
NO
12
Item
Criterion
AQL
General
appearance
12.1 No oxidation, contamination, curves or, bends on
interface Pin (OLB) of TCP.
12.2 No cracks on interface pin (OLB) of TCP.
12.3 No contamination, solder residue or solder balls on
product.
12.4 The IC on the TCP may not be damaged, circuits.
12.5 The uppermost edge of the protective strip on the
interface pin must be present or look as if it causes the
interface pin to sever.
12.6 The residual rosin or tin oil of soldering (component or
chip component) is not burned into brown or black color.
12.7 Sealant on top of the ITO circuit has not hardened.
12.8 Pin type must match type in specification sheet.
12.9 LCD pin loose or missing pins.
12.10 Product packaging must the same as specified on
packaging specification sheet.
12.11 Product dimension and structure must conform to
product specification sheet.
2.5
0.65
2.5
2.5
2.5
2.5
2.5
0.65
0.65
0.65
0.65
14. Precautions in use of LCD Modules
1. Avoid applying excessive shocks to the module or making any alterations or modifications
to it.
2. Don’t make extra holes on the printed circuit board, modify its shape or change the
components of LCD module.
3. Don’t disassemble the LCM.
4. Don’t operate it above the absolute maximum rating.
5. Don’t drop, bend or twist LCM.
6. Soldering: only to the I/O terminals.
7. Storage: please storage in anti-static electricity container and clean environment.
Page 18 , Total 21 Pages
RG160160A-YHY-X
15. Material List of Components for RoHs
1. RAYSTAR Optronics Co., Ltd. hereby declares that all of or part of products, including, but
not limited to, the LCM, accessories or packages, manufactured and/or delivered to your
company (including your subsidiaries and affiliated company) directly or indirectly by our
company (including our subsidiaries or affiliated companies) do not intentionally contain any
of the substances listed in all applicable EU directives and regulations, including the
following substances.
Exhibit A:The Harmful Material List
Material
(Cd)
(Pb)
(Hg)
(Cr6+)
PBBs
PBDEs
Limited
100
1000
1000
1000
1000
1000
Value
ppm
ppm
ppm
ppm
ppm
ppm
Above limited value is set up according to RoHS.
2. Process for RoHS requirement:
(1) Use the Sn/Ag/Cu soldering surface the surface of Pb-free solder is rougher than we used
;
before.
(2) Heat-resistance temp.:
Reflow:250℃, 30 seconds Max.;
Connector soldering wave or hand soldering:320℃, 10 seconds max.
(3) Temp. curve of reflow, max. Temp.:235±5℃;
Recommended customer’s soldering temp. of connector:280℃, 3 seconds.
Page 19 , Total 21 Pages
RG160160A-YHY-X
Page: 1
LCM Sample Estimate Feedback Sheet
Module Number:
1、Panel Specification:
□ Pass
□ NG ,
1. Panel Type:
□ Pass
□ NG ,
2. View Direction:
□ Pass
□ NG ,
3. Numbers of Dots:
□ Pass
□ NG ,
4. View Area:
□ Pass
□ NG ,
5. Active Area:
6.Operating
□ Pass
□ NG ,
Temperature:
□ NG ,
7.Storage Temperature: □ Pass
8.Others:
2、Mechanical Specification:
□ Pass
□ NG ,
1. PCB Size:
□ Pass
□ NG ,
2.Frame Size:
□ Pass
□ NG ,
3.Materal of Frame:
□ Pass
□ NG ,
4.Connector Position:
□ Pass
□ NG ,
5.Fix Hole Position:
□ Pass
□ NG ,
6.Backlight Position:
□ Pass
□ NG ,
7. Thickness of PCB:
8. Height of Frame to
□ Pass
□ NG ,
PCB:
□ Pass
□ NG ,
9.Height of Module:
□ Pass
□ NG ,
10.Others:
3、Relative Hole Size:
□ Pass
□ NG ,
1.Pitch of Connector:
2.Hole size of
□ Pass
□ NG ,
Connector:
□ Pass
□ NG ,
3.Mounting Hole size:
□ NG ,
4.Mounting Hole Type: □ Pass
□ Pass
□ NG ,
5.Others:
4、Backlight Specification:
□ Pass
□ NG ,
1.B/L Type:
□ Pass
□ NG ,
2.B/L Color:
3.B/L Driving Voltage (Reference for LED Type):□ Pass □ NG ,
□ Pass
□ NG ,
4.B/L Driving Current:
□ Pass
□ NG ,
5.Brightness of B/L:
□ Pass
□ NG ,
6.B/L Solder Method:
□ Pass
□ NG ,
7.Others:
>> Go to page 2 <<
Page 20 , Total 21 Pages
RG160160A-YHY-X
Page: 2
Module Number:
5、Electronic Characteristics of Module:
□ Pass
□ NG ,
1.Input Voltage:
□ Pass
□ NG ,
2.Supply Current:
□ NG ,
3.Driving Voltage for LCD: □ Pass
□ Pass
□ NG ,
4.Contrast for LCD:
□ Pass
□ NG ,
5.B/L Driving Method:
6.Negative Voltage
□ Pass
□ NG ,
Output:
□ Pass
□ NG ,
7.Interface Function:
□ Pass
□ NG ,
8.LCD Uniformity:
□ Pass
□ NG ,
9.ESD test:
□ Pass
□ NG ,
10.Others:
6、Summary:
Sales signature:
Customer Signature:
Date:
/
/
Page 21 , Total 21 Pages