{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的自行车速度里程表设计

来源:wenku163.com  资料编号:WK16314208 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16314208
资料介绍

基于单片机的自行车速度里程表设计(任务书,开题报告,外文翻译,论文15500字)
摘 要
绿色环保的交通工具自行车从1790年至今已被人们使用两百多年了,它经过普及、技术迭代、工业革命已不仅仅是一种简单的交通工具而成为了一种文化符号。人们用它来代步的同时也用来它来娱乐、休闲、锻炼,因此用户对自行车功能的要求随生活品质的提升而不断提高。自行车速度里程表无疑是提高享受更丰富的自行车功能的必不可少的辅助工具。自行车和电子技术飞速发展的背景下,本文主要研究基于单片机的速度里程计设计。采用霍尔元件A3144和磁钢测速,STC89C51单片机为主控芯片,结合自行车的相关参数如车轮半径等进行计算,将自行车的时间、实时车速和里程显示在液晶LCD。这为是健康监控汽车人的健康指标迈出了关键的基础性也是关键的一步。
关键字:自行车;霍尔元件;STC89C51;
 
Abstract
The green and environmental transport bicycle has been used by people for more than two hundred years since 1790. It has become a kind of cultural symbol through popularization, technical iteration and industrial revolution as not only a simple means of transportation. People use it to take their steps and use it for entertainment, leisure and exercise, so the user's requirement for the function of the bicycle is increasing with the improvement of the quality of life. Bicycle speed odometer is undoubtedly an essential supplementary tool to improve the enjoyment of more abundant bicycle functions. With the rapid development of bicycles and electronic technology, this paper mainly studies the design of speed odometer based on single chip microcomputer. The time, real-time speed and mileage of the bicycle are displayed in the liquid crystal LCD by using the Holzer element A3144 and the magnetic steel speed measurement and the STC89C51 MCU as the main control chip, combined with the related parameters of the bicycle, such as the wheel radius. This is a key and fundamental step for health monitoring of motor vehicle health indicators.
Keywords: bicycle;Holzer element;STC89C51.

本课题的主要研究内容
本课题研究的主要内容是设计一个能够及时反映实时速度和里程的单车速度里程表。该里程表能够满足自行车骑行者在骑行过程中能够准确的了解自行车的行驶状态和已行驶的里程数,提高骑行者的便捷性、安全性和趣味性。本设计的研究重点是霍尔传感器、单片机的原理及利用单片机、霍尔传感器解决实际问题。
在本设计中使用霍尔传感器对车轮进行计数,利用单片机技术分别控制液晶1602显示系统、DS1302实时时钟系统和AT24C02掉电存储系统[4],并对采集的信号进行处理,采用软件Altium Designer 16和KEIL C51 V5分别进行硬件原理图绘制和软件设计,最后利用EDA工具软件Proteus 8进行系统仿真,可得到较好的仿真效果:可显示时间、自行车行驶速度和里程,还可超速报警。
 

基于单片机的自行车速度里程表设计
基于单片机的自行车速度里程表设计
基于单片机的自行车速度里程表设计
基于单片机的自行车速度里程表设计


目 录    I
摘 要    III
Abstract    IV
第1章 绪论    1
1.1    课题的来源    1
1.2    课题研究现状    2
1.3    本课题的主要研究内容    2
第2章 方案论证与分析    4
2.1    传感器的选择    4
2.2    显示模块的论证与选择    5
2.3    电源模块的选择    6
第3章 自行车里程表硬件设计    7
3.1    单片机    7
3.1.1    STC89C51单片机    7
3.1.2    单片机的中断    7
3.1.3    单片机的最小系统    8
3.2    霍尔传感器测量转速    8
3.3    LCD1602显示数据    8
3.3.1    液晶显示器优点    9
3.3.2    液晶显示各种图形的原理    9
3.3.3    液晶显示的内容    9
3.3.4    使用LCD1602字符模块的注意事项    10
3.4    时钟芯片DS1302    10
3.4.1    功能及特色    10
3.4.2    工作原理    10
3.4.3    一般设计流程    10
3.5    时钟芯片AT24C02    11
3.6    自行车里程表工作原理    11
第4章 函数介绍    12
4.1    AT24C02头文件    12
4.2    Data头文件    12
4.3    DS1302头文件    13
4.4    LCD1602相关函数    13
4.5    蜂鸣器相关函数    14
4.6    主函数    14
4.7    定时计数器1    14
第5章 仿真与功能显示    15
5.1    仿真说明    15
5.2    仿真流程    15
5.3    仿真数据    21
5.4    实物测试    27
5.5    功能实现    30
第6章 总结与展望    31
参考文献    32
附录    33
致 谢    59
 

推荐资料