单片机交通灯中英文资料对照外文翻译文献Word文档格式.docx

上传人:b****6 文档编号:19437270 上传时间:2023-01-06 格式:DOCX 页数:13 大小:41.13KB
下载 相关 举报
单片机交通灯中英文资料对照外文翻译文献Word文档格式.docx_第1页
第1页 / 共13页
单片机交通灯中英文资料对照外文翻译文献Word文档格式.docx_第2页
第2页 / 共13页
单片机交通灯中英文资料对照外文翻译文献Word文档格式.docx_第3页
第3页 / 共13页
单片机交通灯中英文资料对照外文翻译文献Word文档格式.docx_第4页
第4页 / 共13页
单片机交通灯中英文资料对照外文翻译文献Word文档格式.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

单片机交通灯中英文资料对照外文翻译文献Word文档格式.docx

《单片机交通灯中英文资料对照外文翻译文献Word文档格式.docx》由会员分享,可在线阅读,更多相关《单片机交通灯中英文资料对照外文翻译文献Word文档格式.docx(13页珍藏版)》请在冰豆网上搜索。

单片机交通灯中英文资料对照外文翻译文献Word文档格式.docx

AboutAT89C51

1.functioncharacteristicsdescription:

AT89C51isalowpowerconsumption,highperformanceCMOS8bitmicro-controller,hasthe8KinsystemprogrammableFlashmemory.Usehigh-densityAtmelcompanythebeltpasswordnonvolatilestoragetechnologyandmanufacturing,andindustrial80S51productinstructionsandpinfullycompatible.ChipFlashallowprogrammemoryinsystemprogrammable,alsosuitableforconventionalprogrammer.Inasinglechip,havedexterous8bitsCPUandinsystemprogrammableFlash,makeAT89C51formanyembeddedcontrolapplicationsystemprovidesthehighflexible,superefficientsolution.AT89C51hasthefollowingstandardfunction:

8kbytesFlash,256bytesRAM,32-bitI/Omouthline,thewatchdogtimer,twodatapointer,three16timer/counter,a6vectorlevel2interruptstructure,full-duplexserialport,pieceinsidecrystalstimelyclockcircuit.Inaddition,AT89C51candropto0Hzstaticlogicoperation,supporttwosoftwarecanchoosepowersavingmode.Idlemode,theCPUtostopworking,allowingtheRAM,timer/counter,serialports,interruptioncontinuetowork.Powerlostprotectionmode,RAMcontentbeingsaved,hasbeenfrozen,microcontrollerallworkstop,untilthenextinterruptionorhardwareresetsofar.Asshowninfigure1fortheAT89C51pinsallotment.

Figure1theAT89C51pinsallotment

2.interruptintroduction

AT89C51hassixinterruptsources:

twoexternalinterruption,(and),threetimerinterrupt(timer0,1,2)andaserialinterrupts.EachinterruptsourcecanbepassedbuybitsorremoveIEtherelevantspecialregisterinterruptallowcontrolbitrespectivelymakeeffectiveorinvalidinterruptsource.IEalsoincludesaninterruptallowtotalcontrolbitEA,itcanbeabanallinterrupts.IE.Sixisnotavailable.ForAT89C51,IE.5bitsarealsonotbeused.Usersoftwareshouldnotgivethesebitswrite1.TheyAT89seriesfornewproductreserved.Timer2canbeTF2andtheT2CONregistersEXF2orlogicaltriggered.Programintoaninterruptservice,thesignbitcanbeimprovedbyhardwareqing0.Infact,theinterruptserviceroutinemustdeterminewhetherTF2orEXF2activationdisruption,thesignbitmustalsobysoftwareqing0.Timer0and1markatimerTF0andTF1hasbeenpresentedinthecyclecountoverflowS5P2074bits.Theirvalueuntilthenextcyclewascircuitcapturedown.However,thetimer2marksaTF2incountoverflowofthecycleofS2P2074bits,inthesamecyclewascircuitcapturedown

 

3.externalclockdrivingcharacteristics

symbols

parameters

minimum

Themaximum

unit

1/TCLCL

OscillatorFrequency

24

MHz

TCLCL

ClockPeriod

41.6

ns

TCHCX

HighTime

15

TCLCX

LowTime

TCLCH

RiseTime

20

TCHCL

FallTime

Table1

4.leisureandpowerlostpatternexternalpinsstate

mode

Programmemory

ALE

