HOLTEK HT6240_02

HT6240-002
Infrared Remote Encoder
Features
· Operating voltage: 2.2V~3.6V
· Few external parts
· Low power consumption
· 20/24-pin SOP package
Applications
· Television and video cassette recorder
· Car door controllers
controllers
· Security systems
· Garage door controllers
· Other remote control systems
General Description
structions. HT6240-002 have two different packages:
20-pin SOP and 24-pin SOP.
HT6240-002 is designed as infrared remote encoders,
usually applied to TV systems. The 4´8 key matrix input
and the extension bit input can transmit a max. of 256 in-
Block Diagram
P R B
O S C I
O S C O
O S C
T E S T
T E S T
M O D E
IE 0
IE 1
IE 2
IE 3
D A T A
K e y S c a n
D r iv e r
D e c o d e r
8
3 ´ 2 2
D u ty 1 /3
1 0 ´ 2
D iv id e r
O F 0
O F 7
O u tp u t
S ta g e
IE -K E Y
E n c o d e r
C o n tro l
U n it
8 - B it S h ift
R e g is te r
C u s to m C o d e
& D A T A C o d e
L a tc h
C T
P a r a lle l to
S e r ia l
C o n v e rte r
V D D
V S S
Pin Assignment
1
2 4
V D D
2
2 3
C T
P R B
3
2 2
O F 0
O S C I
4
2 1
O F 1
V S S
1
2 0
V D D
T E S T
2
1 9
C T
P R B
3
1 8
O F 0
O S C O
5
2 0
O F 2
O S C I
4
1 7
O F 1
D A T A
6
1 9
O F 3
O S C O
5
1 6
O F 2
IE 0
7
1 8
O F 4
D A T A
6
1 5
O F 3
IE 1
8
1 7
O F 5
IE 0
7
1 4
O F 4
IE 2
9
1 6
O F 6
IE 1
8
1 3
O F 5
IE 3
1 0
1 5
O F 7
IE 2
9
1 2
O F 6
N C
1 1
1 4
N C
IE 3
1 0
1 1
O F 7
N C
1 2
1 3
N C
H T 6 2 4 0 -0 0 2
2 0 S O P -A
Rev. 1.30
V S S
T E S T
H T 6 2 4 0 -0 0 2
2 4 S O P -A
1
November 6, 2002
HT6240-002
Pad Assignment
V S S
V D D
C T
T E S T
P R B
2 0
1 9
1 8
1 7
1
O S C I
2
(0 ,0 )
O S C O
3
D A T E
4
IE 0
5
IE 1
6
7
8
9
1 0
IE 2
IE 3
O F 7
O F 6
1 6
O F 0
1 5
O F 1
1 4
O F 2
1 3
O F 3
1 2
O F 4
1 1
O F 5
Chip size: 92 ´ 118 mil2
* The IC substrate should be connected to VDD in the PCB layout artwork.
Pad Coordinates
Unit: mil
Pad No.
X
Y
Pad No.
X
Y
1
-40.88
16.11
11
40.12
-48.32
2
-40.88
9.48
12
40.12
-39.74
3
-40.88
-11.56
13
40.12
-24.57
4
-40.88
-24.78
14
40.12
-15.98
5
-40.88
-34.04
15
40.12
-0.81
6
-40.88
-41.18
16
40.12
7.78
7
-13.77
-52.78
17
34.47
53.59
8
-7.14
-52.78
18
-8.97
53.59
9
9.22
-53.55
19
-15.60
53.59
10
24.40
-53.55
20
-22.23
52.02
Rev. 1.30
2
November 6, 2002
HT6240-002
Pad Description
Pad No.
Pad Name
I/O
Internal
Connection
Description
1
PRB
I
CMOS
Pull-high
Power on reset
2
OSCI
I
CMOS
Oscillator input
3
OSCO
O
CMOS
Oscillator output
I/O
CMOS, NMOS
Pull-high
4
DATA
Detect custom code and extended code
5~8
IE0~IE3
I
CMOS
Pull-high
9~16
OF7~OF0
O
NMOS
Drive for key scan
17
CT
O
CMOS
Generates output transmission code
18
VDD
¾
¾
Positive power supply
19
VSS
¾
¾
Negative power supply
20
TEST
I
CMOS
Detect input from key matrix
TEST=Low normal mode
TEST=High test mode
Approximate internal connection circuits
In p u t te r m in a l
P in : T E S T , O S C I
V
P in : P R B , IE 0 ~ IE 3
V
D D
V
D D
D D
O u tp u t te r m in a l
P in : O S C O , C T
V
P in : O F 0 ~ O F 7
D D
B id ir e c tio n a l te r m in a l
P in : D A T A
V
Rev. 1.30
D D
3
November 6, 2002
HT6240-002
Absolute Maximum Ratings
Supply Voltage .........................................-0.3V to 5.2V
Input Voltage ..................................VSS-0.3 to VDD+0.3
Output Voltage..............................................VSS to VDD
Storage Temperature ............................-40°C to 125°C
Operating Temperature ...........................-20°C to 70°C
Note: These are stress ratings only. Stresses exceeding the range specified under ²Absolute Maximum Ratings² may
cause substantial damage to the device. Functional operation of this device at other conditions beyond those
listed in the specification is not implied and prolonged exposure to extreme conditions may affect device reliability.
Recommended Operating Condition
Symbol
VDD
Parameter
Ta=-20°C~70°C, unless otherwise noted
Test Conditions
Min.
Typ.
Max.
Unit
¾
2.2
¾
3.6
V
3V
¾
2.4V
3V
3V
High-level Voltage PRB
3V
¾
2.1V
3V
3V
Low-level Input Voltage IE0~IE3, DATA
3V
¾
0
0
1.2V
Low-level Input Voltage PRB
3V
¾
0
0
0.9V
Clock Oscillating Frequency
3V
¾
¾
455
¾
VDD
Conditions
Supply Voltage
¾
High-level Input Voltage IE0~IE3, DATA
VIH
VIL
fOSC
Electric Characteristics
Symbol
Parameter
V
V
kHz
Ta=25°C, VDD=3V, VSS=0V, unless otherwise noted
Test Conditions
Conditions
VDD
Limits
Min.
Typ.
Max.
Unit
VDD
Supply Voltage
¾
fOSC=455kHz,
Ta=-20°C~70°C
2.2
¾
3.6
V
IDD
Supply Current (during operation)
3V
fOSC=455kHz
¾
0.1
0.3
mA
IDD
Supply Current (while not in operation)
3V
¾
¾
1
mA
IOH
High-level Output Current CT
3V
VOH=2V
-5
-10
¾
mA
Low-level Output Current CT
3V
VOL=0.9V
0.3
0.8
¾
Low-level Output Current DATA
3V
VOL=0.9V
1
4
¾
Low-level Output Current OF0~OF7
3V
VOL=0.9V
1
4
¾
Pull-up Resistance PRB
3V
¾
¾
80
¾
Pull-up Resistance DATA
3V
¾
¾
70
¾
Pull-up Resistance E0~E3
3V
¾
¾
70
¾
IOL
RI
Rev. 1.30
¾
4
mA
kW
November 6, 2002
HT6240-002
Functional Description
Key operation
The input pins (IE0~IE3) and the output pins
(OF0~OF7) constitute a max. of 4´8 key matrix which is
also called standard key. The extended key is formed by
input pin DATA and the scan output (OF5~OF7). The
4´8 key matrix and the extended key can transmit a
max. of 256 instruction.
D A T A
C u s to m
c o d e
CT maintains ²L² and no transmission code is generated when two or more keys in standard key are
pressed.
O F 0
O F 1
O F 2
O F 3
O F 4
C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7
1
1
0
0
1
0
0
0
Table 1 shows the relationship between the key matrix
and the transmission code.
Fig. 1
Table 1
Transmission Code
Key Input
D1
D0
IE0
0
0
IE1
0
1
IE2
1
0
IE3
1
1
Extended bit
The extended bit is formed by input pin DATA and the
scan output (OF5~OF7). Fig. 2 shows an example of extended bit selection.
Transmission Code
Scan Output
D4
D3
D2
OF0
0
0
0
OF1
0
0
1
OF2
0
1
0
OF3
0
1
1
OF4
1
0
0
OF5
1
0
1
OF6
1
1
0
OF7
1
1
1
Transmission Code
DATA Input
D7
D6
D5
OF5
¾
¾
1
OF6
¾
1
¾
OF7
1
¾
¾
D A T A
D A T A c o d e
S W = O N
S W = O F F
O F 6
O F 7
D 5
1
1
D 6
1
0
D 7
0
0
S W
Fig. 2
Clock oscillating circuit
HT6240 has built-in feedback resistor and CMOS inverter, so a ceramic resonator can connect between the
oscillator circuit input pin (OSCI) and the output pin
(OSCO), (see Fig. 3).
Custom code
The custom code is made up of input pin DATA and scan
output OF0~OF4. It has 8 bits (C0~C7); the lower 3 bits
of the custom code (C5, C6 and C7) are fixed as ²0².
When the ceramic resonator is set to 455kHz, the carrier
can be set 38kHz.
Fig. 1 shows an example of custom code selection.
Rev. 1.30
O F 5
5
November 6, 2002
HT6240-002
Transmission code
The oscillating circuit will stop when there is no key
pressed to save power dissipation.
When the resonator is 455kHz, the carrier of the transmission signal is 38kHz. One pulse width is 0.53ms.
Therefore, twenty 38kHz clocks are included in the
0.53ms pulse width. (Fig.4 shows the carrier)
H T 6 2 4 0 -0 0 2
O S C I
C
HT6240-002 has two different formats. When the custom code is equal to zero, CT will send the 1st format.
Otherwise, it will send the 2nd format.
O S C O
C
L I
If the custom code (C0~C7) is ²0000 0000² then Fig. 5
shows the formation of the transmission code. Fig. 6
shows the transmission code ²0² and ²1² and pulse
width. Fig. 7 shows the formation of the 1-word transmission code. If a legal key is pressed, HT6240-002 will
send at least five words (see Fig. 8).
L O
N o te : T h e s e c a p a c ito r s d e p e n d o n th e r e s o n a to r s .
U s e th e v a lu e s r e c o m m e n d e d b y th e r e s o n a to r
m a n u fa c tu re r.
Fig. 3
2 6 .4 m s
8 .8 m s
0 .5 3 m s
Fig. 4 Carrier
D 0
D 1
D 2
D 3
D 4
0 .5 3 m s
D 5
D a ta c o d e
B it " 0 "
2 .1 1 m s
Fig. 5 Formation of the transmission code
0 .5 3 m s
B it " 1 "
4 .2 2 m s
Fig. 6 Transmission code ²0² and ²1² and pulse width of
HT6240-002
D 0
D 1
D 2
D 3
D 4
D 5
1 w o rd
5 0 .6 m s
Fig. 7 The formation of the 1-word transmission code
1 -w o rd
5 0 .6 m s
1 -w o rd
5 0 .6 m s
1 -w o rd
5 0 .6 m s
1 -w o rd
1 -w o rd
5 0 .6 m s
Fig. 8 A legal key will send at least five words
Rev. 1.30
6
November 6, 2002
HT6240-002
If custom code ¹ ²0000 0000² then Fig. 9 shows the formation of the transmission code. The transmission code
consists of a head pulse, 8-bit custom code and 8-bit
data code. Fig. 10 shows bit ²0² and bit ²1².
On table 2, the relationship between the key matrix and
the transmission code is shown when custom
code=²0000 0000². The asterisks means that
HT6240-002 can just send five words at a time even if a
legal key is pressed for a long time. The others mean
that HT6240-002 will send five or six words, even some
more words if a legal key is still pressed.
The formation of a 1-word transmission code without
carrier is shown in detail in Fig.11. Output CT should
combine with the carrier when CT is high.
Table 2
CT will send at least three words if we press a legal key.
CT may send three or four words, or several words depending on the length of time the legal key is pressed.
(see Fig. 12)
OF0 OF1 OF2 OF3 OF4 OF5 OF6 OF7
IE0
00
04
08
0C
10*
14*
18*
1C*
IE1
01
05
09*
0D*
11*
15*
19*
1D*
IE2
02
06
0A*
0E*
12*
16*
1A*
1E*
IE3
03
07
0B*
0F*
13*
17*
1B*
1F*
Power on reset function (PRB)
The power on reset function can be activated by connecting a capacitor to PRB pin while power is applied.
The time (tC) must be longer than 0.1ms when the voltage in PRB pin (VC) becomes higher than 0.3VDD after
the voltage in VDD pin exceeds 2.2V.
There are 64 instructions when the custom code=²0000
0000² in HT6240-002. The transmission output CT is
still ²L² and the transmission code will not be sent when
two or more keys are pressed simultaneously.
8 .4 4 m s
When the power on reset function is activated, the
standby state continues until an ²L² is input to IE0~IE3.
4 .2 2 m s
4 .2 2 m s
C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7
H e a d p u ls e
C u s to m
D 0 D 1 D 2 D 3 D 4 D 5 D 6 D 7
c o d e
D a ta c o d e
Fig. 9 The formation of the transmission code when custom code ¹ ²0000 0000²
0 .5 3 m s
B it " 0 "
1 .0 6 m s
0 .5 3 m s
B it " 1 "
2 .1 1 m s
Fig. 10
C u s to m
H e a d p u ls e
8 .4 4 m s
C 0 = 0
C 1 = 1
C 2 = 1
D a ta c o d e
c o d e
C 3 = 0 C 4 = 0 C 5 = 0 C 6 = 0 C 7 = 0
4 .2 2 m s
D 0 = 0 D 1 = 0 D 2 = 0 D 3 = 0
D 4 = 1
D 5 = 0 D 6 = 0 D 7 = 0
4 .2 2 m s
1 -w o rd
Fig. 11
Rev. 1.30
7
November 6, 2002
HT6240-002
1 w o rd
V o lta g e
1 w o rd
V D D
V D D
6 7 .5 m s
Fig. 12
V S S
P R B
p in
2 .2 V
P R B p in
V D D
2 0
1
0 .3 V
3
D D
T im e
0
T
H T 6 2 4 0 -0 0 2
C
> 0 .1 m s
Fig. 14 Relationship between the PRB pin and the
voltage
Fig. 13 Example of power-on reset function
Application Circuits
Example (1)
S e ttin g th e c u s to m
V
c o d e
S e ttin g D 5 , D 6 , D 7 b its
D D
S ta n d a rd k e y
4 7 W
1 k W
V
D D
2 0
1 9
V D D
1 8
C T
O F 0
1 7
1 6
O F 1
1 5
O F 2
O F 3
1 4
1 3
O F 4
1 2
O F 5
1 1
O F 6
O F 7
H T 6 2 4 0 -0 0 2
V S S T E S T P R B O S C I O S C O
1
2
3
4
D A T A
5
6
IE 0
7
IE 1
8
IE 2
IE 3
9
1 0
4 5 5 K
1 0 3
4 7 1
4 7 1
"1 "
"0 "
o r
Rev. 1.30
8
November 6, 2002
HT6240-002
Example (2)
S e ttin g th e c u s to m
V
c o d e
D o u b le - p u s h e d k e y
D D
S ta n d a rd k e y
4 7 W
1 k W
V
D D
2 0
1 9
V D D
1 8
C T
O F 0
1 7
1 6
O F 1
1 5
O F 2
1 4
O F 3
O F 4
1 3
1 2
O F 5
1 1
O F 6
O F 7
H T 6 2 4 0 -0 0 2
V S S T E S T P R B O S C I O S C O
1
2
3
4
D A T A
5
IE 0
6
7
IE 1
8
IE 2
IE 3
9
1 0
4 5 5 K
1 0 3
4 7 1
4 7 1
"1 "
"0 "
o r
( N o c o n n e c tio n )
Rev. 1.30
9
November 6, 2002
HT6240-002
Example (3)
S e ttin g c u s to m
c o d e
E x te n d e d k e y
V
D D
S ta n d a rd k e y
4 7 W
1 k W
V
D D
2 0
1 9
V D D
1 8
C T
O F 0
1 7
1 6
O F 1
1 5
O F 2
O F 3
1 4
O F 4
1 3
1 2
O F 5
1 1
O F 6
O F 7
H T 6 2 4 0 -0 0 2
V S S T E S T P R B O S C I O S C O
1
2
3
4
D A T A
5
6
IE 0
7
IE 1
8
IE 2
IE 3
9
1 0
4 5 5 K
1 0 3
4 7 1
4 7 1
"1 "
"0 "
o r
( N o c o n n e c tio n )
Rev. 1.30
10
November 6, 2002
HT6240-002
Example (4)
V
D D
4 7 W
1 k W
V
D D
2 0
1 9
V D D
1 8
C T
O F 0
1 7
1 6
O F 1
1 5
O F 2
1 4
O F 3
O F 4
1 3
1 2
O F 5
1 1
O F 6
O F 7
H T 6 2 4 0 -0 0 2
V S S T E S T P R B O S C I O S C O
1
2
3
4
D A T A
5
6
IE 0
7
IE 1
8
IE 2
IE 3
9
1 0
4 5 5 K
1 0 3
4 7 1
4 7 1
"1 "
"0 "
o r
( N o c o n n e c tio n )
Rev. 1.30
11
November 6, 2002
HT6240-002
Package Information
20-pin SOP (300mil) outline dimensions
1 1
2 0
A
B
1
1 0
C
C '
G
H
D
E
Symbol
Rev. 1.30
a
F
Dimensions in mil
Min
Nom
Max
A
394
¾
419
B
290
¾
300
C
14
¾
20
C¢
490
¾
510
D
92
¾
104
E
¾
50
¾
F
4
¾
¾
G
32
¾
38
H
4
¾
12
a
0°
¾
10°
12
November 6, 2002
HT6240-002
24-pin SOP (300mil) outline dimensions
1 3
2 4
A
B
1 2
1
C
C '
G
H
D
E
Symbol
Rev. 1.30
a
F
Dimensions in mil
Min.
Nom.
Max.
A
394
¾
419
B
290
¾
300
C
14
¾
20
C¢
590
¾
614
D
92
¾
104
E
¾
50
¾
F
4
¾
¾
G
32
¾
38
H
4
¾
12
a
0°
¾
10°
13
November 6, 2002
HT6240-002
Product Tape and Reel Specifications
Reel dimensions
D
T 2
A
C
B
T 1
SOP 20W
Symbol
Description
Dimensions in mm
A
Reel Outer Diameter
330±1.0
B
Reel Inner Diameter
62±1.5
C
Spindle Hole Diameter
13.0+0.5
-0.2
D
Key Slit Width
2.0±0.5
T1
Space Between Flange
24.8+0.3
-0.2
T2
Reel Thickness
30.2±0.2
SOP 24W
Symbol
Description
Dimensions in mm
A
Reel Outer Diameter
330±1.0
B
Reel Inner Diameter
62±1.5
C
Spindle Hole Diameter
13.0+0.5
-0.2
D
Key Slit Width
2.0±0.5
T1
Space Between Flange
24.8+0.3
-0.2
T2
Reel Thickness
30.2±0.2
Rev. 1.30
14
November 6, 2002
HT6240-002
Carrier tape dimensions
P 0
D
P 1
t
E
F
W
C
D 1
B 0
P
K 0
A 0
SOP 20W
Symbol
Description
Dimensions in mm
W
Carrier Tape Width
24.0+0.3
-0.1
P
Cavity Pitch
12.0±0.1
E
Perforation Position
1.75±0.1
F
Cavity to Perforation (Width Direction)
11.5±0.1
D
Perforation Diameter
1.5+0.1
D1
Cavity Hole Diameter
1.5+0.25
P0
Perforation Pitch
4.0±0.1
P1
Cavity to Perforation (Length Direction)
2.0±0.1
A0
Cavity Length
10.8±0.1
B0
Cavity Width
13.3±0.1
K0
Cavity Depth
3.2±0.1
t
Carrier Tape Thickness
0.3±0.05
C
Cover Tape Width
21.3
SOP 24W
Symbol
Description
Dimensions in mm
W
Carrier Tape Width
24.0±0.3
P
Cavity Pitch
12.0±0.1
E
Perforation Position
1.75±0.1
F
Cavity to Perforation (Width Direction)
11.5±0.1
D
Perforation Diameter
1.55+0.1
D1
Cavity Hole Diameter
1.5+0.25
P0
Perforation Pitch
4.0±0.1
P1
Cavity to Perforation (Length Direction)
2.0±0.1
A0
Cavity Length
10.9±0.1
B0
Cavity Width
15.9±0.1
K0
Cavity Depth
t
Carrier Tape Thickness
C
Cover Tape Width
Rev. 1.30
3.1±0.1
0.35±0.05
21.3
15
November 6, 2002
HT6240-002
Holtek Semiconductor Inc. (Headquarters)
No.3, Creation Rd. II, Science Park, Hsinchu, Taiwan
Tel: 886-3-563-1999
Fax: 886-3-563-1189
http://www.holtek.com.tw
Holtek Semiconductor Inc. (Taipei Sales Office)
4F-2, No. 3-2, YuanQu St., Nankang Software Park, Taipei 115, Taiwan
Tel: 886-2-2655-7070
Fax: 886-2-2655-7373
Fax: 886-2-2655-7383 (International sales hotline)
Holtek Semiconductor Inc. (Shanghai Sales Office)
7th Floor, Building 2, No.889, Yi Shan Rd., Shanghai, China 200233
Tel: 021-6485-5560
Fax: 021-6485-0313
http://www.holtek.com.cn
Holtek Semiconductor Inc. (Shenzhen Sales Office)
5/F, Unit A, Productivity Building, Cross of Science M 3rd Road and Gaoxin M 2nd Road, Science Park, Nanshan District,
Shenzhen, China 518057
Tel: 0755-8616-9908, 8616-9308
Fax: 0755-8616-9533
Holtek Semiconductor Inc. (Beijing Sales Office)
Suite 1721, Jinyu Tower, A129 West Xuan Wu Men Street, Xicheng District, Beijing, China 100031
Tel: 010-6641-0030, 6641-7751, 6641-7752
Fax: 010-6641-0125
Holtek Semiconductor Inc. (Chengdu Sales Office)
709, Building 3, Champagne Plaza, No.97 Dongda Street, Chengdu, Sichuan, China 610016
Tel: 028-6653-6590
Fax: 028-6653-6591
Holmate Semiconductor, Inc. (North America Sales Office)
46729 Fremont Blvd., Fremont, CA 94538
Tel: 510-252-9880
Fax: 510-252-9885
http://www.holmate.com
Copyright Ó 2002 by HOLTEK SEMICONDUCTOR INC.
The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used
solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable
without further modification, nor recommends the use of its products for application that may present a risk to human life
due to malfunction or otherwise. Holtek¢s products are not authorized for use as critical components in life support devices
or systems. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information,
please visit our web site at http://www.holtek.com.tw.
Rev. 1.30
16
November 6, 2002