阙南信息职业残木修慌
学生毕业设计(论文)
题目: 基于单片机的智能计价器
姓 名:
班级、学号: 信息0802班 42号
系(部): 信息工程
专 业: 电子信息工程技术
指导教师:
开题时间: 2010-03-06
heory and application technology used in them are present comprehensively.
This paper describes the design of the temperature control system based on raw supply system module in the actual production process which acquires constant temperature of liquid raw material .This system is designed on the basis of AT89C51 ,and with the temperature sensor. Digital shows and other materials to achieve the automatic temperature control of liquid and display circuit .which can be used for temperature settings .reset and displaying the current temperature value.
In this paper ,the control system is composed of two parts .hardware and software. The hardware is composed of signal acquisition and keyboard and expansion of the LED circuit. The software part is mainly for temperature control witch includes displaying subroutine , and signal conversion and so on .
Keywords: Temperature controller , Taxi counter
1 .引言
本次课题设计利用单片机技术来实现一台出租车计价器,具有性能可 靠,电路简单,成本低等特点.
算成一定的计价运营里程.
本课程所设计的出租车计价器的主要功能有:数据的复位,白天/晚上 转换,数据输出,计价,单价调整及输出,路程输出,实现系统掉电时保存 ,而且还根据白 天黑夜来调整单价.
2系统硬件组成
本系统组成如图1所示。它由以下几个部件组成:单片机AT89C51, 键盘控件部件、E2PR0M存储控制,里程计算单元,液晶显示,脉冲整 形电路等。利用单片机丰富的I/O 口实现基本的里程计价功能和价格调 节,显示单价、里程、金额等功能。
图1系统组成模块图
当车子启动,计价器开关闭合,由霍尔传感器检测到的脉冲信号经过 处理送到单片机里程寄存器中进行计算,判断出行驶里程是否已经超过起 价公里数。若已经超过,则根据里程值,每公里的单价数和起价数来计算 出当前的累计价格,并将结果存在价格寄存器中,再将当前累计价格送至 液晶显示器中显示出来。当到达目的地时,由于霍尔传感器没有送来脉冲 信号,就停止计价,显示当前应付的金额和单价,到下次启动时,系统自 动对显示消零,并重新进行初始化过程。
E2PR0M数据存储电路
。SCL为 时钟线,SDA为数据线。行驶数据保存在24C64,因此可以保证在掉电时 不丢失数据。24C64与AT89C51的连接如图2所示。
图2 24C64与AT89C51组成图
4传感器电路
里程计算是通过安装在车轮上的霍尔传感器检测到的信号,送到单片机, 经过处理计算,送给显示单元的。
图5传感系统连接图
由于A44E属于开关型的霍尔器件,其工作电压范围比较宽(〜18V), 其输出的信号符合TTL电平标准,可以直接接到单片机的10端口上,而且 其最高检测频率可达到1MHZ。
A44E集成霍尔开关由稳压
基于单片机的智能计价器论文 来自淘豆网m.daumloan.com转载请标明出处.