基于51单片机的自行车码表设计.doc
文本预览下载声明
学院
毕业设计(论文)
系 所: 电子工程系 专 业 嵌入式系统工程 学生姓名 学生学号: 指导教师 导师职称: 讲师 完成日期:
Dalian Neusoft Institute of Information Technology
基于51单片机的自行车码表设计摘 要
程序用C语言编写,由主程序、外部中断服务程序、定时器中断服务程序、延时子程序等模块组成。主程序主要完成程序的初始化和键盘处理,外部中断服务程序由测量、计算、读数等部分组成
关键词:
Design And Implementation of Bicycle
Mileage Count Table
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 SST89E516 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 simulation download of program are done by Keil C and SSTFlashFlex51, and the various functions of the bicycle are realized concretely by the SCM experiment development board.
Key words: AT89C51 single chip microcom
显示全部