项目编号: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
第一章 绪论
第二章 系统设计方案
第三章硬件设计
第四章 系统程序设计
第五章 仿真测试
第六章 实物测试
第七章结论
参考文献
致谢
附录
……………..本设计说明书是配套实物和仿真的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..