HT12D Holtek -receptor - decoder
HT12D Holtek -receptor - decoder
Features
· Operating voltage: 2.4V~12V · Built-in oscillator needs only 5% resistor
· Low power and high noise immunity CMOS · Valid transmission indicator
technology · Easy interface with an RF or an infrared transmission
· Low standby current medium
· Capable of decoding 12 bits of information · Minimal external components
· Binary address setting · Pair with Holtek¢s 212 series of encoders
· Received codes are checked 3 times · 18-pin DIP, 20-pin SOP package
· Address/Data number combination
- HT12D: 8 address bits and 4 data bits
- HT12F: 12 address bits only
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
The 212 decoders are a series of CMOS LSIs for remote ously with their local addresses. If no error or un-
control system applications. They are paired with matched codes are found, the input data codes are
Holtek¢s 212 series of encoders (refer to the encoder/de- decoded and then transferred to the output pins. The VT
coder cross reference table). For proper operation, a pin also goes high to indicate a valid transmission.
pair of encoder/decoder with the same number of ad- The 212 series of decoders are capable of decoding
dresses and data format should be chosen.
informations that consist of N bits of address and 12-N
The decoders receive serial addresses and data from a bits of data. Of this series, the HT12D is arranged to pro-
programmed 212 series of encoders that are transmitted vide 8 address bits and 4 data bits, and HT12F is used to
by a carrier using an RF or an IR transmission medium. decode 12 bits of address information.
They compare the serial input data three times continu-
Selection Table
Function Address Data
VT Oscillator Trigger Package
Part No. No. No. Type
HT12D 8 4 L Ö RC oscillator DIN active ²Hi² 20SOP
HT12F 12 0 ¾ Ö RC oscillator DIN active ²Hi² 18DIP, 20SOP
Block Diagram
O S C 2 O S C 1
O s c illa to r D iv id e r
D a ta S h ift D a ta
L a tc h C ir c u it
R e g is te r
D IN B u ffe r D a ta D e te c to r
S y n c . D e te c to r C o m p a ra to r C o m p a ra to r C o n tr o l L o g ic
T r a n s m is s io n G a te C ir c u it B u ffe r V T
A d d re s s V D D V S S
Note: The address/data pins are available in various combinations (see the address/data table).
Pin Assignment
8 -A d d re s s 1 2 -A d d re s s 1 2 -A d d re s s
4 -D a ta 0 -D a ta 0 -D a ta
N C 1 2 0 N C N C 1 2 0 N C
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 3 1 8 V T A 1 2 1 7 V T A 1 3 1 8 V T
A 2 4 1 7 O S C 1 A 2 3 1 6 O S C 1 A 2 4 1 7 O S C 1
A 3 5 1 6 O S C 2 A 3 4 1 5 O S C 2 A 3 5 1 6 O S C 2
A 4 6 1 5 D IN A 4 5 1 4 D IN A 4 6 1 5 D IN
A 5 7 1 4 D 1 1 A 5 6 1 3 A 1 1 A 5 7 1 4 A 1 1
A 6 8 1 3 D 1 0 A 6 7 1 2 A 1 0 A 6 8 1 3 A 1 0
A 7 9 1 2 D 9 A 7 8 1 1 A 9 A 7 9 1 2 A 9
V S S 1 0 1 1 D 8 V S S 9 1 0 A 8 V S S 1 0 1 1 A 8
H T 1 2 D H T 1 2 F H T 1 2 F
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
Input pins for address A0~A11 setting
A0~A11 (HT12F)
NMOS These pins can be externally set to VSS or left open.
I
Transmission Gate Input pins for address A0~A7 setting
A0~A7 (HT12D)
These pins can be externally set to VSS or left open.
D8~D11 (HT12D) O CMOS OUT Output data pins, power-on state is low.
DIN I CMOS IN Serial data input pin
VT O CMOS OUT Valid transmission, active high
OSC1 I Oscillator Oscillator input pin
OSC2 O Oscillator Oscillator output pin
VSS ¾ ¾ Negative power supply, ground
N M O S
T r a n s m is s io n G a te C M O S O U T C M O S IN O s c illa to r
E N
O S C 2
O S C 1
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.
Test Conditions
Symbol Parameter Min. Typ. Max. Unit
VDD Conditions
VDD Operating Voltage ¾ ¾ 2.4 5 12 V
5V ¾ 0.1 1 mA
ISTB Standby Current Oscillator stops
12V ¾ 2 4 mA
IDD Operating Current 5V No load, fOSC=150kHz ¾ 200 400 mA
Data Output Source Current (D8~D11) 5V VOH=4.5V -1 -1.6 ¾ mA
IO
Data Output Sink Current (D8~D11) 5V VOL=0.5V 1 1.6 ¾ mA
Functional Description
Operation Flowchart
The 212 series of decoders provides various combina- The oscillator is disabled in the standby state and acti-
tions of addresses and data pins in different packages vated when a logic ²high² signal applies to the DIN pin.
so as to pair with the 212 series of encoders. That is to say, the DIN should be kept low if there is no
The decoders receive data that are transmitted by an signal input.
encoder and interpret the first N bits of code period as
P o w e r o n
addresses and the last 12-N bits as data, where N is the
address code number. A signal on the DIN pin activates
the oscillator which in turn decodes the incoming ad- S ta n d b y m o d e
dress and data. The decoders will then check the re-
ceived address three times continuously. If the received
N o D is a b le V T &
address codes all match the contents of the decoder¢s C o d e in ? ig n o r e th e r e s t o f
th is w o r d
local address, the 12-N bits of data are decoded to acti-
vate the output pins and the VT pin is set high to indicate Y e s
a valid transmission. This will last unless the address
code is incorrect or no signal is received. A d d r e s s b its N o
m a tc h e d ?
The output of the VT pin is high only when the transmis-
sion is valid. Otherwise it is always low. Y e s
Output Type S to re d a ta
12
Of the 2 series of decoders, the HT12F has no data
output pin but its VT pin can be used as a momentary M a tc h N o
p r e v io u s s to r e d
data output. The HT12D, on the other hand, provides 4 d a ta ?
latch type data pins whose data remain unchanged until
Y e s
new data are received.
HT12F 0 12 ¾ 2.4V~12V L a tc h d a ta
to o u tp u t &
a c tiv a te V T
N o A d d re s s o r
d a ta e rro r ?
Y e s
Decoder Timing
E n c o d e r
T r a n s m is s io n
E n a b le
< 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
1 4
C o n tin u o u s ly 1 4
2 c lo c k s 2 c lo c k s
D e c o d e r V T
c h e c k c h e c k
L a tc h e d
D a ta O u t
Address/Data Sequence
The following table provides address/data sequence for various models of the 212 series of decoders.
Address/Data Bits
Part No.
0 1 2 3 4 5 6 7 8 9 10 11
HT12D A0 A1 A2 A3 A4 A5 A6 A7 D8 D9 D10 D11
HT12F A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11
fo s c
(S c a le )
R o s c (W )
4 .0 0
2 7 k W
3 .5 0
3 0 k W
3 3 k W
3 .0 0
3 6 k W
3 9 k W
4 3 k W
2 .5 0
4 7 k W
5 1 k W
2 .0 0 5 6 k W
6 2 k W
6 8 k W
7 5 k W
1 .5 0 8 2 k W
1 0 0 k W
1 2 0 k W
(1 0 0 k H z )1 .0 0
1 5 0 k W
1 8 0 k W
2 2 0 k W
0 .5 0
0 .2 5
2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 V D D (V D C )
Note: The recommended oscillator frequency is fOSCD (decoder) @ 50 fOSCE (HT12E encoder)
1
@ fOSCE (HT12A encoder).
3
Application Circuits
R e c e iv e r C ir c u it R e c e iv e r C ir c u it
V D D
1 1 8 V D D 1 1 8
A 0 V D D A 0 V D D
2 1 7 2 1 7
A 1 V T A 1 V T
3 1 6 3 1 6
A 2 O S C 1 A 2 O S C 1
4 1 5 R O S C 4 1 5 R O S C
A 3 O S C 2 A 3 O S C 2
5 1 4 5 1 4
A 4 D IN A 4 D IN
6 1 3 6 1 3
A 5 D 1 1 A 5 A 1 1
7 1 2 7 1 2
A 6 D 1 0 A 6 A 1 0
8 1 1 8 1 1
A 7 D 9 A 7 A 9
9 1 0 9 1 0
V S S D 8 V S S A 8
H T 1 2 D H T 1 2 F
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 for the latest version of the Package/Carton
Information.
Additional supplementary information with regard to packaging is listed below. Click on the relevant section to be trans-
ferred to the relevant website page.
· Further Package Information (include Outline Dimensions, Product Tape and Reel Specifications)
· Carton Information
A A
1 8 1 0 1 8 1 0
B B
1 9 1 9
H H
C C
D D
E G I E G I
F F
Fig1. Full Lead Packages Fig2. 1/2 Lead Packages
· see fig1
Dimensions in inch
Symbol
Min. Nom. Max.
A 0.880 0.900 0.920
B 0.240 0.250 0.280
C 0.115 0.130 0.195
D 0.115 0.130 0.150
E 0.014 0.018 0.022
F 0.045 0.060 0.070
G ¾ 0.1 BSC ¾
H 0.300 0.310 0.325
I ¾ ¾ 0.430
Dimensions in mm
Symbol
Min. Nom. Max.
A 22.35 22.86 23.37
B 6.10 6.35 7.11
C 2.92 3.30 4.95
D 2.92 3.30 3.81
E 0.36 0.46 0.56
F 1.14 1.52 1.78
G ¾ 2.54 BSC ¾
H 7.62 7.87 8.26
I ¾ ¾ 10.92
· see fig2
Dimensions in inch
Symbol
Min. Nom. Max.
A 0.845 0.865 0.885
B 0.275 0.285 0.295
C 0.120 0.135 0.150
D 0.110 0.130 0.150
E 0.014 0.018 0.022
F 0.045 0.050 0.060
G ¾ 0.1 BSC ¾
H 0.300 0.310 0.325
I ¾ ¾ 0.430
Dimensions in mm
Symbol
Min. Nom. Max.
A 21.46 21.97 22.48
B 6.99 7.24 7.49
C 3.05 3.43 3.81
D 2.79 3.30 3.81
E 0.36 0.46 0.56
F 1.14 1.27 1.52
G ¾ 2.54 BSC ¾
H 7.62 7.87 8.26
I ¾ ¾ 10.92
· see fig2
Dimensions in inch
Symbol
Min. Nom. Max.
A 0.845 0.870 0.880
B 0.240 0.250 0.280
C 0.115 0.130 0.195
D 0.115 0.130 0.150
E 0.014 0.018 0.022
F 0.045 0.060 0.070
G ¾ 0.1 BSC ¾
H 0.300 0.310 0.325
I ¾ ¾ 0.430
Dimensions in mm
Symbol
Min. Nom. Max.
A 21.46 22.10 22.35
B 6.10 6.35 7.11
C 2.92 3.30 4.95
D 2.92 3.30 3.81
E 0.36 0.46 0.56
F 1.14 1.52 1.78
G ¾ 2.54 BSC ¾
H 7.62 7.87 8.26
I ¾ ¾ 10.92
2 0 1 1
A B
1 1 0
C '
G
D H
E F a
Dimensions in inch
Symbol
Min. Nom. Max.
A ¾ 0.406 BSC ¾
B ¾ 0.295 BSC ¾
C 0.012 ¾ 0.020
C¢ ¾ 0.504 BSC ¾
D ¾ ¾ 0.104
E ¾ 0.050 BSC ¾
F 0.004 ¾ 0.012
G 0.016 ¾ 0.050
H 0.008 ¾ 0.013
a 0° ¾ 8°
Dimensions in mm
Symbol
Min. Nom. Max.
A ¾ 10.30 BSC ¾
B ¾ 7.50 BSC ¾
C 0.31 ¾ 0.51
C¢ ¾ 12.80 BSC ¾
D ¾ ¾ 2.65
E ¾ 1.27 BSC ¾
F 0.10 ¾ 0.30
G 0.40 ¾ 1.27
H 0.20 ¾ 0.33
a 0° ¾ 8°