Documente Academic
Documente Profesional
Documente Cultură
Applications
· Burglar alarm system · Car alarm system
· Smoke and fire alarm system · Security system
· Garage door controllers · Cordless telephones
· Car door controllers · Other remote control systems
General Description
12
The 2 encoders are a series of CMOS LSIs for remote bits via an RF or an infrared transmission medium upon
control system applications. They are capable of encod- receipt of a trigger signal. The capability to select a TE
ing information which consists of N address bits and trigger on the HT12E or a DATA trigger on the HT12A
12-N data bits. Each address/data input can be set to further enhances the application flexibility of the 212 se-
one of the two logic states. The programmed ad- ries of encoders. The HT12A additionally provides a
dresses/data are transmitted together with the header 38kHz carrier for infrared systems.
Selection Table
Function Address Address/ Carrier Negative
Data No. Oscillator Trigger Package
Part No. No. Data No. Output Polarity
455kHz
HT12A 8 0 4 D8~D11 38kHz No 18DIP, 20SOP
resonator
RC
HT12E 8 4 0 TE No No 18DIP, 20SOP
oscillator
Note: Address/Data represents pins that can be either address or data according to the application requirement.
Block Diagram
TE Trigger
HT12E
O S C 2 O S C 1
O s c illa to r ¸ 3 D iv id e r D a ta S e le c t D O U T
T E
& B u ffe r
¸ 1 2 C o u n te r & S y n c .
A 0
1 o f 1 2 D e c o d e r C ir c u it
1 2 T r a n s m is s io n
G a te C ir c u it
A 7 B in a r y D e te c to r
A D 8 A D 1 1 V D D V S S
DATA Trigger
HT12A
X 2 X 1
O s c illa to r ¸ 5 7 6 D iv id e r D a ta S e le c t D O U T
& B u ffe r
L /M B
¸ 1 2 C o u n te r & S y n c .
A 0
1 o f 1 2 D e c o d e r C ir c u it
1 2 T r a n s m is s io n
G a te C ir c u it
A 7
B in a r y D e te c to r
D 8 D 1 1 V D D V S S
Note: The address data pins are available in various combinations (refer to the address/data table).
Pin Assignment
8 -A d d re s s 8 -A d d re s s 8 -A d d re s s 8 -A d d re s s
4 -D a ta 4 -D a ta 4 -A d d r e s s /D a ta 4 -A d d r e s s /D a ta
N C 1 2 0 N C N C 1 2 0 N C
A 0 1 1 8 V D D A 0 2 1 9 V D D A 0 1 1 8 V D D A 0 2 1 9 V D D
A 1 2 1 7 D O U T A 1 3 1 8 D O U T A 1 2 1 7 D O U T A 1 3 1 8 D O U T
A 2 3 1 6 X 1 A 2 4 1 7 X 1 A 2 3 1 6 O S C 1 A 2 4 1 7 O S C 1
A 3 4 1 5 X 2 A 3 5 1 6 X 2 A 3 4 1 5 O S C 2 A 3 5 1 6 O S C 2
A 4 5 1 4 L /M A 4 6 1 5 L /M A 4 5 1 4 T E A 4 6 1 5 T E
A 5 6 1 3 D 1 1 A 5 7 1 4 D 1 1 A 5 6 1 3 A D 1 1 A 5 7 1 4 A D 1 1
A 6 7 1 2 D 1 0 A 6 8 1 3 D 1 0 A 6 7 1 2 A D 1 0 A 6 8 1 3 A D 1 0
A 7 8 1 1 D 9 A 7 9 1 2 D 9 A 7 8 1 1 A D 9 A 7 9 1 2 A D 9
V S S 9 1 0 D 8 V S S 1 0 1 1 D 8 V S S 9 1 0 A D 8 V S S 1 0 1 1 A D 8
H T 1 2 A H T 1 2 A H T 1 2 E H T 1 2 E
1 8 D IP -A 2 0 S O P -A 1 8 D IP -A 2 0 S O P -A
Pin Description
Internal
Pin Name I/O Description
Connection
CMOS IN Pull-high Input pins for address A0~A7 setting
A0~A7 I
(HT12A) These pins can be externally set to VSS or left open
NMOS TRANSMISSION
GATE PROTECTION
DIODE (HT12E)
NMOS TRANSMISSION
Input pins for address/data AD8~AD11 setting
AD8~AD11 I GATE PROTECTION
These pins can be externally set to VSS or left open
DIODE (HT12E)
Input pins for data D8~D11 setting and transmission enable, active
D8~D11 I CMOS IN Pull-high low
These pins should be externally set to VSS or left open (see Note)
DOUT O CMOS OUT Encoder data serial transmission output
Latch/Momentary transmission format selection pin:
L/M I CMOS IN Pull-high Latch: Floating or VDD
Momentary: VSS
TE I CMOS IN Pull-high Transmission enable, active low (see Note)
OSC1 I OSCILLATOR 1 Oscillator input pin
OSC2 O OSCILLATOR 1 Oscillator output pin
X1 I OSCILLATOR 2 455kHz resonator oscillator input
X2 O OSCILLATOR 2 455kHz resonator oscillator output
VSS I ¾ Negative power supply, ground
Note: D8~D11 are all data input and transmission enable pins of the HT12A.
TE is a transmission enable pin of the HT12E.
N M O S C M O S IN
T R A N S M IS S IO N C M O S O U T O S C IL L A T O R 1
P u ll- h ig h
G A T E
E N O S C 2
O S C 1
O S C IL L A T O R 2 N M O S T R A N S M IS S IO N G A T E
P R O T E C T IO N D IO D E
X 1 X 2
V D D
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 reliabil-
ity.
Electrical Characteristics
HT12A Ta=25°C
Test Conditions
Symbol Parameter Min. Typ. Max. Unit
VDD Conditions
VDD Operating Voltage ¾ ¾ 2.4 3 5 V
3V ¾ 0.1 1 mA
ISTB Standby Current Oscillator stops
5V ¾ 0.1 1 mA
3V No load ¾ 200 400 mA
IDD Operating Current
fOSC=455kHz
5V ¾ 400 800 mA
VOH=0.9VDD (Source) -1 -1.6 ¾ mA
IDOUT Output Drive Current 5V
VOL=0.1VDD (Sink) 2 3.2 ¾ mA
VIH ²H² Input Voltage ¾ ¾ 0.8VDD ¾ VDD V
VIL ²L² Input Voltage ¾ ¾ 0 ¾ 0.2VDD V
D8~D11 Pull-high
RDATA 5V VDATA=0V ¾ 150 300 kW
Resistance
HT12E Ta=25°C
Test Conditions
Symbol Parameter Min. Typ. Max. Unit
VDD Conditions
VDD Operating Voltage ¾ ¾ 2.4 5 12 V
3V ¾ 0.1 1 mA
ISTB Standby Current Oscillator stops
12V ¾ 2 4 mA
3V ¾ 40 80 mA
IDD Operating Current No load, fOSC=3kHz
12V ¾ 150 300 mA
VOH=0.9VDD (Source) -1 -1.6 ¾ mA
IDOUT Output Drive Current 5V
VOL=0.1VDD (Sink) 1 1.6 ¾ mA
VIH ²H² Input Voltage ¾ ¾ 0.8VDD ¾ VDD V
VIL ²L² Input Voltage ¾ ¾ 0 ¾ 0.2VDD V
fOSC Oscillator Frequency 5V ROSC=1.1MW ¾ 3 ¾ kHz
RTE TE Pull-high Resistance 5V VTE=0V ¾ 1.5 3 MW
Functional Description
Operation
The 212 series of encoders begin a 4-word transmission cycle upon receipt of a transmission enable (TE for the HT12E
or D8~D11 for the HT12A, active low). This cycle will repeat itself as long as the transmission enable (TE or D8~D11) is
held low. Once the transmission enable returns high the encoder output completes its final cycle and then stops as
shown below.
T E
< 1 w o rd
E n c o d e r
D O U T
4 w o rd s T r a n s m itte d 4 w o rd s
C o n tin u o u s ly
D 8 ~ D 1 1
K e y - in
< 1 w o rd
E n c o d e r
D O U T w ith 3 8 k H z c a r r ie r
1 w o rd T r a n s m itte d 1 w o rd
C o n tin u o u s ly
D 8 ~ D 1 1
K e y - in ( a ll d a ta = 1 )
< 1 w o rd 7 w o rd s
E n c o d e r
D O U T
7 w o rd s T r a n s m itte d 1 w o rd
C o n tin u o u s ly
1 w o rd ( a ll d a ta = 1 )
Information Word
If L/M=1 the device is in the latch mode (for use with the latch type of data decoders). When the transmission enable is re-
moved during a transmission, the DOUT pin outputs a complete word and then stops. On the other hand, if L/M=0 the de-
vice is in the momentary mode (for use with the momentary type of data decoders). When the transmission enable is
removed during a transmission, the DOUT outputs a complete word and then adds 7 words all with the ²1² data code.
An information word consists of 4 periods as illustrated below.
1 /3 b it s y n c . p e r io d
p ilo t p e r io d ( 1 2 b its ) a d d r e s s c o d e p e r io d d a ta c o d e
p e r io d
Composition of information
Address/Data Waveform
Each programmable address/data pin can be externally set to one of the following two logic states as shown below.
fO S C
"O n e "
"Z e ro "
A d d re s s /
D a ta B it
fO S C
3 8 k H z
"O n e " c a r r ie r
D a ta B it
"Z e ro "
D a ta B it
"O n e "
A d d r e s s B it
"Z e ro "
A d d r e s s B it
The address/data bits of the HT12A are transmitted with a 38kHz carrier for infrared remote controller flexibility.
O S C 1 O S C 2
T r a n s m is s io n
D O U T m e d iu m
V D D A 0 A 1 A 2 A 3 A 4 A 5 A 6 A 7 V S S T E A D 8 A D 9 A D 1 0 A D 1 1
V D D
V S S
Address/Data Sequence
The following provides the address/data sequence table for various models of the 212 series of encoders.
Address/Data Bits
Part No.
0 1 2 3 4 5 6 7 8 9 10 11
HT12A A0 A1 A2 A3 A4 A5 A6 A7 D8 D9 D10 D11
HT12E A0 A1 A2 A3 A4 A5 A6 A7 AD8 AD9 AD10 AD11
Transmission Enable
For the HT12E encoders, transmission is enabled by applying a low signal to the TE pin. For the HT12A encoders,
transmission is enabled by applying a low signal to one of the data pins D8~D11.
O S C 2 V D D
O S C 1 A D 1 1
T E A D 1 0
A D 9
V S S
A D 8
1 2 V
H T 1 2 E
1 2 V
O S C 2 V D D
O S C 1 A D 1 1
T E A D 1 0
A D 9
V S S
A D 8
H T 1 2 E
Flowchart
· HT12A · HT12E
P o w e r o n P o w e r o n
S ta n d b y m o d e S ta n d b y m o d e
N o D a ta e n a b le ? N o T r a n s m is s io n
e n a b le d ?
Y e s Y e s
D a ta w ith c a r r ie r 4 d a ta w o rd s
s e r ia l o u tp u t tr a n s m itte d
Y e s N o T r a n s m is s io n
D a ta s till e n a b le d ?
s till e n a b le d
N o Y e s
Y e s 4 d a ta w o rd s
L /M B = G N D ? tr a n s m itte d
c o n tin u o u s ly
N o
S e n d th e S e n d ² 1 ² 7 tim e s fo r
la s t c o d e a ll o f th e d a ta c o d e s
fO S C
(S c a le )
R O S C (W )
7 .0 0
4 7 0 k
5 1 0 k
6 .0 0
5 6 0 k
6 2 0 k
5 .0 0
6 8 0 k
7 5 0 k
4 .0 0 8 2 0 k
9 1 0 k
1 .0 M
(3 k H z )3 .0 0
1 .2 M
1 .5 M
2 .0 0
2 .0 M
1 .0 0
2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 V D D (V D C )
Application Circuits
V D D 1 0 0 W
T r a n s m itte r C ir c u it
V D D
1 A 0 V D D 1 8
8 0 5 0 1 A 0 V D D 1 8
2 1 7 1 0 k W
A 1 D O U T 2 1 7
A 1 D O U T
3 1 6 4 5 5 K
A 2 X 1 1 0 0 p F 3 1 6
A 2 O S C 1
1 0 M W R O S C
4 1 5 4 A 3 O S C 2 1 5
A 3 X 2 1 0 0 p F
5 1 4 5 A 4 T E 1 4
A 4 L /M B
6 1 3 6 A 5 A D 1 1 1 3
A 5 D 1 1
7 1 2 7 A 6 A D 1 0 1 2
A 6 D 1 0
8 1 1 8 A 7 A D 9 1 1
A 7 D 9
9 1 0 9 1 0
V S S D 8 V S S A D 8
H T 1 2 A H T 1 2 E
Package Information
18-pin DIP (300mil) Outline Dimensions
1 8 1 0
B
1 9
D
a
E G I
F
Dimensions in mil
Symbol
Min. Nom. Max.
A 895 ¾ 915
B 240 ¾ 260
C 125 ¾ 135
D 125 ¾ 145
E 16 ¾ 20
F 50 ¾ 70
G ¾ 100 ¾
H 295 ¾ 315
I 335 ¾ 375
a 0° ¾ 15°
2 0 1 1
A B
1 1 0
C '
G
D H
E F a
Dimensions in mil
Symbol
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°
D
T 2
A B C
T 1
SOP 20W
Symbol Description Dimensions in mm
A Reel Outer Diameter 330±1.0
B Reel Inner Diameter 62±1.5
13.0+0.5
C Spindle Hole Diameter
-0.2
D Key Slit Width 2.0±0.5
24.8+0.3
T1 Space Between Flange
-0.2
T2 Reel Thickness 30.2±0.2
P 0 P 1
D t
F
W
B 0
C
D 1 P
K 0
A 0
SOP 20W
Symbol Description Dimensions in mm
24.0+0.3
W Carrier Tape Width
-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