基于AT89C51单片机的可手动定时控制的智能窗帘设计

点击链接获取Keil源码与Project Backups仿真图:
https://download.csdn.net/download/qq_64505944/89469560?spm=1001.2014.3001.5503
在这里插入图片描述
在这里插入图片描述

C 源码+仿真图+毕业设计+实物制作步骤+11

摘要 I
abstract II
第1章 绪论 1
1.1 背景及意义 1
1.2 国内外发展现状 1
1.3 设计思想及基本功能 1
第2章 系统总体方案设计 3
2.1 设计要求 3
2.2 方案选择和论证 3
2.2.1 单片机的选择 3
2.2.2 显示方案的选择 3
2.2.3 时钟模块的选择 4
2.2.4 电机的选择 4
第3章 系统硬件设计 5
3.1 整体方案设计 5
3.1.1 系统概述 5
3.1.2 系统框图 5
3.2 最小系统模块 5
3.2.1 STC89C51简介 5
3.2.2 最小系统电路 7
3.3 液晶显示电路 9
3.3.1 1602液晶简介 9
3.3.2 液晶引脚说明 9
3.3.3 指令介绍 10
3.3.4 液晶显示模块电路 13
3.4 时钟模块 14
3.4.1 DS1302简介 14
3.4.2 引脚说明 14
3.4.3 时钟芯片DS1302的工作原理 15
3.4.4 DS1302模块电路图 17
3.5 光照强度采集电路 17
3.5.1光敏电阻概述 17
3.5.2光敏电阻工作原理 17
3.5.3光敏电阻的分类 18
3.5.4光敏电阻的主要参数 18
3.5.5 ADC0832简介 18
3.5.6 光照强度采集电路 18
3.6 电机驱动模块 19
3.7 按键输入模块 19
第4章 软件设计 21
4.1 程序语言及开发环境 21
4.2 程序流程图设计 22
4.2.1 总体程序流程图设计 22
4.2.2 1602液晶程序设计 23
4.2.3 读出DS1302的时间信息 24
第5章 硬件组装与调试 25
5.1 元器件的选择与测量 25
5.2 元件的焊接与组装 25
5.3 电路的调试 25
5.3.1 调试方法 26
5.3.2 调试步骤 26
第6章 总结 28
鸣 谢 29
参考文献 30
附 录 31
附录一 元件清单 31
附录二 原理图 32
附录三 PCB图 33

摘要

自动控制技术是20世纪发展最快、影响最大的技术之一。今天的技术、生产、军事、管理、生活等各个领域,都离不开自动控制技术。就定义而言,自动控制技术是控制论的技术实现应用,是通过具有一定控制功能的自动控制系统,来完成某种控制任务,保证某个过程按照预想进行,或者实现某个预设的目标。随着电子计算机技术和其他高技术的发展,自动控制技术的水平越来越高,应用越来越广泛,作用越来越重要。尤其是在生产过程的自动化、工厂自动化、机器人技术、综合管理工程、航天工程、军事技术等领域,自动控制技术起到了关键作用。当然,在智能家居方面,自动控制技术有较好的发展前景。应用自动控制技术,将是家居环境更加智能化,人性化。
针对家居环境采光及避光问题,自动窗帘控制系统将取代手动控制,更加人性化。本文综述了自动窗帘系统的设计与控制系统,介绍了设计制作一个完整的自动窗帘控制系统所需要做的理论分析,以及各环节功能的实现。自动窗帘控制系统核心是采用单片机STC89C51控制,其次采用感光检测电路,时钟电路,电机控制电路、按键电路等外围电路。整个系统在各模块的配合下实现半自动控制,自动控制等功能。该设计在理论层面上,以程序驱动各模块工作,实现了各模块的内在联系,应用层面上采用软件进行原理图设计和仿真。
该自动窗帘系统硬件电路主要由感光检测电路,时钟电路,电机控制电路、按键电路等外围电路构成。该设计则主要讨论了自动窗帘系统的设计过程,硬件电路设计,软件调试过程。通过本系统可以实现通过光照强度实现窗帘开关自动控制、定时控制和手动控制等不同的控制方式。

关键词:智能窗帘;单片机;步进电机

abstract

Automatic control technology is one of the fastest growing and most influential technologies in the twentieth Century. Today’s technology, production, military, management, life and other fields are inseparable from the automatic control technology. By definition, the automatic control technology is to realize the application of control theory and technology, is by the automatic control system has a certain control function, to complete a control task, to ensure a process in accordance with the expectation, or achieve a goal. With the development of electronic computer technology and other high technology, the level of automatic control technology is getting higher and higher, and the application is more and more extensive, and the role is more and more important. Especially in the production process automation, factory automation, robot technology, integrated management engineering, aerospace engineering, military technology and other fields, automatic control technology plays a key role. Of course, in the smart home, the automatic control technology has good prospects for development. Application of automatic control technology, will be more intelligent home environment, user-friendly.
Aiming at the problem of lighting and avoiding light in household environment, automatic curtain control system will replace manual control and become more humanized. This paper summarizes the design and control system of automatic curtain system, introduces the theoretical analysis of the design of a complete automatic curtain control system, and the realization of the function of each link. The core of the automatic curtain control system is to use the single-chip microcomputer STC89C51 control, and then uses the photosensitive detection circuit, clock circuit, motor control circuit, button circuit and other peripheral circuits. The whole system realizes semi-automatic control, automatic control and other functions under the coordination of each module. In the theoretical level, the program is driven by each module, and the internal links of each module are realized. The software is used to design and simulate the schematic diagram.
The automatic curtain system hardware circuit is mainly composed of photosensitive detection circuit, clock circuit, motor control circuit, button circuit and other peripheral circuits. This design mainly discusses the design process of automatic curtain system, hardware circuit design, software debugging process. By this system, different control modes of curtain switch automatic control, timing control and manual control can be realized by lighting intensity.

Keywords: Intelligent curtain; single chip microcomputer; stepping motor

第1章 绪论

1.1 课题背景及意义

智能家居以住宅为平台,兼备建筑、网络通信、信息家电、设备自动化,集系统、结构、服务、管理为一体的高效、舒适、安全、便利、环保的居住环境,尽显便捷将家中的各种设备(如音视频设备、照明设备、窗帘控制、空调控制、网络家电等)通过家庭网络连接到一起。与普通家居相比,不仅具有传统的居住功能,提供安全舒适的家庭生活空间,还能提供全方位的信息交互功能,优化人

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

柒月玖.

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值