文档介绍:目录
1绪论 1
2总体硬件电路 2
2
2
3硬件模块设计 4
4
4
4
5
7
7
7
8
9
9
9
11
11
11
12
13
13
4系统软件设计 14
14
15
15
17
、里程计算程序的设计 17
5结束语 18
参考文献 19
附录 20
致谢 23
摘要
汽车是现代生活中不可或缺的一种重要交通工具,里程表又是汽车不可缺少的部分,传统的车速表是机械式的,这种里程表简单实用,被广泛应用于各种类型汽车上。随着电子技术发展,现在很多轿车已经使用电子车速表。新概念的速度里程表最大的变化就是用大屏幕的液晶代替了以前的指针式表盘,直接用数字显示,速度,里程,以及其他一些比如油耗,时钟等参数,最直观的呈现给用户。本设计采用单片机实现的里程表,是从变速器上的速度传感器获取信号,通过脉冲频率的变化来获取速度和里程。本设计可嵌入到汽车产品内部,取代老式的机械零件,不仅体积小,功能强,而且实现了智能化,使用方便。
关键词:里程表;单片机;速度传感器
Abstract
Car is an indispensable modern life is a kind of important traffic tools, "milestones" is car essential part, the traditional speed is the table, the mechanical odometer is simple, practical, and is widely used in various types of cars. As the electronic technology development, now a lot of cars have used the electronic speed table. The new concept of speed "milestones" the biggest change is a big screen with the liquid crystal replaces the previous pointer type directly dial, with digital display, speed, mileage, and other such as oil consumption, the clock, the most intuitive parameters such as the present to the users. This design uses the single chip puter "milestones", the speed sensor from transmission for signal, through the pulse frequency changes to get the speed and mileage. This design can embed to cars, replacing old inside the product of mechanical parts, not only small volume, the function is strong, and realize the intellectualized, easy to use.
Key words:Milestones;MCU;Speed sensor
1绪论
汽车是现代生活中不可或缺的一种重要交通工具,里程表又是汽车不可缺少的部分,传统的车速表是机械式的,典型的机械式里程表连接一根软轴,软轴内有一根钢丝缆,软轴另一端连接到变速器某一个齿轮上,齿轮旋转带动钢丝缆旋转,钢丝缆带动里程表罩内一块磁铁旋转,罩圈与指针连接并通过游丝将指针置于零位,磁铁旋转速度的快慢引起磁力线大小的变化,平衡被打破,指针因此被带动。这种里程表简单实用,被广