基于单片机设计的百米计时器设计论文.pdfVIP

基于单片机设计的百米计时器设计论文.pdf

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
摘 要 近年来随着科技的飞速发展,单片机的应用正在不断的走向深入。本文阐述了基 于单片机设计的百米计时器。本设计主要特点是计时精度达到10ms,解决了传统的 由于计时精度不够造成的误差和不公平性,是各种体育竞赛的必备设备之一。另外硬 件部分设置了查看按键,可以对秒表上一次计时时间进行保存,供使用者查询。本设 计的百米计时器系统采用STC89C51单片机为中心器件,利用其定时器/计数器定时和 记数的原理,结合显示电路、LED数码管以及外部中断电路来设计计时器。将软、硬 件有机地结合起来,使得系统能够实现五位LED显示,显示时间为0~99.99秒,计 时精度为10ms,能正确地进行计时,通过将计时时间写入到AT24C02 EEPROM 中即可 实现掉电不丢失数据,并在下一次计时后对上一次计时时间进行查询。其中软件系统 采用C语言编写程序,包括显示程序,定时中断服务,外部中断服务程序,延时程序 等,并在KEIL 中调试运行。在确认软件仿真无误后画好板子打样制作即可。 关键词:STC89C51单片机,百米计时器,LED数码管,定时器,KEIL,AT24C02 I Abstract Inrecent years, with the rapid development of scienceand technology, SCM applicationsare constantlydeepening.Thispaper describesthedesignofthe 100metersbasedonMCU timer.Themain characteristicsofthedesignoftiming accuracy of 10ms, to solve the traditional timing accuracy caused by insufficient due to errors and unfair, isone of the necessary equipment for all kinds of sports competition. In addition to the hardware part of the set view button, you can save the stopwatch on a time of time, for the user to query.Thedesignofthe100meters timersystemusesSTC89C51microcontroller as the core device, using the timer / counter timing and counting principle, combinedwithdisplaycircuit,LEDdigitaltubeandexternalinterruptcircuit todesignthetimer.The softwareandhardware combination,sothatthesystem can achieve five LED display, display the time for 0 ~ 99.99 seconds, timing accuracyof 10ms,cancorrectlytime,thetimingtimeiswritten totheAT24C02 can be implemented in EEPROM power down without loss of data through, and a time to time time in the next time to query. The software system using C languageprogram, includingthedisplayprogram, interruptservice,external interruptserviceprogramdelayprocedures,anddebuggingandrunning inKEIL. Draw a good board proofing invalidation of the software simulation accuracy can be made after. Key words: STC89C51 microcontro

文档评论(0)

店小二 + 关注
实名认证
文档贡献者

包含各种材料

1亿VIP精品文档

相关文档