基于51单片机的路灯光声控器的设计.doc
文本预览下载声明
基于51单片机的路灯光/声控器设计
摘要:随着自动化水平的不断提高,用户对家用电器的自动化要求也越来越高。因此,对路灯的自动控制也很有必要。路灯的光控与声控是路灯自动控制的主要方式,这种控制的主要功能是根据光照强度和声音的大小来共同控制路灯的亮和灭。例如,在白天光照强度大的时候,路灯就没有必要再亮,而在晚上时,我没通常需要灯是亮着的;同时,考虑到整个晚上路灯都在亮的状态势必会浪费更多的电,而且也会大大地减少路灯的寿命,所以此时就要加上声控部分了,当人们需要路灯亮的时候只需要发出点声音,路灯就会自动亮起来,过一定的时间就会自动灭了。这样既满足用户需求又节省电源。
关键词:光控电路 声控电路 光敏电阻 驻极体话筒 过程控制
Abstract:With increasing levels of automation, users of automation appliances demand more and more.Therefore, automatic control of lights is also necessary.Street light control and sound control is the main form of street light control, the main function of this control is based on the size of the light intensity and sound to the common control of the bright lights and off.For example, light intensity during the day when the lights would not need to re-light, and in the evening, I do not usually require light is illuminated; the same time, taking into account the real one night lights are bright state is bound to waste moreelectricity, but also greatly reduce the lamps life, so in this case we must add the voice part, and when the bright lights, when people need only point the sound issue, lamp lights up automatically, over a certain time willautomatically extinguished.This will not only meet the user needs it to save power.
Key words: Light control circuitVoice control circuit;Electric microphone ; Photosensitive resistance; Process Control
目 录
一
1、题目要求……………………………………………………………………4
2、设计思路及说明………………………………………………………… 4
设计方案的比较和论证基于单片机的路灯光/声控器设计的具体方法和过程………………………8
1、电源电路设计………………………………………………………………8
2、串口通信的实现……………………………………………………………8
3、光控模块设计……………………………………………………………9
4、声控模块设计………………………………………………………………10
5、声控电路设计………………………………………………………………11
时钟模块设计………………………………………………………………11
系统程序编写…………………………………………………………11
8、51单片机系统及功能实现…………………………………………………12
四、设计过程中遇到的问题及解决方法…………………………………12
五、实验结果及结论……………………………………………………………12
1、光控模块结果分析…………………………………………………………12
2、声控电路结果分析…………………………………………………………13
六、元件清单…………………………………………………………
显示全部