设计说明书
总字数:15000+
本论文基于STM32F103C8T6单片机设计与实现了一种自动门控制系统。该系统提供三种开门方式:自动开门、密码开门和刷卡开门,并通过按键切换不同的开门模式。自动开门功能通过人体热释电感应判断是否有人,当有人时自动开门,人走后3秒自动关闭。密码开门功能通过4*4矩阵键盘输入密码,密码信息存储在AT24C02芯片中,用户可通过该功能修改密码。刷卡开门功能通过RFID技术实现,用户可添加或删除刷卡卡片。此外,系统通过舵机模拟门的开关动作,通过OLED显示模块显示系统状态。论文详细介绍了自动门控制系统的硬件设计、单片机编程实现、传感器应用、存储器管理、舵机控制、RFID功能等。在测试阶段,对系统进行了全面的功能测试和性能验证,确保系统的稳定运行和可靠性。本自动门控制系统实现了多种开门方式和丰富的功能,具备便捷、智能、安全的特点,可广泛应用于各类门控场景。未来,可进一步优化系统的用户体验、加强安全性和稳定性,并考虑与互联网技术的结合,为自动门控制系统的智能化发展提供更多可能性。
关键词:自动门控制系统、人体热释电感应、密码开门、刷卡开门
This thesis presents the design and implementation of an intelligent light control system using STM32F103C8T6 microcontroller. The system aims to control the four lights (kitchen light, bathroom light, living room light, and bedroom light) through voice recognition module SNR8016, as well as through four manual buttons and remote control using ESP8266 connected to Alibaba Cloud. Additionally, an OLED display module is utilized to show the status of each light.In this system, users can directly control the on/off status and adjust the brightness of each light through the voice control module. Alternatively, they can use the manual buttons for the same purpose. Furthermore, by connecting the system to Alibaba Cloud platform, users can remotely control the lights, allowing flexible light adjustments for different scenarios. The OLED display module provides users with a clear view of the current status of each light, including the on/off status and brightness level.This thesis details the design and implementation process of the intelligent light control system, covering hardware circuit design, microcontroller programming, the application of voice recognition algorithm, and the communication between Alibaba Cloud and ESP8266. Comprehensive functional testing and performance validation were conducted during the testing phase to ensure the stability and reliability of the system. The intelligent light control system supports multiple control methods, including voice control, manual control, and remote control, offering a convenient, flexible, and intelligent lighting control solution.In conclusion, this intelligent light control system serves as a practical and intelligent example for the development of smart homes. With continuous exploration of technology and applications in the future, it will undoubtedly bring more convenience and comfort to people’s lives.
Keywords: Light Control, Voice Recognition, Remote Control, OLED Display, Brightness Adjustment..
目 录
基于单片机的自动门控制系统设计
摘 要
ABSTRACT
1 绪论
1.1 选题背景及实际意义
1.2 国内外发展历程
1.3 研究目的
2 系统设计方案
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 人体检测模块方案选择
2.1.3 显示模块方案选择
2.2 整体设计方案
3 硬件设计
3.1 主控电路模块
3.2 人体热释电电路模块
3.3 RFID刷卡电路模块
3.4 显示电路模块
3.5 存储电路模块
3.5 矩阵键盘电路模块
3.6 舵机电路模块
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 矩阵键盘子流程
4.5 OLED显示流程设计
4.6 舵机模块子流通
5 实物制作与调试过程
5.1 电路焊接总图
5.2 自动开门功能测试
5.3 密码开门实物测试
5.4 刷卡开门实物测试
6 结论和未来展望
致 谢
参考文献
附录A:原理图
附录B: PCB
附录C:主程序
购买后可查看具体内容!