项目编号:mcuclub-dz-286

设计简介:

项目名:温度控制(实物)
项目编号:mcuclub-dz-286
单片机类型:STC89C52
具体功能:
1、通过防水式DS18B20测量温度
2、有两种模式,恒温模式:温度在33到44,在此模式,超过或低于,则启动加热或制冷;加热模式:温度在70到99,启动后,进行防水加热
3、通过按键设置温度上下限值,可以手动控制加热制冷、切换模式
4、通过LCD1602显示屏显示数据
5、当切换模式、加热完成、通过语音播报

总字数:13162

摘要

如今在工业和农业生产设备中大都涉及到温度控制问题,智能化温度控制的好与不好将直接对产品的质量和企业的收益造成严重的影响。而在实际生产中,因温度控制对象的特性不同,造成温度控制精度低,出现的严重的滞后现象等问题,因此温度控制至关重要。

本文基于单片机技术,设计一款温度控制器,该控制系统采用STC89C52单片机为主控芯片,采用防水式DS18B20传感器对温度值进行测量,采用按键进行温度上下限的设置、模式切换以及手动控制加热制冷,采用LCD1602显示屏显示温度相关数据。本文设计了两种模式,在恒温模式下:温度在33到44,在此模式,低于33摄氏度,启动加热片加热,超过44摄氏度,启动制冷片制冷;在加热模式下:温度在70到99摄氏度之间,启动加热器进行防水加热,当加热完成之后,语音播报提醒。

通过多次测试,本设计的系统能够长期稳定运行,并能提供准确无误的温度数值,并进行温度调节,因此,该系统具有较强的实用价值。

关键词  STC89C52单片机;温度采集;语音播报;测控

Design of temperature control system based on STC89C52

Abstract  Nowadays, temperature control is mostly involved in industrial and agricultural production equipment, and the good and bad of intelligent temperature control will directly affect the quality of products and the income of enterprises. In the actual production, due to the different characteristics of the temperature control object, the temperature control precision is low, the serious hysteresis phenomenon occurs, so the temperature control is very important.

Based on single-chip microcomputer technology, this paper designs a temperature controller. The control system adopts STC89C52 single-chip microcomputer as the main control chip, adopts waterproof DS18B20 sensor to measure the temperature value, adopts keys to set the upper and lower limits of temperature, switch modes and manually control heating and cooling, and adopts LCD1602 display screen to display temperature related data. This paper designs two modes, in the constant temperature mode: the temperature is 33 to 44, in this mode, below 33 degrees Celsius, start the heating sheet heating, more than 44 degrees Celsius, start the cooling sheet cooling; In heating mode: When the temperature is between 70 and 99 degrees Celsius, start the heater for waterproof heating, and when the heating is finished, the voice announcement will remind you.

Through many tests, the designed system can run stably for a long time, and can provide accurate temperature values, and temperature regulation, so the system has strong practical value.

Key words  STC89C52 MCU; Temperature acquisition; Voice broadcast; Measure and control

目  录

1绪论

1.1 选题背景及实际意义

1.2 国内外研究现状

1.3 本论文研究目标与框架

2系统设计方案

2.1 整体设计方案

2.2 主要元器件选择

2.2.1 主控芯片选择

2.2.2 显示方案选择

2.2.3 测温方案选择

3硬件设计

3.1 单片机最小系统

3.2 DS18B20温度检测模块电路

3.3 按键电路

3.4语音播报模块(TTS)

3.5 继电器控制模块

3.6 LCD1602显示模块电路

4 软件设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 温度检测模块子流程

4.5 LCD1602液晶显示子流程

5仿真测试

5.1 总体仿真测试

5.2 仿真运行测试

5.3 参数设置仿真测试

6 实物测试

6.1 系统硬件调试

6.2 实物运行测试

6.3 参数设置实物测试

总 结

参考文献

致 谢

附录

附录1:原理图

附录3:PCB

附录3:主程序

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源