设计说明书
总字数:16000+
摘要
随着城市建设的快速发展,路灯作为公共基础设施的重要组成部分,其节能性与智能化管理需求日益凸显。传统的路灯控制方式多采用定时开关或手动控制,存在光照强度适配性差、能源浪费严重、故障响应滞后等问题,难以满足现代城市对路灯精细化管理的需求。
基于 STM32F103C8T6 单片机的智能路灯控制系统,整合了光照监测模块、电压电流监测模块、锂电池电压监测模块、按键、OLED 显示屏、4G 模块及路灯调光执行设备,实现了路灯的自动化亮度调节、状态监测与远程控制。系统核心功能包括:通过光照监测模块实时监测环境光照强度,光照大于设置最大值时关灯,小于设置最小值时以最强亮度点亮,在两者之间时自动调节亮度;通过电压电流监测模块获取电路参数,异常时触发声光报警并通过 4G 模块传输至手机端;通过锂电池电压监测模块监测电池状态,电压高于设置最小值时用锂电池供电,否则切换为市电供电;支持通过按键设置各参数阈值;通过 OLED 显示屏显示测量数据;通过 4G 模块将数据传输至手机端,手机端可设置阈值和控制路灯亮度。
该系统的实现,有效提升了路灯控制的智能化与节能性,减少了人工干预,确保了路灯运行的稳定性与可靠性,为城市路灯的精细化管理提供了高效解决方案,同时为同类公共设施智能控制系统的研发提供了参考,具有较高的实际应用价值。
关键词:STM32F103C8T6;智能路灯;光照监测;远程控制;节能调控;4G 通信
ABSTRACT
With the rapid development of urban construction, street lights, as an important part of public infrastructure, have increasingly prominent needs for energy conservation and intelligent management. Traditional street light control methods mostly adopt timing switches or manual control, which have problems such as poor adaptability to light intensity, serious energy waste, and lagging fault response, making it difficult to meet the needs of modern cities for refined management of street lights.
The intelligent street light control system based on the STM32F103C8T6 microcontroller integrates a light monitoring module, voltage and current monitoring module, lithium battery voltage monitoring module, buttons, OLED display, 4G module, and street light dimming execution equipment, realizing automatic brightness adjustment, status monitoring, and remote control of street lights. The core functions of the system include: real-time monitoring of ambient light intensity through the light monitoring module, turning off the light when the light is greater than the set maximum value, lighting at the strongest brightness when it is less than the set minimum value, and automatically adjusting the brightness between the two; obtaining circuit parameters through the voltage and current monitoring module, triggering an acousto-optic alarm when abnormal and transmitting to the mobile phone through the 4G module; monitoring the battery status through the lithium battery voltage monitoring module, using lithium battery power when the voltage is higher than the set minimum value, otherwise switching to municipal power supply; supporting the setting of various parameter thresholds through buttons; displaying measurement data through the OLED display; transmitting data to the mobile phone through the 4G module, and the mobile phone can set thresholds and control the brightness of street lights.
The implementation of this system effectively improves the intelligence and energy efficiency of street light control, reduces manual intervention, ensures the stability and reliability of street light operation, provides an efficient solution for the refined management of urban street lights, and also provides a reference for the research and development of similar intelligent control systems for public facilities, with high practical application value.
Keywords:STM32F103C8T6; Intelligent street light; Light monitoring; Remote control; Energy-saving regulation; 4G communication
目录
第 1 章 绪论
1.1 研究的目的及意义
1.2 国内外发展情况
1.3 本文主要研究内容
第2章 设计思路与方案论证
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 光照监测模块选择
2.1.3 电压电流监测模块选择
2.1.4 显示模块选择
2.1.5 4G 模块选择
2.1.6 按键模块选择
2.2整体设计方案
第 3 章 硬件设计
3.1 主控电路模块
3.2 5516 光照检测模块电路
3.3 INA219 电压电流监测模块电路
3.4 OLED 显示模块电路
3.5 4G 模块电路
3.6 按键模块电路
3.7 执行设备驱动电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
4.5 LED灯亮度调节子流程设计
4.6 4G模块联网子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 5516 光照检测模块功能测试
5.3 INA219 电压电流监测模块功能测试
5.4 锂电池电压监测模块功能测试
5.5 4G 模块功能测试
5.6 按键设置与显示功能测试
第6章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!