312 Series of Encoders Features · · · · Operating voltage: 2.4V~12V Low power and high noise immunity CMOS technology Low standby current Minimum transmission word - Four words for TE trigger - One word for Data trigger · · · · Built-in oscillator needs only 5% resistor Easy interface with an RF or an infrared transmission medium Minimal external components Package information: refer to Selection Table Applications · · · · Burglar alarm system Smoke and fire alarm system Garage door controllers Car alarm system · · · Security system Cordless telephones Other remote control systems General Description The 312 encoders are a series of CMOS LSIs for remote control system applications. They are capable of encoding 12 bits of information which consists of N address bits and 12-N data bits. Each address/data input is externally trinary programmable if bonded out. They are otherwise set floating internally. Various packages of the 3 12 encoders offer flexible combinations of programmable address/data which meet various applications. The programmable address/data is transmitted together with the header bits via an RF or an infrared transmission medium upon receipt of a trigger signal. A TE (HT6010) or a DATA (HT6012/HT6014) trigger can be selectedforapplicationflexibility. Selection Table Function Address Address/ No. Data No. Part No. Data No. Oscillator Trigger LED Indicator Package HT6010 8 4 0 RC oscillator TE No 18/20 DIP 20 SOP HT6012 10 0 2 RC oscillator D10~D11 Yes 18 DIP/20 SOP HT6014 8 0 4 RC oscillator D8~D11 Yes 18 DIP/20 SOP Note: Address/Data represents addressable pins or data according to the requirements of decoders. 1 December 13, 1999 312 Series of Encoders Block Diagram TE trigger HT6010 O S C 2 O S C 1 O s c illa to r ¸ 3 D iv id e r T E A 0 A 7 1 2 T r a n s m is s io n G a te C ir c u it A D 8 ¸ 1 2 C o u n te r a n d 1 o f 1 2 D e c o d e rs D a ta S e le c t a n d B u ffe r D O U T S y n c . C ir c u it T r in a r y D e te c to r A D 1 1 V D D V S S DATA trigger HT6012/HT6014 O S C 2 O S C 1 O s c illa to r A d d re s s 1 2 T r a n s m is s io n G a te C ir c u it D a ta ¸ 3 D iv id e r ¸ 1 2 C o u n te r a n d 1 o f 1 2 D e c o d e rs T r in a r y D e te c to r D a ta S e le c t a n d B u ffe r D O U T S y n c . C ir c u it L E D C ir c u it V D D V S S L E D Note: The address/data pins are available in various combinations (refer to the address/data table). 2 December 13, 1999 312 Series of Encoders Pin Assignment T E tr ig g e r ty p e 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 0 N C 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 2 3 1 6 O S C 2 A 2 4 1 7 O S C 2 A 3 4 1 5 O S C 1 A 3 5 1 6 O S C 1 A 4 5 1 4 T E A 4 6 1 5 T E A 5 6 1 3 A D 1 1 A 5 7 1 4 A D 1 1 A 6 7 1 2 A D 1 0 A 6 8 1 3 A D 1 0 A 7 8 1 1 A D 9 A 7 9 1 2 A D 9 V S S 9 1 0 A D 8 V S S 1 0 1 1 A D 8 H T 6 0 1 0 1 8 D IP D A T A H T 6 0 1 0 2 0 D IP /S O P tr ig g e r ty p e 1 0 -A d d re s s 2 -D a ta 1 0 -A d d re s s 2 -D a ta 8 -A d d re s s 4 -D a ta 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 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 2 3 1 6 O S C 2 A 2 4 1 7 O S C 2 A 2 3 1 6 O S C 2 A 3 4 1 5 O S C 1 A 3 5 1 6 O S C 1 A 3 4 1 5 O S C 1 A 4 5 1 4 L E D A 4 6 1 5 L E D A 4 5 1 4 L E D A 5 6 1 3 D 1 1 A 5 7 1 4 D 1 1 A 5 6 1 3 D 1 1 A 6 7 1 2 D 1 0 A 6 8 1 3 D 1 0 A 6 7 1 2 D 1 0 A 7 8 1 1 A 9 A 7 9 1 2 A 9 A 7 8 1 1 D 9 V S S 9 1 0 A 8 V S S 1 0 1 1 A 8 V S S 9 1 0 D 8 H T 6 0 1 2 1 8 D IP H T 6 0 1 2 2 0 S O P H T 6 0 1 4 1 8 D IP 8 -A d d re s s 4 -D a ta N C 1 2 0 N C A 0 2 1 9 V D D A 1 3 1 8 D O U T A 2 4 1 7 O S C 2 A 3 5 1 6 O S C 1 A 4 6 1 5 L E D A 5 7 1 4 D 1 1 A 6 8 1 3 D 1 0 A 7 9 1 2 D 9 1 0 1 1 D 8 V S S H T 6 0 1 4 2 0 S O P 3 December 13, 1999 312 Series of Encoders Pin Description Pin Name Internal Connection I/O Description A0~A9 I TRANSMISSION Input pins for address A0~A9 setting GATE They can be externally set to VDD or VSS or left open. AD8~AD11 I TRANSMISSION Input pins for address/data (AD8~AD11) setting GATE They can be externally set to VDD or VSS or left open. D8~D11 I CMOS IN Pull-high DOUT O CMOS OUT Encoder data serial transmission output LED O NMOS OUT Transmission enable indicator, active low TE I CMOS IN Pull-high Transmission enable, active low (see Note) OSC1 I OSCILLATOR Oscillator input pin OSC2 O OSCILLATOR Oscillator output pin VSS ¾ ¾ Negative power supply, ground VDD ¾ ¾ Positive power supply Input pins for data (D8~D11) setting and transmission enable (active low) They can be externally set to VSS or left open (see Note). Note: D8~D11 are data input and transmission enable pins of the HT6012/HT6014. TE is the transmission enable pin of the HT6010. Approximate internal connections 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 N M O S O U T O S C IL L A T O R E N O S C 1 O S C 2 4 December 13, 1999 312 Series of Encoders Absolute Maximum Ratings Supply Voltage...............................-0.3V to 13V Storage Temperature.................-50°C to 125°C 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. Electrical Characteristics Symbol Parameter Ta=25°C Test Conditions VDD Conditions ¾ ¾ VDD Operating Voltage ISTB Standby Current IDD Operating Current ILED LED Sink Current IDOUT Output Drive Current VIH ²H² Input Voltage ¾ VIL ²L² Input Voltage ¾ fOSC Oscillator Frequency 5V RTE TE Pull-high Resistance RDATA D8~D11 Pull-high Resistance 3V 12V Oscillator stops Min. Typ. Max. Unit 2.4 5 12 V ¾ 0.1 1 mA ¾ 2 4 mA ¾ 250 500 mA 12V No load fOSC=3kHz ¾ 600 1200 mA 5V VLED=0.5V 1.5 3 ¾ mA 5V VOH=0.9VDD (Source) -0.6 -1.2 ¾ mA 5V VOL=0.1VDD (Sink) 0.6 1.2 ¾ mA ¾ 0.8VDD ¾ VDD V ¾ 0 ¾ 0.2VDD V ROSC=1MW ¾ 3 ¾ kHz 5V VTE=0V ¾ 1.5 3 MW 5V VDATA=0V ¾ 1.5 3 MW 3V 5 December 13, 1999 312 Series of Encoders Functional Description Operation The 312 series of encoders begin with a four (HT6010) or a one (HT6012/HT6014) word transmission cycle upon receipt of a transmission enable (TE for the HT6010 or D8~D11 for the HT6012/HT6014, 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 o r D 8 ~ D 1 1 < 1 w o rd E n c o d e r D a ta O u t T r a n s m itte d C o n tin u o u s ly 1 o r 4 w o rd s 1 o r 4 w o rd s Transmission timing Information word An information word is composed of four periods as shown: 1 /6 b it s y n c . p e r io d p ilo t p e r io d ( 6 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 6 December 13, 1999 312 Series of Encoders Address/data waveform Each programmable address/data pin can be externally set to one of the following three logic states: fO S C "O n e " "Z e ro " "O p e n " A d d r e s s /D a ta B it Address/Data bit waveform The ²Open² state data input is interpreted as logic high by the decoder since its output has only two states. Address/data programming (preset) The status of each address/data pin can be individually preset to a logic ²high², ²low², or ²floating². 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 HT6010 and A0 to D11 for the HT6012/HT6014. If the trigger signal is not applied, the chip only consumes a standby current which is less than 1mA (for VDD=5V). The address pins are usually preset so as to transmit data codes with their own particular security codes by the DIP switches or PCB wiring, while data is selected using push button or electronic switches. Address/Data sequence The following table provides the position of the address/data sequence for various models of the 312 series encoders. A correct device should be selected according to the requirements of the individual address and data. Part No. Address/Data Bits 0 1 2 3 4 5 6 7 8 9 HT6010 A0 A1 A2 A3 A4 A5 A6 A7 AD8 AD9 HT6012 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 D10 D11 HT6014 A0 A1 A2 A3 A4 A5 A6 A7 D8 D9 D10 D11 7 10 11 AD10 AD11 December 13, 1999 312 Series of Encoders Transmission enable For the TE trigger type of encoders, transmission is enabled by applying a low signal to the TE pin. But for the Data trigger type, it is enabled by applying a low signal to one of the data pins D8~D11. Flowchart P o w e r o n S ta n d b y m o d e N o T r a n s m is s io n e n a b le d ? Y e s C o d e w o rd tr a n s m itte d c o n tin u o u s ly N o T r a n s m is s io n s till e n a b le d ? Y e s C o d e w o rd tr a n s m itte d c o n tin u o u s ly Note: D8~D11 are transmission enable of the HT6012/HT6014. TE is the transmission enable of the HT6010. 8 December 13, 1999 312 Series of Encoders Oscillator frequency vs supply voltage fO S C (S c a le ) R (W ) O S C 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 ) The recommended oscillator frequency is fOSCD (decoder) @ 33 fOSCE (encoder) 9 December 13, 1999 312 Series of Encoders Application Circuits T r a n s m itte r C ir c u it T r a n s m itte r C ir c u it V 1 V D D 1 8 1 A 0 V D D 1 8 A 1 D O U T 1 7 2 A 1 D O U T 1 7 A 2 O S C 2 1 6 3 A 2 O S C 2 1 6 4 A 3 O S C 1 1 5 A 0 2 3 V D D R O S C 4 A 3 O S C 1 1 5 5 A 4 T E 1 4 5 A 4 L E D 6 1 4 A D 1 1 1 3 6 A 5 D 1 1 1 3 A 6 A D 1 0 1 2 7 A 6 D 1 0 1 2 8 A 7 A D 9 1 1 8 A 7 A 9 1 1 V S S A D 8 1 0 9 V S S A 8 1 0 9 A 5 7 H T 6 0 1 0 R D D O S C R H T 6 0 1 2 T r a n s m itte r C ir c u it V 1 A 0 V D D 1 8 2 A 1 D O U T 1 7 3 A 2 O S C 2 1 6 4 A 3 O S C 1 1 5 5 A 4 L E D 6 A 5 D 1 1 1 3 7 A 6 D 1 0 1 2 8 A 7 D 9 1 1 9 V S S D 8 1 0 1 4 R D D O S C R H T 6 0 1 4 Note: Typical infrared diode: EL-1L2 (KODENSHI CORP.) Typical RF transmitter: JR-220 (JUWA CORP.) TX-99 (MING MICROSYSTEM, U.S.A.) 10 December 13, 1999 312 Series of Encoders Holtek Semiconductor Inc. (Headquarters) No.3 Creation Rd. II, Science-based Industrial Park, Hsinchu, Taiwan, R.O.C. Tel: 886-3-563-1999 Fax: 886-3-563-1189 Holtek Semiconductor Inc. (Taipei Office) 5F, No.576, Sec.7 Chung Hsiao E. Rd., Taipei, Taiwan, R.O.C. Tel: 886-2-2782-9635 Fax: 886-2-2782-9636 Fax: 886-2-2782-7128 (International sales hotline) Holtek Semiconductor (Hong Kong) Ltd. RM.711, Tower 2, Cheung Sha Wan Plaza, 833 Cheung Sha Wan Rd., Kowloon, Hong Kong Tel: 852-2-745-8288 Fax: 852-2-742-8657 Copyright Ó 1999 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 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. 11 December 13, 1999