HOLTEK HT62104

HT62104
Infrared Remote Encoder
Feature
General Description
• Operating voltage: 2.0V ~ 5.0V
The HT62104 devices are high performance infrared
remote control encoders which are manufactured in
silicon gate CMOS technology. The HT62104 devices
support eight data key inputs and an LED output to
indicate the transmission status. A signal transmission
is automatically activated when any key data input
lines change status from high to low.
• Eight data key control
• Two custom codes for product differentiation
• Start oscillation after key press for power saving
• LED output to indicate transmission status
• Direct 38kHz output frequency infrared LED
modulation
The device generates a signal which is composed of a
Start code, a Custom code and a Data code and sends
the signal to its output pin. This can be provided to an
IR (38kHz carrier) transmission medium.
• Signal gap time: T= 4 × 192 × (1/455kHz) ≈ 4 × 16 × (1/38kHz)
–– Signal gap time: 4T
• Low power consumption
• 16-Pin DIP/NSOP package
Applications
• Fan remote controls
• Audio remote controls
• Toy remote controls
• Consumer products remote controls
Block Diagram
VDD
VDD1
VSS1
VSS
C1
C2
Encoder
Output Driver
DOUT
LED
K1
K2
Timing Generator
K3
K4
K5
Data Latch
K6
Internal RC oscillator
K7
K8
Rev. 1.00
1
May 07, 2012
HT62104
Pin Assignment
Pin Description
Pin Name
Type
VDD/VDD1
—
Logic circuit positive power supply.
Description
VSS
—
Logic circuit negative power supply, ground.
VSS1
—
IR-LED negative power supply
C1, C2
I
Custom code inputs.
K1~K8
I
Remote control key inputs. Internally connected to pull-high resistors.
DOUT
O
Serial data output. NMOS open-drain structure.
LED
O
Transmission indicator. PMOS open-drain structure.
Approximate Internal Connections
K1 ~ K8
C1,C2
VDD
VDD
R
R
VSS
VSS
LED
DOUT
VDD
VDD
VSS1
VSS
Rev. 1.00
2
May 07, 2012
HT62104
Absolute Maximum Ratings
Storage Temperature …………………-55°C to 150°C
Supply Voltage…………………VSS-0.3V to VSS+6.5V
Operating Temperature ………………-10°C to 70°C
Input Voltage……………………VSS-0.3V to VDD+0.3V
Output Voltage…………………VSS-0.3V to VDD+0.3V
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.
Electrical Characteristics
Symbol
VDD
Parameter
Operating Voltage
Ta= 25°C
VDD
Test Condition
Condition
Min.
Typ.
Max.
Unit
―
―
2.0
―
5.0
V
―
0.6
0.9
mA
―
0.1
1.0
μA
IDD
Operating Current
3V
No load, C1 and C2 pins
floating
ISTB
Standby Current
3V
No load, Input pins
floating, Oscillator stops
VIH
Input High Voltage
(C1~C2, K1~K8)
3V
―
2.1
―
―
V
VIL
Input Low Voltage
(C1~C2, K1~K8)
3V
―
―
―
0.9
V
RPH1
Pull-high Resistor (C1~C2)
3V
―
25
50
75
kΩ
RPH2
Pull-high Resistor (K1~K8)
3V
―
500
900
1500
kΩ
IOH
LED Pin Output Source Current
3V
VOH= 2.7V
-2
―
-5
mA
IOL
DOUT Pin Output Sink Current
3V
VOL= 0.6V
300
tDW
Rev. 1.00
Single Data Bit Width
Ta=25°C, load=1kW for
2.0V~ DOUNT pin
3.6V 0°C < Ta=25°C < 50°C,
load=1kW for DOUNT pin
3
350
―
mA
Typ. 1.5%
1.688
Typ. +
1.5%
ms
Typ. 2.3%
1.688
Typ. +
2.3%
ms
May 07, 2012
HT62104
Functional Description
Signal Generation
The HT62104 Infrared remote control encoder provides a means for easy remote control signal encoding. As all functions, including the system oscillator,
are integrated within the device, the addition of external switches and an IR LED is all that is required to
implement a full Infrared remote control transmitter
function.
The device will encode and transmit a Start code, a
Custom code and a Data code upon receipt of a trigger
signal. The trigger signal is a high to low transition
on any of the data input pins, K1~K8. The pins are
normally kept at a high level by the internal pull-high
resistors.
Key Input Trigger
The device will generate an encoded signal on its output pin, DOUT, composed of a Start code, a Custom
code and a Data code. The signal is automatically
generated on the DOUT pin when any data input pin,
K1~K8, changes state from high to low. The internal
pull-high resistors keep these data input pins in a
normally high condition. The output signal on the
DOUT pin can be interfaced to an external IR LED
for wireless signal transmission.
The Signal transmission is initiated when any of the
key data input pins changes state from high to low.
If the pulse width of the trigger signal derived from
the key inputs, K1~K8, is less than or equal to 32ms,
there will no signal output on the DOUT pin. If the
pulse width of the trigger signal is greater than 32ms
and less than or equal to 4-frame widths, then a frame
code repeated 4 times, depending upon which key
input is pulled from a high state to a low state, will
be generated on the DOUT pin. If the triggered signal
pulse width is greater than 4-frame widths and less
than or equal to 8-frame widths, then a frame code will
be generated and repeated 8 times on the DOUT pin.
K1 ~ K8
ʀ 32 ms
4 Frame < active ʀ 8 Frame
32 ms < active ʀ 4 Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
Frame
DOUT
Note: 1.The key data input low signal pulse width must be greater than a 32ms duration for a full signal
transmission, which consists of a specific repeated frame code, to occur. If the input low signal is less than
or equal to 32ms, then no signal will be transmitted.
2.“Frame” indicates a specific frame code which is determined by the triggering key.
Frame Format
There are four frames that the encoder generates for each available sending trigger. The frame code contains three
fields including a 3-bit Start code (110), a 2-bit Custom code (C1, C2) and a 7-bit Data code. Each key data input
corresponds to a specific transmission code shown in the following table.
Frame Code Table
Key
Start Code (S)
Custom Code (C)
Data Code (D)
S2
S1
S0
C1
C2
D6
D5
D4
D3
D2
D1
D0
K1
1
1
0
C1
C2
0
0
0
0
0
0
1
K2
1
1
0
C1
C2
0
0
0
0
0
1
0
K3
1
1
0
C1
C2
0
0
0
0
1
0
0
K4
1
1
0
C1
C2
0
0
0
1
0
0
0
K5
1
1
0
C1
C2
0
0
1
0
0
0
0
K6
1
1
0
C1
C2
0
1
0
0
0
0
0
K7
1
1
0
C1
C2
1
0
0
0
0
1
1
K8
1
1
0
C1
C2
1
0
0
0
1
1
0
The C1 and C2 pins are internally connected to pull-high resistors whose status are decided by customers.
Connecting to GND represents a “0” while connecting to VDD or keeping in a floating state represents a “1”.
Rev. 1.00
4
May 07, 2012
HT62104
Frame Data Format On DOUT Pin
• A one Frame data format is shown below.
Press key
One frame
S 2
DOUT
Delay time
( 32 ms )
S 1
S 0
Start code
C 1
C 2
( 12
D 6
bits )
D 5
D 4
Custom code
D 3
D 2
D 1
D 0
Data code
• The time duration between Frame (n) and Frame (n+1) is called the Signal Gap Time. The Gap Time is counted
based on a unit period, denoted as “T”.
1
1 T = 4 λ = 4 × 192 ×
455 kHz
≈ 4 × 16 ×
1
38 kHz
–– For the HT62104 device, the Signal Gap Time is 4T.
Press key
Release key
S
DOUT
C
D
S
C
D
S
Gap Time
Delay time(32ms)
Frame 1
4T
C
D
Gap Time
Frame 2
4T
S
C
D
Gap Time
Frame 3
4T
Frame 4
Carrier Output Waveform
The carrier signal, with a frequency of 38kHz, is superimposed onto the output data signal which is used to
generate and data 0 and data 1 waveforms. The carrier signal is shown in the following diagram.
38 KHz carrier
8.77 µs
26 .3µs
DOUT Pin Bit Code Waveforms
As bits can be designated as either “0” or “1”, they must be encoded in a certain way as shown below.
tDW
38 kHz
3λ
λ
Bit “1”
λ
3λ
Bit “0”
Note:1.
1 λ = 192 ×
1
455 kHz
≈ 16 ×
1
38 kHz
2. Bit “1” consists of a “high” pulse for 1λ and a “38kHz carrier” for 3λ.
3. Bit “0” consists of a “high” pulse for 3λ and a “38kHz carrier” for 1λ.
Rev. 1.00
5
May 07, 2012
HT62104
Frame Code Transmission
Frame Code Transmission Timing
When a key input trigger occurs, the corresponding frame code will be output on the DOUT pin and the frame
code will be repeated 4 times. A data “1” will also appear on the LED pin after the internal RC oscillator starts to
oscillate.
K 1
< 1 ms
IRC
f OSC= 455 KHz
LED
32 ms
DOUT
K 1
K 1
K 1
K 1
FC 1
FC 1
FC 1
FC 1
12 T
Signal Gap Time
FC 1 : Key
1 Frame Code
Frame Code Transmission Timing
Sequential Key Input Transmission
When key input triggers occurs sequentially, the corresponding frame codes will be a sequential output on the
DOUT pin. The transmission waveform is shown in the following diagram.
>32ms
K1
K2
IRC
fOSC = 455kHz
LED
K2
K2
K2
FC2
32ms
32ms
FC 1: Key 1 Frame Code
FC 2: Key 2 Frame Code
K2
FC2
K2
FC2
FC1
K2
FC2
FC1
K2
FC2
FC1
K2
FC2
K1
FC2
K1
FC2
K1
FC1
DOUT
K1
Sequential Key Input Transmission
Rev. 1.00
6
May 07, 2012
HT62104
Overlapped Key Input Transmission
When two key input trigger pulses overlap, the time where the second trigger pulse occurs will determine what
frame code will be output on the DOUT pin. If the second trigger pulse occurs during the gap time, the following
frame code will be output on the DOUT pin and will be a combination of the two triggered frame codes. The
following diagram shows the transmission waveform.
K1
K2
IRC
fOSC = 455 kHz
LED
FC1 +
FC2
FC1 +
FC2
K2
K2
K2
FC2
FC1
K1+K2
FC2
K1+K2
FC2
K1+K2
FC1 +
FC2
K1
FC1
DOUT
K1
Gap Time
FC 1 + FC 2 : Combination of Key 1 and
Key 2 Frame Codes .
FC 1 : Key 1 Frame Code.
FC 2 : Key 2 Frame Code.
Overlapping Key Inputs Occurring During the Gap Time
If the second available trigger pulse occurs during the frame code transmission duration, the present frame code
being transmitted will still be output on the DOUT pin. Here the combination of the two triggered frame codes will
be consecutively output. The following diagram indicates the transmission waveform.
K1
K2
IRC
fOSC = 455 kHz
LED
K1+K2
K1+K2
K1+K2
K2
K2
FC1 +
FC2
FC1 +
FC2
FC1 +
FC2
FC2
FC2
FC1
K1
FC1
K1
FC1
DOUT
K1
Gap Time
FC 1 + FC 2 : Combination of Key 1 and
Key 2 Frame Codes.
FC 1 : Key 1 Frame Code.
FC 2 : Key 2 Frame Code.
Overlapping Key Inputs Occurring During a Frame Code Transmission
The same methodology can be applied on the rising transition of any available trigger pulses to see how the frame
code changes when overlapping key inputs occur.
Rev. 1.00
7
May 07, 2012
HT62104
Operation Flowchart
Power ON
Stand - By Mode
no
Any of the key
data input pin
in low state
yes
Data transmitted
no
Any of the key
data input pin
in low state
Rev. 1.00
8
yes
May 07, 2012
HT62104
VD
R2 10W
1
C1
4
K2
DOUT
K1
LED
K2
VDD1
K3
VSS1
K4
K8
K5
K7
VSS
K6
5
K3
C2
0.1mF
C2
3
K1
C1
220mF
VDD
6
K4
8
K6
14
13
12
11
10
LED
7
K5
16
15
2
C2
3V
C1
IR LED
R1 1W
VDD
IR333C-A(Q)
Single-point
connection for VDD
D1
Application Circuit
9
HT62104
K7
K8
VSS
Single-point
connection for GND
VSS1
VSS2
Figure 1 (See Note)
3V
330mF
1W
C1
1
C2
2
K1
3
K2
4
K3
5
K4
6
K5
7
8
C1
VDD
C2
DOUT
K1
LED
K2
VDD1
K3
VSS1
K4
K8
K5
K7
VSS
K6
16
15
IR LED
IR333C-A(Q)
14
13
LED
1mF
12
11
K8
10
K7
9
K6
HT62104
Figure 2
Note: 1. VDD1 provides power for the IR_LED; VDD provides power for the IC logic circuits. The two power
supplies, the C1 (220mF) positive terminal and the positive terminal of the battery must have a single-point
connection.
2. Before the VDD power supply is connected to the IC VDD pin, a capacitor C2 (0.1mF) must first be
connected close to the IC.
3. VSS1 is GND for the DOUT driver; VSS2 is GND for the LED driver; VSS is GND for the IC logic
circuits. The three GNDs, the negative terminal of C1 (220mF) and the negative terminal of the battery
must have a single-point connection.
4. If high current drive conditions for IR_LED result in instability on VDD (noise), it is recommend to add a
resistor R2 to stabilise VDD and VDD1 pins.
5. The DOUT and KEY tracks should be kept apart by a distance of 30mil or more.
6. During PCB manufacture, the DOUT, VDD, VSS, VSS1, and VSS2 tracks should not by made using
carbon tracks.
Rev. 1.00
9
May 07, 2012
HT62104
Package Information
Note that the package information provided here is for consultation purposes only. As this information may be
updated at regular intervals users are reminded to consult the Holtek website (http://www.holtek.com.tw/english/
literature/package.pdf) for the latest version of the package information.
16-pin DIP (300mil) Outline Dimensions
Fig1. Full Lead Packages
Fig2. 1/2 Lead Packages
MS-001d (see fig1)
Symbol
Dimensions in inch
Min.
Nom.
Max.
A
0.780
―
0.880
Symbol
A
Dimensions in mm
Min.
Nom.
Max.
19.81
―
22.35
B
0.240
―
0.280
B
6.10
―
7.11
C
0.115
―
0.195
C
2.92
―
4.95
D
0.115
―
0.150
D
2.92
―
3.81
E
0.014
―
0.022
E
0.36
―
0.56
1.78
F
0.045
―
0.070
F
1.14
―
G
―
0.100
―
G
―
2.54
―
H
0.300
―
0.325
H
7.62
―
8.26
I
―
0.430
―
I
―
10.92
―
MS-001d (see fig2)
Symbol
Dimensions in inch
Symbol
Dimensions in mm
Min.
Nom.
Max.
A
0.735
―
0.775
B
0.240
―
0.280
C
0.115
―
0.195
D
0.115
―
0.150
D
2.92
―
3.81
E
0.014
―
0.022
E
0.36
―
0.56
1.14
―
1.78
Min.
Nom.
Max.
18.67
―
19.69
B
6.10
―
7.11
C
2.92
―
4.95
A
F
0.045
―
0.070
F
G
―
0.100
―
G
―
2.54
―
H
0.300
―
0.325
H
7.62
―
8.26
I
―
0.430
―
I
―
10.92
―
Rev. 1.00
10
May 07, 2012
HT62104
16-pin NSOP (150mil) Outline Dimensions
MS-012
Symbol
Dimensions in inch
Min.
Nom.
Max.
A
0.228
―
0.244
Symbol
Dimensions in mm
Min.
Nom.
Max.
A
5.79
―
6.20
B
0.150
―
0.157
B
3.81
―
3.99
C
0.012
―
0.020
C
0.30
―
0.51
C’
0.386
―
0.402
C‘
9.80
―
10.21
D
―
―
0.069
D
―
―
1.75
E
―
0.050
―
E
―
1.27
―
F
0.004
―
0.010
F
0.10
―
0.25
G
0.016
―
0.050
G
0.41
―
1.27
H
0.007
―
0.010
H
0.18
―
0.25
α
0°
―
8°
α
0°
―
8°
Rev. 1.00
11
May 07, 2012
HT62104
Reel Dimensions
16-pin NSOP (150mil)
Symbol
Description
Dimensions in mm
A
Reel Outer Diameter
330.0±1.0
B
Reel Inner Diameter
100.0±1.5
C
Spindle Hole Diameter
13.0 +0.5/-0.2
D
Key Slit Width
T1
Space Between Flange
T2
Reel Thickness
Rev. 1.00
2.0±0.5
16.8 +0.3/-0.2
22.2±0.2
12
May 07, 2012
HT62104
Carrier Tape Dimensions
 16-pin NSOP (150mil)
