摘要近年来电子技术领域发展十分迅猛,无线智能遥控窗帘在家庭生活中得到更加普遍的运用,成为一股潮流。本设计以8位的STC89C51单片机为核心,是一款无线智能遥控窗帘。该系统的优点是采用无线遥控,且无线发送接收模块主要由SC2262/SC2272编解码芯片组成。它控制双继电器来控制直流电机的正向转动、反向转动和停止,以此来控制窗帘自由地上升、下降和停止等动作或状态。在使用中,还可以通过光敏电阻来判断环境光线的亮度,用于窗帘开合状态的自动控制,并同时运用LED小灯来指示运行状态;当窗帘上升或下降到极限时,为了有效防止窗帘过卷,采用行程开关对窗帘的停止位置进行控制。69104
毕业论文关键词:STC89C51 直流电机 无线遥控
The Wireless and Intelligent Remote Controlled Curtain Based on MCU
Abstract
At recent years, the development of electronic technology is sharply increasing. Wireless and intelligent remote controlled curtain has been widely applied and has become a trend.
This design based on the 8 bit STC89C51 MCU is a wireless and intelligent remote controlled curtain. The advantage of the design lies in the apply of advanced wireless remote control as its control method. Moreover, the transmitting and receiving module consists of SC2262/SC2272 encoding and decoding chips. In order to allodially control the rise and fall and cease of curtain, it controls the reverse or cease of DC motor via regulating two relays. Also, it can judge the light intensity of surroundings through photoresistor, which applies to the automatic control of curtains switch and indicates the operation state. When the curtain runs to the limit, it can suspend the curtain by limit switch in order to prevent the overwinding of curtain.
Key words : STC89C51 DC Motor Wireless Remote Control
目录
摘要 I
Abstract II
目录 III
图清单 IV
1概述 1
1.1 课题背景 1
1.2 设计任务 2
2系统方案与硬件设计 3
2.1主要设计思路 3
2.2 硬件设计 3
2.2.1主控芯片 3
2.2.2 单片机的最小系统 5
2.2.3按键设计 6
2.2.4 遥控发射模块 7
2.2.5 PT2262/PT2272编解码集成电路原理 8
2.2.6 遥控电路 9
2.2.7 光线检测模块 11
2.2.8 正反转控制模块 11
2.2.9 模式显示模块 12
2.3硬件实物图 12
3系统软件设计 14
3.1 软件介绍 14
3.2程序设计 15
3.3 系统程序流程图 15
4总结 16
参考文献 17
致谢 18
第一章