基于单片机的水浴温度检测系统设计(附电路原理图,程序清单)(任务书,开题报告,外文翻译,毕业论文8400字)
摘要:温度在工农业和现代科学研究开发的各个领域中是一个非常普遍和常用的测量参数。
本次设计以STC89C52单片机作为检测中心,通过硬件电路的制作和软件程序的编制,主要实现的系统功能和技术指标有:能实时检测显示水浴温度;测温范围25℃~100℃,专门用来协调各执行模块和操作者的关系。
系统的功能
本系统的主要功能是通过单片机检测实现了温度的显示,从而完成了对温度的采集,人们都需要对各类加热炉、热处理炉、反应炉和锅炉中的温度进行操控和检测。
本论文给出了各个系统模块的设计思想和硬件框图,其总的水浴温度检测系统原理图如图2.1所示。
3)温度检测电路:主要是由升温设备、降温设备,再将信号通过ADC0804进行AD转换后传入单片机进行处理。这里将各执行模块一一列出,它是整个检测系统的中心,再采集到的数据进行处理。每一个执行软件也就是一个小的功能执行模块。通过中央处理器CPU及本身接口,实现一个温度测控系统.通过铂热电阻组成的电桥对温度进行采样,它是用来完成各种实质性的功能如测量、显示等。各部分功能如下:
1)单片机检测电路:是整个系统的中心部分。
本课题是基于STC89C52单片机为中心的水浴温度检测系统,实现了水浴温度的检测。
关键词:STC89C52单片机 水浴温度 检测
Software design for the system of bathing temperature
Abstract: The temperature is a very widespread and in common use diagraph parameter in the each realm of the work agriculture and modern science research development. For example:In metallurgy industry, chemical engineering produce, electric power engineering, deckle profession, the machine many realms such as manufacturing and food processing etc., the people all need to carry on the controls and examination to the each kind of heating stove, the hot processing stove, reactor and temperature in the boiler.
This time designs to examination the core with a machine of STC89C52 conduct and actions,through the hardware electric circuit manufacture and the software procedure establishment, realizes a temperature observation and examination system.The system spread the feeling machine to come to indirectly to measure the water temperature through a hot electric resistance, make use of to give or get an electric shock the bridge electric circuit to make it from the temperature change but causable electric resistance of variety change becomes the variety of the electric voltage, then pass the ICL7650 to carry on enlarge to the electric voltage signal that the sample come in, use a pair of integral calculuseses type ADC0804 to enlarge of electric voltage signal carry on the conversion of AD,then put them in the unit of STC89C52 to deal with it.
This system according to a design thought for turn of mold, completed the design of the system hardware part, give the design thought and block diagrams of the each system mold piece. This temperature regulating system can steer the sample switching of the figure accurately, the stability steers to heat, the examination process of the constant temperature, and can compare goodly request of satisfaction to accuracy of system.
Key Words: STC89C52MCU Temperature Examination
系统的组成
本系统是基于单片机的水浴温度检测系统的研究,就可以规划监控程序了。各执行模块规划好后,并且能够较好地满足对系统精度的要求。
#p#副标题#e#
目 录
1 前言 1
2 系统的组成及功能
2.1系统的组成 2
2.2系统的功能 2
3 硬件电路设计
3.1 单片机模块 3
3.2 温度采集模块 4
3.3 温度检测模块 4
3.4 键盘显示模块 5
3.5 声光报警模块 6
4 系统软件设计
4.1 软件系统概述 8
4.2 系统软件设计 9
4.2.1 主程序流程图.................9
4.2.2 温度采样流程图..................................10
4.2.3 A/D转换子程序流程图........................11
4.2.4 键盘显示流程图...........................12
4.2.5 温度检测子程序流程图.....................14
5 软硬件调试
5.1 硬件调试.....................................15
5.1.1 单片机系统调试 15
5.1.2 A/D采样电路调试......................15
5.1.3 键盘显示电路调试 16
5.2 软件调试...................................17
5.3 联合调试 17
6 结论 18
参考文献 19
致谢 20
附录A:电路原理图 21
附录B:最小系统原理图 22
附录C:程序清单 23