设计简介:
项目名:窗帘
项目编号:mcuclub-dz-247
单片机类型:STC89C52
具体功能:
1、通过光敏电阻检测光照值,当光照值小于设置最小值(夜间)或大于设置最大值(光强太强)自动关闭窗帘,否则打开窗帘
2、通过SNR8016语音识别模块可语音控制窗帘的开关以及切换模式
3、通过DS1302获取时间,可按键修正时间
4、通过按键可设置光照的最大最小值、手动开关窗帘、切换模式
5、通过LCD1602显示时间、光照值
总字数:15347
基于单片机的智能窗帘系统设计
摘 要:伴随着科学技术的快速发展,智能窗帘得到了广泛的应用,但是当前的智能窗帘控制系统大多存在功能单一、稳定性差、操作复杂等缺点。为了提高智能窗帘的实用性、安全性和舒适性,本文基于单片机和传感器等相关技术设计了一款智能窗帘控制系统。
在智能窗帘控制系统的设计过程中,采用STC89C52作为主控芯片,采用光敏电阻检测室内光照强度值,采用SNR8016语音识别模块实现语音控制窗帘的作用,采用DS1302获取实时时间,采用按键进行阈值设置、时间修正、模式切换和手动开关窗帘,采用显示屏对时间和光照值进行显示。通过各模块相互配合,共同完成窗帘控制系统的设计。
通过搭建智能窗帘控制系统的仿真平台,并进行实物测试,对系统需要实现的功能进行逐一验证,结果表明,设计的控制系统完全满足系统设计要求,实现了功能齐全,稳定性能好,操作便利,功耗低的智能窗帘控制系统。
关键词:窗帘;传感器;测控;单片机;显示屏
Design of intelligent curtain system based on single
chip microcomputer
Abstract: With the rapid development of science and technology, intelligent curtain has been widely used, but most of the current intelligent curtain control system has the shortcomings of single function, poor stability, complex operation and so on. In order to improve the practicality, safety and comfort of the intelligent curtain, this paper designs an intelligent curtain control system based on microcontroller and sensor technology.
In the design process of the intelligent curtain control system, STC89C52 is used as the main control chip, photoresistor is used to detect the indoor light intensity value, SNR8016 voice recognition module is used to realize the role of voice control curtains, DS1302 is used to obtain real-time time, and buttons are used to set thresholds, correct time, switch modes and manually switch curtains. Time and light values are displayed on the display screen. Through the cooperation of each module, the design of curtain control system is completed.
By building the simulation platform of the intelligent curtain control system, and conducting physical tests, the functions of the system need to be verified one by one. The results show that the designed control system fully meets the requirements of the system design, and realizes the intelligent curtain control system with complete functions, good stable performance, convenient operation and low power consumption.
Key words:curtain; Sensor; Measurement and control; Single-chip computer; Display screen
目 录
摘 要 I
Abstract II