Symbol
Description
Dimensions in mm
W
Carrier Tape Width
16.0±0.3
P
Cavity Pitch
8.0±0.1
E
Perforation Position
F
Cavity to Perforation (Width Direction)
D
Perforation Diameter
1.55+0.15/-0.00
D1
Cavity Hole Diameter
1.50 +0.25/-0.00
P0
Perforation Pitch
4.0±0.1
P1
Cavity to Perforation (Length Direction)
2.0±0.1
A0
Cavity Length
6.5±0.1
B0
Cavity Width
10.3±0.1
K0
Cavity Depth
2.1±0.1
1.75±0.10
7.5±0.1
t
Carrier Tape Thickness
0.30±0.05
C
Cover Tape Width
13.3±0.1
Rev. 1.00
13
May 07, 2012
HT62104
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. (Shenzhen Sales Office)
5F, Unit A, Productivity Building, No.5 Gaoxin M 2nd Road, Nanshan District, Shenzhen, China 518057
Tel: 86-755-8616-9908, 86-755-8616-9308
Fax: 86-755-8616-9722
Holtek Semiconductor (USA), Inc. (North America Sales Office)
46729 Fremont Blvd., Fremont, CA 94538, USA
Tel: 1-510-252-9880
Fax: 1-510-252-9885
http://www.holtek.com
Copyright© 2012 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.00
14
May 07, 2012