{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的智能加湿器设计

来源:wenku163.com  资料编号:WK16314219 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16314219
资料介绍

基于单片机的智能加湿器设计(任务书,开题报告,论文11000字)
摘 要
    该设计为基于单片机的智能加湿器系统,设计核心把是STC89C52与温湿度传感器DHT22结合起来,通过传感器采集温度信号和湿度信号,将其转换成数字信号实时显示在LCD上,精度为小数点后一位。利用单片机对数据进行分析处理,实现智能开启,加湿功能关闭,用户根据需要预先输入预设值。当实际测量的湿度值低于预设的湿度标准时,加湿器自动加湿;当实测湿度大于预设的湿度标准是,停止加湿;当检测的水位低于预设的3cm时加湿器报警并停止加湿。
关键词: 智能加湿器;报警;STC89C52;DHT22
 
Abstract
    This design is an intelligent humidifier system based on single chip microcomputer. The design core combines STC89C52 with the temperature and humidity sensor DHT22. The temperature signal and humidity signal are collected by the sensor, and the digital signal is converted into real-time display on the LCD with the precision of one decimal point.The single-chip microcomputer is used to analyze and process the data to realize intelligent opening and dehumidification function, and users can input preset values in advance according to their needs.When the actual measured humidity value is lower than the preset humidity standard, the humidifier automatically humidifies;When the measured humidity is higher than the preset humidity standard, stop humidifying;When the detected water level is lower than the preset 3cm, the humidifier alarms and stops humidifying.
Key words: intelligent humidifier;Call the police;STC89C52;DHT22

设计工艺要求
本设计任务以单片机为控制核心,设计智能加湿器。要求能够实时显示空气中的湿度,并根据所设定的湿度范围自动控制开始、停止加湿功能,水位低时停止加湿并报警,保证加湿过程的安全性。
需要实现的功能为:
    ①可以精确的显示实时的湿度以及温度。温度的检测范围为0℃~50℃,测温的精度为±1℃;湿度的检测范围为20%~100%RH,测湿的精度为±3%RH。
    ②能够自主调节当前需要湿度的预设湿度值,在系统上面有按键输入模块,可随时根据需要增加或者减少预设值。
    ③对湿度进行检测,若湿度超过了用户的预设值,加湿器就会停止加湿;或检测到容器水位过低,小于3cm加湿器停止加湿并报警。
④报警的方式为三极管驱动的蜂鸣器报警。
⑤系统的显示方式为八位显示,采用LCD显示。
 

基于单片机的智能加湿器设计
基于单片机的智能加湿器设计
基于单片机的智能加湿器设计
基于单片机的智能加湿器设计
基于单片机的智能加湿器设计


目 录
第1章 绪论    1
1.1 智能加湿器的选题背景和意义    1
1.2 智能加湿器市场发展现状及前景    1
第2章 设计任务及方案论证    3
2.1设计工艺要求    3
2.2方案选择    3
2.2.1传感器的选择    3
2.2.2 单片机的选择    4
2.2.3水位传感器的选择    4
3.1整体方案设计    6
3.2 单片机最小系统模块    6
3.2.1单片机介绍    6
3.2.2 单片机最小系统    8
3.3 传感器部分    10
3.3.1 DHT22数字温湿度传感器简介    10
3.3.2 传感器电路    12
3.4 液晶显示部分    13
3.4.1 1602字符型液晶显示屏简介    13
3.4.2 1602LCD电路    15
3.5 报警电路部分    16
3.6键盘部分    17
3.7 超声波测距部分    17
3.7.1超声波时序图    18
3.7.2超声波电路图    19
3.8 系统电路工作原理    19
第4章 系统软件设计    21
4.1 主程序设计    21
4.2 湿度检测控制模块设计    21
4.3 液晶显示模块    23
4.4超声波测距模块    24
第5章 实物调试    25
5.1 实物制作    25
5.1.1 硬件焊接    25
5.1.2硬件问题及解决办法    25
结论    29
参考文献    30
致  谢    31
附录I 汇编源程序    32

推荐资料