本科毕业设计--基于单片机的秒表时钟计时器设计.doc
上传人:盼易****君a 上传时间:2024-09-11 格式:DOC 页数:48 大小:5.3MB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

本科毕业设计--基于单片机的秒表时钟计时器设计.doc

本科毕业设计--基于单片机的秒表时钟计时器设计.doc

预览

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

10 金币

下载此文档

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

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

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

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

基于单片机的秒表/时钟计时器设计XX大学毕业设计(论文)PAGE-42-PAGE-41-毕业设计论文基于单片机的秒表/时钟计时器设计摘要近年来,随着科学技术的进步和时代的发展,人们对时钟的功能和精度提出了越来越高的要求,各种时钟的设计也越来越重要。秒表/时钟计时器是在一种计时器上实现两种基本功能的一种器件。它广泛应用于各种场所,同时,它以其小巧,价格低廉,走时精度高,使用方便,功能多,便于集成化,而受到广大消费者的喜爱。本文介绍了一种以AT89S51单片机为核心的秒表/时钟计时器的设计,实时时钟芯片DS1302提供实时时间,6位LED动态显示时、分、秒,并在计时过程中具有报时功能,定时时间到时,音乐电路播放悦耳的乐曲。该数字钟设有五个按键:K1,K2,K3,K4和K5键,使之具备了校时、定时功能,在设计中分别介绍了它们的工作特点、原理和使用方法,并给出了它们与单片机AT89S51的接口电路。单片机和集成芯片的应用使得本设计硬件电路简化、编程方便,同时功能也更稳定。由于单片机可以重新写入不同程序这就便于时钟功能的扩充和改变,同时时钟芯片时间精确度高可以保证系统的精度。关键词:单片机;秒表;时钟;实时时钟芯片;动态LED显示;TheDesignOfStopwatch/Electronic-ClockSystemBasedOnSingle-Chip-MicrocomputerAbstractInrecentyears,withthescientificprogressandthedevelopmentofthetimes,people’requirementsoftheclock’functionandaccuracyaremoreandmorehigh.Thevariousdesignoftheclockalsobecomesincreasinglyimportant.Aslongastheexistenceoftiming、counting,theclockwillbeused.Meanwhile,indailylives,withitsfeatureofcompact,lowprice,highaccuracy,easetouse,multi-functional,easeofintegration,thedigitalclockarefondofmajorityofconsumers.Thispaperintroducesthedesignofdigitalalarmingclock,whichwasbasedonthecoreofsingle-chipmicrocomputerAT89S51.Real-timeclockchipDS1302providesreal-time,sixbitLEDdisplayhours,minutesandsecondsdynamically,theclockalsohavingthefunctionoftimekeepingintheprocessoftiming.Whentimingtime,themusiccircuitbroadcastdelightfulmusic.Thedigitalclockwithfivekeys:thebuttonofK1,K2,K3,K4,withthesekeys,thedigitalclockhasthefunctionofregulating&timing.Thisdesignintroducestheircharacteristics,principles,usingmethods,andgivesthemtheinterfacecircuitwithSCMAT89S51.ThecircuitofhardwareforthisdesignbecomeeasyandthesystemfunctionbecomepowerfulalongwithMCUandintegratedchipused.Becausethemonolithicintegratedcircuitmayrereadindifferentprocedurethisatyourconveniencetotheclockfunctionexpansionandthechange,simultaneouslytheReal-timeclockchipprecisionishighmayguaranteethesystemtheprecision.Keywords:SCM;Stopwatch;Clock;Real-timeclockchip;DynamicLEDdisplay;