资源预览内容
第1页 / 共44页
第2页 / 共44页
第3页 / 共44页
第4页 / 共44页
第5页 / 共44页
第6页 / 共44页
第7页 / 共44页
第8页 / 共44页
第9页 / 共44页
第10页 / 共44页
亲,该文档总共44页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
I南阳理工学院本科生毕业设计(论文)红外窗帘控制器设计与实现Design and Implementation of Infrared Controller for Curtain学 院: 电子与电气工程学院 专 业: 自动化 学 生 姓 名: 樊 帅 学 号: 指 导 教 师(职称): 评 阅 教 师: 完 成 日 期: II红外窗帘控制器设计与实现红外窗帘控制器设计与实现自动化专业 樊帅摘 要 本文设计了一种基于 STC89C52 单片机的红外窗帘控制器,系统分为两个部分,一是红外遥控器部分,分别设置了启动/停止、打开、关闭、速度减小、速度增加和自动 6 个按键,当不同的按键被按下时红外发射二极管便发出不同的按键编码。二是接收控制器部分,其功能是用单片机通过一体化红外接收头接收遥控器发出的编码并进行解调,然后根据编码的功能来控制步进电机的运行状态。系统包括手动和自动两种模式,在手动模式下可通过按键来控制窗帘的打开,关闭或停止。在自动模式下可根据室内光线的强度自动控制窗帘的打开或关闭。从而实现手动和自动控制窗帘的目的。关键词 单片机;红外;遥控;窗帘 IIIDesign and Implementation of Infrared Controller for Curtain Automation Specialty FAN ShuaiAbstractThis design is an infrared curtain controller based on the STC89C52 single chip micro computer. The system can be divided into two parts. The first part is the IR remote control which sets the 6 buttons of start/stop, open, close, slow down, speed up and automatic. The infrared emitting diode will send different code when different button is pressed. The second part is the receiving controller which would make use of the single chip micro computer to receive the code sent by the remote control through the integrated infrared receiver and make demodulation. Then it would control the running situation of the stepping motor according to the functions of the code. The system includes two kinds of models manual and automatic. Under the manual model, you can make the curtain be opened, closed or stopped by pressing the buttons. Under the automatic model,opening or closing the curtain can be controlled automatically according to the intensity of the indoor light. In this way, the curtain can be controlled manually and automatically. Key words: Single chip micro computer; infrared; remote control; curtainIV目目 录录1 引言.12 单片机的介绍.22.1 单片机简介.32.2 单片机的特点.32.3 单片机的应用.32.4 单片机 AT89C52 的结构原理.43 系统总体设计.83.1 系统硬件电路设计.93.1.1 红外发射模块.93.1.2 红外接收模块.103.1.3 显示模块.113.1.4 光控模块.133.1.5 步进电机驱动模块.143.1.6 窗帘框架构造设计.163.2 系统软件设计.163.2.1 红外遥控器的编码.163.2.2 二进制信号的调制.173.2.3 二进制信号的解码.183.2.4 红外遥控器模块程序设计.193.2.5 红外接收模块程序设计.213.2.6 LCD1602 模块程序设计.244 系统调试.26结束语.30参考文献.31附录.32致谢.
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号