基于单片机的红外遥控调光LED灯设计+电路图

毕业设计以单片机STC12C5A60S2、光敏电阻、最小系统还有三个主要功能按键和台灯模型组成。精度很高。成本低还使用便捷。


摘   要:随着历史的变迁,科技的发达,社会在不断的进步。世界一直在高速发展中,世界上的新高科技术正在不知不觉中改变了我们的生活。特别是智能化在许多电子产品中的开发更是加快了社会的发展。因为电子产品的开发和技术的不断革新,有些电子产品已经越来越趋向于人工智能化。例如:智能窗帘,智能安防,智能门锁,智能洗衣机等一系列智能产品而且还在不断发展,我们可以拭目以待,与普通家用电器相比,智能家电的功能更加强大,用户体验更加愉悦并且安全系数很高。最重要的是节能而且智能电子产品的质量也是高于普通家用电器的。

本设计的是基于单片机的红外遥控调光LED灯,该台灯有两种模式,两种模式由一个按键自由切换,首先自动模式的特点是可以根据周围环境的亮度调节光亮,然后在第二种模式情况即手动模式下,可以通过按键、红外遥控器来控制光亮的等级,一共有9个光亮等级供选择与使用。

此论文有图14幅,参考文献为9篇。

关键词:光控灯  单片机  STC12C5A60S2

Infrared Remote Control LED Light Based On Single Chip Microcomputer

Abstract:With the changes of history and the advancement of science and technology, society is constantly improving. The world has been developing at a rapid pace. The world's new high-tech skills are unknowingly changing our lives. In particular, the development of smart electronics in many electronic products has accelerated the development of society. Because of the continuous development of electronic product development and technology, some electronic products have become more and more artificial. For example: smart curtains, smart security, intelligent door locks, smart washing machines and a series of smart products are still evolving, we can wait and see, compared with ordinary household appliances, smart appliances are more powerful, user experience is more pleasant and safety factor very high. The most important thing is energy saving and the quality of Intelligent electronic products is also higher than that of ordinary household appliances.

The design is based on a single-chip microcomputer infrared remote control dimming LED lights, the lamp has two modes, two modes by a button to switch freely, the first automatic mode is characterized by the brightness of the surrounding environment can adjust the brightness, and then in the first In the two modes, is manual mode, the light level can be control LED by buttons and infrared remote controllers. There are 9 light levels for us to choose and use.

This paper has 14 figures and 9 references.

Keywords:Intelligence desk lamp  Microcontroller  STC12C5A60S2

目   录

摘   要 I

Abstract Ⅱ

目 录 Ⅲ

1.绪论 1

 1.1 智能台灯系统概述 1

 1.2 毕业设计内容 2

2.系统主要器件介绍 3

 2.1主控芯片介绍 3

 2.2 ADC0832的引脚及功能 6

3.系统组成及电路设计 8

 3.1 系统组成部分 8

 3.2 红外线接收电路部分 9

4.传感器部分 11

 4.1光敏电阻 11

 4.2光敏电阻的工作原理 12

5.软件程序设计 13

 5.1 主程序流程图 13

 5.2 Altium Designer软件简介 14

 5.3 KEIL UVISION简介 15

 5.4 接口程序设计 15

6.结论 16

参考文献 17

致谢 18

附录1 19

1 绪论

1.1 智能台灯系统概述

社会商品经济的快速发展,导致我们已经离不开高科技下发明的电子产品。它们无时无刻的都在影响着我们的生活,而且它们现在的智能化程度已经完全超出了我们的想象,它们现在不仅仅是外表人性化,而且性能更是前所未有的智能,现有的消费电子产品在未来的组合除了改进之外,我们还将开发新的家用电子产品。通过增加单芯片微型计算机,家电继续向着运动智能方向发展,随着人民生活水平的不断提升,外观优美,使用方便,舒适的消费类电子产品的开发将会是首位。在家用电器的发展中,作为家用电器的台灯,必须顺应时代的需要。台灯是我们生活当中为我们在黑暗中点亮的电子产品。它的工作原理比较简单,即:把光源聚集在一小部分,使我们能看清光源周围的事物,离光源越近,看得越清楚,距离越远则越不清楚。