HT6P20B2/D2/F2 Remote Control Encoder

HT6P20B2/D2/F2
Remote Control Encoder
Features
●● Operating voltage: 2~12V
●● Low power consumption
●● Up to 5 data pins
●● Up to 222 address codes
●● Fully Integrated Oscillator
●● Easy interfacing to RF medium
●● CMOS technology
●● High noise immunity
●● 8-Pin SOP package for HT6P20B2, HT6P20D2 and HT6P20F2
●● 8-Pin DIP package for HT6P20B2
Application
●● Burglar alarm systems
●● Smoke and fire alarm systems
●● Personal alarm systems
●● Car/Garage door controllers
●● Home/office/car security systems
●● Cordless telephones
●● Other remote control systems
General Description
The HT6P20X2 series of devices are signal encoders designed for remote control system
applications. The devices are capable of encoding 24 bits of information and then serially
transmitting the data on their output pin. A signal transmission is automatically activated when
any of the data input lines change from high to low. The device generates a signal on its output pin
which is composed of a pilot signal, address codes, data codes and an end code. This can be sent
to RF transmitter circuits for wireless transmission. Various configurations of address and data bits
can be chosen according to which device is selected. As all functions are integrated into the device,
the simple addition of switches and RF module is that is required to implement a full RF encoder
function. .
Selection Table
The devices encodes 24-bits of information however the address/data combination is selected
according to which part number is selected.
Rev 1.10
Part Number
Address
Data
HT6P20B2
22
2
HT6P20D2
20
4
HT6P20F2
19
5
1
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
Block Diagram
Internal
RC oscillator
System timing
VDD
VSS
D0
Code
Generation
Control
unit
D1
DOUT
Data
Latch
D2
D3
Mix Data / Address
D4
Note: Address and Data combinations are available in various formats.
Pin Assignment

