设计简介:
项目名:室内光控(实物)
项目编号:mcuclub-dz-234
单片机类型:STC89C52
具体功能:
1、通过两个光敏电阻配合ADC0832检测室内、室外光照强度,当室内光照强度比较低并且室外光照强度比较高时,可打开窗帘,关闭照明灯;当室内光照强度比较低并且室外光照强度也比较低时,可打开照明灯,关闭窗帘
2、通过按键可设置各阈值、切换工作模式或休息模式(休息模式不自动开关窗帘及照明灯)
3、通过LCD1602显示测量值以及窗帘状态
总字数:16740
实物链接:点击跳转
仿真链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
摘 要
随着通信技术和控制技术的快速升级,人们对家居生活的硬件设施的需求越来越高,智能灯光控制系统也快速的走进普通老百姓的家中,不仅为人民的日常生活增添色彩,还为人们的生活提供便捷,但是,当前照明灯长明现象十分严重,不仅造成电能的浪费,还严重影响人们正常的休息。为此,智能灯光控制系统的研究和开发迫在眉睫。
为了有效解决照明灯长明现象,本文采用单片机配合传感器技术,设计一款智能室内灯光控制系统。在室内灯光控制系统的设计过程中,采用STC89C52单片机作为主控芯片,采用两个光敏电阻配合ADC0832分别检测室内、室外光照强度,当室内光照强度较低且室外光照强度较高时,打开窗帘,并关闭照明灯;当室内光照强度较低并且室外光照强度也较低时,打开照明灯,并关闭窗帘,与此同时,通过按键可设置阈值、切换工作模式。
最后,从系统集成和应用方面对该系统进行实物测试,实物测试表明,该系统的功能实现良好,且具备较强的实用性、可扩展性和可操作性,该系统可以通过按键模块实现手动控制系统进行模式切换、阈值设置、照明灯开关、窗帘开关等控制功能,从而实现家居环境的自动控制功能。该智能室内灯光控制系统的研究,不仅有效节约了电能,还将推动智能家居系统的快速发展。
关键词:室内光控;光敏电阻;STC89C52单片机;按键;LCD1602
ABSTRACT
With the rapid upgrade of communication technology and control technology, people’s demand for hardware facilities of home life is getting higher and higher, intelligent lighting control system is also quickly into the homes of ordinary people, not only to add color to People’s Daily life, but also to provide convenience for people’s lives, however, the current lighting phenomenon is very serious, not only cause the waste of electric energy, It also seriously affects people’s normal rest. Therefore, the research and development of intelligent lighting control system is imminent.
In order to effectively solve the phenomenon of lighting, this paper uses single-chip microcomputer with sensor technology to design an intelligent indoor lighting control system. In the design process of the indoor lighting control system, STC89C52 single chip microcomputer is used as the main control chip, two photoresistors and ADC0832 are used to detect the indoor and outdoor light intensity respectively. When the indoor light intensity is low and the outdoor light intensity is high, the curtain is opened and the lamp is turned off. When the indoor light intensity is low and the outdoor light intensity is also low, turn on the lamp and close the curtain, at the same time, you can set the threshold and switch the working mode by pressing the button.
Finally, from the aspect of system integration and application, the physical test of the system shows that the function of the system is well realized, and has strong practicability, scalability and operability. The system can realize manual control system through the key module for mode switching, threshold setting, lighting switch, curtain switch and other control functions. Thus realize the home environment automatic control function. The research of the intelligent indoor lighting control system not only effectively saves electric energy, but also promotes the rapid development of the intelligent home system.
Key words: indoor light control; Photoresistor; STC89C52 MCU; Key; LCD1602
目 录
第一章 绪论
第二章 系统方案设计
第三章 硬件电路设计
第四章 系统程序设计
第五章 系统仿真测试
第六章 系统测试