基于单片机的多路专用定时器的设计
中文摘要
随着社会的发展,定时器在日常生活、工业控制、交通灯管理、检测、报警等方面的应用越来越广泛,同时人们对定时器的要求也越来越高。本课题设计一个基于STC89S52构成的实用定时器,这在某些应用中具有一定的实用价值。本课题设计了一个基于STC89S52的定时器,首先介绍了设计内容及要求,介绍了定时器的设计思路以及功能模块的划分,并对各模块实现的具体功能进行了说明。然后结合框图,介绍了定时器的工作原理,之后详细介绍了定时器具体单元电路的设计与分析。该定时器除具有基本的定时功能外,还具有定时时间连续可调、倒计时显示和定时开关功能。它造价低,功能全,整体功能性价比高,配以小键盘和LED显示器,它适应各种场合的定时预警之用。而且设计巧妙,体积小,功能强,计时范围大,用途广泛,操作携带方便,是一种较理想的定时工具。关键词:定时器;STC89S52;连续可调;倒计时显示关键词:定时器;;连续可调;
fMultispecifictimerbasedo
MCU
ABSTRACT
Withthedevelopme
tofsocietythetimeri
ourdailylivesi
dustrialco
troltrafficlightsma
ageme
tdetectio
alarma
dsoo
whilepeopleo
thetimertherearei
creasi
glyhighrequireme
tsThedesig
ofasubjectwithapracticalSTC89S52timerwhichi
someapplicatio
shassomepracticalvaluesThispaperfirsti
troducedthedesig
oftheco
te
ta
drequireme
tso
thedesig
ofthetimera
dthedeli
eatio
offu
ctio
almoduleseachmodulea
dthespecificfu
ctio
softhe
oteThe
withdiagramo
thepri
cipleofthetimerafterdetailsofthespecificu
ittimercircuitdesig
a
da
alysisThetimeri
additio
toabasicfu
ctio
ofthetimi
gbutalsowithadjustabletimi
gco
secutivetimethecou
tdow
displaya
dregularlyswitchi
gfu
ctio
itislowcostfullfeaturedcosteffectiveoverallfu
ctio
togetherwithasmallkeyboarda
dLEDdisplayitisadapttoavarietyofoccasio
sforusei
varietiesofwar
i
gA
dcleverlydesig
edsmallstro
gfu
ctio
widetimera
gewidera
geofuseseasytocarrya
doperateisa
idealtimi
gtoolKeywordsTimerSTC89S52co
ti
uouslyadjustablethecou
tdow
show
f目
录
第一章前言4
11设计背景412论文研究内容613论文结构安排6
第二章整体方案设计r