HOLTEK 2'* Series of Decoders Features e Operating voltage: 2.4V~12V Low power and high noise immunity CMOS technology Low standby current Capable of decoding 12 bits of information Pair with Holteks 2 series of encoders Binary address setting Received codes are checked 3 times Applications Burglar alarm system Smoke and fire alarm system e Garage door controllers e Car door controllers General Description The g@ decoders are a series of CMOS LSIs for remote control system applications. They are paired with Holteks 2 ~ series of encoders (re- fer to the encoder/decoder cross reference ta- ble). For proper operation, a pair of encoder/decoder with the same number of ad- dresses and data format should be chosen. The decoders receive serial addresses and data 1 . from a programmed 2 series of encoders that are transmitted by a carrier using an RF or an IR transmission medium. They compare the se- rial input data three times continuously with Selection Table e Address/Data number combination - HT12D: 8 address bits and 4 data bits - HT12F: 12 address bits only s Built-in oscillator needs only 5% resistor Valid transmission indicator Easy interface with an RF or an infrared transmission medium e Minimal external components Car alarm system Security system Cordless telephones Other remote control systems their local addresses. If no error or unmatched codes are found, the input data codes are de- coded and then transferred to the output pins. The VT pin also goes high to indicate a valid transmission. The 2' series of decoders are capable of decod- ing informations that consist of N bits of ad- dress and 12-N bits of data. Of this series, the HT12D is arranged to provide 8 address bits and 4 data bits, and HT12F is used to decode 12 bits of address information. Function Data Address VT Oscillator Trigger Package Part No. No. No. | Type HT12D 8 4 L _ | RC oscillator | DIN active "Hi" | 18 DIP/20 SOP HT12F 12 V_ | RC oscillator | DIN active "Hi" | 18 DIP/20 SOP Notes: Data type: L stands for latch type data output. VT can be used as a momentary data output. July 12, 1999HOLTEK J , Block Diagram 2"? Series of Decoders Vv WV Address O QO VDD VSS OSCc2 OSC1 fy fy toy Oscillator Divider . QO Data Shift oi | ortater js_Dwider_- Register Latch Circuit re Data I > DIN O>| Buffer . [Data Detector} 4 L y Vv Sync. Detector Camparator Comparator Control Logic 4 [ {|g Vv Vv y Transmission Gate Circuit Buffer --POVT Note: The address/data pins are available in various combinations (see the address/data table). Pin Assignment 8-Address 4-Data Ao 1 181 vbD Ai 2 V7WOvt A273 1617 OSC1 A304 15[7 osc2 A4C]5 141 DIN A5(]6 1319 D11 Ab6CI7 127 010 a7q8 1191 pe vss (9 1017 D8 HT12D 18 DIP 8-Address 4-Data NCO1 ~ 200Nnc Aol 2 1910 vDD A133 18 VT A2d4 170 08c1 A3C5 167 osc2 A416 151) DIN A517 147011 A618 13/0 p10 ATO9 120 p9 vss (110 110) D8 HT12D - 20 SOP 12-Address 12-Address 0-Data 0-Data UW og NcOU)1 20 NC 4001 181 vpb AOL] 2 197 VbD AIC}2 17OVT At3 18DVT A2C)3 16M0se1 azQ4 17[19 08c1 A3C) 4 1%Mosc2 a3s5 161 OSC2 A415 1417 DIN A446 15( DIN A516 130)A11 A57 14D ait AGC] 7 120 A10 A6C]8 1310 A10 A7]8 110 A9 Arg 120049 vss (9 10 A8 vss] 10 11 a8 HT12F HT12F ~18 DIP - 20 SOP July 12, 1999HOLTEK 7, 2" Series of Decoders Pin Description Pin Name | I/O Cc Internal Description onnection NMOS . . AO~A11 1 | TRANSMISSION Input pins for address AO~A11 setting They can be externally set to VDD or VSS. GATE D8~D11 Oo CMOS OUT _ | Output data pins DIN I CMOS IN Serial data input pin VT 0 CMOS OUT _ | Valid transmission, active high OSC1 I OSCILLATOR | Oscillator input pin OSC2 O | OSCILLATOR | Oscillator output pin VSS I Negative power supply (GND) VDD I Positive power supply Approximate interna! connection circuits NMOS TRANSMISSION CMOS OUT CMOS IN OSCILLATOR GATE ly {Soo n> osc br pPeDosea Absolute Maximum Ratings Supply Voltage........cscesceeseeeers ~0.3V to 18V Storage Temperature................. -50C to 125C Input Voltage... Vgs-0.3 to Vpp+0.3V Operating Temperature .............. -20C to 75C Note: These are stress ratings only. Stresses exceeding the range specified under "Absolute Maxi- mum Ratings may cause substantial damage to the device. Functional operation of this de- vice at other conditions beyond those listed in the specification is not implied and prolonged exposure to extreme conditions may affect device reliability. 3 July 12, 1999HOLTEK J , 2"? Series of Decoders Electrical Characteristics Ta=25C Test Conditions Symbol Parameter Min. | Typ.| Max. | Unit Vpp Conditions Vop Operating Voltage 24 5 12 Vv 5V 0.1 1 pA Igpg Standby Current Oscillator stops 12V 2 4 pA . No load Ipp Operating Current 5V fogc=150kHz 200 | 400 uA Data Output Source =4, - - _ I Current (D8~D11) BV | Vou=45V 1 16 mA 0 Data Output Sink _ Current (D8~D11) BV) Vour0.5V 1 16 a mA I VT Output Source Current sv Vop=4.5V -1 -16 mA VT VT Output Sink Current Voi=0.5V 1 1.6 mA Vin "H" Input Voltage 5V 3.5 5 Vv Vit L Input Voltage 5V 0 _ 1 Vv fosc Oscillator Frequency 5V | Rosc=51kQ 150 kHz 4 July 12, 1999HOLTEK J , Functional Description Operation The 2 series of decoders provides various com- binations of addresses and data ping in differ- ent packages so as to pair with the 2 series of encoders. The decoders receive data that are transmitted by an encoder and interpret the first N bits of code period as 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 address and data. The decoders will then check the re- ceived address three times continuously. If the received address codes all match the contents of the decoders local address, the 12-N bits of data are decoded to activate the output pins and the VT pin is set high to indicate a valid transmission. This will last unless the address code is incorrect or no signal is received. The output of the VT pin is high only when the transmission is valid. Otherwise it is always low. Output type Of the gl series of decoders, the HT12F has no data output pin but its VT pin can be used as a momentary data output. The HT12D, on the other hand, provides 4 latch type data pins whose data remain unchanged until new data are received. Part |Data|Address| Output | Operating No. |Pins| Pins | Type | Voltage HT12D| 4 8 Latch | 2.4V~12V HT12F 0 12 2.4V~12V 2"? Series of Decoders Flowchart The oscillator is disabled in the standby state and activated when a logic high signal applies to the DIN pin. That is to say, the DIN should be kept low if there is no signal input. Power on b> | rT i Standby mode No Disable VT & ignore the rest of this word Yes 4 Address bits matched ? Yes Store data -_>, Match previous stored data 7 3 times of checkin 4 Latch data to output & activate VT Address or data error ? Yes July 12, 1999HOLTEK 4 2'? Series of Decoders Decoder timing Encoder r Transmission | i Enable ; >| be <1 word od |@- 4words >| \e CTs Toeh, rle- 4 words p| be! 2" clocks }4-} 2 clocks Decoder VT | |@- check > }@ check >| Latched Data Out Encoder/Decoder cross reference table Package Decoders Data Pins | Address Pins | VT | Pair Encoder | Encoder Decoder DIP | SOP | DIP | SOP HT12A 18 20 HT12D 4 8 V 18 20 HT12E 18 20 HT12A 18 20 HT12F 0 12 V 18 | 20 HT12E 18 20 Address/Data sequence The following table provides address/data sequence for various models of the 2" series of decoders, A correct device should be chosen according to the requirements of the individual addresses and data. Address/Data Bits 0 1 2 3 4 5 6 7 8 9 10 11 HT12D AQ | Al | A2 | A3 | A4 | A5 | AB | AT | DB | DI | D1d | Dil HT12F AO | Al | A2 | A383 | A4 | AB | AB | AT | AB | AD | Al0 | All Part No. 6 July 12, 19992'* Series of Decoders HOLTEK Oscillator frequency vs supply voltage fosc (Scale) Rose (Q) 13 VDD (VDC) 12 1 50 foscr (HT12E encoder) 1 The recommended oscillator frequency is fogcp (decoder) fosce (HT12A encoder). ~ 3 July 12, 1999HOLTEK 4 2"? Series of Decoders Application Circuits Na Na Sos Ls ssa Sa vbD VDD yt AO VOD 18 ong VDD 18 0-4 a4 vttLo SoA at vito oan osct ie ~o3a2 oscr 18 Rosc Rosc o4n3 asca! S~ota3-o8c2 is FOS 02] a4 pin| 4 So ag pin} 4 os p1iteo oS] as ants So as piotto Sodas aol!2_5 obi pelttc ~o Shar ag\tt 9 vss D8 W065 9 VSS A8 (10_ 5 HT12D HT12F Notes: Typical infrared receiver: PIC-12043T/PIC-120435 (KODESHI CORP.) or LTM9052 (LITEON CORP.) Typical RF receiver: JR-200 (JUWA CORP.) RE-99 (MING MICROSYSTEM, U.S.A.) 8 duly 12, 1999