摘 要:台灯已经是我们必不可少的家用电器。但传统的台灯有许多需要改进的地方。比如当人们在晚上需要开灯的时候,必须要摸黑手动开启台灯。当人们不需要使用的时候,又会因为疏忽忘记关闭台灯,这样增加了生活的开支,又不利于环保。40636
本文设计了一个智能台灯的控制电路,其控制核心为AT89S51单片机。通过光敏电阻检测室内的光照条件,并且通过热释电红外传感器检测人体与台灯的距离,然后通过BISSOOO1将传感器的传来的信息进行处理,单片机根据上部分传来的信号的不同依照事先设定好的程序控制台灯的开启和关闭。其实现的功能是:当室内光照条件差的时候人进入红外传感器的监控范围(4米左右)内时台灯自动开启开灯,这样就不用在黑暗中手动摸黑开启台灯。另外当人离桌面太近的时候(低于10cm),台灯自动感应,通过让蜂鸣器发出报警声来警告人调整坐姿,这样就可以实现节约能源和矫正坐姿等多种功能。
毕业论文关键词:AT89S51单片机;智能台灯;红外热释传感器 ;节能
Design of Intelligent Lamp Control Circuit
Abstract:Lamp already our essential appliances. But there are many traditional lamp need improvement. For example, when people need to turn on the lights at night, it must be manually turned dark lamp. When people do not need to use, because of negligence would forget to turn off lamps, thus increasing the cost of life, not environmentally friendly.
This paper presents an intelligent lamp control circuit that controls the core of AT89S51 microcontroller. Photosensitive resistance by testing indoor lighting conditions, and detection distance through the body and the lamp pyroelectric infrared sensor, then the sensor by BISSOOO1 processing the information coming from the microcontroller according to the different signals coming from the upper portion in accordance with pre-set good process control lamp on and off. Its function is to achieve: When indoor lighting conditions poor people into the infrared sensor monitoring range (4 meters) of open automatically when the lamp is lit up in the dark so you do not have to manually open the lamp in the dark. In addition, when people from the desktop when too close (less than 10cm), lamp auto-sensing, by making the buzzer alarm sounds to warn people adjust posture, so that you can achieve energy savings and correct posture and other features.
Key words: AT89S51SCM; Intelligent lamp; Infrared pyroelectric sensors;Energy saving
目 录
摘要 1
引言 2
1.系统总体设计方案 2
2.主要器件介绍 4
2.1热释电红外传感器介绍 4
2.2光敏电阻 5
2.3 BISS0001芯片介绍 5
2.4 D/A转化芯片DAC0832 6
3.硬件电路设计 6
3.1信号采集及处理电路 6
3.2灯光控制及报警电路 8
4.系统软件设计 9
4.1系统主流程图 9
4.2主程序流程图 9
5.智能台灯仿真及测试结果 10
6.结束语 12
参考文献 13
附录 14
附录1 14
附录2 16
致谢 17
智能台灯控制电路的设计引言
台灯是我们日常生活中不可缺少的生活电器,为我们的生活带来了非常多的便利。但是传统的台灯由于设计的不够智能化,所以或多或少有这样那样的缺点。在使用台灯的人群比例中,儿童占到了很大的一部分,而造成儿童近视的很大一部分原因是因为不正确的坐姿,因此设计一个能够自动纠正坐姿的台灯是非常有必要的。并且人们日常生活中总会因为忙碌在使用台灯后忘记关闭台灯,这样就造成了资源的浪费,不利于环保的要求,如果台灯在人们不需要的时候能够自动的关闭,这样就可以得到方便生活和节约能源的双重目标。 AT89S51单片机智能台灯控制电路的设计+电路图+程序:http://www.751com.cn/tongxin/lunwen_39048.html