^psen

Port0

Port1

Port2

Port3

idle

internal

1

data

Data

Idle

External

float

Powerdown

Internal

Table2

About8255chip

1.8255features:

(1)Aparallelinput/outputLSIchips,efficacyofI/Odevices,butasCPUbusandperipheralinterface.

(2)Ithas24programmableSettingsofI/Omouth,eventhreegroupsof8bitsI/Omouthtomouth,PBmouthandPAPCmouth.Theyaredividedintotwogroups12I/Omouth,AgroupincludingportAandCmouth(highfour,PC4~PC7),includinggroupBandCportBmouth(lowfour,PC0~PC3).AgroupcanbesettogivebasicI/Omouth,flashcontrol(STROBE)I/Oflashcontrolled,two-wayI/O3modes,GroupBcanonlysettobasicI/OorflashcontrolledtheI/O,andthesetwomodesofoperationmodeentirelybycontrollingregisterscontrolworddecision.

2.8255pinsefficacy:

(1).RESET:

RESETinputlines,whentheinputoutsideathighlevels,allinternalregisters(includingcontrolregisters)wereremoved,allI/Oportsaredenotinginputmethods.

(2).CS:

chipchooseastandardlampline1,whentheinputpinsforlowlevels,namely/CS=0,saidchipisselected,allow8255andCPUforcommunications,/CS=1,8255cannotwithCPUdodatatransmission.

(3).RD:

readastandardlampline1,whentheinputpinsforlowlevels,namely/RD=0and/CS=0,allow8255throughthedatabustotheCPUtosenddataorstateinformation,namelytheCPU8255readfromtheinformationordata.

(4).TheWR:

writeastandardlights,whentheinputpinsforlowlevels,namely/WR=0and/CS=0,allowstheCPUwilldataorcontrolwordwrite8255.

(5).D7:

threestatesD0~two-waydatabus,8255andCPUdatatransmissionchannel,whentheCPUexecutioninput/outputinstruction,throughitsrealization8bitsofdataread/writeoperation,controlcharactersandstatusinformationtransmittedthroughthedatabus.

(6).PA0~PA7:

portAinputandoutputlines,A8bitsofdataoutputlatches/buffers,an8bitsofdatainputlatches.

(7).PB0~PB7:

portBinputandoutputlines,a8bitsofI/Olatches,an8bitsofinputandoutputbuffer.

(8).PC0~PC7:

portCinputandoutputlines,a8bitsofdataoutputlatches/buffers,an8bitsofdatainputbuffer.PortCcanthroughthewayofworkingsettingintotwofourports,every4digitportcontainsA4digitlatches,respectivelywiththeportAandportBcooperatetouse,canbeusedascontrolstandardlightsoutputorstatestandardlightsinputports.

(9).A0,A1:

addressselectionline,usedtoselectthePA8255mouth,PBmouth,PCmouthandcontrollingregisters.

WhenA0=0,A1=0,PAmouthbechosen;

WhenA0=0,A1=1,PBmouthbechosen;

WhenA0=0,A1=1,PCmouthbechosen;

WhenA0=1,A1=1,controlregisterisselected.

ConcerningsevensectionLEDdisplayintroduction

Throughlightemittingdiodechipappropriatelink(includingseriesandparallel)andappropriateopticalstructure.Mayconstitutealuminousdisplaylight-emittingsegmentsorshinepoints.Bytheseluminoussegmentsorshinepointcanbecomposeddigitaltube,symbolstube,mwordpipe,tube,multilevelmatrixdisplaytubeetc.Usuallythedigitaltube,symbolstube,mwordtubewerecalledstrokedisplay,butthestrokedisplaysandmatrixtubecollectivelyreferredtoascharacterdisplays.

1.TheLEDdisplayclassification

(1)bywordhighmarks:

strokemonitorswordhighleast1mm(monolithicintegratedtypemoredigitaltubewordhighincommonly2~3mm).Othertypesofstrokedisplaytiptop1.27mm(0.5inch)evenuptohundredsofmm.

(2)color-codedscorered,orange,yellow,greenandseveralkinds.

(3)accordingtothestructurepoints,reflectingcovertype,asinglepoint-elasticandmonolithicintegratedtype.

(4)fromtheluminoussectionelectrodeconnectionmodeofpointsofanodeandcathodetwokinds.

2.LEDdisplayparameters

Dueto

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 农林牧渔 > 林学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1