基于单片机的电梯轿厢振动检测
目 录
摘 要.......................................................................................................................................I
Abstract ....................................................................................................................................II
第一章 绪 论...........................................................................................................................1
1.1 课题的发展现状......................................................................................................1
1.2 课题的提出及研究意义 ........................................................................................2
1.3 本文的内容结构......................................................................................................2
第二章 总体设计 .................................................................................................................3
2.1 振动分析....................................................................................................................3
2.2 系统整体设计...........................................................................................................6
2.3 本章小结....................................................................................................................7
第三章 硬件设计 .................................................................................................................8
3.1 单片机模块 ...............................................................................................................8
3.2 振动信号检测模块 ...............................................................................................11
3.3 模/数转换模块 ..........................................................................................13
3.4 显示模块 .................................................................................................................14
3.5 串口通信模块 ........................................................................................................15
3.6 抗干扰技术 ...............................................................................................18
3.7 系统电路板设计....................................................................................................18
3.8 本章小结 .................................................................................................................19
第四章 软件设计 ...............................................................................................................20
4.1 设计思想 .................................................................................................................20
4.2 单片机程序设计....................................................................................................21
4.2.1 主程序...........................................................................................................21
4.2.2 模数转换子程序 ........................................................................................22
4.2.3 串口通信子程序 ........................................................................................24
4.3 上位机程序设计....................................................................................................25
4.4 本章小结 .................................................................................................................30
第五章 系统调试 ...............................................................................................................31
5.1 硬件调试 .................................................................................................................31
5.2 软件调试 .................................................................................................................32
5.3 整体调试 .................................................................................................................34
5.4 本章小结 .................................................................................................................34
结 论 ........................................................................................................................................35
参考文献 .................................................................................................................................36
致 谢 ........................................................................................................................................38
附录 1 系统原理图..............................................................................................................39
附录 2 系统 PCB 图 ............................................................................................................41
附录 3 单片机设计程序.....................................................................................................42
附录 4 上位机设计程序.....................................................................................................46
附录 5 系统电路板实物.....................................................................................................51