防 灾 科 技 学 院毕 业 设 计题 目基于单片机的智能速度里程表的设计学生吴建胜学 号105031305 系别防灾仪器系---专 业电气工程与其自动化 班 级1050313 开题时间2024 年 11 月 29 日答辩时间2024 年 6 月 8 日指导老师敬松职 称副教授基于单片机的智能速度里程表的设计作 者 吴建胜指导老师 敬松摘要行车里程表广泛应用于各类机车,虽然以前的机械里程表稳定可靠,然而功能单一,且易受磨损。随着微电子技术的快速进展,数字行车里程表得到了广泛应用,现在不少轿车的仪表已经逐渐使用数字车速里程表。本文介绍一种基于单片机的智能里程表,该里程表是一种数字式仪表,不但可以显示机车的车速和行驶的总里程,而且可以显示阶段里程,还能显示温度和时间,同时具有超速报警功能。本设计采纳 A3144e 霍尔传感器,通过单片机处理数据计算出机车的车速和里程,再由 LCD 显示器显示出来。关键词:里程表;单片机;霍尔传感器;测速Abstract:Odometer is widely applied in all kinds of motorcycle. The mechanical odometer is simple and reliable,but function of a single and vulnerable to wear. As the evolution of electronic technology,electronic speedometer widely used in the private car. This paper introduces amicro-controllerbased smart speedometer.The table is a digital meter,the total mileage of thevehicle speed and drivingcan not only real-time display can also display the speed alarm function. Using the Hall sensor A3144E, by micro-controller record and deal with this level the amount of changewe can know the speed and mileage, these data will displayby LCD.Keywords: speedometer; SCM; Hall sensor; tachometer目 录引言 11 系统概述 11.1 系统原理介绍 11.2 系统和按键的功能 31.3 相关参数和应用围 32 硬件设计 42.1 单片机与时钟复位电路 42.2 测速传感器 62.3 温度传感器 DS18B20 ................................................................................................82.4 存储器 AT24C02 .........................................................................................................92.5...