网学网为需要电子数电单片机的朋友们搜集整理了基于单片机的电子式转速里程表的设计相关资料,希望对各位网友有所帮助!
论文编号:JD690 论文字数:14828,页数:39
摘 要
介绍一种新型的基于单片机的电子式汽车转速里程表的实现方案。讨论了里程计数的原理和转速指示原理。针对机械式里程表缺点结构复杂,精度不高,并且价格较昂贵,设计了数字式汽车转速里程表。
设计中以AT89C2051单片机为核心,利用SPI串行总线开发了电子式里程表。该里程表利用磁电式传感器采样汽车行驶所得到的信号;采用LCD数码管显示汽车总行驶里程数,本次里程采E2PROM芯片X5045,利用其通电可改写,掉电信息可保存的特点存储汽车行驶的总里程数。
设计的转速里程表具有结构简单,精度较高,误差较小,显示清楚醒目,稳定可靠等特点,另外对该系统的软件也作了相应的说明。
关键词:汽车;转速里程表;单片机
Turn according to the electronics type of a machine soon the design of the table of distance
Abstract
Introduce the realization scheme that one kind of new pattern electron baseding on the oneboard computer style motor vehicle rotates speed the odometer .Talk about mileage count rule and the rotation speed instruction rule .In view of the mechanical type odometer defect composition is complex ,The accuracy is not tall ,Moreover price is more dear ,Design the figure style motor vehicle rotation speed odometer .Takes AT89C2051''s oneboard computer as the core here ,Utilize the SPI''s serial bus to open up the electron style odometer .
That odometer utilizes the magnetism electricity style sensor sampling motor vehicle to ply the signal that obtains ;Adopt LCD''s nixie light to display the motor vehicle invariably to ply the mileage figure ,This mileage is plucked E2PROM chip X5045 ,Utilize such circular telegram to adapt ,Mileage figure invariably that the distinguishing feature memory motor vehicle ply that ac dump message may be conserved .
It is easy that this the design rotation speed odometer havees the composition ,The accuracy is taller ,The error is littleer ,The display is clearly attracted attention ,The distinguishing feature such as steady dependablely and so on ,Besides software to that system also do the relevant directions.
Keyword : Car;Turn soon mileage meter;Oneboard computer
目 录
摘要……………………………………………………………………………………Ⅰ
Abstract………………………………………………………………………………Ⅱ
第一章 前言……………………………………………………………………………1
1.1 研究的目的与意义………………………………………………………………1
1.2 国内外研究概况及发展趋势……………………………………………………1
第二章 系统的总体设计……………………………………………………………5
2.1 系统的总体结构…………………………………………………………………5
2.2 转速里程表的工作原理…………………………………………………………5
第三章 系统的硬件设计………………………………………………………………8
3.1 传感器的选择……………………………………………………………………8
3.1.1 霍尔传感器的选择………………………………………………………8
3.2 系统CPU的选择…………………………………………………………………11
3.3 X5045在本设计中的应用………………………………………………………13
3.4 指针转速驱动设计原理………………………………………………………16
3.4.1 电动转速表结构………………………………………………………16
3.4.2 LM1819专用集成电路简介……………………………………………16
3. 5 液晶显示模块LCM1010的应用………………………………………………18
第四章 系统的软件设计……………………………………………………………21
4.1 主程序模块……………………………………………………………………22
4.2 中断服务程序模块……………………………………………………………23
结论…………………………………………………………………………………25
参考文献……………………………………………………………………………26
致谢…………………………………………………………………………………27
附录…………………………………………………………………………………28