HT6240-002 is designed as infrared remote
encoders, usually applied to TV systems. The
4´8 key matrix input and the extension bit in
Block Diagram
HT6240-002
20-pin DIP/SOP package
·
24-pin SOP package
Car door controllers
·
Security systems
·
Other remote control systems
·
put can transmit a max. of 256 instructions.
HT6240-002 have three different packages:
20-pin DIP, 20-pin SOP and 24-pin SOP.
-
PRB
OSCI
OSCO
TEST
IE 0
IE 1
IE 2
IE 3
DATA
OSC
TEST
MODE
IE -K E Y
Encoder
8-B it S hift
R egister
2
3´2
D u ty 1 /3
C ontrol
Unit
C ustom C ode
& D A TA C ode
Latch
8
10´2
D ivider
P a ra lle l to
C onverter
1December 16, 1999
Serial
Key Scan
Driver
D ecoder
O utput
Stage
VDD VSS
OF0
OF7
CT
Pin Assignment
1
VSS
TEST
PRB
OSCI
OSCO
DATA
IE 0
IE 1
IE 2
IE 3
2
3
4
5
6
7
8
9
10
H T6240-002
20 DIP/SO P
20
19
18
17
16
15
14
13
12
11
VDD
CT
OF0
OF1
OF2
OF3
OF4
OF5
OF6
OF7
VSS
TEST
PRB
OSCI
OSCO
DATA
IE 0
IE 1
IE 2
IE 3
NC
NC
1
2
3
4
5
6
7
8
9
10
11
12
24
23
22
21
20
19
18
17
16
15
14
13
H T6240-002
2 4 S O P
HT6240-002
VDD
CT
OF0
OF1
OF2
OF3
OF4
OF5
OF6
OF7
NC
NC
Pad Assignment
* The IC substrate should be connected to VDD in the PCB layout artwork.
PRB
OSCI
OSCO
DATE
IE 0
IE 1
TES T
VSS
19
20
1
2
3
4
5
6
7178
IE 2
Chip size: 92 ´ 118 mil
18
VDD
(0 ,0 )
9
IE 3
OF7
10
OF6
2
CT
16
15
14
13
12
11
OF0
OF1
OF2
OF3
OF4
OF5
2December 16, 1999
Pad CoordinatesUnit: mil
Pad No.XYPad No.XY
1
2
3
4
5
6
7
8
99.22
1024.40
-40.88
-40.88
-40.88-11.56
-40.88-24.78
-40.88-34.04
-40.88-41.18
-13.77-52.78
-7.14-52.78
16.111140.12
9.481240.12
1340.12
1440.12
1540.12
1640.127.78
1734.4753.59
-53.55
-53.55
18
19
20
-8.97
-15.60
-22.23
-48.32
-39.74
-24.57
-15.98
-0.81
53.59
53.59
52.02
Pad Description
HT6240-002
Pad No.Pad NameI/O
1PRBI
2OSCIICMOSOscillator input
3OSCOOCMOSOscillator output
4DATAI/O
5~8IE0~IE3I
9~16OF7~OF0ONMOSDrive for key scan
17CTOCMOSGenerates output transmission code
18VDD
19VSS
20TESTICMOS
¾¾
¾¾
Internal
Connection
CMOS
Pull-high
CMOS, NMOS
Pull-high
CMOS
Pull-high
Description
Power on reset
Detect custom code and extended code
Detect input from key matrix
Positive power supply
Negative power supply
TEST=Low normal mode
TEST=High test mode
3December 16, 1999
Approximate internal connection circuits
In p u t te rm in a l
P in : T E S T , O S C IP in : P R B , IE 0 ~ IE 3
V
DD
O u tp u t te rm in a l
P in : O S C O , C TPin: OF0~OF7
V
DD
HT6240-002
V
V
DD
DD
Bidirectional term inal
P in : D A T A
V
DD
Absolute Maximum Ratings
Supply Voltage ..............................-0.3V to 5.2V
Output Voltage..................................V
SS
to V
DD
Operating Temperature...............-20°Cto70°C
Note: These are stress ratings only. Stresses exceeding the range specified under ²Absolute Maxi
mum Ratings² may cause substantial damage to the device. Functional operation of this de
vice at other conditions beyond those listed in the specification is not implied and prolonged
exposure to extreme conditions may affect device reliability.
Input Voltage ......................V
-0.3 to VDD+0.3
SS
Storage Temperature.................-40°Cto125°C
4December 16, 1999
-
-
HT6240-002
Recommended Operating Condition
SymbolParameter
V
DD
Supply Voltage
High-level Input Voltage
V
IH
IE0~IE3, DATA
High-level Voltage PRB
Low-level Input Voltage
V
IL
IE0~IE3, DATA
Low-level Input Voltage PRB
f
OSC
Clock Oscillating Frequency3V
Electric Characteristics
SymbolParameter
V
DD
I
DD
I
DD
I
OH
I
OL
R
I
Supply Voltage
Supply Current (during operation)3V
Supply Current
(while not in operation)
High-level Output Current CT3V
Low-level Output Current CT3V
Low-level Output Current DATA3V
Low-level Output Current
OF0~OF7
Pull-up Resistance PRB3V
Pull-up Resistance DATA3V
Pull-up Resistance E0~E33V
Ta= -20°C~70°C, unless otherwise noted
Test Conditions
Min.Typ.Max. Unit
V
Conditions
DD
¾¾
3V
3V
3V
3V
¾
¾
¾
¾
¾¾
2.2
¾
3.6V
2.4V3V3V
2.1V3V3V
001.2V
000.9V
455
¾
Ta=25°C, VDD=3V, VSS=0V, unless otherwise noted
Test ConditionsLimits
V
ConditionsMin.Typ. Max.
DD
f
=455kHz,
OSC
¾
Ta=-20°C~70°C
f
OSC
3V
V
OH
V
OL
V
OL
V
3V
OL
=455kHz
¾¾¾1mA
=2V
=0.9V
=0.9V
=0.9V
2.2
¾
-5-10¾
0.30.8
14
14
3.6V
¾
0.10.3mA
¾
¾
¾
¾¾80¾
¾¾70¾
¾¾70¾
V
V
kHz
Unit
mA
mA
kW
5December 16, 1999
Functional Description
HT6240-002
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 in
struction.
CT maintains ²L² and no transmission code is
generated when two or more keys in standard
key are pressed.
Table 1 shows the relationship between the key
matrix and the transmission code.
Table 1
Transmission Code
Key Input
D1D0
IE000
IE101
IE210
IE311
Transmission Code
Scan Output
D4D3D2
OF0000
OF1001
OF2010
OF3011
OF4100
OF5101
OF6110
OF7111
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².
Fig. 1 shows an example of custom code selection.
-
DATA O F0 O F1 O F2 O F3 O F4
C ustom code
C01C11C20C30C41C50C60C7
Fig. 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.
DATA
D A T A code
SW =ON
SW =OFF
OF5 OF6 OF7
D5
D6
1
1
1
0
0
D7
0
0
Transmission Code
DATA Input
OF5
OF6
OF71
D7D6D5
¾¾
¾
1
1
¾
¾¾
SW
Fig. 2
6December 16, 1999
HT6240-002
Clock oscillating circuit
HT6240 has built-in feedback resistor and
CMOS inverter, so a ceramic resonator can con
nect between the oscillator circuit input pin
(OSCI) and the output pin (OSCO), (see Fig. 3).
When the ceramic resonator is set to 455kHz,
the carrier can be set 38kHz.
The oscillating circuit will stop when there is no
key pressed to save power dissipation.
H T6240-002
OSCIOSCO
C
LI
N ote: T hese capacitors depend on the resonators.
U se the values recom m ended by the resonator
m anufacturer.
Fig. 3
26.4m s
8.8m s
C
LO
Transmission code
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)
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.
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 for
mation of the 1-word transmission code. If a le
gal key is pressed, HT6240-002 will send at
least five words (see Fig. 8).
-
-
Fig. 4 Carrier
D0 D1 D2 D3 D4 D5
D ata code
Fig. 5 Formation of the transmission code
0.53m s
0.53m s
B it "0 "
2.11m s
0.53m s
B it "1 "
4.22m s
Fig. 6 Transmission code ²0² and ²1² and
pulse width of HT6240-002
7December 16, 1999
HT6240-002
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.
Table 2
OF0 OF1 OF2 OF3 OF4 OF5 OF6 OF7
IE0 0004080C 10* 14* 18* 1C*
IE1 0105 09* 0D* 11* 15* 19* 1D*
IE2 0206 0A* 0E* 12* 16* 1A* 1E*
IE3 0307 0B* 0F* 13* 17* 1B* 1F*
D0D1D2D3D4D5
1 w ord
50.6m s
Fig. 7 The formation of the 1-word transmission code
There are 64 instructions when the custom
code=²0000 0000² in HT6240-002. The trans
mission output CT is still ²L² and the transmis
sion code will not be sent when two or more keys
are pressed simultaneously.
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².
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.
-
-
1-w ord
50.6m s
1-w ord
50.6m s
1-w ord
50.6m s50.6m s
1-w ord1-w ord
Fig. 8 A legal key will send at least five words
8.44m s
H ead pulse
4.22m s4.22m s
C0C1C2 C3 C4 C5C6C7D0D1 D2 D3 D4D5D6 D7
C ustom codeD ata code
Fig. 9 The formation of the transmission code when custom code ¹²0000 0000²
8December 16, 1999
HT6240-002
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)
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 (t
0.1ms when the voltage in PRB pin (V
comes higher than 0.3V
V
pin exceeds 2.2V.
DD
) must be longer than
C
after the voltage in
DD
)be
C
When the power on reset function is activated,
the standby state continues until an ²L² is in
put to IE0~IE3.
Setting the custom codeS e ttin g D 5 , D 6 , D 7 b its
W
CT OF0 OF1 OF2 OF3VDDOF4 OF5 OF6 OF7
H T6240-002
TEST PR B O SC IO SCO DATAVSSIE0IE1IE2IE3
78910
455K
103
471
471
HT6240-002
Standard key
"1 "
or
"0 "
10December 16, 1999
Example (2)
47
Setting the custom codeD ouble-pushed key
V
DD
W
1k
W
V
DD
20191817161514131211
CT OF0 OF1 OF2 OF3VD DO F4 O F5 O F6 O F7
H T6240-002
TEST PR B O SC IO SCO DATAVSSIE0IE1IE2IE3
1234 5 6
455K
103
471
471
78910
HT6240-002
Standard key
"1 "
or
"0 "
(N o connection)
11December 16, 1999
Example (3)
HT6240-002
Setting custom code
Extended key
V
DD
Standard key
47
W
1k
W
V
DD
2019 1817161514131211
CT OF0 OF1 OF2 OF3VD DO F4 O F5 O F6 O F7
H T 6240-002
TEST PRB O SCIO SCO D ATAVSSIE0IE1IE2IE3
1234 5 6
455K
103
471
471
78910
"1 "
or
(N o connection)
12December 16, 1999
"0 "
Example (4)
47
V
DD
W
1k
W
V
DD
20191817161514131211
CT OF0 OF1 OF2 OF3VD DO F4 OF5 O F6 O F7
H T6240-002
TEST PR B O SC IO SCO DATAVSSIE0IE1IE2IE3
1234 5 6
455K
103
471
471
78910
HT6240-002
"1 "
or
"0 "
(N o connection)
13December 16, 1999
HT6240-002
Holtek Semiconductor Inc. (Headquarters)
No.3 Creation Rd. II, Science-based Industrial Park, Hsinchu, Taiwan, R.O.C.
Tel: 886-3-563-1999
Fax: 886-3-563-1189
Holtek Semiconductor Inc. (Taipei Office)
5F, No.576, Sec.7 Chung Hsiao E. Rd., Taipei, Taiwan, R.O.C.
Tel: 886-2-2782-9635
Fax: 886-2-2782-9636
Fax: 886-2-2782-7128 (International sales hotline)
Holtek Semiconductor (Hong Kong) Ltd.
RM.711, Tower 2, Cheung Sha Wan Plaza, 833 Cheung Sha Wan Rd., Kowloon, Hong Kong
Tel: 852-2-745-8288
Fax: 852-2-742-8657
Copyright Ó 1999 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 pres
ent a risk to human life due to malfunction or otherwise. 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.
14December 16, 1999
-
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.