摘 要
随着现代电子技术的快速发展,智能家居已逐渐进入人们的生活中。本课题介绍基于单片机控制的智能窗帘系统,它采用了无线遥控技术,实现在室内任何地方,只要轻按遥控器,窗帘就会随心所欲地打开或关闭。为了使智能窗帘系统更加完善,在设计中加入了智能报警系统。当报警系统开启时,只要有入侵者从窗户入内,就会响起相应的报警信号,同时有数码显示那个窗户的报警器在报警。这样可以使用户很容易的了解报警情况。为了实现一机多控的功能,在设计中采用了改变无线模块地址码的方法来实现。一机多控的功能也就是一个遥控器可以控制家中所有的窗帘和报警装置。当白天家中有人在家时,只要用遥控器就可以关闭报警系统的工作。这样可以避免误报,而引起的不必要的麻烦。这也体现出了该系统的人性化设计。
关键词:单片机 无线遥控器 智能家居 智能报警
ABSTRACT
As modern electronic technique develops fast, Smart Home has entered people’s daily life gradually. This thesis, aims on introduction of Smart Curtain system on a basis of singlechip control, which adopts wireless technique for remote control, realizes indoor curtain automatically opening and closing, only by pressing lightly robot. To perfect the Smart Curtain system more, Smart Alarm system is added into design. When it starts, it will give a signal correspondingly if someone invades the room from window, meantime, it also show which alarm are working, so as to know the instance by user. To carry out the function of multi-control by one machine, I design it by changing wireless address code of mode. This function means one machine controlling the whole curtain and alarm devices, which not only avoids misinformation causing unnecessary trouble, but also embodies humanized design of this system.
Key Words: Singlechip ; Wireless robot ; Smart Home ; Smart Alarm
目 录
1 绪论1
1.1 智能家居控制系统概述及发展1
1.2 现代防盗系统的现状1
1.5 本课题的内容和目标2
2 智能窗帘的硬件设计3
2.1 智能窗帘系统的硬件设计框图3
2.2 控制电路3
2.2.1 凌阳单片机61板的各组成作用4
2.2.2 61板功能特点6
2.2.3 SPCE061A芯片特性6
2.3 无线遥控电路7
2.3.1 无线发射电路7
2.3.2 无线接受电路10
2.3.3 编码芯片PT2262的原理12
2.3.4 编码芯片PT2272的原理13
2.3.5 PT2262/2272芯片的地址编码设定和修改14
2.4 检测电路15
2.5 语音报警电路18
2.6 数码显示电路18
2.7 电机驱动电路19
2.8 电源电路20
3 智能窗帘系统的软件设计21
3.1 集成开发环境IDE21
3.2 主程序框图21
3.3 主程序的中断程序框图21
3.4 语音程序框图24
3.5 语音中断程序框图25
结 论27
参考文献28
附录1 SPCE061A管脚图29
附录2 系统程序31
致 谢34
英文原文及中文翻译