设计简介:

项目名:室内光控(实物)
项目编号: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

目  录

第一章 绪论

1.1 研究背景及其目的意义

1.2 国内外发展现状

1.3 系统的主要功能及框架结构

1.3.1主要功能

1.3.2本文框架结构

第二章 系统方案设计

2.1 主要元器件选择

2.1.1 主控芯片方案选择

2.1.2 显示模块方案选择

2.1.3 光敏检测模块方案选择

2.1.4 按键模块方案选择

2.2 系统总体设计思路

第三章 硬件电路设计

3.1 单片机最小系统

3.1.1主控模块电路

3.1.2 晶振电路

3.1.3 复位电路

3.1.4 电源电路

3.1.5下载电路

3.2 光照强度监测模块电路

3.3 步进电机驱动电路模块

3.4 LED照明模块电路

3.5 液晶显示模块

3.6按键模块电路

第四章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4A/D模数转换子流程

4.5步进电机子流程

4.6LCD1602液晶显示子流程

第五章 系统仿真测试

5.1 仿真总体设计

5.2 自动控制窗帘和照明灯开关仿真测试

5.3 手动控制窗帘和照明灯开关仿真测试

第六章 系统测试

6.1 实物焊接

6.2 自动控制窗帘和照明灯开关实物测试

6.3 手动控制窗帘和照明灯开关实物测试

结  论

致  谢

参考文献

附录

附录1:原理图

附录2:PCB

附录3:主程序

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源