基于单片机的智能节能台灯的设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
摘要
单片机渗透到我们生活的各个领域,几乎很难找到哪个领域没有单片机的踪迹,台灯已是千家万户的必需生活用品,当夜晚来临时,人们摸黑去开灯,非常不方便,而当离开时,人们又经常忘记关灯而造成巨大的能源浪费。
本文设计制作了一种智能台灯,主要是以红外热释电处理芯片BISS0001和单片机组成的红外传感控制电路。其原理是:以人体红外辐射(波长为9.5um)为传感信号,当人体在台灯的范围内且环境光强较弱时,自动感应开灯,省去黑夜摸灯的麻烦;当人离开台灯传感器检测范围,自动感应关灯。另外当人身体太靠近桌面时,台灯自动感应,蜂鸣器发出警报,警告纠正坐姿,同时灯光控制电路控制灯光变暗,若在一定时间内未离开桌面则自动熄灭,当纠正好坐姿则消除警报,灯光变亮。其特点是自动开关灯,节约能源;且能纠正坐姿,防止近视。
本文首先介绍结合了单片机的智能化电器的普遍推广推动了家用小电器台灯的智能化。然后介绍设计中用到的单片机的功能以及传感器的选择。最后进行台灯的硬件设计和软件设计。
关键词:Atmega16单片机;热释电红外传感器;智能台灯;节能
Abstract
Single-chip microcomputer penetrated into all areas of our lives,it is very difficult to find the area of almost no traces of mp is necessary for thousands of households living supplies.When in the dark,the people is very inconvenient to turn on the lights,and they often forger to turned off the lights when they left, it is resulting in a huge waste of energy.
In this paper, an intelligent design table lamp, Mainly pyroelectric infrared BISS0001 chip and single-chip processor consisting of infrared sensor control circuit. The principle is that infrared radiation in the human body for the sensor circuit,automatic sensors turn on the lights when the body of the scope of the lamp and the environment when a weak light.In another way,turn off the lights by automatic sensor when people leave the lamp sensor detection range. In addition, when the body is too close to the desktop. The buzzer alarm to warning to correct posture by the lamp automatic sensor. In the same time, lighting control circuit to control lights dimmed. if within a certain period of time not to leave the desktop the lights automatically extinguished, The lights brighten and remove the alarm when the correct good posture . It is features is automatic light switch, energy conservation; can correct posture and prevent myopia.
This paper first introduces the intelligent combination of SCM appliances to promote the general promotion of the small household electrical appliances intelligent lamp. And then used to introduce single-chip design features as well as the sensor of choice. The final table of the hardware design and software design.
Key Words:Atmega16 Microcomputer;PIR;Intelligent Table lamp;Energy Saving
目录
1 引言 (1)
1.1研究背景 (1)
1.2研究的意义 (2)
1.2.1在节约电能方面的意义 (2)
1.2.2对使用者的眼睛保护及坐姿的调整 (3)
1.3课题的发展现状 (4)
1.3.1单片机的发展现状 (4)
1.3.2台灯的发展现状 (5)
1.4研究内容 (6)
2 AVR单片机的特点及功能简介 (6)
2.1系统构成框图..................................... 错误!未定义书签。
2.2AVR单片机的特点 (6)
2.3单片机的串口功能 (7)
2.4ATmega16单片机PWM功能 (8)
3 传感器的选择及功能介绍 (10)
3.1传感器 (10)
3.1.1传感器的定义 (10)
3.1.2传感器的分类 (10)
3.1.3传感器的静态特性 (11)
3.1.4传感器的动态特性 (11)
3.1.5传感器的灵敏度 (12)
3.1.6传感器的分辨力 (12)
3.1.7传感器的迟滞性 (12)
3.2热释电红外传感器 (12)
3.2.1概述 (13)
3.2.2热释电红外传感器工作原理 (13)
3.2.3热释电红外传感器的优缺点 (14)
3.2.4热释电红外传感器的抗干扰性能 (14)
3.2.5热释电红外传感器的应用前景 (14)
I