声光控窗帘系统设计

 2022-10-25 02:10

论文总字数:27334字

摘 要

在现代化的城市中,随着社会经济的快速发展以及人们生活水平的日益提高,智能家居是人们极为关心的问题,在我们的日常生活中,最普遍的就是环境的光线问题,一般我们都是采用手动拉开窗帘。而事实上,手动开闭不仅费力而且对于老人或小孩都是不安全的。因此,如何自动控制窗帘开关是现实生活中一个具有应用价值的研究课题。

本设计就是以实现集手动控制、光感检测和语音识别控制功能于一体为目的的设计,这样便可以节省大量的时间,不用每次走向窗户打开窗帘,更是保证了老人和孩子的安全。本课题以单片机为主控芯片,通过光敏电阻对光照信号的检测,可实现利用光照强度以及设置阈值来控制窗帘自动开闭,同时,能够通过对语音的识别控制窗帘的启动和关闭,达到智能控制的目的。本设计有性能稳定、能全天候工作、耗电省的特点,适用于家庭,宿舍等场合使用。本系统设计简单、成本低,具有一定的实用性。

关键字:单片机;语音识别;光强检测

Design of Sound and Light Control Curtains

Abstract

In the modern city, with the rapid development of social economy and the increasing improvement of people's living standards, smart home is a problem that people are extremely concerned about. In our daily life, the most common is the light problem of the environment. Generally, we use manual curtain pulling. In fact, manual opening and closing is not only laborious but also unsafe for the elderly or children. Therefore, how to automatically control the curtain switch is a valuable research topic in real life.

This design is to achieve a set of manual control, light sense detection and voice recognition control functions in one for the purpose of the design, so you can save a lot of time, not every time to the window to open the curtain, but also to ensure the safety of the elderly and children. This topic takes the monolithic integrated circuit as the main control chip. Through the detection of light signal by photosensitive resistor, the curtain can be opened and closed automatically by using light intensity and setting threshold. At the same time, the curtain can be started and closed by voice recognition to achieve the purpose of intelligent control. The design has the characteristics of stable performance, all-weather working and energy saving, and is suitable for use in family, dormitory and other occasions. This system design is simple, the cost is low, has certain practicability.

Keywords: Single-chip,Voice Recognition,Light Intensity Detection

目 录

摘 要 I

Abstract II

第一章 引 言 1

1.1 声光控窗帘设计的选题背景和意义 1

1.2 主要设计任务和产品功能确认 1

1.2.1 主要任务 1

1.2.2 产品功能 1

1.3 设计思路和工作原理 2

1.3.1 设计思路 2

1.3.2 工作原理 2

第二章 方案设计 3

2.1 方案的设计要求 3

2.2 主要功能部件的选取 3

2.2.1 主控电路选取 3

2.2.2 光强检测模块选取 3

2.2.3 语音识别模块选取 3

2.2.4 显示模块选取 3

2.2.5 时钟模块选取 4

2.2.6 电源模块选取 4

2.2.7 电机选取 4

2.2.8 按键选取 4

第三章 系统的硬件设计 5

3.1 系统硬件结构 5

3.2 主控电路 5

3.3 光强检测模块 6

3.3.1 光敏电阻概述 6

3.3.2 光照强度采集电路 6

3.3.3 光照强度阈值的选取 6

3.4 语音识别模块 7

3.4.1 LD3320构成的语音识别主系统 7

3.4.2 语音识别模块工作原理 7

3.4.3 模块与单片机的连接 8

3.5 液晶显示电路 9

3.5.1 1602液晶简介 9

3.5.2 液晶显示模块电路 9

3.6 电机控制模块 9

3.7 按键设计 10

3.8 电机工作状态显示电路 10

3.9 电源模块 10

第四章 系统的软件设计 12

4.1 软件介绍 12

4.2 系统流程图 13

4.2.1 总设计流程图 13

4.2.2 光检测模块及手动模块设计流程图 14

4.2.3 语音识别模块设计流程图 15

4.2.4 电机驱动模块设计流程图 16

4.2.5 读出DS1302的时间信息 17

第五章 硬件组装与调试 18

5.1 元器件的选择与测量 18

5.2 元件的焊接与组装 18

5.3 电路的调试 19

5.4 测试结果 20

5.4.1 测试步骤 20

5.4.2 实验数据 20

第六章 总 结 21

致 谢 22

参考文献 23

附 录 24

附录一 硬件设计原理图 24

附录二 实物图 25

剩余内容已隐藏,请支付后下载全文,论文总字数:27334字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;