毕业设计-基于stc89c52单片机的红外窗帘控制器设计与实现

上传人:aa****6 文档编号:38211547 上传时间:2018-04-28 格式:DOC 页数:44 大小:10.73MB
返回 下载 相关 举报
毕业设计-基于stc89c52单片机的红外窗帘控制器设计与实现_第1页
第1页 / 共44页
毕业设计-基于stc89c52单片机的红外窗帘控制器设计与实现_第2页
第2页 / 共44页
毕业设计-基于stc89c52单片机的红外窗帘控制器设计与实现_第3页
第3页 / 共44页
毕业设计-基于stc89c52单片机的红外窗帘控制器设计与实现_第4页
第4页 / 共44页
毕业设计-基于stc89c52单片机的红外窗帘控制器设计与实现_第5页
第5页 / 共44页
点击查看更多>>
资源描述

《毕业设计-基于stc89c52单片机的红外窗帘控制器设计与实现》由会员分享,可在线阅读,更多相关《毕业设计-基于stc89c52单片机的红外窗帘控制器设计与实现(44页珍藏版)》请在金锄头文库上搜索。

1、I南阳理工学院本科生毕业设计(论文)红外窗帘控制器设计与实现Design and Implementation of Infrared Controller for Curtain学 院: 电子与电气工程学院 专 业: 自动化 学 生 姓 名: 樊 帅 学 号: 指 导 教 师(职称): 评 阅 教 师: 完 成 日 期: II红外窗帘控制器设计与实现红外窗帘控制器设计与实现自动化专业 樊帅摘 要 本文设计了一种基于 STC89C52 单片机的红外窗帘控制器,系统分为两个部分,一是红外遥控器部分,分别设置了启动/停止、打开、关闭、速度减小、速度增加和自动 6 个按键,当不同的按键被按下时红外发

2、射二极管便发出不同的按键编码。二是接收控制器部分,其功能是用单片机通过一体化红外接收头接收遥控器发出的编码并进行解调,然后根据编码的功能来控制步进电机的运行状态。系统包括手动和自动两种模式,在手动模式下可通过按键来控制窗帘的打开,关闭或停止。在自动模式下可根据室内光线的强度自动控制窗帘的打开或关闭。从而实现手动和自动控制窗帘的目的。关键词 单片机;红外;遥控;窗帘 IIIDesign and Implementation of Infrared Controller for Curtain Automation Specialty FAN ShuaiAbstractThis design is

3、 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

4、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

5、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 autom

6、atically 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致谢.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号