- 1、本文档共46页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于AT89S51单片机的超声波测距系统的设计
基于AT89S51单片机的超声波测距系统设计
摘 要
超声波具有指向性强,能量消耗缓慢,传播距离较远等优点,所以,在利用传感器技术和自动控制技术相结合的测距方案中,超声波测距是目前应用最普遍的一种,它广泛应用于防盗、倒车雷达、水位测量、建筑施工工地以及一些工业现场。
本课题详细介绍了超声波传感器的原理和特性,以及Atmel公司的AT89S51单片机的性能和特点,并在分析了超声波测距的原理的基础上,指出了设计测距系统的思路和所需考虑的问题,给出了以AT89S51单片机为核心的低成本、高精度、微型化数字显示超声波测距仪的硬件电路和软件设计方法。该系统电路设计合理、工作稳定、性能良好、检测速度快、计算简单、易于做到实时控制,并且在测量精度方面能达到工业实用的要求。
关键词:超声波 单片机 测距 AT89S51
Abstract
Ultrasonic wave has strong pointing to nature ,slowly energy consumption ,propagating distance farther ,so, in utilizing the scheme of distance finding that sensor technology and automatic control technology combine together ,ultrasonic wave finds range to use the most general one at present ,it applies to guard against theft , move backward the radar , water level measuring , building construction site and some industrial scenes extensively。
This subject has introduced principle and characteristic of the ultrasonic sensor in detail ,and the performance and characteristic of one-chip computer AT89S51 of Atmel Company ,and on the basis of analyzing principle that ultrasonic wave finds range ,the systematic thinking and questions needed to consider that have pointed out that designs and finds range ,provide low cost , the hardware circuit of high accuracy , ultrasonic range finder of miniature digital display and software design method taking AT89S51 as the core ,this circuit of system is reasonable in design, working stability, performance good measuring speeding soon , calculating simple , apt to accomplish real-time control ,and can reach industrys practical demand in measuring the precision 。
Key Words: Ultrasonic wave; One-chip computer; Range finding; AT89S51
目 录
Abstract 1
第1章 绪论 3
1.1 课题背景,目的和意义 3
1.2基于单片机的超声波测距系统 3
1.3课题主要内容 4
第2章 超声波测距原理概述 5
2.1超声波传感器 6
2.1.1 超声波发生器 6
2.1.2 压电式超声波发生器原理 6
2.1.3单片机超声波测距系统构成 7
第3章 设计方案 8
3.1 AT89S51单片机 8
3.2 超声波测距系统构成 11
3.2.1 超声波测距单片机系统 12
3.2.2 超声波发射、接收电路 12
3.2.3显示电路 14
3.2.4 供电电路 14
3.2.5报警输出电路 15
第4章 系统软件设计 16
4.1 主程序设计 16
4.3 超声波测距程序流程图 20
4.4 超声波测距程子
您可能关注的文档
- 培训的讲义教程.ppt
- 培训的资料Ver.doc
- 城魅力女性彩妆的技巧主题活动的的策划案.ppt
- 培训讲座PPT组织绩效管理系统的设计原理及方法.ppt
- 培训讲课的资料.ppt
- 培训的资料幻灯片 POWERPOINT PRESENTATION.ppt
- 培训的资料姓名.doc
- 培训材料建设工程的项目施工安全管理.ppt
- 培训讲座PPT的项目质量管理.ppt
- 城际通开业庆典的的策划的方案.ppt
- 地理信息科学_第三次农业普查影像数字化项目.pdf
- 土地利用变化分析实验.docx
- 2025年中考语文二轮复习备考:小说阅读理解提高练(含答案).docx
- 2025年黑龙江省哈尔滨市中考一模英语试题2(含答案).docx
- 2024-2025学年高一(下)期中语文试卷(含解析).docx
- 贵州省毕节市金沙县第四中学2024-2025学年春季学期第一次月考考试试卷七年级语文(含答案).docx
- 2025年人教版九年级中考英语语法专题练习 特殊句型(含答案).docx
- 2025年湖北省襄阳市襄州区中考二模语文试题(含答案).docx
- 贵州省安顺市2025届高三下学期4月适应性考试语文试题(含答案).docx
- 湖北省仙桃市田家炳实验高级中学2024-2025学年高一下学期4月期中考试语文试题(含答案).docx
文档评论(0)