设计说明书
总字数:11000+
目 录
Abstract
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.2.1 国内研究现状
1.2.2 国外智能风扇设计研究现状
1.3 本课题的研究内容
2 系统总体方案
2.1 主要模块方案选择
2.1.1 主控芯片方案选择
2.1.2 显示模块方案选择
2.1.3 温度传感器方案选择
2.2设计方案设计
3 系统硬件设计
3.1 主控模块电路
3.2 温度检测模块电路
3.3 时间模块电路
3.4 显示模块电路
3.5 指示模块电路
3.6 按键模块电路
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 LCD1602液晶显示子流程
4.5 时钟模块子流程
5 系统测试
5.1 温度检测与报警测试
5.2 时间功能测试
结 论
致谢
参考文献
附 录
附录A:原理图
附录B:PCB
附录C:主程序
摘 要
随着科技的进步和人们生活水平的提高,温度监测在日常生活、工业生产、农业种植等领域的重要性日益凸显。传统的温度计存在测量精度低、功能单一、无法实时监控等问题。本设计提出了一种基于 STC89C52 单片机的温度计,该温度计能够精准测量温度,实时显示温度值,并在温度超出设定范围时进行报警提示。系统采用 DS18B20 温度传感器采集温度数据,通过 LCD1602 显示模块实时显示温度和当前时间,利用按键实现温度最大值和最小值的设置以及时间的修正。当温度大于设置的最大值或者小于设置的最小值时,红色指示灯点亮,否则绿色指示灯点亮。本设计具有测量精度高、操作简便、功能实用等优点,可广泛应用于家庭、办公室、实验室等场所,为温度监测提供了便捷的解决方案。
关键词:51 单片机;STC89C52;温度计;DS18B20;温度监测
Abstract
With the progress of science and technology and the improvement of people’s living standards, temperature monitoring has become increasingly important in daily life, industrial production, agricultural planting and other fields. Traditional thermometers have problems such as low measurement accuracy, single function and inability to monitor in real time. This design proposes a thermometer based on STC89C52 single-chip microcomputer, which can accurately measure temperature, display temperature values in real time, and give an alarm when the temperature exceeds the set range. The system uses a DS18B20 temperature sensor to collect temperature data, a LCD1602 display module to display the temperature and current time in real time, and buttons to set the maximum and minimum temperature values and correct the time. When the temperature is greater than the set maximum value or less than the set minimum value, the red indicator light is on, otherwise the green indicator light is on. This design has the advantages of high measurement accuracy, simple operation and practical functions, and can be widely used in homes, offices, laboratories and other places, providing a convenient solution for temperature monitoring.
Key words:51 single-chip microcomputer; STC89C52; thermometer; DS18B20; temperature monitoring
购买后可查看具体内容!