水温测量电路的设计
无需注册登录,支付后按照提示操作即可获取该资料.
水温测量电路的设计任务书,开题报告,论文12000字)
摘 要
温度时人们日常生活感受外界的物理量之一,水温也是其中的一种。水温的控制十分重要,地面水的温度随日照与气温的变化而改变。地下水的温度则和地温有密切关系。一般来说,地下水的温度比较恒定,愈是深层地下水,水温愈是恒定。地下水温度如有剧烈变动时,在卫生上即表示有被污染的可疑。若地下水水温突然增高,可能是由于温度较高的地面水大量流入的缘故。水温可以影响水中细菌的生长繁殖和水的自然净化作用。此外,水温对水的净化消毒亦有重要的关系。
设计中采用了一种以STC89C52单片机为主控制器的单元模块,以钢化不锈钢封装防水型DS18B20为温度采集模块的水温测量电路。其中硬件电路包含STC89C52单片机的最小系统,DS18B20水温采集的电路、LCD液晶的显示电路、按键控制电路和蜂鸣器报警的电路等。设计中还使用了相关的硬件电路和相关的软件程序,最终通过仿真和软件、硬件电路来完成实现设计所要求达到的功能。
关键词:水温传感器、数据存储和采集、液晶显示、电路报警
The design of water temperature’s measurement circuit
Abstract
Temperature is one of the physical quantities of people's daily life experience, the water temperature is one of them. Temperature control is very important, and the temperature of the surface water along with the change of sunshine changes. The groundwater temperature and ground temperature is closely related. In general, the groundwater temperature is constant, the deep groundwater water temperature is constant. If there is a dramatic change, groundwater temperature on health indicates that there are suspicious of contamination. If the groundwater water temperature increased suddenly, may be due to the higher temperature of surface water influx. Water temperature can affect the growth of bacteria in water and water of natural purification effect. In addition, the water temperature of water purification disinfection also have important relationship.
Adopted in the design of a unit is given priority to with STC89C52 single-chip microcomputer controller module, tempered stainless steel encapsulation type waterproof DS18B20 as temperature acquisition module of temperature measurement circuit. Which contains hardware circuit STC89C52 smallest system, DS18B20 temperature acquisition circuit, LCD display circuit, key control circuit and buzzer alarm circuit, etc. Also used in the design of the related hardware circuit and relevant software program, finally done through the simulation, the hardware circuit and software implementation to achieve the function of the design requirements.
Keywords: Sensor for water measurement、data acquisition、LCD screen、software programming
目录
摘 要 I
Abstract II
目录 III
第一章 引言 1
1.1选题背景及意义 1
1.2设计的功能指标 2
1.3论文结构 2
第二章 单元电路的设计 4
2.1温度采集模块的设计: 6
2.2单片机模块的设计 6
2.3显示模块的设计: 8
2.4存储器模块的设计: 9
2.5按键模块的设计: 10
2.6报警模块的设计: 11
第三章.软件系统设计 14
3.1主程序 14
3.2 显示模块初始化函数的设计: 15
3.3 DS18B20初始化(复位)设计: 16
3.4存储器读写函数设计: 17
3.5键盘扫描函数的设计 18
3.6报警函数的设计: 19
第四章 软件仿真调试结果 20
4.1仿真图 20
4.2仿真结果: 20
第五章 硬件电路调试结果 23
5.2硬件调试中遇到的其他问题和解决方法 26
5.3误差分析 26
第六章 设计总结 28
参考文献 30
致谢 32
附录 33