Text preview for : HT12E.pdf part of HT12E 12 bit code encoder. You can use to HT12D
to UM3758 etc.
Back to : HT12E.pdf | Home
HT12A/HT12E 212 Series of Encoders
Features
· Operating voltage - 2.4V~5V for the HT12A - 2.4V~12V for the HT12E · Low power and high noise immunity CMOS · Minimum transmission word - Four words for the HT12E - One word for the HT12A · Built-in oscillator needs only 5% resistor · Data code has positive polarity · Minimal external components · Pair with Holtek¢s 212 series of decoders · 18-pin DIP, 20-pin SOP package
technology
· Low standby current: 0.1mA (typ.) at VDD=5V · HT12A with a 38kHz carrier for infrared transmission
medium
Applications
· Burglar alarm system · Smoke and fire alarm system · Garage door controllers · Car door controllers · Car alarm system · Security system · Cordless telephones · Other remote control systems
General Description
The 2 encoders are a series of CMOS LSIs for remote control system applications. They are capable of encoding information which consists of N address bits and 12-N data bits. Each address/data input can be set to one of the two logic states. The programmed addresses/data are transmitted together with the header
12
bits via an RF or an infrared transmission medium upon receipt of a trigger signal. The capability to select a TE trigger on the HT12E or a DATA trigger on the HT12A further enhances the application flexibility of the 212 series of encoders. The HT12A additionally provides a 38kHz carrier for infrared systems.
Selection Table
Function Address Address/ Data No. Oscillator Trigger No. Data No. Part No. HT12A HT12E Note: 8 8 0 4 4 0 455kHz D8~D11 resonator RC oscillator TE Carrier Output 38kHz No Negative Polarity No No Package
18DIP, 20SOP 18DIP, 20SOP
Address/Data represents pins that can be either address or data according to the application requirement.
Rev. 1.10
1
January 24, 2003
HT12A/HT12E
Block Diagram
TE Trigger HT12E
O S C 2 O S C 1
T E
O s c illa to r
¸ 3 D iv id e r
D a ta S e le c t & B u ffe r S y n c . C ir c u it
D O U T
A 0 1 2 T r a n s m is s io n G a te C ir c u it A 7
¸ 1 2 C o u n te r & 1 o f 1 2 D e c o d e r
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 L /M B A 0 1 2 T r a n s m is s io n G a te C ir c u it A 7
¸ 5 7 6 D iv id e r
D a ta S e le c t & B u ffe r S y n c . C ir c u it
D O U T
¸ 1 2 C o u n te r & 1 o f 1 2 D e c o d e r
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 4 -D a ta
A 0 A 1 A 2 A 3 A 4 A 5 A 6 A 7 V S S 9 8 7 6 5 4 3 2 1 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 1 0 V D D D O U T X 1 X 2 L /M D 1 1 D 1 0 D 9 D 8
8 -A d d re s s 4 -D a ta
N C 1 2 3 4 5 6 7 8 9 1 0 A 0 A 1 A 2 A 3 A 4 A 5 A 6 A 7 V S S 2 0 1 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 N C V D D D O U T X 1 X 2 L /M D 1 1 D 1 0 D 9 D 8
8 -A d d re s s 4 -A d d r e s s /D a ta
8 -A d d re s s 4 -A d d r e s s /D a ta
N C 1 2 3 4 5 6 7 8 9 1 0 2 0 1 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 N C V D D D O U T O S C 1 O S C 2 T E A D 1 1 A D 1 0 A D 9 A D 8
A 0 A 1 A 2 A 3 A 4 A 5 A 6 A 7 V S S 9 8 7 6 5 4 3 2
1
1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 1 0
V D D D O U T O S C 1 O S C 2 T E A D 1 1 A D 1 0 A D 9 A D 8
A 0 A 1 A 2 A 3 A 4 A 5 A 6 A 7 V S S
H T 1 2 A 1 8 D IP -A
H T 1 2 A 2 0 S O P -A
H T 1 2 E 1 8 D IP -A
H T 1 2 E 2 0 S O P -A
Rev. 1.10
2
January 24, 2003
HT12A/HT12E
Pin Description
Pin Name A0~A7 I/O I Internal Connection CMOS IN Pull-high (HT12A) Description Input pins for address A0~A7 setting These pins can be externally set to VSS or left open
NMOS TRANSMISSION GATE PROTECTION DIODE (HT12E) AD8~AD11 I NMOS TRANSMISSION Input pins for address/data AD8~AD11 setting GATE PROTECTION These pins can be externally set to VSS or left open DIODE (HT12E) CMOS IN Pull-high CMOS OUT CMOS IN Pull-high CMOS IN Pull-high OSCILLATOR 1 OSCILLATOR 1 OSCILLATOR 2 OSCILLATOR 2 ¾ ¾ Input pins for data D8~D11 setting and transmission enable, active low These pins should be externally set to VSS or left open (see Note) Encoder data serial transmission output Latch/Momentary transmission format selection pin: Latch: Floating or VDD Momentary: VSS Transmission enable, active low (see Note) Oscillator input pin Oscillator output pin 455kHz resonator oscillator input 455kHz resonator oscillator output Negative power supply, ground Positive power supply
D8~D11 DOUT L/M TE OSC1 OSC2 X1 X2 VSS VDD Note:
I O I I I O I O I I
D8~D11 are all data input and transmission enable pins of the HT12A. TE is a transmission enable pin of the HT12E.
Approximate Internal Connections
N M O S T R A N S M IS S IO N G A T E
C M O S IN P u ll- h ig h
C M O S O U T
E N O S C 1
O S C IL L A T O R
1
O S C 2
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 2 V
D D
X 1
Rev. 1.10
3
January 24, 2003
HT12A/HT12E
Absolute Maximum Ratings
Supply Voltage (HT12A) ............VSS-0.3V to VSS+5.5V Input Voltage ................................VSS-0.3 to VDD+0.3V Operating Temperature ...........................-20°C to 75°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. Supply Voltage (HT12E) ...........................-0.3V to 13V Storage Temperature ............................-50°C to 125°C
Electrical Characteristics
HT12A Symbol VDD ISTB Parameter Operating Voltage Standby Current 5V 3V IDD Operating Current 5V IDOUT VIH VIL RDATA Output Drive Current ²H² Input Voltage ²L² Input Voltage D8~D11 Pull-high Resistance 5V ¾ ¾ 5V VDATA=0V No load fOSC=455kHz VOH=0.9VDD (Source) VOL=0.1VDD (Sink) ¾ ¾ Test Conditions VDD ¾ 3V Oscillator stops Conditions ¾ Min. 2.4 ¾ ¾ ¾ ¾ -1 2 0.8VDD 0 ¾ Typ. 3 0.1 0.1 200 400 -1.6 3.2 ¾ ¾ 150 Max. 5 1 1 400 800 ¾ ¾ VDD 0.2VDD 300 Ta=25°C Unit V mA mA mA mA mA mA V V kW
HT12E Symbol VDD ISTB Parameter Operating Voltage Standby Current 12V 3V IDD Operating Current 12V IDOUT VIH VIL fOSC RTE Output Drive Current ²H² Input Voltage ²L² Input Voltage Oscillator Frequency TE Pull-high Resistance 5V ¾ ¾ 5V 5V VOH=0.9VDD (Source) VOL=0.1VDD (Sink) ¾ ¾ ROSC=1.1MW VTE=0V No load, fOSC=3kHz Test Conditions VDD ¾ 3V Oscillator stops Conditions ¾ Min. 2.4 ¾ ¾ ¾ ¾ -1 1 0.8VDD 0 ¾ ¾ Typ. 5 0.1 2 40 150 -1.6 1.6 ¾ ¾ 3 1.5 Max. 12 1 4 80 300 ¾ ¾ VDD 0.2VDD ¾ 3
Ta=25°C Unit V mA mA mA mA mA mA V V kHz MW
Rev. 1.10
4
January 24, 2003
HT12A/HT12E
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 C o n tin u o u s ly
4 w o rd s
Transmission timing for the HT12E
D 8 ~ D 1 1 K e y - in < 1 w o rd E n c o d e r D O U T 1 w o rd T r a n s m itte d C o n tin u o u s ly w ith 3 8 k H z c a r r ie r 1 w o rd
Transmission timing for the HT12A (L/M=Floating or VDD)
D 8 ~ D 1 1 K e y - in < 1 w o rd E n c o d e r D O U T 7 w o rd s 1 w o rd ( a ll d a ta = 1 ) T r a n s m itte d C o n tin u o u s ly
( a ll d a ta = 1 ) 7 w o rd s
1 w o rd
Transmission timing for the HT12A (L/M=VSS)
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 removed during a transmission, the DOUT pin outputs a complete word and then stops. On the other hand, if L/M=0 the device 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
Rev. 1.10
5
January 24, 2003
HT12A/HT12E
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
Address/Data bit waveform for the HT12E
fO
S C
"O n e " 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
3 8 k H z c a r r ie r
Address/Data bit waveform for the HT12A The address/data bits of the HT12A are transmitted with a 38kHz carrier for infrared remote controller flexibility. Address/Data Programming (Preset) The status of each address/data pin can be individually pre-set to logic ²high² or ²low². If a transmission-enable signal is applied, the encoder scans and transmits the status of the 12 bits of address/data serially in the order A0 to AD11 for the HT12E encoder and A0 to D11 for the HT12A encoder. During information transmission these bits are transmitted with a preceding synchronization bit. If the trigger signal is not applied, the chip enters the standby mode and consumes a reduced current of less than 1mA for a supply voltage of 5V. Usual applications preset the address pins with individual security codes using DIP switches or PCB wiring, while the data is selected by push buttons or electronic switches. The following figure shows an application using the HT12E:
O S C 1
O S C 2 D O U T
T r a n s m is s io n 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
Rev. 1.10
6
January 24, 2003
HT12A/HT12E
The transmitted information is as shown: Pilot & Sync. A0 1 A1 0 A2 1 A3 0 A4 0 A5 0 A6 1 A7 1 AD8 1 AD9 1 AD10 1 AD11 0
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 HT12A HT12E A0 A0 1 A1 A1 2 A2 A2 3 A3 A3 4 A4 A4 5 A5 A5 6 A6 A6 7 A7 A7 8 D8 AD8 9 D9 AD9 10 D10 AD10 11 D11 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. Two Erroneous HT12E Application Circuits The HT12E must follow closely the application circuits provided by Holtek (see the ²Application circuits²).
· Error: AD8~AD11 pins input voltage > VDD+0.3V
O S C 2
V D D
O S C 1 T E V S S
A D 1 1 A D 1 0 A D 9 A D 8 1 2 V
H T 1 2 E
· Error: The IC¢s power source is activated by pins AD8~AD11
1 2 V O S C 2 V D D
O S C 1 T E V S S
A D 1 1 A D 1 0 A D 9 A D 8
H T 1 2 E
Rev. 1.10
7
January 24, 2003
HT12A/HT12E
Flowchart
· HT12A
P o w e r o n
· HT12E
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 ? Y e s D a ta w ith c a r r ie r s e r ia l o u tp u t
N o
T r a n s m is s io n e n a b le d ? Y e s 4 d a ta w o rd s tr a n s m itte d
D a ta s till e n a b le d ? N o L /M B = G N D ? N o S e n d th e la s t c o d e
Y e s
N o
T r a n s m is s io n s till e n a b le d Y e s
Y e s
4 d a ta w o rd s tr a n s m itte d c o n tin u o u s ly
S e n d ² 1 ² 7 tim e s fo r a ll o f th e d a ta c o d e s
Note:
D8~D11 are transmission enables of the HT12A. TE is the transmission enable of the HT12E.
Rev. 1.10
8
January 24, 2003
HT12A/HT12E
Oscillator Frequency vs. Supply Voltage
fO S C (S c a le ) R 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
O S C
(W )
2
3
4
5
6
7
8
9
1 0
1 1
1 2
1 3 V
D D
(V D C )
The recommended oscillator frequency is fOSCD (decoder) @ 50 fOSCE (HT12E encoder) 1 @ fOSCE (HT12A encoder) 3
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 2 3 4 5 6 7 8 9
A 0 A 1 A 2 A 3 A 4 A 5 A 6 A 7 V S S
V D D D O U T X 1 X 2 L /M B D 1 1 D 1 0 D 9 D 8
1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 1 0 1 0 k W 4 5 5 K 1 0 M W
8 0 5 0 2 1 0 0 p . 3 4 5 6 7 8 9 1 0 0 p .
1
A 0 A 1 A 2 A 3 A 4 A 5 A 6 A 7 V S S
V D D D O U T O S C 1 O S C 2 T E A D 1 1 A D 1 0 A D 9 A D 8
1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 1 0 R
O S C
H T 1 2 A
H T 1 2 E
Rev. 1.10
9
January 24, 2003
HT12A/HT12E
Package Information
18-pin DIP (300mil) Outline Dimensions
A 1 8 B 1 1 0 9
H C D E G .
a
I
Symbol A B C D E F G H I a
Dimensions in mil Min. 895 240 125 125 16 50 ¾ 295 335 0° Nom. ¾ ¾ ¾ ¾ ¾ ¾ 100 ¾ ¾ ¾ Max. 915 260 135 145 20 70 ¾ 315 375 15°
Rev. 1.10
10
January 24, 2003
HT12A/HT12E
20-pin SOP (300mil) Outline Dimensions
2 0
A
1 1
B
1
C C '
1 0
G H
D E .
a
Symbol A B C C¢ D E F G H a
Dimensions in mil Min. 394 290 14 490 92 ¾ 4 32 4 0° Nom. ¾ ¾ ¾ ¾ ¾ 50 ¾ ¾ ¾ ¾ Max. 419 300 20 510 104 ¾ ¾ 38 12 10°
Rev. 1.10
11
January 24, 2003
HT12A/HT12E
Product Tape and Reel Specifications
Reel Dimensions
T 2 D
A
B
C
T 1
SOP 20W Symbol A B C D T1 T2 Description Reel Outer Diameter Reel Inner Diameter Spindle Hole Diameter Key Slit Width Space Between Flange Reel Thickness Dimensions in mm 330±1.0 62±1.5 13.0+0.5 -0.2 2.0±0.5 24.8+0.3 -0.2 30.2±0.2
Rev. 1.10
12
January 24, 2003
HT12A/HT12E
Carrier Tape Dimensions
D
E .
P 0
P 1
t
W C
B 0
D 1
P
K 0 A 0
SOP 20W Symbol W P E F D D1 P0 P1 A0 B0 K0 t C Description Carrier Tape Width Cavity Pitch Perforation Position Cavity to Perforation (Width Direction) Perforation Diameter Cavity Hole Diameter Perforation Pitch Cavity to Perforation (Length Direction) Cavity Length Cavity Width Cavity Depth Carrier Tape Thickness Cover Tape Width Dimensions in mm 24.0+0.3 -0.1 12.0±0.1 1.75±0.1 11.5±0.1 1.5+0.1 1.5+0.25 4.0±0.1 2.0±0.1 10.8±0.1 13.3±0.1 3.2±0.1 0.3±0.05 21.3
Rev. 1.10
13
January 24, 2003
HT12A/HT12E
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. (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 (Shanghai) Inc. 7th Floor, Building 2, No.889, Yi Shan Rd., Shanghai, China Tel: 021-6485-5560 Fax: 021-6485-0313 http://www.holtek.com.cn Holtek Semiconductor (Hong Kong) Ltd. Block A, 3/F, Tin On Industrial Building, 777-779 Cheung Sha Wan Rd., Kowloon, Hong Kong Tel: 852-2-745-8288 Fax: 852-2-742-8657 Holmate Semiconductor, Inc. 46712 Fremont Blvd., Fremont, CA 94538 Tel: 510-252-9880 Fax: 510-252-9885 http://www.holmate.com Copyright Ó 2003 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
14
January 24, 2003