基于单片机的自行车码表设计.doc

  1. 1、本文档共44页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的自行车码表设计 摘 要 随着人们生活水平的不断提高,自行车已经不仅仅是运输、代步的工具,其辅助功能也变得越来越重要。因此,人们希望自行车的娱乐、休闲、锻炼的功能越来越多,能带来大家更多的健康与快乐。自行车码表作为自行车的一大辅助工具迅速发展起来。科学、美观、合理设计自行车里程表有一定的实用价值。它能合理计算出速度及公里数,使运动者运动适量,达到健康运动与代步的最佳效果。码表能尽可能真实地反映骑行状况,便于车手及时调整自己的举动。 本设计以AT89C51单片机为主控制芯片,128*64 LCD为显示终端显示自行车时速、里程等信息及系统设置等,统设置菜单能够人工设置设备安装信息以提高测量精度,提供时速、里程、平均速度、时间等信息,时还附加一报警功能,当行驶到预设里程和速度时,系统会自动报警,提醒已经达到预设运动量。 本设计主要包括自行车轮脉冲采集、键盘输入和数据显示等部分,主程序用C语言编写,完成各项功能及数据的处理,通过Keil C来完成程序的编写和下载,通过单片机实验开发板具体实现自行车码表各项功能。 关键词 ST1101 AT89C51 LCD ZLG7290 报警 THE DESIGN OF BASING ON MCU BICYCLE STOPWATCH ABSTRACT With the improvement of life level, bike is not only the transport tool but also it’s auxiliary function become more and more import. Therefore, people hope that the function of amusement, leisure and exercise of bike become more and more; and bring more health and happy. As one import auxiliary function of bike stopwatch develops quickly. The design of stopwatch is scientific, reasonable and beautiful; and it also has its practical value. Stopwatch can calculate speed and distance, reflects true exercise state; based on this exerciser can adjusts exercise strength so that it can reach the best effect of healthy exercise. This project takes AT89C51 MCU as main control chip and takes 128*64 LCD as terminal display which displays speed per hour, distance and system set. In the system set menu people can set install information to improve measure precision. Besides, it appends alerting function. When reach the distance and speed set in advance, the system will alert automatically to remind exerciser that he has reached exercise strength set in advance. This project mainly includes bicycle wheel pulse acquisition, keyboard input and data shows. The main program is compiled by C language which is to do initialization and keyboard dealing; the compiler and download of program are done by Keil C, and the various functions of the bicycle are realized concretely by the SCM experiment development board. K

文档评论(0)

追风少年 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档