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