基于单片机的智能晾衣架控制系统的设计(附元器件清单,程序清单)
基于单片机的智能晾衣架控制系统的设计(附元器件清单,程序清单)(论文11500字)
摘要:如今,大城市的人们忙于工作,平时几乎不在家,而目前大家平常生活中用的晾衣架大多为普通的类型没有自动功能,不能随天气突变而自动控制其晾晒或收回衣物,传统类型的晾衣架不具有防雨水的功用。针对生活中出现的这类不便,本设计研究了智能晾衣架系统,将DHT11湿度传感器,光敏电阻组成检测模块,探测到的信息反馈给AT89S52单片机,根据实时湿度和光强程度判断晾衣架是否要自动收回晾晒的衣物。当湿度超过设定的上限或者光线变暗时,系统会自动驱动电机,从而给机械模块指令使其收回晾衣架。这样就能达到根据天气变化晾衣架自动伸缩而智能晾晒衣物的目的。
关键词:智能衣架;AT89S52单片机; DHT11湿度传感器
Design of Intelligent Dryer Control System Based on Single Chip Microcomputer
Abstract:Nowadays, people in big cities are busy with work and are almost always away from home. At present, most of the clothes racks used by people are of the original traditional type. They cannot automatically control the drying or retracting of clothes as the weather changes. Conventional types of clothes racks do not have Anti-rainwater function. In response to this problem, this design researched the intelligent drying rack system, and fed back the information detected by the detection module composed of the DHT11 humidity sensor and the photosensitive resistor to the AT89S52 single chip microcomputer. According to the real-time humidity and light intensity, it was judged whether the clothes rack should be retracted. When the humidity exceeds the set upper limit or the light dims, the system will automatically drive the motor, instructing the mechanical module to retract it.In this way, it is possible to achieve the purpose of intelligently drying clothes by automatically stretching and retracting clothes racks according to the weather. [版权所有:http://DOC163.com]
Key words:Smart hanger; AT89S52 microcontroller; DHT11 humidity sensor
[资料来源:http://www.doc163.com]
目录
1 绪论 1
1.1 选题背景 1
1.2 国内外研究现状 1
1.3 研究目的与意义 1
2 系统总体设计 2
2.1 总系统设计 2
[来源:http://Doc163.com]
2.2 系统硬件电路选择 2
3 控制系统硬件设计 3
3.1单片机的介绍及其工作系统设计 3
3.1.1 AT89S52特点 3
3.1.2 单片机工作系统设计 4
3.2 湿度传感器电路 4
3.2.1 DHT11数据结构 5
3.2.2 湿度传感器电路 5
3.3 光敏检测电路 6
3.4 步进电机驱动电路 7
3.4.1 步进电机的特性 7
3.4.2 步进电机的种类 7
3.4.3 永磁步进电机的控制原理 8
3.4.4 步进电机控制系统的组成 8
3.4.5 步进电机驱动电路 9
3.5 整体电路原理图 10
4 控制系统软件设计 10
4.1 程序流程图 11
4.2 程序设计 12
4.3 系统初始化及湿度检测 12
5 系统整体调试 13 [资料来源:https://www.doc163.com]
5.1 电路的调试与仿真 13
5.2 硬件实物的焊接 14
5.3调试后实验过程和结果 15
6 结论 19
参考文献 20
致谢 21
附录 22
1、 元件清单 22
2、 软件程序 22 [资料来源:www.doc163.com]