- 1、本文档共58页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
超声波测距电路设计_大学生毕业设计论文
超声波测距电路设计
摘 要
随着单片机技术的发展,各种控制系统都趋向于自动化。以单片机为核心的控制系统体积小、功能强、价格低,因而在众多领域得到广泛应用,并显示出广阔前景。论文介绍了一种运用单片机和CX20106A组成的超声波测距系统。本设计主要以STC89C51作为控制核心,包括键盘输入模块,超声波发射模块,超声波接收模块(CX20106A),数码管显示模块,报警模块。主要实现超声波测距并显示功能,依据实际的测量精度要求还可以添加温度补偿电路。本系统成本低廉,功能实用。硬件系统具有良好的性能,且由于构成系统的器件应用普遍,便于维护。因此,本设计具有较强的性价比及实用性。
关键词: STC89C51;CX20106A ; 超声波发射模块; 超声波接收模块; LED显示电路
Abstract
Along with the monolithic integrated circuit technology development, each kind of control system all tends to the automation. By the monolithic integrated circuit for the core control system volume small, the function strong, the price is low, thus obtains the widespread application in the multitudinous domain, and demonstrates the broad prospect.
This design is based mainly on STC89C51 chip core ultrasonic range finder, and a ultrasonic processing module CX20106A, CD4069 composed of ultrasonic transmitter, digital display devices such as composition, including the SCM system, ultrasonic transmitter and ultrasonic receiver circuit, MCU Resetcircuit, LED display circuit.Ultrasonic Distance and direction to achieve the main functionality.Based on the actual measurement accuracy can also add temperature compensation circuit.The system cost, functional and practical.Hardware system has good performance, and constitute a system of device applications as universal, easy maintenance.Therefore, this design has a strong cost-effective and practical.
Keywords: stc89c51 ;CX20106A ; ultrasonic emission of ultrasonic receiver ; LED display circuit;
目录
摘 要 I
Abstract II
目录 III
1绪论 1
1.1 课题意义 1
1.2 单片机发展历史 1
2超声波测距仪系统的硬件和软件的功能分析 3
2.1 超声波测距的设计原理论证 3
2.1.1 超声波测距仪的设计思路 3
2.1.2超声波测距原理 3
2.1.3超声波测距仪原理框图 4
2.2 电超声波测距仪系统的软件方案论证 5
3超声波测距仪系统的硬件设计 6
3.1 STC89C51简介 6
3.2 数码管显示的设计 12
3.2.1 八位7段数码管工作原理 12
3.3 超声波发射电路模块设计 13
3.4 超声波接收电路模块设计 14
3.4.1超声波接收电路设计原理 14
3.4.2 CX20106A 15
4超声波测距系统的软件设计 17
4.1程序的总体设计 17
4.1.1 主程序设计 17
4.2 40KHZ 脉冲的产生与超声波发射 18
4.3 显示子程序和蜂鸣报警子程序设计 20
5超声波测距仪调试与测试 21
5.1调试 21
5.1.1硬件调试 21
5.1.2软件调试 23
结 论 25
结束语 26
致
文档评论(0)