- 5
- 0
- 约2.72万字
- 约 46页
- 2018-02-28 发布于贵州
- 举报
基于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 超声波测距程子
您可能关注的文档
最近下载
- 2026届新高考物理冲刺复习:电磁感应中的双杆专题.pptx VIP
- 2025成都中考数学真题及答案解析.docx VIP
- 渔业作业安全手册.pptx
- 广西钦州市2025-2026高二上学期期末教学质量检测化学试卷.pdf VIP
- 风险分级评价方法(LEC LS)课件.pptx VIP
- TSLEA 1011.2-2024 实验室设计与建设技术规范 第2部分:化学实验室.pdf
- 2025年留置看护警务辅助人员招聘综合基础知识题库.docx
- 骨科护理MDT查房.pptx VIP
- 城乡内部空间结构(第1课时)示范公开课教学课件【鲁教版高中地理必修第二册(新课标)】.pptx VIP
- 2025年成都市中考数学试题卷(含标准答案及详解).pdf
原创力文档

文档评论(0)