Multi-PurposeEncoders
Features
·······
Operatingvoltage:1.8V~3.5V
DOUTwith38kHzcarrierforIRmediumLowstandbycurrent
Minimumtransmissionword:oneword455kHzceramicresonatororcrystal16-bitaddresscodes8-bitdatacodes
····
PPMcodemethod
Threedouble-activekeysMaximumactivekeys-HT6221:32keys-HT6222:keys
LowpowerandhighnoiseimmunityCMOStechnology
Applications
····
Televisionandvideocassetterecordercon-trollers
Burglaralarmsystems
SmokeandfirealarmsystemsGaragedoorcontrollers
····Cardoorcontrollers
CaralarmsystemsSecuritysystems
Otherremotecontrolsystems
GeneralDescription
TheHT6221/HT6222areCMOSLSIencodersdesignedforuseinremotecontrolsystems.Theyarecapableofencoding16-bitaddresscodesand8-bitdatacodes.Eachaddress/datainputcanbesettooneofthetwologicstates,0and1.
TheHT6221/HT6222contain32keys(K1~K32)andkeys(K1~K),respectively.Whenoneofthekeysistriggered,thepro-grammedaddress/dataistransmittedtogetherwiththeheaderbitsviaanIR(38kHzcarrier)transmissionmedium.
BlockDiagram
1March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222PinAssignment
PadAssignment
Chipsize:94´104(mil)2
*TheICsubstrateshouldbeconnectedtoVDDinthePCBlayoutartwork.
2March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222PadCoordinates
PadNo.
1234567101112
X-41.99-41.99-41.99-41.99-41.99-41.99-41.99-41.99-20.95-14.32-4.2524.31
Y34.4322.0215.392.98-5.61-28.31-37.83-46.88-46.88-46.88-46.88-46.88
PadNo.131415161718192021222324
X34.1741.9541.9541.9541.9541.9539.9928.26-11.18-23.16-29.79-39.27
Unit:milY-46.88-30.26-13.98-4.1212.1622.0246.8446.8446.8446.8446.8446.84
PinDescription
HT6222PinNo.1~671011121314~212223~24
PinNameR3~R8DOUTVDDD7X2X1VSSLEDC8~C1AINR1~R2
I/OIO¾IOI¾OI/OII
InternalConnectionCMOSINPull-lowCMOSOUT
¾CMOSINOSCILLATOROSCILLATOR
¾CMOSOUTCMOSIN/OUT
Pull-lowCMOSINPull-highPull-lowCMOSINPull-low
Description
Rowcontrolforkeyboardmatrix,activehighSerialdataoutputpin,witha38kHzcarrierPositivepowersupply,1.8V~3.5Vfornormaloperation
Mostsignificantdatabit(D7)codesetting455kHzresonatoroscillatoroutput455kHzresonatoroscillatorinputNegativepowersupply
TransmissionenableindicatoroutputColumncontrolforkeyboardmatrixLowbyteaddresscodes(8bits)scaninputRowcontrolforkeyboardmatrix,activehigh
3March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222Approximateinternalconnectioncircuits
AbsoluteMaximumRatings
SupplyVoltage.................................-0.3Vto6VInputVoltage.................VSS-0.3VtoVDD+0.3V
StorageTemperature.................-50°Cto125°COperatingTemperature..............-20°Cto75°C
Note:Thesearestressratingsonly.Stressesexceedingtherangespecifiedunder\"AbsoluteMaxi-mumRatings\"maycausesubstantialdamagetothedevice.Functionaloperationofthisdeviceatotherconditionsbeyondthoselistedinthespecificationisnotimpliedandprolongedexpo-suretoextremeconditionsmayaffectdevicereliability.
ElectricalCharacteristic
SymbolVDDISTBIDDIOH1IOL1IOH2IOL2IOH3
Parameter
OperatingVoltageStandbyCurrentOperatingCurrent
OutputSourceCurrentforDOUTOutputSinkCurrentforDOUTOutputSourceCurrentforLEDOutputSinkCurrentforLEDOutputSourceCurrentforC1~C8
TestConditionsVDD¾3V3V3V3V3V3V3V
Conditions
¾
OscillatorstopsfOSC=455kHzNoloadVO=2.7VVO=0.3VVO=2.7VVO=0.3VVO=2.7V
Ta=25°C
Min.Typ.Max.Unit1.8¾¾-2.050-101.2-0.6
30.1200-4.0100-602.0-2.0
3.51.0400¾¾¾¾¾
VmAmAmAmAmAmAmA
4March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222SymbolIOL3VIH1VIL1VIH2VIL2VIH3VIL3RPH1RPL1RPL2RPL3fOSC
Parameter
OutputSinkCurrentforC1~C8InputHighVoltageforR1~R8InputLowVoltageforR1~R8InputHighVoltageforC1~C8InputLowVoltageforC1~C8InputHighVoltageforAINInputLowVoltageforAINInputPull-highResistanceforAINInputPull-lowResistanceforAINInputPull-lowResistanceforR1~R8InputPull-lowResistanceforC1~C8SystemFrequency
TestConditionsVDD3V3V3V3V3V3V3V3V3V3V3V¾
ConditionsVO=0.3V
¾¾¾¾¾¾
VIN=0VVIN=3VVIN=3VVIN=3V455kHzceramicresonator
Min.Typ.Max.Unit101.901.101.25010070120300¾
30¾¾¾¾¾¾200150200500455
¾3.00.83.00.63.00.002503201500¾
mAVVVVVVkWkWkWkWkHz
FunctionalDescription
Keyboardscan
TheHT6221/HT6222remaininthehaltmodeduringthestandbystate(atthistime,theoscil-latorstops,andthestandbycurrent<1mA).TheHT6221consistsof32activekeys,andtheHT6222hasactivekeys.ThekeyboardformsoftheHT6221/HT6222areshownbelow.
·TheHT6221keyboardform
·TheHT6222keyboardform
5March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222Whenoneofthekeys(32orkeys)istriggeredforover36ms,theoscillatorisenabledandthechipisactivated.Ifthekeyispressedandheldfor108msorless,the108mstransmissioncodesareenabledandcomprisedofaheadercode(9ms),anoffcode(4.5ms),lowbyteaddresscodes(9ms~18ms),highbyteaddresscodes(9ms~18ms),8-bitdatacodes(9ms~18ms),andtheinversecodesofthe8-bitdatacodes(18ms~9ms).Afterthepressedkeyisheldfor108ms,ifthekeyisstillhelddown,thetrans-missioncodesturnouttobeacompositionofheader(9ms)andoffcodes(2.5ms)only.Transmissioncodes
ThetransmissioncodesoftheHT6221/6222consistofa9msheadercode,a4.5msoffcode,16-bitad-dresscodes(18ms~36ms),9ms~18ms8-bitdatacodes,andtheinversecodeofthe8-bitdatacodes.Thefollowingisanillustrationofthetransmissioncodes:
Toavoidmistakesmadebykeyboardscanningorsimultaneoustwo-keyinputs(exceptforthethreedouble-keyactivefunctions(K21+K22,K21+K23,andK21+K24),theHT6221/HT6222arefacilitatedwith36msstartingtime.TheHT6221/HT6222alsoprovidethreedou-ble-keyactivefunctions(K21+K22,K21+K23,andK21+K24)fortapedeckrecordingopera-tions.Thedouble-keyoperationrulesareshownintiming4andtiming6.
OutputformatfortheDOUT
TheoutputcodecarrieroftheDOUTpinisshowninTiming2:
38kHzcarrier
ThetransmissioncodesemploythePPM(PulsePositionModulation)methodtorepresenttheirtwologicstatesby\"0\"(1.12ms)and\"1\"(2.24ms)asshowninTiming3:
Logicstates
6
March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222·Settingtheaddresscodes(A0~A15)
Thealgorithmruleoftheaddresscodes(A0~A15)canbeselectedbymaskoption.Inthiscase,the16-biton-chipMASKROM(ROM1andROM2)areavailable,andthevalueofROM1(8bits)andROM2(8bits)aredecidedbyoneMASKLAYER.ThecurrentvalueofROM1andROM2areboth\"00H\".TheA0~A7aresetbylogicalORbetweenthe
externalswitchS0~S7andtheROM1.TheA8~A15equalsomebitsinvertedtoA0~A7,theinversionaredecidedbyLogicalORbe-tweentheexternalswitchS8~S15andtheROM2.Forexample:
Thefollowingisanillustrationoftheserulesinselectingtheaddresscodes(A0~A15).
7March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222·Valuesofthedatacodes(D0~D7)
Table3:Double-keydatacodetable
KEYK21+K22K21+K23K21+K24
DataCodesD0~D6101011001101101110110
DataCode
D7
0/10/10/1
TheHT6221/HT6222contain32andac-tivekeys,respectively.Eachkeycorrespondstoadatacode.Fortapedeckrecording,theHT6221/HT6222providethreedouble-keyfunctions.Thedouble-key,single-key,anddouble-keyoperationrulesareshowninTa-ble3,Table4,Timing4,Timing5andTiming6.
Note:D7isdefinedbyanexternalswitch
Table4:K1~Ksingle-keydatacodetable
KEYK1K2K3K4K5K6K7K8K9K10K11K12K13K14K15K16K17K18K19K20K21K22K23K24K25
DataCodesD0~D60000000100000001000001100000001000010100000110000111000000010001001000010100011010000011000101100001110001111000000010010001000100100110010000101001010100011010011101000001100
DataCode
D7
0/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/1
KEYK33K34K35K36K37K38K39K40K41K42K43K44K45K46K47K48K49K50K51K52K53K54K55K56K57
DataCodesD0~D60000001100000101000011100001001000110100010110001111000100010011001001010100111010010011001101100101110011111001000010110001010100101110010100101011010101011010111101010001101
DataCode
D7
0/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/1
8March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222KEYK26K27K28K29K30K31K32
DataCodesD0~D61001100010110011011000011100101110001111001111100
DataCode
D7
0/10/10/10/10/10/10/1
KEYK58K59K60K61K62K63K
DataCodesD0~D61001101010110111011010011101101110101111011111101
DataCode
D7
0/10/10/10/10/10/10/1
Note:D7isdefinedbyanexternalswitch
D7=0:connecttoVDDD7=1:connecttoVSS
Invaliddouble-keyinput
9
March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222Note:KncanbeoneofK1~K
Validsingle-keyinput
Note:KmcanbeoneofK22~K24
Validdouble-keyinput
DOUTandLED
Afterthetransmissioncodesaresent,theDOUTpingeneratestransmissioncodeswithacarrier,andtheLEDgoeslowtodriveatransmissionindicator.
10March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222ApplicationCircuits
Applicationcircuit1
Note:Typicalinfrareddiode:EL-1L2(KODENSHICORP.)
11March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222Applicationcircuit2
Note:Typicalinfrareddiode:EL-1L2(KODENSHICORP.)
12March2,2000
元器件交易网www.cecb2b.comHT6221/HT6222HoltekSemiconductorInc.(Headquarters)
No.3CreationRd.II,Science-basedIndustrialPark,Hsinchu,Taiwan,R.O.C.Tel:886-3-563-1999Fax:886-3-563-11
HoltekSemiconductorInc.(TaipeiOffice)
5F,No.576,Sec.7ChungHsiaoE.Rd.,Taipei,Taiwan,R.O.C.Tel:886-2-2782-9635Fax:886-2-2782-9636
Fax:886-2-2782-7128(Internationalsaleshotline)
HoltekSemiconductor(HongKong)Ltd.
RM.711,Tower2,CheungShaWanPlaza,833CheungShaWanRd.,Kowloon,HongKongTel:852-2-745-8288Fax:852-2-742-8657
CopyrightÓ2000byHOLTEKSEMICONDUCTORINC.
TheinformationappearinginthisDataSheetisbelievedtobeaccurateatthetimeofpublication.However,Holtekassumesnoresponsibilityarisingfromtheuseofthespecificationsdescribed.TheapplicationsmentionedhereinareusedsolelyforthepurposeofillustrationandHoltekmakesnowarrantyorrepresentationthatsuchapplicationswillbesuitablewithoutfurthermodification,norrecommendstheuseofitsproductsforapplicationthatmaypres-entarisktohumanlifeduetomalfunctionorotherwise.Holtekreservestherighttoalteritsproductswithoutpriornotification.Forthemostup-to-dateinformation,pleasevisitourwebsiteathttp://www.holtek.com.tw.
13March2,2000
因篇幅问题不能全部显示,请点此查看更多更全内容