HT12A/HT12E 12
2
Series of Encoders
Features ·
Operating voltage
·
- 2.4V~5V for the HT12A - 2.4V~12V for the HT12E
Minimum transmission word - Four words for the HT12E - One word for the HT12A
·
Low power and high noise immunity CMOS technology
·
Built-in oscillator needs only 5% resistor
·
Data code has positive polarity
·
Low standby current: 0.1 m A (typ.) at VDD=5V
·
Minimal external components
·
HT12A with a 38kHz carrier for infrared transmission medium
·
Pair with Holtek ¢s 2 12 series of decoders
·
18-pin DIP, 20-pin SOP package
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 contro con troll sys systemapplic temapplicati ations ons.. The They y are cap capabl able e of enc encododing information which consists of N address bits and
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 12 further enhances the application flexibility of the 2 series of encod encoders. ers. The HT1 HT12A 2A add additi itiona onally lly pro provid vides es a 38kHz carrier for infrared systems.
12-N data bits. Each address/data input can be set to one of the two log logic ic st state ates. s. The programm programmed ed ad ad-dresses/data are transmitted together with the header
Selection Table Function Address Address/ Data No. Oscil Oscillato latorr No. Data No. Part No.
Trigger Tri gger
HT12A
8
0
4
455kHz D8~D11 resonator
HT12E
8
4
0
RC oscillator
Note:
TE
Carrier Output
Negative Polarity
38kHz
No
18DIP, 20SOP
No
No
18DIP, 20SOP
Package
Address/Data represents pins that can be be either address address or data data according to the application application requirement. requirement.
Rev. 1.10
1
January 24, 2003
HT12A/HT12E
Block Diagram TE Trigger HT12E OSC2
OSC1
Oscillator
TE
¸3
Data Selec Selectt & Buff Buffer er
Divider Divi der
ou n te te r & ¸1 2 C ou 1 o f 1 2 D ec eco d er er
A0 1 2 Tr Transmis ansmissio sion n
DOUT
Sync. Circuit
Gate Circ Circuit uit A7
Binary Dete Detecto ctor r
AD 8
AD 1 1
VD D
VS S
DATA Trigger HT12A X2
X1
Oscillator
Data Selec Selectt & Buff Buffer er
¸ 576 Divider
DOUT
L/MB A0 12 Tr Transmi ansmissio ssion n
Sync. Circuit
ou n te te r & ¸ 1 2 C ou 1 o f 1 2 D ec ec od od e r
Gate Circ Circuit uit A7
Binary Detect Detector or
D8
Note:
D1 1
VDD
VSS
The address data pins are available in various combinations (refer to the address/data table).
Pin Assignment 8-Address 4-Data
8-Address 4-Data
NC
1
20
1
20
NC
VDD
A0
2
19
VDD
17
DOUT
A1
3
18
DOUT
16
OSC1
A2
4
17
OSC1
4
15
OSC2
A3
5
16
OSC2
A4
5
14
TE
A4
6
15
TE
D1 1
A5
6
13
AD11 A D11
A5
7
14
AD11 A D11
D1 0
A6
7
12
AD10 A D10
A6
8
13
AD1 A D1 0
D9
A7
8
11
AD9
A7
9
12
AD9
VSS
9
10
AD8
VSS
10
11
AD8
1
18
VDD
A0
2
19
VDD
A1
2
17
DOUT
A1
3
18
A2
3
16
X1
A2
4
17
A3
4
15
X2
A3
5
16
A4
5
14
L/M
A4
6
15
A5
6
13
D1 1
A5
7
A6
7
12
D1 0
A6
8
A7
8
11
D9
A7
9
VSS
9
10
D8
HT12A 1 8 D I P -A
Rev. 1.10
10
NC
NC
A0
VSS
8-Address 4-Address/Data
8-Address 4-Address/Data
A0
1
18
DOUT
A1
2
X1
A2
3
X2
A3
L/M
14 13 12 11
D8
HT12A 2 0 S OP OP -A -A
2
H T1 T1 2 E 1 8 D I P -A
H T1 T1 2 E 2 0 S OP OP -A -A
January 24, 2003
HT12A/HT12E
Pin Description Pin Pi n Na Name me
Internal Connection
I/O I/ O
A0~A7
CMOS IN Pull-high (HT12A)
I
Description Input pins for address A0~A7 setting These pins can be externally set to VSS or left open
NMOS TRANSMISSI TRANSMISSION ON GATE PROTECTION DIODE (HT12E) AD8 AD8~A ~AD1 D11 1
I
NMOS TRANSMISSI TRANSMISSION ON Input pins for address/data AD8~AD11 setting 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 low These pins should be externally set to VSS or left open (see Note)
D8~D11
I
CMOS IN Pull-high
DOUT
O
CMOS OUT
L/M
I
CMOS IN Pull-high
Latch/Momentary transmission format selection pin: Latch: Floating or VDD Momentary: VSS
TE
I
CMOS IN Pu Pull ll--hi high gh
Tran Tr ans smis iss sio ion n en enab able le,, ac acti tiv ve lo low w (s (see ee No Notte)
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
VDD
I
¾
Positive power supply
Note:
Encoder data seri al al transmission output
D8~D1 D8~D 11 are all data input input and transmi transmissio ssion n enable pins pins of the HT12A. HT12A. TE is a transmission enable pin of the HT12E.
Approximate Internal Connections
NMOS TRANSMISSION GATE
CMOS IN CMOS Pull-high
CM OS OU T
O S C I L LATO R 1
EN OSC1
OSCILLATOR OSCILLA TOR 2
X1
OSC2
NMOS TR TRANSMIS ANSMISSION SION GAT GATE E PROTECTION PROT ECTION DIODE
X2 VDD
Rev. 1.10
3
January 24, 2003
HT12A/HT12E
Absolute Maximum Ratings Supply Voltage (HT12A) ............VSS-0.3V to VSS+5.5V
Supply Voltage (HT12E) ......... ................... .................. ........ -0.3V to 13V
Input Voltage.................. Voltage............................ ..............V ....V SS-0.3 to VDD+0.3V
Storage Temperature................ emperature.......................... ............ .. -50°C to 125°C
Operating Temperature.............. emperature........................ ............. ... -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.
Electrical Characteristics HT12A Symbol
Ta=25°C Parameter
VDD
Operating Voltage
ISTB
Standby Current
Test Conditions
Min.
Typ.
Max.
Unit
2.4
3
5
V
¾
0.1
1
m A
¾
0.1
1
m A
No load f OSC OSC=455kHz
¾
200
400
m A
¾
400
800
m A
VOH=0.9VDD (Source)
-1
-1.6
¾
mA
2
3.2
¾
mA
VDD
Conditions
¾
¾
3V Oscillator stops 5V
IDD
3V Operating Current 5V
IDOUT
Output Drive Current
5V
VOL=0.1VDD (Sink)
VIH
²H² Input Voltage
¾
¾
0.8VDD
¾
VDD
V
VIL
²L² Input Voltage
¾
¾
0
¾
0.2VDD
V
RDATA
D8~D11 Pull-high Resistance
5V
¾
150
300
kW
VDATA=0V
HT12E Symbol
Ta=25°C Parameter
VDD
Operating Voltage
ISTB
Standby Current
Test Conditions VDD
Conditions
¾
¾
3V Oscillator stops 12V
IDD
3V Operating Current 12V
IDOUT
Output Drive Current
5V
No load, f OSC OSC=3kHz VOH=0.9VDD (Source) VOL=0.1VDD (Sink)
Min.
Typ.
Max.
Unit
2.4
5
12
V
¾
0.1
1
m A
¾
2
4
m A
¾
40
80
m A
¾
150
300
m A
-1
-1.6
¾
mA
1
1.6
¾
mA
VIH
²H² Input Voltage
¾
¾
0.8VDD
¾
VDD
V
VIL
²L² Input Voltage
¾
¾
0
¾
0.2VDD
V
f OSC OSC
Oscillator Frequency
5V
ROSC=1.1MW
¾
3
¾
kHz
RTE
TE Pu Pull ll-h -hig igh h Re Resi sist stan ance ce
5V
VTE=0V
¾
1.5
3
MW
Rev. 1.10
4
January 24, 2003
HT12A/HT12E
Functional Function al Description Operation 12
The 2 ser The series ies of enc encode oders rs beg begin in a 4-w 4-word ord tra transm nsmiss ission ion cyc cycle le upo upon n rec receip eiptt of a tra transm nsmiss ission ion ena enable ble (TE forthe HT1 HT12E 2E or D8~ D8~D1 D11 1 for theHT12A theHT12A,, act active ive low low). ). Thi This s cyc cycle le wil willl rep repeat eat its itself elf as lon long g as the tra transm nsmiss ission ion ena enable ble (TEor D8~ D8~D1 D11) 1) is held low. Once the transmission enable returns high the encoder output completes its final cycle and then stops as shown below. TE < 1 wo rd rd Encoder DOUT Transmitted Continuously
4 wo words rds
4 wo words rds
Transmission timing for the HT12E
D8~D11 Key-in < 1 word word Encoder DOUT
with 38kHz carrier Transmitted Continuously
1 word word
1 word word
Transmission timing for the HT12A (L/M=Floating or VDD)
D8~D11 Key-in
(all dat data=1) a=1) 7 wo words rds
< 1 wo rd rd Encoder DOUT Transmitted Continuously
7 wo words rds 1 w or or d (all dat data=1) a=1)
1 word
Transmission timing for the HT12A (L/M=VSS)
Information Word If L/ L/M= M=1 1 th the e de devi vice ce is in th the e lat latch ch mo mode de (f (for or us use e wit with h th the e la latc tch h ty type pe of da data ta de deco coder ders) s).. Wh When en th the e tr tran ansm smis issio sion n ena enabl ble e is re re-move mo ved d du durin ring g a tr trans ansmi miss ssion ion,, th the e DOU DOUT T pi pin n ou outp tput uts s a co comp mplet lete e wo word rd an and d th then en st stops ops.. On th the e ot othe herr ha hand nd,, if L/ L/M= M=0 0 th the e de 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 bit sync. sync. period pilot period (12 bits)
address code p eriod
data code period
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.
f OSC OSC "One"
"Zero" Address/ Data Bit
Address/Data bit waveform for the HT12E
f OSC OSC 38kHz carrier
"One" Data Dat a Bit "Zero" Data Dat a Bit "One" Address A ddress Bit "Zero" Address A ddress Bit
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 notapplied, thechip ent notapplied, entersthe ersthe st stand andby by mod mode e and con consum sumes es a red reduce uced d cur curren rentt of les less s tha than n 1 m Afor a su supp pplyvolt lyvoltag age e of 5V.. 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:
OSC1
O S C2 DOUT
VD D
A0
A1
A2
A3
A4
A5
A6
Transmission medium
A7 VS S TE AD 8 AD A D 9 AD AD 1 0 AD AD 1 1
VDD VSS
Rev. 1.10
6
January 24, 2003
HT12A/HT12E The transmitted information is as shown: Pilot & Sync.
A0
A1
A2
A3
A4
A5
A6
A7
AD8
AD9
AD10
AD11
1
0
1
0
0
0
1
1
1
1
1
0
Address/Data Sequence The following provides the address/data sequence table for various models of the 2
12
series of encoders.
Address/Data Bits
Part No. 0
1
2
3
4
5
6
7
8
9
10 10
11
HT12A
A0
A1
A2
A3
A4
A5
A6
A7
D8
D9
D10
D 11 D1
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. 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 > V DD+0.3V
OSC2
VDD
OSC1
AD1 A D1 1
TE
AD1 A D1 0 AD9
VSS
AD8
1 2V
HT12E · Error: The IC¢s power source is activated activated by pins AD8~AD11
1 2V OSC2
VDD
OSC1
AD1 A D1 1
TE
AD1 A D1 0
VSS
AD9 AD8
HT12E
Rev. 1.10
7
January 24, 2003
HT12A/HT12E Flowchart · HT12A
· HT12E
No
Powerr on Powe
Power on
Standby mode
Standby Sta ndby mode
No
Data enable? Yes
Transmission enable ena bled d ? Yes 4 data w ords transmitted
Data with carr carrier ier serial output
Data Dat a st still ill enab enabled led ?
Yes
No
No
L/MB=GND?
Transmission still st ill enable enabled d Yes 4 data wo words rds transmitted continuously
Yes
No Send t he last code
Note:
Send ² 1 ² 7 t i m es es fo r all of the dat data a co codes des
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
OSC f OSC (Scale)
ROSC (W ) 7.00 470k 510k 6.00 560k 620k 5.00 680k 750k 4.00
820k 910k 1.0M
(3kHz)3.00 1.2M
1.5M 2.00 2.0M
1.00
2
3
5
4
6
7
8
9
10
11
12
13
VDD ( V D C )
The recommended oscillator frequency is f OSCD OSCD (decoder) @ 50 f OSCE OSCE (HT12E encoder) 1 @ f OSCE OSCE (HT12A encoder) 3
Application Circuits VDD
1 00 W
Transmitter Circuit VDD 1 A0 2
A1
DOUT
3 A2 4 A3 5 6 7
17
X2 1 5 L/MB
A5
D1 1
A6
D1 0
VSS
18
8050
1 0k W
455K X1 1 6
A4
8 A7 9
VDD
100p. 1 0M W 100p.
VDD 1 8
2 A1
DOUT 1 7
3 A2
OSC1 1 6
4 A3
ROSC OSC2 1 5
14
5 A4
TE 1 4
13
6 A5
AD1 A D1 1 1 3
12
7 A6
AD1 A D1 0 1 2
D9 1 1
8
10
9
D8
HT 12A
Rev. 1.10
1 A0
A7
AD9
VSS
AD8
11 10
HT 12E
9
January 24, 2003
HT12A/HT12E
Package Informatio Information n 18-pin DIP (300mil) Outline Dimensions
A
B
18
10
1
9
H C D a
E
I
G .
Dimensions in mil
Symbol
Min. A
Rev. 1.10
895
Nom.
Max.
¾
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°
10
January 24, 2003
HT12A/HT12E 20-pin SOP (300mil) Outline Dimensions
11
20 A
B
1
10 C
C'
G H
D E
Dimensions in mil
Symbol
Min. A
Rev. 1.10
a
.
394
Nom.
Max.
¾
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°
11
January 24, 2003
HT12A/HT12E
Product Tape and Reel Specifications Reel Dimensions D
T2
A
C
B
T1
SOP 20W Symbol A
Description
Dimensions in mm
Reel Outer Diameter
330±1.0
B
Reel Inner Di am ameter
C
Spi pind ndle le Hol ole e Di Diam ame ete ter r
D
Key Slit Width
T1
Spa pace ce Bet etw wee een n Fl Flan ange ge
24.8+0.3 -0.2
T2
Reel Thickness
30.2±0.2
Rev. 1.10
62±1.5 13.0+0.5 -0.2 2.0±0.5
12
January 24, 2003
HT12A/HT12E Carrier Tape Dimensions
P0
D
P1
t
E .
W C
D1
B0
P
K0 A0
SOP 20W Symbol
Description
Dimensions in mm
W
Carrier Tape Wi dt dth
24.0+0.3 -0.1
P
Cavity Pitch
12.0±0.1
E
Per erfo fora rattio ion n Po Posi sittio ion n
1.75±0.1
F
Cavi Ca vity ty to Pe Perf rfor orat atio ion n (W (Wid idth th Di Dire rect ctio ion) n)
11.5±0.1
D
Perforation Diameter
1.5+0.1
D1
Cavity Hole Diameter
1.5+0.25
P0
Per erfo fora rattio ion n Pi Pittch
4.0±0.1
P1
Cavi Ca vity ty to Pe Perf rfor orat atio ion n (L (Len engt gth h Di Dire rect ctio ion) n)
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
Car arrrie ierr Ta Tape pe Th Thic ickn knes ess s
0.3±0.05
C
Cover Tape Width
Rev. 1.10
21.3
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. (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. (Shanghai Sales Office) 7th Floor, Building 2, No.889, Yi Shan Rd., Shanghai, China 200233 Tel: 021-6485-5560 Fax: 021-6485-0313 http://www.holtek.com.cn Holtek Semiconductor Inc. (Shenzhen Sales Office) 5/F, Unit A, Productivity Building, Cross of Science M 3rd Road and Gaoxin M 2nd Road, Science Park, Nanshan District, Shenzhen, China 518057 Tel: 0755-8616-9908, 8616-9308 Fax: 0755-8616-9533 Holtek Semiconductor Inc. (Beijing Sales Office) Suite 1721, Jinyu Tower, A129 West Xuan Wu Men Street, Xicheng District, Beijing, China 100031 Tel: 010-6641-0030, 6641-7751, 6641-7752 Fax: 010-6641-0125 Holtek Semiconductor Inc. (Chengdu Sales Office) 709, Building 3, Champagne Plaza, No.97 Dongda Street, Chengdu, Sichuan, China 610016 Tel: 028-6653-6590 Fax: 028-6653-6591 Holmate Semiconductor, Inc. (North America Sales Office) 46729 Fremont Fremont Blvd., Fremon Fremont, t, CA 9453 94538 8 Tel: 510-252-9880 Fax: 510-252-9885 http://www.holmate.com
Copyright
Ó
2003 by HOLTEK SEMICONDUCTOR INC.
The in The info forma rmatio tion n ap appe pear arin ing g in th this is Da Data ta Sh Shee eett is be beli liev eved ed to be ac accu cura rate te at th the e ti time me of pu publ blic icat atio ion. n. Ho Howe weve verr, Ho Holte ltek k as as-sumes sum es no res respon ponsib sibili ility ty ari arisin sing g fro from m the use of the spe specif cifica icatio tions ns des descri cribed bed.. The app applic licati ations ons men mentio tioned ned her herein ein are use used d solely sol ely for the pur purpos pose e of illu illustra stratio tion n and Hol Holtek tek mak makes es no war warran ranty ty or rep repres resent entatio ation n tha thatt suc such h app applica lication tions s wil willl be sui suitab table le witho wit hout ut fu furth rther er mo modi difi fica cati tion on,, no norr re reco comm mmen ends ds th the e us use e of it its s pr prod oduc ucts ts fo forr ap appl plic icat atio ion n th that at ma may y pr pres esen entt a ris risk k to hu huma man n li life fe 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 ple ase vis visit it our web sit site e at htt http:// p://www www.ho .holte ltek.c k.com. om.tw tw..
Rev. 1.10
14
January 24, 2003