设计简介:
项目名:智能家居
项目编号:mcuclub-dz-351
单片机类型:STC89C52
具体功能:
1、通过按键来开关加湿器,客厅灯、卧室灯、卫生间灯,门,窗帘
2、通过继电器来控制加湿器,门锁;
3、通过步进电机转动进行窗帘的开和关;
4、通过蓝牙连接手机,可以在手机上控制。
5、通过光敏电阻检测光照值,当开灯时,光照越低,灯越亮
总字数:13053
实物链接:点击跳转
仿真链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
人工智能发展背景下的智能家居设计
摘 要
当今社会,正处于互联网与物联网的双重时代,室内灯控设计的内涵更被赋予了新的意义,“人工智能”作为一个新兴的行业,如何利用互联网为纽带,去实现人、家居设备、室内环境的统一,是人们对于舒适、便捷、优质居住方式的不懈追求。
本文基于STC89C52单片机设计一款智能家居灯控制系统。系统具备以下主要功能:通过三个LED灯模拟分别客厅灯、卧室灯、洗手间灯;通过六个按键分别控制加湿器、客厅灯、卧室灯、卫生间灯、门、窗帘的开关;安装光敏电阻检测光照值,当开灯时,光照越低,LED灯越亮;通过继电器控制加湿器和门锁的打开和关闭;通过步进电机转动进行窗帘的开和关;此外,系统还支持通过蓝牙连接手机端,从手机端进行加湿器、灯、门、窗帘开关的控制。通过综合运用单片机控制、LED灯模拟、按键输入、蓝牙通信等技术,本设计实现了多灯光的智能控制。通过手机远程控制和自动感应,提升了家居环境的舒适性和便捷性。这一设计不仅满足日常生活的需求,还为智能家居领域的发展提供了一个实用的解决方案。
关键词:智能灯控制系统;单片机;光敏电阻;蓝牙连接;测控
Abstract
In today’s society, we are in a dual era of the Internet and the Internet of Things, and the connotation of indoor light control design has been given new significance. As an emerging industry, “artificial intelligence”, how to use the Internet as a link to achieve the unity of people, home equipment, and indoor environment, is people’s unremitting pursuit of comfortable, convenient, and high-quality living methods.
This article designs a smart home light control system based on the STC89C52 microcontroller. The system has the following main functions: simulating the living room light, bedroom light, and bathroom light through three LED lights; Control the switches of the humidifier, living room light, bedroom light, bathroom light, doors, and curtains through six buttons; Install a photosensitive resistor to detect the illumination value. When the light is turned on, the lower the illumination, the brighter the LED light; Control the opening and closing of humidifiers and door locks through relays; Open and close the curtains by rotating the stepper motor; In addition, the system also supports connecting to the mobile phone through Bluetooth, and controlling the humidifier, lights, doors, and curtain switches from the mobile phone. By comprehensively utilizing technologies such as microcontroller control, LED light simulation, button input, and Bluetooth communication, this design achieves intelligent control of multiple lights. By remote control and automatic sensing through mobile phones, the comfort and convenience of the home environment have been improved. This design not only meets the needs of daily life, but also provides a practical solution for the development of the smart home field.
Keywords: sIntelligent light control system; Single chip microcomputer; Photosensitive resistor; Bluetooth connection; Measurement and control
目 录
人工智能发展背景下的智能家居设计
摘 要
Abstract
第一章 绪论
1.1 选题背景及实际意义
1.2 国内外发展历程
1.3 本论文研究目标
第2章 系统设计方案
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 光照强度监测模块方案选择
2.2 整体设计方案
第3章 硬件设计
3.1 主控电路模块
3.2 关照强度监测电路
3.3 继电器模块电路
3.4 步进电机模块电路
3.5 按键模块电路
3.6 照明模块电路
3.7 蓝牙无线通信模块
第四章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 A/D模数转换子流程
4.5 蓝牙模块子流程
第五章 仿真测试
5.1 整体仿真测试
5.2 加湿器控制仿真测试
5.3 门控制仿真测试
5.4 窗帘控制仿真测试
5.5 客厅灯控制仿真测试
5.6 卧室灯控制仿真测试
5.7 卫生间灯控制仿真测试
第六章 实物测试
6.1 整体实物测试
6.2 加湿器控制实物测试
6.3 门控制实物测试
6.4 窗帘控制实物测试
6.5 客厅灯控制实物测试
6.6 卧室灯控制实物测试
6.7 卫生间灯控制实物测试
第七章 结论与展望
参 考 文 献
致谢
附录
附录A: 原理图
附录B:PCB
附录C:主程序