"景先生毕设|www.jxszl.com

单片机的电子式转速里程表的设计

2020-12-20 23:55编辑: www.jxszl.com景先生毕设
目录
引言 1
一 系统方案的设计 1
(一)设计简介 1
(二)设计要求 1
(三)设计目的 1
二 系统里程表电路的设计 2
(二)霍尔传感器电路 2
(二)定时计数器电路 2
(三)外部中断电路 3
三 系统硬件电路的设计 4
(一)单片机的最小系统设计 4
(二)1602液晶显示器的设计 7
(三)复位电路的设计 9
(四)报警电路的设计 7
四 系统软件电路的设计 11
(一)主程序设计 11
(二)子程序设计 13
(三)计算方式 13
五 调试及仿真 14
结束语 16
参考文献 17
致谢 18
附录1 19
摘要
随着科技的飞速发展,作为良好代步工具的汽车一直被人们所接纳。汽车的出现和发展也使汽车仪表在不断开发和提升中。转速里程表是汽车仪表中最重要的组成部分。在当代人们广泛使用的转速里程表是机械式的,但随着生活质量的提高,人们对汽车性能的要求也逐渐升高。然而机械式转速里程表给人们带来的缺点也日益增长,比如结构复杂、精确度不高,而且价格还比较昂贵,因此针对这些问题,设计了电子式转速里程表。
本设计是以AT89C51单片机为核心,利用磁电式传感器为电路,LED数码管为显示器组成了系统电路,该设计的转速里程表不仅能够实现基本的里程计数和速度测量等功能,而且结构简单,精确度较高,具有一定的稳定性。
关键词:汽车;转速里程表;单片机;
Abstract
With the fast development of science and technology, as a good means of transport vehicle has been accepted by people. The emergence and development of the automobile also makes the automobile instrument
 

 *景先生毕设|www.jxszl.com +Q: %3^5`1^9`1^6^0`7^2# 
the fast development of science and technology, as a good means of transport vehicle has been accepted by people. The emergence and development of the automobile also makes the automobile instrument in the unceasing development and the promotion. Speed odometer is one of the most important parts in vehicle instrument. In the contemporary people widely used speed odometer is mechanical, but with improvement of the quality of life, peoples requirement to the performance of the car also gradually increased. However the disadvantages of the mechanical speed odometer to bring to people is also growing, such as complex structure, and the accuracy is not high, but the price is more expensive,
So in the light of these problems, design electronic speed odometer.
The design is based on AT89C51 microcontroller as the core, by means of magnetoelectric sensor circuit, LED digital tube to display the system circuit and the design of speed odometer can not only realize basic mileage counting and speed measuring function, but also has the advantages of simple structure,
accuracy is high,with certain stability.
【Keyword】 : Car;Turn soon mileage meter;Oneboard computer
引言
随着社会的发展,作为良好代步工具的汽车越来越被流行,从而汽车仪表的选择也受到人们的重视。跟随电子技术的发展,汽车仪表也正向数字化和智能化的方向发展。一般的车速表是机械式的,通常都是由一根软抽连接到某一根齿轮上,两者进行旋转,从而使里程表的指针转动起来。像这种简单的里程表被广泛应用于大小型汽车上。
本设计的里程表是利用单片机,利用传感器,利用液晶显示器,实现的一种新型的单片机电子式转速里程表,它不仅可以实现基本的里程计数、速度测量等,而且还能提高精确度,是一项高性能的转速里程表。作为良好性能的转速里程表,在今后的社会中将会有极大的市场和无限的开发前景。
一、系统方案的设计
(一)设计简介
本设计是以AT89C51单片机为核心,利用磁电式传感器使汽车得到行驶的信号,利用1602液晶显示器显示汽车的里程数,来实现一种新型的单片机电子式转速里程表的方案,研究并讨论了转速指示和里程计数的工作原理。一般的汽车里程表是机械式的,通常都是由一根软抽连接到某一根齿轮上,两者进行旋转带动其它器件,从而打破平衡,使里程表的指针转动起来。像这种里程表,虽然结构较为简单,但是精确度不高,并且价格较昂贵。本设计的电子式转速里程表,共有两种。第一种累计里程,是用来记录汽车行驶的总路程;另一种区间里程,是用来记录汽车行驶的单程路程并且还可以进行复位重新记录行驶的路程。除此之外,它还可以实现超速报警的功能。
(二)设计要求
1.完成以AT89C51为核心的电子式转速里程表的硬
原文链接:http://www.jxszl.com/dzxx/txgc/33387.html