摘 要:该论文规划了一款以霍尔传感器为基础的自行车里程表的测量设施。该论文所研究的是以AT89C51单片机作为主控制器,并运用霍尔传感器作为衡量自行车里程的工具,在规定的时间内自行车的转数由霍尔传感器来感应记录,然后通过C语言编程的方法把所旋转的圈数变换为骑车运行的路程,最终用LCD显示器标明里程。该系统设计的结构相对简单,成本较低,能够清晰的显示数据并且运用起来稳定可靠。 34255 毕业论文关键词:霍尔传感器;AT89C51单片机; LCD显示器
Device of Cycle Odometer
Abstract: This paper designs a measurement based on Holzer’s bicycle odometer sensor facilities. The device employs the AT89C51 microcontroller as the primary monitor, based on the cycle course measurement. The device through the detection of the Holzer sensor in a certain period of time the bicycle tires turn number, then the software programming of the rotation number is converted to a bicycle mileage. Finally, the use of digital tube display mileage. The system can realize the bike in the process of driving mileage. The design has the superiority of low consumption, simple framework, vivid and steady dependable.
Key Words: Hall sensor; AT89C51 microcontroller; LCD liquid crystal display
目 录
摘要 1
引言 1
1.研究设计概述 2
1.1课题背景介绍及研究现状 2
1.2课题研究的主要内容及思路 2
2.自行车里程表的总体方案设计 2
2.1设计系统所实现的功能 2
2.2系统设计的方案论证 3
3.自行车里程表硬件电路的规划 4
3.1 AT89C51单片机模块 4
3.2 霍尔传感器模块 6
3.3 LCD显示模块 7
3.4 整体电路的设计 8
4.自行车里程表的软件程序设计 9
4.1 自行车里程表的整体程序设计 9
4.2 单片机进行数据处理的子程序的编程 10
4.3 LCD液晶显示程序的设计 10
5.系统仿真与结果分析 11
5.1 系统的仿真 11
5.2 对系统仿真结果的分析 12