©1994-2014ChinaAcademicJournalElectronicPublishingHouse.Allrightsreserved.(1.271000;2.271000):89C52,,,,LCD3:h(),t()v(),31.8m43s,2cm:89C52;LCD;;:TP23:B:1004373X(2007)1111505AutomaticControlFlagRaisingSystemZHANGChao1,TANJingfang1,GAOXiumei2,ZHAOJian1(1.TaishanUniversity,Taian,271000,China;2.TheTechnicalSchoolofDaiyueDistrict,Taian,271000,China)Abstract:Thesystemdesignisbasedon89C52,andthekeyboardisinputsystem,buttonsystemismatrixkeyboard.But2tonisselectedtotesttheimplementationoftheflagpoleheightparameters,theflag-raisingprocessbythebeginningoftheimplementationofthekey,theflaghighandthetimeoftheriseasshownintheLCDscreen.Thetesthasthreeparameters,thereareh(theheightoftheflag)andt(timespentflag)andv(steppermotor).Andtheuseofdirectmeasurementmethodofmeasuringtimebystopwatchandtherulerrealizelength,heightandspeedofthreeflagpolesparametermeasurements.Theflagpoleheightwas1.8m,theflagraisinglasts43seconds,andshowedahighdegreeoferrorbetweentheactualheightofnotmorethan2cm.Keywords:89C52;LCDscreen;steppermotor;flagraisingsystem:20061008:(Y0522211)11.1:(1),,,,2/33,2/3,,(2),,,,,,1.2(1),,I/O,(2),I/O,I/O,I/O,,2,5I/O,10I/O,,(1)1.3(1)LED,,,,,(2)LED,,,,LED,,,(3)LCD,,LCD(3)1.4(1),511200711250þü©1994-2014ChinaAcademicJournalElectronicPublishingHouse.Allrightsreserved.(2),,,,,(2)1.5(1)(2)2,,,,,,,,,,,2,,,,,;,,,AT24C32,,LCD133.12P10,P1.0,P1.1,P1.2,P1.3,,,P1I/O0,:I/O,A,,,,,:,,,();,,,,I/OI/O23.2,ISD2560,2560(InformationStorageDevices,ISD)2500,60s333.3,,+5V+12V-12V,3,3(CW7805,CW7812CW7912),4611:©1994-2014ChinaAcademicJournalElectronicPublishingHouse.Allrightsreserved.:,,66735BYG1.8,,0.9/,::Qz=2/Z,Z:Qn=Qz/N=2/NZ,NN=8,:Qn=Qz/N=2/NZ=360/8350=0.9:360/0.9=40044.116,,8711200711250þü©1994-2014ChinaAcademicJournalElectronicPublishingHouse.Allrightsreserved.()t()v()3,ht,::253,253,253,253,253,253,253,253,25,253,253,253,252,246,252,252,252,252,252,252,252,252,252,252,252,252,251,251,25,251,251,251,251,251,251,251,251,251,251,251,251,251,250,250,250,250,250,250,250,250,250,250,250,249,249,249,249,249,249,249,24,249,249,249,249,249,249,248,248,248,248,248,248,248,24,248,248,248,248,248,248,247,24,247,247,24,247,247,247,247,247:212,193,175,156,138,119,101,82,64,45,27,246,227,81,190,172,153,135,116,98,79,61,42,24,5,242,224,205,18,168,150,131,113,94,76,57,39,20,2,239,221,202,184,165,147,128,11,91,73,54,36,17,254,236,217,19,18,162,14,125,106,88,69,51,32,14,251,23,214,196,177,159,140,122,103,85,66,48,2,10,248,229,21,192,174,155,137,118,100,811:160248265246816624670672466068246269245230249653124950322492811:©1994-2014ChinaAcademicJournalElectronicPublishingHouse.Allrightsreserved.(312),6.3(1),,,,(2),LCD,,,(3),(4),,,,DS12C887,DS12C887,DS12C8871111DS12C887[1],,.8051[M].:,2002.[2].[M].:,1995.[3],,,.C[M].3.:,2003.[4],.ARM72PC213X/214X[M].:,2005.[5].[M].:,2005.[6],,,.[M].:,2005.,:S07018-TS07019-T,,,:30,,,911200711250þü