基于单片机的智能小夜灯
2019-05-23王仲夏陈伟靳兴源方余
王仲夏 陈伟 靳兴源 方余
摘要:本次设计制作了一种基于单片机控制的智能小夜灯。你是否会被这样的问题所困扰?半夜醒来去上厕所或者起床去喝水等要去开灯特别的不方便。当半夜睡醒起床去上厕所或者起床去喝水的时候,处于半睡眠的状态。如果在这时候开灯,灯会很快地亮起来,这时眼睛适应不了瞬间由黑转亮的过程。本次设计的家居智能小夜灯不仅巧妙地解决了这个问题,而且还不会影响人的第二次睡眠。当半夜起床时,这个灯就会慢慢地亮起来,不需要用手去接触它,而且亮度会缓缓增加,让眼睛慢慢地去适应灯的亮度,而当继续睡觉的时候,它又会慢慢的关闭。这一整个过程完全智能化,不用再担心原来的问题,还能拥有一个更加舒适的睡眠环境。睡得好,心情也变得更好了。STC89C52单片机是这个智能小夜灯系统的核心部分,控制整个系统的运行,主要还有光敏电阻信号处理电路部分、热释电人体红外传感器部分、灯光控制电路部分等组成。该系统具有比较强的灵活性,比较高的可靠性,操作方便,在不久的将来可能会有更广阔的应用前景。
关键词:智能;微处理器;热释电传感器;光敏电阻
中图分类号:TP393 文献标识码:A 文章编号:1009-3044(2019)05-0248-03
Intelligent Night Light Based on Single Chip Microcomputer
WANG Zhong-xia1,2, CHEN Wei1, JIN Xing-yuan2, FANG Yu3
(1.Hohai University WenTian College, Maanshan 243000, China; 2.Nanjing Suning Construction Supervision Co., Ltd., Nanjing 210000, China)
Abstract:This design and manufacture of a smart night lamp based on single chip microcomputer control. Will you be troubled by such a problem? It is particularly inconvenient to wake up at night to go to the toilet or get up and drink water. When we wake up in the middle of the night to get up and go to the toilet or get up to drink, we are in a state of half sleep. If we turn on the lights at this time, the lights will soon light up. Our eyes can not adapt to the process of turning from black to bright. This design home smart night light not only cleverly solves this problem, but also does not affect people's second sleep. When we get up in the middle of the night, the lamp will slowly light up, do not need to touch it with the hand, and the brightness will slowly increase, let the eyes slowly adapt to the light brightness, and when we want to continue to sleep, it will slowly close. This whole process is completely intelligent, so that we can no longer worry about the original problems, but also enable us to have a more comfortable sleep environment. A good sleep and a better mood. STC89C52 is the core part of this intelligent small night light system. It controls the operation of the whole system. It is mainly composed of the signal processing circuit of the photosensitive resistance, the infrared sensor part of the pyroelectric body and the light control circuit. The system has relatively strong flexibility, high reliability and convenient operation. It will have wider application prospects in the near future.
Key words: intelligence; microprocessors;pyroelectric sensor;photosensitive resistors
随着社会发展,人类生活质量在不断上升,市场里也在逐渐变化,高科技的很多用途对商品发展的趋势和前景起到了关键性作用,智能技术的应用在电子领域具有深远的意义。现在人们的生活水平在逐渐提高,生活质量也越来越好,智能化产品也逐渐被人们所重视,毕竟智能化产品能让人生活得更加舒适、方便。……