Pin Description
Pin Name
Type
Description
VDD
―
Positive power supply
VSS
―
Negative power supply
D0~D4
I
Data input and transmission enable - active low
Connected to internal pull-high resistor
Pins can be pulled low or left open
DOUT
O
Data serial transmission output pin
Output normally low when not transmitting
Approximate Internal Equivalent Circuits
Rev 1.10
2
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
Absolute Maximum Ratings
Supply Voltage ..................................................................................................VSS-0.3V to VSS+15V
Input Voltage ................................................................................................... VSS-0.3V to VDD+0.3V
Output Voltage.................................................................................................. VSS-0.3V to VDD+0.3V
Storage Temperature ................................................................................................... -55°C to 150°C
Operating Temperature ................................................................................................. -40°C to 85°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.
D.C. Characteristics
Ta=25°C
Symbol
VDD
Test Conditions
Parameter
VDD
Supply Voltage
ISB
Stand-by current
IOP
Operating current
VIH
VIL
Conditions
Min.
Typ.
Max.
Unit
―
―
2
―
12
V
12
No load
Input pins floating
―
―
1.0
μA
No load
Single data input pin “low”
―
30
100
12
5
―
300
500
“H” Input Voltage
―
―
0.8VDD
―
―
V
“L” Input Voltage
―
―
―
―
0.2VDD
V
RPH
Pull-high Resistor
5
12
D0~D4
―
―
400
150
800
300
KΩ
IOH
Hi-level output current
-2
-2.5
―
mA
-6.5
-15
―
mA
IOL
Low-level output current
2
2.5
―
mA
6.5
15
―
mA
tDW
Single bit data width
1.08
1.2
1.32
ms
5
VOH=0.9VDD ; DOUT
12
5
VOL=0.1VDD ; DOUT
12
5
―
μA
Note: Single bit data width (tDW) vs. VDD curve is shown as below:
tDW vs. VDD
2.5
tDW (ms)
2
1.5
1
0.5
0
0
1
2
3
4
5
6
7
8
9
10
11
12
13
VDD (V)
Rev 1.10
3
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
Functional Description
The HT6P20X2 series of remote control devices provide a means for easy remote control signal
encoding. As all functions, including the system oscillator, are integrated within the devices, the
addition of external switches and an RF transmitter is all that is required to implement a full remote
control transmitter function.
The devices will generate an encoded signal on their output pin, DOUT, composed of pilot code,
address code, data code and end code. The signal is automatically generated on the DOUT pin when
any of the data input pins, D0~D4, change from high to low. Internal pull-high resistors keep these
data input pins in a normally high condition. The output signal can be interfaced to RF modules for
wireless signal transmission.
Signal Generation
The devices will encode and transmit pilot code, address/data and end code, upon receipt of a trigger
signal. The trigger signal is a high to low transition on any of the data input pins, D0~D4. The pins
are normally kept at a high level by internal pull-high resistors.
Code Word
What is known in this datasheet as a code word is a packet of information composed of pilot code,
address code, data code and end code. The pilot code and end code is the same for all devices. The
address and data combinations are shown in the following signal descriptions.
HT6P20B2
Pilot code
A0~A21
D1~D0
End code (0101)
A0~A19
D3~D0
End code (0101)
A0~A18
D4~D0
End code (0101)
HT6P20D2
Pilot code
HT6P20F2
Pilot code
The following shows a complete code word transmission signal. Note that if the Data lines remain
low then the signal will be continuously transmitted.
VDD
D0~D4
VSS
1ms
Max.
VDD
DOUT
VSS
Pi�ot
code
�dd�ee/data/end code
Signal Trigger
Signal transmission is initiated when any of the data input pins change from high to low. Note that
the duration of the data input low signals must be greater than the pilot code length for a full signal
transmission to occur. If the input low signal is less than the pilot code length then only the pilot
code signal will be transmitted and no address, data or end code will be transmitted.
D0~D4
< Pi�ot code
> 1 code wo�d
Pi�ot code < �ctive < 1 code wo�d
1 code
wo�d
DOUT
Rev 1.10
4
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
Pilot Code
Each transmission has a pilot code preceding the address and data codes. This is to alert the decoder
that address and data bits are about to be transmitted. The pilot code waveform is composed of a low
pulse of 23λ duration followed by a high pulse of 1λ duration. Note that a 1λtime unit is equal to 32
internal oscillator time periods.
The pilot code is initiated when any of the data input pins change from high to low. Note that the
duration of the data input low signals must be greater than the pilot code length for a full signal
transmission to occur. If the input low signal is less than the pilot code length then only the pilot
code signal will be transmitted and no address, data or end code will be transmitted.
1λ
23λ
Address/Data Bit Waveform
As address/data bits can be designated as either ”0” or “1” they must be encoded in a certain way.
One bit consists of one pulse cycle and each pulse cycle has a duration of 96 internal oscillator
periods.
tDW
Bit“0”
Bit“1”
1λ
2λ
1λ
2λ
Address/
Data bit
Note: ● 1λ = 32 internal oscillator time periods.
● Bit “0” consists of a “low” pulse for 1λ then a “high” pulse for 2λ.
● Bit “1” consists of a “low” pulse for 2λ then a “high” pulse for 1λ.
End code Waveform
The end code is located after the address/data and consists of 4 bits of data with the bit pattern 0101
as shown below
Bit”0"
MSB
Rev 1.10
Bit”1"
Bit”0"
End code (0-1-0-1)
5
Bit”1"
LSB
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
Operation Flowchart
Powe� ON
Stand-By Mode
no
Data in�ut Pin in
Low State
yes
1 wo�d of �i�ot
code/add�ess/data/end code
t�ansmitted
no
Rev 1.10
Data in�ut Pin
sti�� in Low State
6
yes
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
Application Circuit
HT6P20B2
C4
L1
VBAT
ANT
C1
C2
C3
HT6P20B2
5
R2
6
7
NPN
R3
8
R1
NC
DOUT
VDD
NC
NC
VSS
D1
D0
4
3
2
1
S2
S1
LED
HT6P20D2
C4
L1
VBAT
HT6P20D2
ANT
C1
C2
1
C3
2
R2
3
NPN
4
R3
VDD
NC
VSS
D3
DOUT
D2
D0
D1
8
7
6
5
S4
S3
S2
S1
R1
LED
Rev 1.10
7
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
HT6P20F2
C4
VBAT
2.2uH
HT6P20F2
ANT
C1
C2
1
C3
2
R2
3
NPN
4
R3
VDD
VSS
DOUT
D0
D4
D3
D2
D1
8
7
6
5
S5
S4
S3
S2
S1
R1
LED
Rev 1.10
8
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
Package Information
8-pin SOP (150mil) Outline Dimensions
●● MS-012
Symbol
Nom.
Max.
A
0.228
―
0.244
B
0.150
―
0.157
C
0.012
―
0.020
C’
0.188
―
0.197
D
―
―
0.069
E
―
0.050
―
F
0.004
―
0.010
G
0.016
―
0.050
H
0.007
―
0.010
α
0°
―
8°
Symbol
Rev 1.10
Dimensions in inch
Min.
Dimensions in mm
Min.
Nom.
A
5.79
―
Max.
6.20
B
3.81
―
3.99
0.51
C
0.30
―
C’
4.78
―
5.00
D
―
―
1.75
E
―
1.27
―
F
0.10
―
0.25
G
0.41
―
1.27
H
0.18
―
0.25
α
0°
―
8°
9
April 26, 2011
HT6P20B2/D2/F2
Package Information
Remote Control Encoder
Plastic DIP Outline Dimensions
8-pin DIP
Dimensions
8-pin
DIP(300mil)
(300mil)Outline
Outline
Dimensions
Symbol Symbol
Dimensions
Dimensions
in inch in inch
Nom. Nom.
Max.
Max.
A
A
0.355
0.355
―
B
B
0.240
0.240
―
0.375 0.375
0.260 0.260
C
C
0.125
0.125
―
0.135 0.135
D
D
0.125
0.125
―
0.145 0.145
E
E
0.016
0.016
—
0.020 0.020
F
F
0.050
0.050
―
G
G
—
0.100
0.100
H
H
0.295
0.295
―
I
I
—
0.375
0.375
Symbol Symbol
Dimensions
Dimensions
in mm in mm
Nom.
Nom.
―
0.070 0.070
—
0.315 0.315
—
Min.
Min.
A
9.02
9.02
B
B
6.10
6.10
―
6.60
6.60
C
C
3.18
3.18
―
3.43
3.43
D
D
3.18
3.18
―
3.68
3.68
E
E
0.41
0.41
―
0.51
0.51
F
F
1.27
1.27
—
1.78
1.78
G
G
—
2.54
2.54
—
H
H
7.49
7.49
―
8.00
8.00
I
I
—
9.53
9.53
—
A
Rev 1.10
Min.
Min.
10
1
Max.
Max.
9.53
9.53
April 1, 2010
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
Reel Dimensions
●● SOP 8N
Symbol
Rev 1.10
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
D
Key Slit Width
T1
Space Between Flange
12.8+0.3/-0.2
T2
Reel Thickness
18.2±0.2
+0.5/-0.2
2.0±0.5
11
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
Carrier Tape Dimensions
 ●● SOP 8N
Symbol
Rev 1.10
Description
W
Carrier Tape Width
Dimensions in mm
12.0+0.3/-0.1
P
Cavity Pitch
8.0±0.1
E
Perforation Position
1.75±0.1
F
Cavity to Perforation (Width Direction)
5.5±0.1
D
Perforation Diameter
1.55±0.1
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.4±0.1
B0
Cavity Width
5.2±0.1
K0
Cavity Depth
2.1±0.1
t
Carrier Tape Thickness
C
Cover Tape Width
0.30±0.05
9.3±0.1
12
April 26, 2011
HT6P20B2/D2/F2
Remote Control Encoder
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© 2011 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.10
13
April 26, 2011