摘要时间是现代社会中不可缺少的一项参数无论是平时生活还是社会生产都需要对时间进行控制有的场合对其精确性还有很高的要求采用单片机进行计时,对于社会生产有着十分重要的作用。本文首先在绪论中介绍了单片机和时钟的概念和现状,然后在对单片机系统、喇叭装置和显示电路做了深入的研究之后,提出了系统总体设计方案,并设计了各部分硬件模块和软件流程,在用汇编语言设计了具体软件程序后,用伟福软件进行了仿真和调试结果证明了该设计系统的可行性。由于AT89C51系列单片机的控制器运算能力强,处理速度快,可以精确计时,很好地解决了实际生产生活中对计时高精确度的要求,因此该设计在现代社会中具有广泛的适用性。关键字:AT89C51定时LCD显示仿真,调试
i
fAbstractModer
societyisi
dispe
sabletoaparameterwhetheri
peacetimeori
socialproductio
eedtoco
trolthetimetherearesomeoccasio
stoitshighaccuracyrequireme
tsMicroco
trollerusedtotimethecommu
ityhasaproductio
veryimporta
troleThispaperfirsti
troducedi
thei
troductio
oftheco
ceptofSCMa
dclocka
dthestatusquothe
theSCMsystemspeakersa
ddisplaycircuitdevicesdoa
i
depthstudytheoveralldesig
ofthesystemproposedprogrammeallpartsofthedesig
ofthehardwaremoduleA
dsoftwareprocessesusedi
thecompilatio
ofthespecificla
guageofthesoftwaredesig
processFuWeiusesoftwaresimulatio
a
ddebuggi
gtheresultsprovedthefeasibilityofthedesig
Astheco
trollerAT89C51MCUcomputi
gcapabilitya
dprocessi
gspeedprecisio
timi
gagoodsolutio
tothelifeoftheactualproductio
ofhighprecisio
timi
goftherequestsothedesig
i
moder
societyhasabroadapplicabilityKeywordAT89C51timi
gLCDdisplaysimulatio
debuggi
g
ii
f目录
第一章绪论1第一节设计本电子定时闹钟的目的和意义1第二节单片机和数字钟介绍1一、单片机介绍1二、数字钟介绍3第三节本LCD电子闹钟的特点和功能介绍4一、本电子钟设计特点4二、本电子钟的主要功能4
第二章总体方案设计与硬件设计5第一节总体设计方案5第二节电路总体概念图设计5第三节MCS51单片机硬件结构设计6r