摘 要:本设计采用的控制器是单片机AT89C51,测温传感器采用DS18B20,用4位共阳极LED数码管以串口传送数据,实现温度显示。本温度计属于多功能温度计,可以设置上下报警温度,当温度不在设置范围内时,可以报警。本设计将传统的热电偶测温技术与单片机技术结合起来,设计了读数直观、准确的数字式智能测温仪表。其输出温度采用数字显示,具有读数方便,测温范围广,测温准确的优点。65871
首先设计了智能测温仪表的硬件部分,硬件设计主要包括主控制器、单片机的主板电路、温度采集部分电路、显示电路以及报警系统电路。其次设计了智能测温仪表的软件部分,软件设计包括系统软件的流程图和数字温度计的部分程序清单。
毕业论文关键词:AT89C51单片机,数字控制,温度传感器,智能仪表
Abstract:The design of the controller using microcontroller AT89C51, temperature sensor uses DS18B20, with three common anode LED digital tube to serial transmission of data, to achieve temperature display. The thermometer is multi-functional thermometer, you can set the upper and lower alarm temperature range, when the temperature is not set, you can alarm. Designed the intelligent measurerment temperature instrument with intuitive reading and high accurate. The design presented in the traditional thermometer digital thermometer and compared with a convenient reading, a wide range of temperature measurement, temperature measurement accuracy, the output of the temperature digital display.
Besides, the paper also describes the digital thermometer in hardware design and software design, hardware design includes the main controller, microcontroller circuit board, he temperature acquisition part of the circuit, display circuit and the alarm system circuit. Software design, including system software flow chart and the digital thermometer in the part of the program list.
Keywords:AT89C51 microcontroller, digital control, temperature sensor, multi-function thermometer
目 录
1 前言 4
1.1 温度测量方法的研究意义 4
1.2 数字温度计的发展前景 4
1.3 设计内容及性能指标 5
2 数字温度计总体设计方案 5
2.1 数字温度计设计方案 5
2.2 总体设计框图 5
3 数字温度计硬件设计 6
3.1 主控制器AT89C51 6
3.2 单片机主板电路 9
3.3 温度采集部分的设计 10
3.4 显示部分电路设计 13
3.5 报警系统电路 14
4 数字温度计的软件设计 15
4.1 程序结构分析 15
4.2 系统软件设计的流程图 15
5 实验结果与分析 17
5.1 仿真原理图与结果分析 17
5.2 实物设计、安装及效果图 19
结论 20
参考文献 21
致谢