毕业设计(论文)-基于51单片机的电子时钟的设计与制作.doc
上传人:梅雪****67 上传时间:2024-09-11 格式:DOC 页数:31 大小:478KB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

毕业设计(论文)-基于51单片机的电子时钟的设计与制作.doc

毕业设计(论文)-基于51单片机的电子时钟的设计与制作.doc

预览

免费试读已结束,剩余 21 页请下载文档后查看

10 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

电子时钟的设计与制作郑州轻院轻工职业学院专科毕业设计(论文)题目电子时钟的设计与制作学生姓名王爱锋专业班级08级电子信息工程技术一班学号08103182系别机电工程系指导教师(职称)赵文丽(讲师)完成时间2011年4月15日摘要基于51单片机可校时数字时钟电路设计,单片机计算机即单片微型计算机。(Single-ChipMicrocomputer)是集CPU,RAM,ROM,计数和多种接口于一体的微控制器。石英晶体振荡器是高精度的计时工具,而电子钟,石英表,石英钟都采用了石英技术,因此计时精度高,稳定性好,使用方便,不需要经常调校。而数字式电子钟用集成电路计时时,译码代替机械式传动,用LED显示器代替指针显示进而显示时间,减小了计时误差,这种表具有时,分,秒显示时间的功能,还可以进行时和分的校对,片选的灵活性好。本文利用单片机实现数字时钟计时功能的主要内容,其中AT89S51是核心元件同时采用数码管动态显示“时”,“分”,“秒”的现代计时装置。与传统机械表相比,它具有走时精确,显示直观等特点。它的计时周期为24小时,显满刻度为“23时59分59秒”,另外具有校时功能,断电后有记忆功能,恢复供电时可实现计时同步等特点。本设计由单片机AT89S51芯片和LED数码管为核心,辅以必要的电路,构成了一个单片机数字时钟。关键词:单片机数字时钟LED数码管显示按键AbstractThebaseand51digitalclockwhenthemicrocontrollercanbetheschoolcircuitdesign,single-chipcomputerthatissingle-chipmicro-computer.(Single-ChipMicrocomputer)isaCPU,RAM,ROM,countingandmultipleinterfacesinonemicrocontroller.Quartzcrystaloscillatorisahigh-precisiontimingtools,electronicclock,quartzwatch,quartzisusedquartztechnology,highprecisiontiming,goodstability,easytouse,doesnotrequirefrequentadjustment.Thedigitalelectronicclockwiththetimeintegratedcircuits,thedecodinginsteadofmechanicaltransmission,withLEDdisplayinsteadofapointerdisplayandthendisplaythetimeandreducethetimingerror,thistablehasthehours,minutesandsecondsdisplaysthetimefunction,butalsoinprogressandsub-proof-reading,theflexibilityofagoodchipselect.Inthispaper,MCUfunctiondigitalclocktimingthemaincontentsofwhichAT89S51isacoreelementatthesametimetheuseofdigitalcontroldynamicdisplay"time","sub","second"moderntimingdevices.Comparedwiththetraditionalmechanicalwatch,ithasatravel-timeaccuracy,displayandintuitiveandsoon.Itisatimeperiodof24hours,substantiallyfull-scaleas"23:59:59",anothertimewithaschoolfunction,memoryfunctionafterpoweroutages,powerrestorationcanberealizedwhenthetimesynchronizationandsoon.ThedesignbytheMCUAT89S51chipandLEDdigitaltubeasthecore,supplementedbythenecessarycircuitrytoformasinglechipdigitalclock.Keywords:shrapnelmachinedigitalclockLEDdigitaltubedisplaybutton目录引言