基于单片机的自行车里程速度计设计(附电路图,程序代码)(任务书,开题报告,外文翻译,论文14000字)
摘要
随着社会化进程的不断加快,越来越多的高新科技被延用到人们的生活中。因此,在这个交通越来越堵的环境中,频繁的堵车以及市民环保节能意识的增强,市民们也越来越偏向小型、便捷、环保并且能增强体格的出行工具,因此自行车将逐渐成为人们出行的主要交通工具,普及率会越来越高。本设计旨在设计出一种可以给我们带来更加安全的出行保障和更加舒适的出行环境,同时该系统具有测量实时的运行速度和运行的总里程,且具备存储运动信息的功能。其中最重要就是该系统具有超速报警的功能,可以在为人们提供便利同时也为我们的安全奠定基础。最后通过软件的仿真和硬件的系统调试,实现了速度的实时检测,路程数的统计以及超速报警的功能,并通过LCD实时显示。
关键词:里程 速度 霍尔传感器 单片机 LCD显示
Design of Bicycle Mileage Velocity Meter Based on Single Chip Microcomputer
Abstract
With the socialization of the process continues to accelerate, more and more high technology is extended to people's lives. Therefore, in this traffic more and more blocked environment, the frequent traffic jam and the public awareness of environmental protection and energy conservation, the public are increasingly biased towards small, convenient, environmentally friendly and can enhance the physical travel tool, so the bike will gradually become people Travel the main means of transport, the penetration rate will be higher and higher. The design is designed to provide a more secure travel guarantee and a more comfortable travel environment, while the system has a real-time measurement of the running speed and the total mileage of the operation, and have the function of storing movement information. One of the most important is that the system has a speed alarm function, can provide convenience for people while also lay the foundation for our safety. Finally, through the software simulation and hardware system debugging, to achieve the speed of real-time detection, the number of road statistics and speed alarm function, and real-time display through the LCD.
Key words: mileage; speed; Hall sensor; single chip microcomputer; LCD display
目 录
摘要 II
Abstract III
第一章 引 言 1
1.1 设计简介 1
1.2 设计内容 1
1.2.1设计背景 1
1.2.2芯片选型 2
1.2.3 硬件设计 2
1.2.4软件设计 2
1.2.5电路调试与测试 2
1.3 论文结构 3
第二章 方案论证 4
2.1 单片机的选择 4
2.2显示模块选择 5
2.3速度测传感器的选择 5
第三章 硬件设计 7
3.1 系统原理框图设计 7
3.2 系统主要元器件介绍 7
3.2.1 AT89C52单片机 7
3.2.2霍尔传感器 8
3.2.3存储器的介绍 9
3.2.4 LCD1602显示屏的介绍 9
3.2.5蜂鸣器的介绍 9
3.3 系统模块电路设计 10
3.3.1 AT89C52单片机的内部组成 10
3.3.2 最小单片机系统 10
3.3.3 LCD显示模块 12
3.3.4 蜂鸣器报警模块 13
3.3.5按键模块 14
3.3.6存储器模块 14
3.3.7调速测速电路模块 14
3.3.8整体电路连接 15
3.4 硬件设计小结 16
第四章 软件设计 17
4.1总体流程图分析 17
4.2 主程序流程图分析 18
4.3速度处理子程序流程图分析 19
4.4软件设计小结 20
第五章 系统调试 21
5.1 软件设计与调试 21
5.2硬件设计制作与系统调试 22
5.3 系统调试小结 25
总结 27
参考文献 28
附录 30
致谢 38
|