摘要:随着社会的不断进步,人们对低碳生活逐步认识和接受,并从很多方面开始关注,尤其是在环保上做出了很多努力。因此,声光控制开关,在我们的低碳生活中,将起到重要作用。 

本课题针对目前的情况而设计了一个基于单片机的路灯控制系统。该系统通过声音和光线来控制继电器的断开闭合,实现路灯的自动断开、闭合,其具有很强的适用性。该设计主要由STC89C52单片机、±12V和5V的电压源电路、声音的接收放大控制电路、光信号的接收放大控制电路以及继电器的驱动电路组成。用声光控制开关代替一般的开关,只有在天黑以后,并且有声音时才能使继电器导通,使得电路导通,否则延迟一段时间继电器就会自动断开,而白天开关总是断开的。测试结果证明该系统性能稳定、操作方便,具有较高的实用价值。76754

毕业论文关键词:单片机;声音控制;光控制;自动开关

Abstract:With the continuous progress of society, people gradually understand and accept low carbon life, and began to pay attention to many aspects, especially in environmental protection has made a lot of efforts。 Therefore, the sound and light control switch, in our low carbon life, will play an important role。

According to the present situation, this paper designs a street lamp control system based on single chip microcomputer。 The system through sound and light to control the disconnection of the relay, to achieve automatic disconnection of street lights, which has a strong applicability。 The design is mainly composed of STC89C52 microcontroller, + 12V and 5V voltage source circuit, sound receiving and amplifying control circuit, optical signal receiving and amplifying control circuit and relay driving circuit。 With sound and light control switch to replace the general switch, only after dark, and there are voices to relay turn-on, the circuit conduction, or delay a period of time relay can automatically cut off, and switch to daytime always disconnect。 The test results show that the system is stable and easy to operate, and has high practical value。

Key words: Single chip microcomputer Sound Control Light Control Automatic switch 

目录

1 前言 5

2 系统方案设计 6

2。1 系统设计的原理框图 6

2。2 系统设计的原理框图解析 6

3 系统硬件设计 7

3。1 单片机最小系统设计 7

3。2 声控电路设计 9

3。3 光控电路设计 12

3。4 路灯开关控制电路设计 14

3。5 电源电路设计 16

3。6 小结 17

4  系统软件设计 18

4。1 简介 19

4。2 程序设计步骤 19

4。3 软件开发环境 19

4。4 主程序设计 21

4。5 声光信号采集程序设计 22

4。6 仿真调试 22

4。7 小结 25

结 论 26

参 考 文 献 26

致  谢 28

附录1

上一篇:AT89C51单片机步进电机调速系统设计+电路图+程序
下一篇:AT89C2051单片机Smith算法的恒温箱设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

STM32单片机的无刷直流电机控制系统设计

AT89S52单片机车内空气检测系统设计+源代码

LABVIEW+AT89C51单片机智能药箱系统设计+源代码

浅析施工企业保理融资成...

高效课堂教师问卷调查表

从企业eHR建设谈管理信息...

小型通用机器人控制系统设计任务书

遥感土地用变化监测国内外研究现状

MNL模型历史城区居民活动...

《水浒传》中血腥暴力研...

大规模MIMO系统的发展研究现状

PCI+PID算法直流力矩电机速...

提高小學语文課堂朗读教...