项目编号:mcuclub-hj-003

仿真连接:点击跳转

51实物链接:点击跳转

32实物链接:点击跳转

开题报告:点击跳转

51设计说明书:点击跳转

32设计说明书:点击跳转

基于STC89C52单片机的室内温湿度控制系统设计

摘要

随着我国科学与经济的发展,恒温恒湿的室内环境也广泛应用到很多行业,如机械、医药、检测、食品等行业。此次设计出一套能够监测室内环境数据并实时上传数据的设备系统,传感器数据采集项主要包括温度、湿度,人们可以根据设备显示的数据来判断室内环境信息,并做出相应调整以改善室内环境。该系统具备以下功能:1)采集室内温度、湿度值信息;2)实时显示采集到的数据信息;3)硬件模块、手机端、服务器及数据库系统能够互相通讯;4)手机程序能够读取或配置信息;5)检测到环境的温湿度不在设置的范围之内进行声光报警提醒,并自动控制加热、制冷、加湿、除湿继电器进行工作。针对项目所述要求,本文的设计主要分为硬件电路和软件程序两个部分。硬件包括传感器采集模块、电源模块、显示屏模块、主控芯片及外围电路、蓝牙通讯模块和控制模块等,它是以STC89C52型号单片机为核心设计的电路板,数据由传感器和单片机采集处理后传输至通讯模块再发送至服务器;软件包括Android手机、服务器程序,主要使用C语言,服务器接收主板发来的数据清晰直观显示在手机上,方便用户查看室内环境情况。

关键词:STC89C52单片机;温湿度采集;测控;声光报警

DesignofindoortemperatureandhumiditycontrolsystembasedonSTC89C52singlechipmicrocomputer

Abstract

With the development of science and economy in China, constant temperature and humidity indoor environment is also widely used in many industries, such as machinery, medicine, testing, food and other industries. This design can monitor the indoor environment data and real-time upload data equipment system, sensor data collection items mainly include temperature, humidity, people can judge the indoor environment information according to the data displayed by the equipment, and make corresponding adjustments to improve the indoor environment. The system has the following functions: 1) Collect indoor temperature and humidity value information; 2) Real-time display of collected data information; 3) The hardware module, mobile terminal, server and database system can communicate with each other; 4) The phone program can read or configure information; 5) When the ambient temperature and humidity are detected not within the set range, sound and light alarm is made to remind, and the heating, refrigeration, humidification and dehumidification relay is automatically controlled to work. According to the requirements of the project, the design of this paper is mainly divided into two parts: hardware circuit and software program. The hardware includes sensor acquisition module, power module, display module, main control chip and peripheral circuit, Bluetooth communication module and control module, etc. It is a circuit board based on STC89C52 single chip microcomputer. Data is collected and processed by the sensor and single chip microcomputer and then transmitted to the communication module and then sent to the server. The software includes Android phone and server program, mainly using C language. The data received by the server from the main board is clearly and intuitively displayed on the phone, which is convenient for users to check the indoor environment.

Key words: STC89C52 MCU; Temperature and humidity collection; Measurement and control; Sound and light alarm

目录

摘要

Abstract

第一章 绪论

1.1 选题背景及实际意义

1.2 国内外研究现状

1.2.1国外发展概况

1.2.2国内发展概况

1.3本论文研究目标与框架

第二章 系统设计方案

2.1整体设计方案

2.2主要元器件选择

2.2.1主控芯片选择

2.2.2显示方案选择

2.2.3测温方案选择

第三章硬件设计

3.1单片机最小系统

3.1.1主控模块电路

3.1.2复位电路

3.1.3电源电路

3.1.4下载电路

3.2温湿度检测模块电路

3.3报警模块电路

3.4按键模块电路

3.5继电器控制电路

3.7显示模块电路

3.6蓝牙模块电路

第四章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 温湿度检测模块子流程

4.5 LCD1602液晶显示子流程

4.6 蓝牙模块子流程

第五章 仿真测试

5.1 整体仿真测试

5.2 温度测控仿真测试

5.3 湿度仿真测试

5.4 蓝牙远程控制仿真测试

5.5 本章小结

第六章 实物测试

6.1 实物焊接测试

6.2 温度测控仿真测试

6.3 湿度仿真测试

6.4 蓝牙远程控制仿真测试

6.5 本章小结

第七章结论

7.1 结论

7.2 展望

参考文献

致谢

附录

附录1:原理图

附录2:PCB

附录2:程序

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

发表评论

后才能评论

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

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

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

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

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