基于单片机的家庭智能灯设计
基于单片机的家庭智能灯设计(论文11000字)
摘要:随着单片机应用领域以及社会需求的不断发展,以单片机为核心,设计开发了各种控制系统和智能产品。目前,家庭用灯一般使用手动按键开关,由于各种原因往往出现许多灯泡长时间照明的现象,所以这种灯泡要经常调换,同时也浪费电量,这无疑增加了使用者的经济损失。本系统采用STC89C51单片机芯片和光电检测设备设计家庭智能灯控制器,实现了既能根据实际光线与声音条件也能通过实际光线与人体检测通过8051芯片控制家庭灯开关的功能。
关键词:单片机技术;控制;声控;光控;人体感应
Design of Home Intelligent Light Based on Single Chip Microcomputer
Abstract: With the application of SCM and social needs of the continuous development of the microcontroller as the core, design and development of a variety of control systems and intelligent products. At present, the family lights generally use manual key switch, due to various reasons often appear a lot of light bulbs for a long time lighting phenomenon, so this bulb to frequent exchange, but also a waste of electricity, which undoubtedly increased the user's economic losses. The system uses STC89C51 single chip microcomputer chip and photoelectric detection equipment to design the home intelligent light controller, realized both according to the actual light and the sound condition also through the actual light and the human body through the 8051 chip to control the family lamp switch function. [资料来源:http://doc163.com]
Key words: home lamp; single chip microcomputer technology; control; voice control; light control;
目 录
1.引言 1
1.1引言 1
1.2课题背景 1
1.3课题现状 2
1.4课题功能 2
2.主要器件简介 3
2.1单片机介绍 3
2.2光敏电阻介绍 5
2.3电压比较器 5 [资料来源:www.doc163.com]
3.硬件系统的设计及功能介绍 6
3.1系统结构 6
3.2声音信号采集电路的设计 7
3.3光信号判断电路的设计 7
3.4393双路电压比较器 8
3.5定时功能的设计 9
3.6驱动输出电路的设计 9
3.7电源供电模块 10
3.8 人体感应模块 11
3.9按键模块 12
3.10部分硬件展示 12
4.软件设计 15
4.1 软件设计语言的选择 15
4.2 程序流程图 16
5.成果展示 17
5.1仿真图 17
5.2仿真结果展示 17
5.3实物展示 18
6.总结 20
参考文献 20
致谢 22
[来源:http://Doc163.com]