318 Series of Decoders Features • • • • • • • • • • • • Operating voltage: 2.4V~12V Low power and high noise immunity CMOS technology Low standby current Capable of decoding 18 bits of information Pairs with HOLTEK’s 318 series of encoders 8~18 address pins 0~8 data pins • Trinary address setting Two times of receiving check Built-in oscillator needs only a 5% resistor Valid transmission indictor Easily interface with an RF or an infrared transmission medium Minimal external components • • • • Car alarm system Security system Cordless telephones Other remote control systems Applications • • • • Burglar alarm system Smoke and fire alarm system Garage door controllers Car door controllers General Description The 318 decoders are a series of CMOS LSIs for remote control system applications. They are paired with the 318 series of encoders. For proper operation a pair of encoder/decoder pair with the same number of address and data format should be selected (refer to the encoder/decoder cross reference tables). are encountered, the input data codes are decoded and then transferred to the output pins. The VT pin also goes high to indicate a valid transmission. The 318 decoders are capable of decoding 18 bits of information that consists of N bits of address and 18–N bits of data. To meet various applications they are arranged to provide a number of data pins whose range is from 0 to 8 and an address pin whose range is from 8 to 18. In addition, the 318 decoders provide various combinations of address/data number in different packages. The 318 series of decoders receives serial address and data from that series of encoders that are transmitted by a carrier using an RF or an IR transmission medium. It then compares the serial input data twice continuously with its local address. If no errors or unmatched codes Selection Table Function Address No. Item Data VT No. Type Oscillator Trigger Package HT602L 12 2 L √ RC oscillator DIN active “Hi” 20 DIP/20 SOP HT604L 10 4 L √ RC oscillator DIN active “Hi” 20 DIP/20 SOP HT605L 9 5 L √ RC oscillator DIN active “Hi” 20 DIP/20 SOP HT611 14 0 — √ RC oscillator DIN active “Hi” 20 DIP/20 SOP 1 2nd Oct ’97 318 Series of Decoders Function Address No. Item Data VT No. Type Oscillator Trigger Package HT612 12 2 M √ RC oscillator DIN active “Hi” 20 DIP/20 SOP HT614 10 4 M √ RC oscillator DIN active “Hi” 20 DIP/20 SOP HT615 9 5 M √ RC oscillator DIN active “Hi” 20 DIP/20 SOP HT644L 14 4 L √ RC oscillator DIN active “Hi” 24 SOP/24 SDIP HT646L 12 6 L √ RC oscillator DIN active “Hi” 24 SOP/24 SDIP HT648L 10 8 L √ RC oscillator DIN active “Hi” 24 SOP/24 SDIP HT651 18 0 — √ RC oscillator DIN active “Hi” 24 SOP/24 SDIP HT654 14 4 M √ RC oscillator DIN active “Hi” 24 SOP/24 SDIP HT656 12 6 M √ RC oscillator DIN active “Hi” 24 SOP/24 SDIP HT658 10 8 M √ RC oscillator DIN active “Hi” 24 SOP/24 SDIP HT682L 10 2 L √ RC oscillator DIN active “Hi” 18 DIP HT683L 9 3 L √ RC oscillator DIN active “Hi” 18 DIP HT684L 8 4 L √ RC oscillator DIN active “Hi” 18 DIP HT691 12 0 — √ RC oscillator DIN active “Hi” 18 DIP HT692 10 2 M √ RC oscillator DIN active “Hi” 18 DIP HT693 9 3 M √ RC oscillator DIN active “Hi” 18 DIP HT694 8 4 M √ RC oscillator DIN active “Hi” 18 DIP Note: Data type: M represents momentary type of data output. L represents latch type of data output. VT can be used as a momentary data output. 2 2nd Oct ’97 318 Series of Decoders Block Diagram Note: The address/data pins are available in various combinations (refer to the address/data table). Pin Description Pin Name I/O Internal Connection Description TRANSMISSION Input pins for address A0~A17 setting GATE They can be externally set to VDD, VSS, or left open. A0~A17 I D10~D17 O CMOS OUT DIN I CMOS IN VT O CMOS OUT OSC1 I OSCILLATOR Oscillator input pin OSC2 O OSCILLATOR Oscillator output pin VSS I — Negative power supply (GND) VDD I — Positive power supply Output data pins Serial data input pin Valid transmission, active high 3 2nd Oct ’97 318 Series of Decoders Approximate internal connection circuits Absolute Maximum Ratings* Supply Voltage ............................... –0.3V to 13V Storage Temperature................. –50°C to 125°C Input Voltage..................VSS–0.3V to VDD+0.3V Operating Temperature............... –20°C to 75°C *Note: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only. Functional operation of this device at these or any other conditions above those indicated in the operational sections of this specification is not implied and exposure to absolute maximum rating conditions for extened periods may affect device reliability. (Ta=25°C) Electrical Characteristics Symbol Parameter VDD Operating Voltage ISTB Standby Current IDD Operating Current IO IVT Test Conditions Min. Typ. Max. Unit 3 — 12 V — 0.1 1 µA — 2 4 µA — 0.2 1 mA VOH=4.5V –0.5 –1 — mA VOL=0.5V 0.5 1 — mA VOH=4.5V –2 –4 — mA VOL=0.5V 1 2 — mA VDD Conditions — — 5V Oscillator stops 12V Data Output Source Current (D10~D17) 5V 5V Data Output Sink Current (D10~D17) VT Output Source Current No load FOSC=100kHz 5V VT Output Sink Current VIH “H” Input Voltage 5V — 3.5 — 5 V VIL “L” Input Voltage 5V — 0 — 1 V FOSC Oscillator Frequency 10V — 100 — kHz ROSC=330kΩ 4 2nd Oct ’97 318 Series of Decoders Functional Description Operation Flowchart 18 The 3 series of decoders provides various combinations of address and data pins in different packages. It is paired with the 318 series of encoders. The decoders receive data transmitted by the encoders and interpret the first N bits of the code period as address and the last 18–N bits as data (where N is the address code number). A signal on the DIN pin then activates the oscillator which in turns decodes the incoming address and data. The decoders will check the received address twice continuously. If all the received address codes match the contents of the decoder’s local address, the 18–N bits of data are decoded to activate the output pins, and the VT pin is set high to indicate a valid transmission. That will last until the address code is incorrect or no signal has been received. The output of the VT pin is high only when the transmission is valid. Otherwise it is low always. Output type There are 2 types of output to select from: • Momentary type The data outputs follow the encoder during a valid transmission and then reset. • Latch type The data outputs follow the encoder during a valid transmission, and are then latched in this state until the next valid transmission occurs. Note: The oscillator is disabled in the standby state and activated as long as a logic “high” signal is applied to the DIN pin. i.e., the DIN should be kept “low” if there is no signal input. 5 2nd Oct ’97 318 Series of Decoders Decoder timing Encoder/Decoder selection tables • Latch type of data output Package Part No. Data Address VT Pins Pins Pair Encoder Encoder DIP HT682L 2 10 √ HT683L 3 9 √ Decoder SOP SDIP HT680 18 — HT680 18 — HT6187 18 — DIP SOP SDIP — 18 — — — 18 — — HT684L 4 8 √ HT680 18 — — 18 — — HT602L 2 12 √ HT600 20 20 — 20 20 — HT604L 4 10 √ HT600 20 20 — 20 20 — HT6207 20 — HT605L 5 9 √ HT600 20 20 — 20 20 — HT644L 4 14 √ HT640 24 24 24 — 24 24 HT646L 6 12 √ HT640 24 24 24 — 24 24 HT6247 24 — HT640 24 24 24 — 24 24 HT648L 8 10 √ 6 2nd Oct ’97 318 Series of Decoders • Momentary type of data output Package Part No. Data Pins Address Pins VT Pair Encoder Encoder DIP Decoder SOP SDIP DIP SOP SDIP HT691 0 12 √ HT680 18 — — 18 — — HT692 2 10 √ HT680 18 — — 18 — — HT693 3 9 √ HT680 18 — — 18 — — HT6187 18 — HT694 4 8 √ HT680 18 — — 18 — — HT611 0 14 √ HT600 20 20 — 20 20 — HT612 2 12 √ HT600 20 20 — 20 20 — HT614 4 10 √ HT600 20 20 — 20 20 — HT6207 20 — HT615 5 9 √ HT600 20 20 — 20 20 — HT651 0 18 √ HT640 24 24 24 — 24 24 HT654 4 14 √ HT640 24 24 24 — 24 24 HT656 6 12 √ HT640 24 24 24 — 24 24 HT6247 24 — HT640 24 24 24 — 24 24 HT658 8 10 √ 7 2nd Oct ’97 318 Series of Decoders Address/Data sequence The following provides a table of address/data sequence for various models of the 318 series decoders. A correct device should be selected according to the requirements of individual address and data. Address/Data Bits Part No. 0~3 4 5 6~9 10 11 12 13 14 15 16 17 HT602L A0~A3 A4 — A6~A9 — A11 A12 A13 D14 D15 — — HT604L A0~A3 A4 — A6~A9 — A11 D12 D13 D14 D15 — — HT605L A0~A3 A4 — A6~A9 — D11 D12 D13 D14 D15 — — HT611 A0~A3 A4 — A6~A9 — A11 A12 A13 A14 A15 — — HT612 A0~A3 A4 — A6~A9 — A11 A12 A13 D14 D15 — — HT614 A0~A3 A4 — A6~A9 — A11 D12 D13 D14 D15 — — HT615 A0~A3 A4 — A6~A9 — D11 D12 D13 D14 D15 — — HT644L A0~A3 A4 A5 A6~A9 A10 A11 A12 A13 D14 D15 D16 D17 HT646L A0~A3 A4 A5 A6~A9 A10 A11 D12 D13 D14 D15 D16 D17 HT648L A0~A3 A4 A5 A6~A9 D10 D11 D12 D13 D14 D15 D16 D17 HT651 A0~A3 A4 A5 A6~A9 A10 A11 A12 A13 A14 A15 A16 A17 HT654 A0~A3 A4 A5 A6~A9 A10 A11 A12 A13 D14 D15 D16 D17 HT656 A0~A3 A4 A5 A6~A9 A10 A11 D12 D13 D14 D15 D16 D17 HT658 A0~A3 A4 A5 A6~A9 D10 D11 D12 D13 D14 D15 D16 D17 HT682L A0~A3 — — A6~A9 — A11 A12 — D14 D15 — — HT683L A0~A3 — — A6~A9 — A11 D12 — D14 D15 — — HT684L A0~A3 — — A6~A9 — D11 D12 — D14 D15 — — HT691 A0~A3 — — A6~A9 — A11 A12 — A14 A15 — — HT692 A0~A3 — — A6~A9 — A11 A12 — D14 D15 — — HT693 A0~A3 — — A6~A9 — A11 D12 — D14 D15 — — HT694 A0~A3 — — A6~A9 — D11 D12 — D14 D15 — — Note: “—” is a dummy code which is left “open” and not bonded out. 8 2nd Oct ’97 318 Series of Decoders Oscillator frequency vs supply voltage The recommended oscillator frequency is FOSCD (decoder) ≅ FOSCE (encoder). 9 2nd Oct ’97 318 Series of Decoders Package Information Latch series 10 2nd Oct ’97 318 Series of Decoders Momentary series 11 2nd Oct ’97 318 Series of Decoders Momentary series 12 2nd Oct ’97 318 Series of Decoders Application Circuits 13 2nd Oct ’97 318 Series of Decoders Note: Typical infrared receiver: PIC-12043T/PIC-12043C (KODENSHI CORP.) or LTM9052 (LITEON CORP.) Typical RF receiver: JR-200 (JUWA CORP.) RE-99 (MING MICROSYSTEM, U.S.A.) 14 2nd Oct ’97