摘要温度是自然界的一种现象,是表示物体冷热的一个物理量。温度控制对工农业生产和人们的生活都有很重要影响,比如石油化工冶炼,温室大棚种植蔬菜,和食物保鲜。因此,单片机温度控制系统的设计,具有广泛的应用前景与实际意义。 46432
本设计是通过DS18B20数字传感器对温度进行实时采集,在液晶显示器LCD1602实时显示。单片机温度控制系统基本实现温度控制功能:当温度低于设定下限温度时,系统启动加热模块,使温度上升,同时启动显示模块。当温度上升到下限温度以上时,停止加热模块;当温度高于设定上限温度时,系统启动降温模块,使温度下降,同时启动显示模块。当温度下降到上限温度以下时,停止降温模块。温度在上下限温度之间时,系统正常运行。
毕业论文关键词:单片机;温度控制;液晶显示;温度设定;
ABSTRACT
Temperature which is a phenomenon of nature,is a physical quantity of hot or cold said object.The temperature control for industrial and agricultural production and people's life has very important influence ,such as petroleum and chemical refining, greenhouses planting vegetables, and food preservation.In this situation, the single chip microcomputer temperature control system design has wide application prospects and practical significance.
This design is for real-time acquisition through DS18B20 digital temperature sensor.Temperature in liquid crystal display device LCD1602 display in a timely manner.Design of temperature control system should be able to realize the basic function of the temperature control:When the temperature is lower than the set lower limit temperature,the system automatically start heating module makes the temperature rise,at the same time starting the display module.When the temperature rises to the lower limit of temperature above, the system stops heating module.When the temperature is higher than the set limit temperature, the system automatically start cooling modules make temperature drop, at the same time starting the display module.When the temperature drops below the ceiling temperature ,the system stop the cooling module.The temperature between upper and lower temperature, the system does not execute the command.
Key words:Single chip microcomputer; The temperature control; Liquid crystal display (LCD); Temperature setting;
目 录
第一章 绪论 1
1.1论文研究的背景和意义 1
1.2论文研究内容 1
第二章 系统总体结构 2
2.1系统任务规划 2
2.2系统结构框图 2
2.3系统方案论证与比较 2
2.4最终方案 4
2.4.1控制模块 4
2.4.2传感器模块 4
2.4.3显示模块 4
2.4.4电源模块 4
2.4.5加热模块 4
2.4.6降温模块 5
2.4.7其他 5
第三章 硬件设计 6
3.1采集模块 6
3.1.1DS18B20引脚功能 6
3.1.2控制指令 6
3.2主控模块 8
3.2.1STC89C52引脚功能 8
3.2.2时钟和复位电路 9
3.3显示模块 10
3.3.1 LCD1602优点 10
3.3.2 引脚功能说明 10
3.3.3 控制指令 11
3.4 电源电路 12
3.5 按键复位 12
3.6单片机ISP下载电路 12
3.7单片机按键识别电路 12
第四章 软件设计 13
4.1 Proteus 13 51单片机温度控制系统的设计+电路图+程序:http://www.youerw.com/zidonghua/lunwen_48141.html