基于MSP430单片机温湿度控制系统
基于MSP430单片机温湿度控制系统(论文10200字)
摘要:众所周知,温湿度数据是气象事业、农业生产、居家生活等方面重要的数据因子, 可以说和我们的生活息息相关。本设计采用MSP430F149型号单片机,控制DH11温湿度
采集模块,并将数据发送至LCD液晶显示屏上,通过单片机预设温度上限30℃,湿度上限70%,超过上限后控制5v微型继电器悬脚闭合,继电器电路导通,与之相连的风扇启动,达到降温排湿的功能。当温湿度低于预设值时,继电器断开,风扇停止工作,实现自动控制,以便应用于人员不易进入环境复杂或者恶劣的环境。
关键词:MSP430单片机,DH11温湿度传感器,JQC-3FF继电器
Temperature and humidity control system based on MSP430 microcontroller
Abstract:the temperature and humidity data is an important factor in meteorological, agricultural production, home life and other aspects of the data,It can be said that our lives are closely related. The design uses the MSP430F149 microcontroller to control DH11 temperature and humidity acquisition module.The data acquisition module is used to send the data to the LCD liquid crystal display screen, and the upper limit of the preset temperature is 30℃by a single chip microcomputer or limit of 70%, after more than the upper limit of the control 5V micro relay hanging foot closed, the relay circuit is switched on, with the fan to achieve the function of temperature and humidity. When the temperature and humidity is lower than the preset value, the relay is switched off and the fan stops working to achieve automatic control, so as to be applied to people who are not easy to enter the complex or bad environment. [资料来源:http://Doc163.com]
Key words:MSP430singlechip, DH11Temperature and humidity sensor,JQC-3FFRelay
目录
摘要 1
Abstract 2
1. 绪论 3
1.1选题目的和意义 3
1.2 国内外发展现状 3
1.3 论文内容及结构 4
2.系统总体设计 5
2.1 总体介绍 5
2.2系统总体设计框图 5
3.硬件电路设计 6
3.1 基本硬件介绍 6
3.1.1 MSP430F149单片机 6
3.1.2 DH11温湿度传感器 7 [来源:http://www.doc163.com]
3.1.3 JQC-3FF继电器 8
3.1.4 LCD1602液晶显示屏 9
3.2总体电路 11
3.3主要模块设计 11
3.3.1 温湿度采集模块 12
3.3.2 电源模块 14
3.3.3 LCD显示模块 15
3.3.4 继电器模块 16
3.4 其他模块 17
3.4.1 复位电路 17
3.4.2 时钟电路 18
4.软件编程设计 19
4.1 程序总体流程图 19
4.2 温湿度采集程序 20
4.3 LCD显示程序 21
4.4 继电器设计 22
5.测试与展望 22
参考文献 26
致谢 27