目 录
摘 要 ...........................................................................................................................I
Abstract ............................................................................................................................II
第一章 绪论 ....................................................................................................................1
1.1 目的和意义 .......................................................................................................1
1.2 研究内容 ...........................................................................................................1
1.3 可行性分析与技术要求 ...................................................................................2
第二章 系统的总体设计 ................................................................................................3
2.1 超声波测距原理 ...............................................................................................3
2.2 超声波传感器的选择 .......................................................................................3
2.3 温度补偿计算 ...................................................................................................3
2.4 主要元器件介绍 ...............................................................................................4
2.4.1 主控制器 ................................................................................................4
2.4.2 显示模块 LCD1602 .................................................................................5
2.4.3 集成芯片 CX20106A ...............................................................................7
2.4.4 语音芯片 NY3P035 .................................................................................8
第三章 系统的硬件设计 ..............................................................................................11
3.1 单片机最小系统的设计 .................................................................................11
3.1.1 时钟电路设计 ......................................................................................11
3.1.2 复位电路设计 ......................................................................................12
3.1.3 供电电路设计 ......................................................................................12
3.2 测距模块设计 .................................................................................................13
3.2.1 超声波发射电路 ..................................................................................13
3.2.2 超声波接收电路 ..................................................................................13
3.2.3 温度补偿电路 ......................................................................................14
3.3 语音模块设计 .................................................................................................15
3.4 显示模块 .........................................................................................................15
3.5 报警模块 .........................................................................................................15
第四章 系统的软件设计 ..............................................................................................17
4.1 超声波测距算法设计 .....................................................................................17
4.2 语音播报程序设计 .........................................................................................18
4.2.1 语音播报函数设计 ..............................................................................18
4.2.2 播报调用算法设计 ..............................................................................19
第五章 调试结果与改进方案 ......................................................................................20
5.1 测量结果与分析 .............................................................................................20
5.2 设计结论 .........................................................................................................21
5.3 改进方案 .........................................................................................................21
心得体会 ........................................................................................................................22
参考文献 ........................................................................................................................23
附录 1 总体算法流程图 ...............................................................................................24
附录 2 系统程序代码 ...................................................................................................25