![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
ht6221/ht6222 multi-purpose encoders block diagram 1 march 2, 2000 features operating voltage: 1.8v~3.5v dout with 38khz carrier for ir medium low standby current minimum transmission word: one word 455khz ceramic resonator or crystal 16-bit address codes 8-bit data codes ppm code method three double-active keys maximum active keys ht6221: 32 keys ht6222: 64 keys low power and high noise immunity cmos technology applications television and video cassette recorder con - trollers burglar alarm systems smoke and fire alarm systems garage door controllers car door controllers car alarm systems security systems other remote control systems general description the ht6221/ht6222 are cmos lsi encoders designed for use in remote control systems. they are capable of encoding 16-bit address codes and 8-bit data codes. each address/data input can be set to one of the two logic states, 0 and 1. the ht6221/ht6222 contain 32 keys (k1~k32) and 64 keys (k1~k64), respectively. when one of the keys is triggered, the pro- grammed address/data is transmitted together with the header bits via an ir (38khz carrier) transmission medium. ! " # # $ $% $ $ & % '() * +, pin assignment pad assignment chip size: 94 104 (mil) 2 * the ic substrate should be connected to vdd in the pcb layout artwork. ht6221/ht6222 2 march 2, 2000 - . / % * 0 1 - - 1 0 * % / . . / % * 0 1 - - 1 0 * % / . '() - 1 0 * % +, $ $ $- $ ! * # # $ $ '() - 1 0 * % +, $- $ $1 $0 $* $% ! * # # - - 1 0 1 * 0 % * / % . / . - ( (1 (0 (* $, ,+ ( + ( * ( 0 ( 1 ( ( - ( ( ( . (. ( ( (- 2. 3. 4 pad coordinates unit: mil pad no. x y pad no. x y 1 41.99 34.43 13 34.17 46.88 2 41.99 22.02 14 41.95 30.26 3 41.99 15.39 15 41.95 13.98 4 41.99 2.98 16 41.95 4.12 5 41.99 5.61 17 41.95 12.16 6 41.99 28.31 18 41.95 22.02 7 41.99 37.83 19 39.99 46.84 8 41.99 46.88 20 28.26 46.84 9 20.95 46.88 21 11.18 46.84 10 14.32 46.88 22 23.16 46.84 11 4.25 46.88 23 29.79 46.84 12 24.31 46.88 24 39.27 46.84 pin description ht6222 pin no. pin name i/o internal connection description 1~6 r3~r8 i cmos in pull-low row control for keyboard matrix, active high 7 dout o cmos out serial data output pin, with a 38khz carrier 8 vdd positive power supply, 1.8v~3.5v for normal operation 9 d7 i cmos in most significant data bit (d7) code setting 10 x2 o oscillator 455khz resonator oscillator output 11 x1 i oscillator 455khz resonator oscillator input 12 vss negative power supply 13 led o cmos out transmission enable indicator output 14~21 c8~c1 i/o cmos in/out pull-low column control for keyboard matrix 22 ain i cmos in pull-high pull-low low byte address codes (8 bits) scan input 23~24 r1~r2 i cmos in pull-low row control for keyboard matrix, active high ht6221/ht6222 3 march 2, 2000 approximate internal connection circuits absolute maximum ratings supply voltage................................. 0.3v to 6v storage temperature................. 50 cto125 c input voltage .................v ss 0.3v to v dd +0.3v operating temperature .............. 20 cto75 c 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 device at other conditions beyond those listed in the specification is not implied and prolonged expo- sure to extreme conditions may affect device reliability. electrical characteristic ta=25 c symbol parameter test conditions min. typ. max. unit v dd conditions v dd operating voltage 1.8 3 3.5 v i stb standby current 3v oscillator stops 0.1 1.0 a i dd operating current 3v f osc =455khz no load 200 400 a i oh1 output source current for dout 3v v o =2.7v 2.0 4.0 ma i ol1 output sink current for dout 3v v o =0.3v 50 100 a i oh2 output source current for led 3v v o =2.7v 10 60 a i ol2 output sink current for led 3v v o =0.3v 1.2 2.0 ma i oh3 output source current for c1~c8 3v v o =2.7v 0.6 2.0 ma ht6221/ht6222 4 march 2, 2000 ()5 ! () 678 () (++'!$ # # ,) . ! ()5 ! 678 symbol parameter test conditions min. typ. max. unit v dd conditions i ol3 output sink current for c1~c8 3v v o =0.3v 10 30 a v ih1 input high voltage for r1~r8 3v 1.9 3.0 v v il1 input low voltage for r1~r8 3v 0 0.8 v v ih2 input high voltage for c1~c8 3v 1.1 3.0 v v il2 input low voltage for c1~c8 3v 0 0.6 v v ih3 input high voltage for ain 3v 1.25 3.0 v v il3 input low voltage for ain 3v 0 0.6 v r ph1 input pull-high resistance for ain 3v v in =0v 100 200 400 k r pl1 input pull-low resistance for ain 3v v in =3v 70 150 250 k r pl2 input pull-low resistance for r1~r8 3v v in =3v 120 200 320 k r pl3 input pull-low resistance for c1~c8 3v v in =3v 300 500 1500 k f osc system frequency 455khz ce ramic resonator 455 khz ht6221/ht6222 5 march 2, 2000 functional description keyboard scan the ht6221/ht6222 remain in the halt mode during the standby state (at this time, the oscil- lator stops, and the standby current<1 a). the ht6221 consists of 32 active keys, and the ht6222 has 64 active keys. the keyboard forms of the ht6221/ ht6222 are shown below. the ht6221 keyboard form the ht6222 keyboard form $ $ $- $ $1 $0 $* $% - -- - -1 -0 1 0 * % -* -% -/ . / . - - 1 0 1 0 * % * % / . / 1. 1 1 - 1- 1 11 10 / -. - - 0 0 0- 0 1 0 * % 1* 1% 1/ 0. - 1 0 * % - 1 0 * % / . - 1 0 - $ $ $- $ * % / . - 1 0 * % / -. - - 1 0 * % ht6221/ht6222 6 march 2, 2000 when one of the keys (32 or 64 keys) is triggered for over 36ms, the oscillator is enabled and the chip is activated. if the key is pressed and held for 108ms or less, the 108ms transmission codes are enabled and comprised of a header code (9ms), an off code (4.5ms), low byte address codes (9ms~18ms), high byte address codes (9ms~18ms), 8-bit data codes (9ms~18ms), and the inverse codes of the 8-bit data codes (18ms~9ms). after the pressed key is held for 108ms, if the key is still held down, the trans - mission codes turn out to be a composition of header (9ms) and off codes (2.5ms) only. to avoid mistakes made by keyboard scanning or simultaneous two-key inputs (except for the three double-key active functions (k21+k22, k21+k23, and k21+k24), the ht6221/ht6222 are facilitated with 36ms starting time. the ht6221/ht6222 also provide three dou - ble-key active functions (k21+k22, k21+k23, and k21+k24) for tape deck recording opera - tions. the double-key operation rules are shown in timing 4 and timing 6. transmission codes the transmission codes of the ht6221/6222 consist of a 9ms header code, a 4.5ms off code, 16-bit ad - dress codes (18ms~36ms), 9ms~18ms 8-bit data codes, and the inverse code of the 8-bit data codes. the following is an illustration of the transmission codes: ! # 7 2 9 04 -0: : " /: 1: 90-: .%: .%: 2' .9' 1; .9 *; .9 *4 -%<= >3 --? /: "1: "1: /: , @ a11<= > "1: ."10: ."10: output format for the dout 0"-: %"**: -%<= > 38khz carrier b b bc b d 2": 4 d 2": 4 -%<= > -%<= > ."10: logic states the output code carrier of the dout pin is shown in timing 2: the transmission codes employ the ppm (pulse position modulation) method to represent their two logic states by "0" (1.12ms) and "1" (2.24ms) as shown in timing 3: ht6221/ht6222 7 march 2, 2000 setting the address codes (a0~a15) the algorithm rule of the address codes (a0~a15) can be selected by mask option. in this case, the 16-bit on-chip mask rom (rom1 and rom2) are available, and the value of rom1 (8 bits) and rom2 (8 bits) are decided by one mask layer. the current value of rom1 and rom2 are both "00h". the a0~a7 are set by logical or between the external switch s0~s7 and the rom1. the a8~a15 equal some bits inverted to a0~a7, the inversion are decided by logical or be - tween the external switch s8~s15 and the rom2. for example: the following is an illustration of these rules in selecting the address codes (a0~a15). . . . . . . . . . . . . . . . . . . . . . . . . . . '.'''-''1'0'* : d : e .e .9*$$ %91 $$ . . . . . , 8 f .9 1e 7fd$ 3$ e '.9'*e '%g9'1ge '%9'1e . * . * '() ) % % % * 0 1 - . / . - 1 - 1 0 * % 2 8 f d e. 3 8 f e 4 ..< % ht6221/ht6222 8 march 2, 2000 values of the data codes (d0~d7) the ht6221/ht6222 contain 32 and 64 ac - tive keys, respectively. each key corresponds to a data code. for tape deck recording, the ht6221/ht6222 provide three double-key functions. the double-key, single-key, and double-key operation rules are shown in ta - ble 3, table 4, timing 4, timing 5 and timing 6. table 3: double-key data code table key data codes d0~d6 data code d7 k21+k22 1010110 0/1 k21+k23 0110110 0/1 k21+k24 1110110 0/1 note: d7 is defined by an external switch table 4: k1~k64 single-key data code table key data codes d0~d6 data code d7 key data codes d0~d6 data code d7 k1 0000 000 0/1 k33 0000 001 0/1 k2 1000 000 0/1 k34 1000 001 0/1 k3 0100 000 0/1 k35 0100 001 0/1 k4 1100 000 0/1 k36 1100 001 0/1 k5 0010 000 0/1 k37 0010 001 0/1 k6 1010 000 0/1 k38 1010 001 0/1 k7 0110 000 0/1 k39 0110 001 0/1 k8 1110 000 0/1 k40 1110 001 0/1 k9 0001 000 0/1 k41 0001 001 0/1 k10 1001 000 0/1 k42 1001 001 0/1 k11 0101 000 0/1 k43 0101 001 0/1 k12 1101 000 0/1 k44 1101 001 0/1 k13 0011 000 0/1 k45 0011 001 0/1 k14 1011 000 0/1 k46 1011 001 0/1 k15 0111 000 0/1 k47 0111 001 0/1 k16 1111 000 0/1 k48 1111 001 0/1 k17 0000 100 0/1 k49 0000 101 0/1 k18 1000 100 0/1 k50 1000 101 0/1 k19 0100 100 0/1 k51 0100 101 0/1 k20 1100 100 0/1 k52 1100 101 0/1 k21 0010 100 0/1 k53 0010 101 0/1 k22 1010 100 0/1 k54 1010 101 0/1 k23 0110 100 0/1 k55 0110 101 0/1 k24 1110 100 0/1 k56 1110 101 0/1 k25 0001 100 0/1 k57 0001 101 0/1 ht6221/ht6222 9 march 2, 2000 (d : (d 2 4 (d : (d 2 4 2 4 2 4 (d : (d : -0: hh0: -0: -0: (d : (d : ! ! ! ) : ! .%: 2: "4 : : ) : : -0: hh0: -0: -0: .%: 2: "4 : .hh-0: : .hh-0: invalid double-key input key data codes d0~d6 data code d7 key data codes d0~d6 data code d7 k26 1001 100 0/1 k58 1001 101 0/1 k27 0101 100 0/1 k59 0101 101 0/1 k28 1101 100 0/1 k60 1101 101 0/1 k29 0011 100 0/1 k61 0011 101 0/1 k30 1011 100 0/1 k62 1011 101 0/1 k31 0111 100 0/1 k63 0111 101 0/1 k32 1111 100 0/1 k64 1111 101 0/1 note: d7 is defined by an external switch d7=0 : connect to vdd d7=1 : connect to vss valid single-key input valid double-key input ht6221/ht6222 10 march 2, 2000 -0: ! 2 4 (d -0: ! 2 4 h.%: .%: i . % : : : (d note: kn can be one of k1~k64 (d i 0 : : ( d -0: -0: .%: 2: "4 ! : : ; : : note: km can be one of k22~k24 dout and led after the transmission codes are sent, the dout pin generates transmission codes with a carrier, and the led goes low to drive a transmission indicator. application circuits application circuit 1 note: typical infrared diode: el-1l2 (kodenshi corp.) ht6221/ht6222 11 march 2, 2000 * . * 1 - 1 1< % ) % % 0 * % $ $ $- $ '() - 1 0 * % / . - 1 0 * % / . - 1 0 * % / -. - - ! +, %.1. "% 9-"1 --. * @50 < ( * 0 # # 11<= > : % / ..d@ ..d@ /%*01--. +, application circuit 2 note: typical infrared diode: el-1l2 (kodenshi corp.) ht6221/ht6222 12 march 2, 2000 * / * - 1 1< % ) % % 0 * % $1 $0 $* $% '() $ $ $- $ - -- - -1 -0 1 0 * % -* -% -/ . - / . 1 0 * % - 1 0 * % / . / 1. 1 1 - 1- 1 11 10 1 0 * % 1* 1% 1/ 0. / -. - - 0 0 0- 0 ! +, %.1. "% 9-"1 --. * @50 < ( * - % # # 11<= > : . ..d@ ..d@ ./%*01--10 ht6221/ht6222 13 march 2, 2000 copyright 2000 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 pres - ent 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. 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 |
Price & Availability of HT622224SDIP
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |