1 / 37
文档名称:

自行车里程表设计.doc.doc

格式:doc   页数:37页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

自行车里程表设计.doc.doc

上传人:cchanrgzhouh 2016/4/23 文件大小:0 KB

下载得到文件列表

自行车里程表设计.doc.doc

相关文档

文档介绍

文档介绍:摘要 I 摘要本文介绍的速度与里程表设计以单片机最小系统和霍尔传感器为核心。传感器将不同的车速转变为不同频率的脉冲信号输录到单片机进行控制与计算, 再采用 LCD1602 模块进行显示,使得自行车的速度与里程数据直观的显示给使用者。本系统由霍尔传感器、单片机 AT89C51 、液晶显示模块 LCD1602 、数据存储电路和键盘矩阵模块、时间芯片 DS1302 组成。通过单片机的设置可使内部定时器T1对脉冲输入引脚 T0进行控制,这样能精确地算出加到 T0引脚的单位时间检测到的脉冲数;设计中的速度显示采用 LCD1602 模块,通过速度换算得来的里程数采用 12C 总线并通过存储器来存储,既节省了所需单片机的口线和外围器件,同时也简化了显示部分的软件编程本文先对里程表设计当中所需的设备作了详细的介绍,对设计中存在的问题进行了说明;而后对硬件和软件部分的设计和实现作了认真的分析,在此基础上进行了仿真。本里程表的设计具有结构简单,成本低廉,显示清晰,稳定可靠等优点。关键词:单片机最小系统,霍尔传感器,时间芯片 DS1302 ,液晶显示模 LCD1602, 矩阵键盘。 Abstract II Abstract This paper introduces the speed and odometer design based on SCM system and the smallest Holzer sensor is the core. The sensor will different speed change into different frequency pulse signal inputting to the microprocessor controlandcalculation, then use LCD1602 module to display, the bicycle speed and mileage data to display to the user. This system posed of sensors, MCU, Holzer AT89C51LCD module LCD1602, data storing circuit and a keyboard matrix module, time chip DS1302. Through puter's settings can make the internal timer T1 pulse input pin T0 control, this can be accurately calculated to the T0 pin unit time to detect the pulse number; in the design of speed that the use of the LCD1602 module, the speed of conversion to the mileage by using 12C bus and the memory to store, saving the for single-chip mouth lines and peripheral devices, but also simplifies the display portion of the software programming This paper first on the odometer design required equipment are introduced in this paper, on the problems existing in the design are described; then the hardware and software design and implementation carefully analyzed, on the basis of the simulation. The odometer design has the advantages of simple structure, low cost, clear display, the advantages of stable and reliable. Keywords : single chip puter minimum system, a Holzer sensor, time chip DS1302, liquid crystal display module LCD1602, matrix keyboard. 目录 i 目录摘要................................................