设计说明书
总字数:9000+
此次设计采用硬件和软件配合进行设计,硬件选择使用STC12C5A60S2作为此次设计的核心模块,采用MPU6050六轴加速度模块对当前井盖是否移动进行监测,采用震动检测模块SW-420检测井盖是否发生震动,采用GPS对当前井盖的位置进行实时监测,检测到井盖震动或者移动,采用声光报警进行提醒,通过GSM发送提示信息到管理人员的手机上。软件设计采用KEIL5进行程序的编程,将编程程序中的主程序和各个子程序调试无误后,进行软件和硬件的调试,此次设计最终调试可以实现井盖的情况和井盖环境进行实时监测和数据的实时传输。该控制方案更加科学合理,性能稳定,功能完善,成本低廉,实际效果理想。
关键词:STC12C5A60S2;井盖检测;震动检测;移动监测;声光报警;GSM
Design of manhole cover monitoring system based on single-chip microcomputer
The design uses hardware and software to design, the hardware selection of STC12C5A60S2 as the core module of the design, using MPU6050 six-axis acceleration module to monitor whether the current manhole cover moving, using the vibration detection module SW-420 detection manhole cover vibration, GPS is used to monitor the position of the current manhole cover in real time, the vibration or movement of the manhole cover is detected, the sound and light alarm is used to remind, and the prompt information is sent to the mobile phone of the management personnel through GSM. Software design using KEIL5 program programming, the programming program in the main program and each subroutine debugging error, software and hardware debugging, the design of the final debugging can realize the manhole cover and manhole cover environment for real-time monitoring and real-time data transmission. The control scheme is more scientific and reasonable, with stable performance, perfect function, low cost and ideal practical effect.
Key words: STC12C5A60S2;Manhole cover detection; Vibration detection; Mobile monitoring; Sound and light alarm;GSM
目 次
摘 要
Abstract
1 引言
1.1 课题研究的意义和背景
1.2 系统总体设计思路
1.3 课题研究的主要内容和工作
2 整体硬件的设计与实现
2.1 系统整体结构
2.2 方案论证与比较
2.2.1 主控芯片选择
2.2.2 震动检测模块方案
2.2.3 移动检测方案
2.2.4 报警电路方案
2.2.5 无线传输模块方案
2.3 具体硬件设计
2.3.1 单片机最小系统电路
2.3.2 震动检测电路
2.3.3 移动检测电路
2.3.4 GPS定位电路
2.3.5 GSM短信发送模块电路
2.3.6 声光报警模块电路
3 软件设计
3.1 系统主流程设计
3.3 移动监测模块子程序设计
3.4 震动模块子程序设计
3.5 GPS定位模块子程序设计
4 实物制作过程
4.1 PCB板的制作流程
4.2 调试过程
4.2.1硬件调试
4.2.2软件调试
4.3实物功能测试
4.3.1 井盖监测实物测试
5 检测结果
6 结论
致 谢
参考文献
附录1 硬件原理图
附录2硬件PCB图
附录3 实物图
附录4 部分源程序
购买后可查看具体内容!