基于单片机的声光控制开关的设计
摘要在我们的生活中无时无刻在使用着灯,而在许多公共场所长明灯现象十分普遍,这造成了能源的极大浪费。因此要设计一种既节约又很方便实用的照明灯。本文阐述了简单的声光控制的照明灯的电路设计。通过AT89C51单片机结合LED显示技术、声音检测技术、光信号检测技术、延时技术、按键扫描等技术来实现对照明灯的控制。
首先通过光敏电阻对光照强度进行检测,当白天光线强时,不管有多大的声音,照明灯都不会点亮。而在夜晚光线暗时,声音检测电路只要检测到有足够的声响时,就会自动点亮照明灯,过数十秒后又自动熄灭。这样就使人们的生活更加方便,同时,也达到了节电和节能的目的,延长了灯的使用寿命。
关键词单片机,声控,光控,照明控制
ABSTRACT
In our lives, no at all times when in use with the light, and the eternal fire is mon in many public places, which resulted in tremendous waste of energy. So I want to design a practical lighting is saving and very convenient. This article explains a simple sound and light control circuit design of lighting. By AT89C51 monolithic integration of LED display technology and sound detection technology, optical signal detection, delay, keypad scanning technology to control light control.
First photosensitive resistor on measurement of light intensity, when the day when a strong light, no matter how much noise, lights are not lit. And when the night light, sound detection circuit for as long as enough when sound is detected, it will automatically point bright lights, automatically after few seconds off. This makes people's lives more convenient, meanwhile, reached a power-saving and energy-saving purposes, extend the life of the lamp.
Key words:Single-chip puter,Acoustic control,Light-operated ,Lighting control
目录
1
1
1
2
2
3
4
5
6
6
7
7
8
9
驻极体话筒的介绍 9
AD0832的介绍 9
声控部分原理 10
11
11
12
13
13
15
15
延时程序 16
按键扫描子程序 17
LED显示程序 18
AD转换程序 19
总程序 22
31
32
33
34
35
致谢 36
参考文献 37
课题研究的背景和意义【10】
现如今电子技术迅速发展,各先进国家无不将它放在优先发展的地位。在我们的生活中许多公共场所的白炽灯,在夜间不论使用与否都会点亮,这就造成了资源的严重浪费,同时又容易造成事故隐患。因此用数字电路技术实
毕业设计(论文)-基于单片机的声光控制开关的设计 来自淘豆网m.daumloan.com转载请标明出处.