设计简介
智能窗帘的自动控制系统设计
摘 要:自动控制属于电子及信息科学的一个重要分支,并且在现代家居中有着较好的目前发展前景。目前,家庭居住环境的采光及避光问题主要采用的是手动开闭窗帘,手动开闭不仅费力而且很多方面不够人性化,可能对用户造成一定的困扰,窗帘控制系统可以解决这些问题。本文综述了自动窗帘控制系统的设计与制作过程,介绍了设计制作一个完整的窗帘控制系统需要做的理论分析以及其制作过程。自动窗帘控制系统核心采用的是单片机AT89C51,其次利用了光照传感器、键盘显示接口电路以及信号调理电路等外围电路,整个系统在各模块的配合下可实现半自动控制、自动控制、定时控制等功能。
自动窗帘控制系统的构成主要由光照传感电路、系统主控模块电路、电源转换电路、电机控制电路、键盘以及显示电路等组成,重点讨论了窗帘自动控制系统的设计过程、硬件选用和软件调试等问题,通过本系统可实现利用光照强度以及设置时间来控制窗帘自动开闭。
关键字:单片机,自动控制,AT89C51, protel[3]
Design of control system for intelligent curtain based on MCU
Abstract:Automatic control belongs to an important branch of electronics and information science, and in the modern home has a good development prospect at present.At present, the daylighting of the family living environment and avoid light problem mainly USES is manually open and close the curtain, manually open and close many aspects not only laborious and inhumane, may cause certain problems for users, curtain control system can solve these problems.In this paper, the design of the control system of automatic curtain and the production process, this paper introduces the design and production need to do a complete curtain control system theory analysis and its production process.Core automatic curtain control system USES a single chip microcomputer AT89C51, then use the light sensor, keyboard display interface circuit and signal conditioning circuit and peripheral circuit, with the cooperation of the whole system in each module can realize semiautomatic control and automatic control, timing control, etc.
Composition of automatic curtain control system mainly by the light sensor circuit, system control module circuit, power conversion circuit, motor control circuit, keyboard and display circuit and so on, focuses on the curtain of the design process of the automatic control system, hardware selection and software debugging, etc., through this system can realize the use of light intensity and set a time to control the curtains open and close automatically.
Key words:Single-chip microcomputer; automatic control; AT89C51; protel[3]
目 录
5.2 主要子程序设计…………………………………………………………………23
5.2.1 键盘程序设计…………………………………………………………………23
5.2.2 定时程序设计…………………………………………………………………24
5.2.3步进电机程序设计……………………………………………………………25
6总结…………………………………………………………………………………26
参考文献………………………………………………………………………………27
致谢……………………………………………………………………………………27
附录……………………………………………………………………………………28
附图……………………………………………………………………………………28
摘 要:自动控制属于电子及信息科学的一个重要分支,并且在现代家居中有着较好的目前发展前景。目前,家庭居住环境的采光及避光问题主要采用的是手动开闭窗帘,手动开闭不仅费力而且很多方面不够人性化,可能对用户造成一定的困扰,窗帘控制系统可以解决这些问题。本文综述了自动窗帘控制系统的设计与制作过程,介绍了设计制作一个完整的窗帘控制系统需要做的理论分析以及其制作过程。自动窗帘控制系统核心采用的是单片机AT89C51,其次利用了光照传感器、键盘显示接口电路以及信号调理电路等外围电路,整个系统在各模块的配合下可实现半自动控制、自动控制、定时控制等功能。
自动窗帘控制系统的构成主要由光照传感电路、系统主控模块电路、电源转换电路、电机控制电路、键盘以及显示电路等组成,重点讨论了窗帘自动控制系统的设计过程、硬件选用和软件调试等问题,通过本系统可实现利用光照强度以及设置时间来控制窗帘自动开闭。
关键字:单片机,自动控制,AT89C51, protel[3]
Design of control system for intelligent curtain based on MCU
Abstract:Automatic control belongs to an important branch of electronics and information science, and in the modern home has a good development prospect at present.At present, the daylighting of the family living environment and avoid light problem mainly USES is manually open and close the curtain, manually open and close many aspects not only laborious and inhumane, may cause certain problems for users, curtain control system can solve these problems.In this paper, the design of the control system of automatic curtain and the production process, this paper introduces the design and production need to do a complete curtain control system theory analysis and its production process.Core automatic curtain control system USES a single chip microcomputer AT89C51, then use the light sensor, keyboard display interface circuit and signal conditioning circuit and peripheral circuit, with the cooperation of the whole system in each module can realize semiautomatic control and automatic control, timing control, etc.
Composition of automatic curtain control system mainly by the light sensor circuit, system control module circuit, power conversion circuit, motor control circuit, keyboard and display circuit and so on, focuses on the curtain of the design process of the automatic control system, hardware selection and software debugging, etc., through this system can realize the use of light intensity and set a time to control the curtains open and close automatically.
Key words:Single-chip microcomputer; automatic control; AT89C51; protel[3]
目 录
摘 要…………………………………………………………………………………1
关键词…………………………………………………………………………………1
1前 言…………………………………………………………………………………2
2绪论…………………………………………………………………………………3
2.1 课题研究背景及意义……………………………………………………………3
2.2 基本内容安排……………………………………………………………………4
2.3 设计思想及基本功能……………………………………………………………5
3总体电路设计及其原理说明……………………………………………………5
3.1 方案选取…………………………………………………………………………5
3.2 系统总体结构设计………………………………………………………………6
3.2.1系统基本功能…………………………………………………………………7
3.2.2系统总体结构设计……………………………………………………………7
4硬件分析与设计……………………………………………………………………8
4.1电源电路设计……………………………………………………………………8
4.2 89C51单片机及相关电路………………………………………………………9
4.2.1 89C51单片机概述……………………………………………………………9
4.2.2晶振电路………………………………………………………………………9
4.2.3复位电路………………………………………………………………………10
4.2.4键盘电路………………………………………………………………………11
4.2.5 显示电路………………………………………………………………………12
4.2.6 A\D转换电路…………………………………………………………………14
4.2.7光敏传感器……………………………………………………………………17
4.2.8 步进电机………………………………………………………………………18
4.2.9信号校正电路…………………………………………………………………20
5程序分析与设计……………………………………………………………………21
5.1 主程序设计………………………………………………………………………21关键词…………………………………………………………………………………1
1前 言…………………………………………………………………………………2
2绪论…………………………………………………………………………………3
2.1 课题研究背景及意义……………………………………………………………3
2.2 基本内容安排……………………………………………………………………4
2.3 设计思想及基本功能……………………………………………………………5
3总体电路设计及其原理说明……………………………………………………5
3.1 方案选取…………………………………………………………………………5
3.2 系统总体结构设计………………………………………………………………6
3.2.1系统基本功能…………………………………………………………………7
3.2.2系统总体结构设计……………………………………………………………7
4硬件分析与设计……………………………………………………………………8
4.1电源电路设计……………………………………………………………………8
4.2 89C51单片机及相关电路………………………………………………………9
4.2.1 89C51单片机概述……………………………………………………………9
4.2.2晶振电路………………………………………………………………………9
4.2.3复位电路………………………………………………………………………10
4.2.4键盘电路………………………………………………………………………11
4.2.5 显示电路………………………………………………………………………12
4.2.6 A\D转换电路…………………………………………………………………14
4.2.7光敏传感器……………………………………………………………………17
4.2.8 步进电机………………………………………………………………………18
4.2.9信号校正电路…………………………………………………………………20
5程序分析与设计……………………………………………………………………21
5.2 主要子程序设计…………………………………………………………………23
5.2.1 键盘程序设计…………………………………………………………………23
5.2.2 定时程序设计…………………………………………………………………24
5.2.3步进电机程序设计……………………………………………………………25
6总结…………………………………………………………………………………26
参考文献………………………………………………………………………………27
致谢……………………………………………………………………………………27
附录……………………………………………………………………………………28
附图……………………………………………………………………………………28

