文档详情

基于单片机的智能声光控开关的设计电子信息工程毕业论文.docx

发布:2018-01-30约8.57千字共26页下载文档
文本预览下载声明
毕 业 论 文(设计)题 目: 基于单片机的智能声光控开关的设计 学 号: 姓 名: 源代码联系:QQ303642493 系 别: 计算机与电子信息工程系 专 业: 电子信息工程 班 级: 09 自动化 指导教师: 教师职称: 副教授 完成时间: 2013 年 3 月 目 录1.前言12.设计任务要求与总体方案12.1课题任务12.2课题意义12.3系统设计的总体方案12.3.1系统总框图12.3.2系统的工作原理23.硬件系统的设计33.1声音信号采集电路33.2光信号判断电路设计43.3控制保护电路的设计43.4电源电路的设计74.软件部分设计84.1 Protel原理图界面84.2电路原理图设计流程94.3软件设计语言的选择104.4程序流程图124.5程序设计134.6程序调试135.总结14致谢15参考文献16附录17基于单片机的智能声光控开关的设计学生姓名:韦强 指导老师:梁龙学[摘要] 声光控开关的原理是只有在天黑以后,当有人走过楼梯通道,发出脚步声或其它声音时,楼道灯会自动点亮,提供照明,当人们进入家门或走出公寓,楼道灯延时几分钟后会自动熄灭。在白天,即使有声音,楼道灯也不会亮,可以达到节能的目的。 本设计以STC89C51RC单片机为核心,以研究声光控开关的设计,采用MIC驻极体话筒对声音信号的采集,可以通过软件来调节对声音的灵敏度。单片机软件实施对光度的判断,使开关在白天时即使有声音也不工作。文章应用了单片机控制输出光信号触发到光电耦合器导通,开关工作在频繁的开关状态时不易损坏可控硅,延长了声控开关的使用寿命。 [关键词] 声光控;智能;节能;可靠性Based On Single Chip Microcomputer Intelligent Acoustic Light-operated Switch DesignWei Qiang[Abstract] The principle of acoustic optical switch is only after dark, when someone pass stair channel, issued, or other sounds of footsteps will provide automatic lit corridor, lighting, when people enter the house or apartment corridor lights out several minutes automatically delay extinguished. During the day, even a voice, corridor lights also will not light, can achieve the purpose of saving energy. This paper STC89C51RC single-chip microcomputer as the core, the acoustic light-operated switch design, USES the MIC electret microphone for voice signal collection, can through the software to adjust the sensitivity of sound. Single-chip microcomputer software implementation on photometric judgment, make the switch in the day even though there is voice doesnt work. In this paper, the single chip microcomputer control output optical signal trigger to photoelectric coupler conduction, switch work in frequent switch state is not easy to damage the silicon controlled rectifier, prolong the service life of the acoustic control switch. [Key words] sound; the intelligent controller;energy-saving; reliability 1.前言 在这个能源紧缺和注重环保,我们得降低能耗,节约能源。声光控开关体积小,外形美观,反应灵敏,制作容易,是公共场合照明开关的理想选择,被誉为:“长明灯的克星”。公共场所和
显示全部
相似文档