- 2
- 0
- 约1.85万字
- 约 42页
- 2018-04-03 发布于湖北
- 举报
本科毕业设计
基于单片机的超声波测距仪的设计
学 院:
专 业:
学 号:
姓 名:
指导教师:
职 称:
目 录
第1章 绪论 1
1.1 课题研究的背景 1
1.2 课题研究的意义 1
1.3 论文结构 1
第2章 超声波测距原理 2
2.1 超声波简介 2
2.2 超声波测距原理 3
第3章 方案论证 5
3.1 设计思路 5
3.2 系统结构设计 6
第4章 硬件电路设计 7
4.1 单片机AT89C52 7
4.2 超声波测距模块HY-SR05………………………………………………………..9
4.3 温度传感器DS18B20 10
4.4 LCD1602液晶 11
4.5 ISD1420语音芯片 12
第6章 软件设计 14
6.1 主程序流程 14
6.2 子程序设计 16
6.2.1 超声波发送子程序及超声波接收中断子程序 16
6.2.2 测温子程序 17
6.2.3 距离计算子程序 18
6.2.4 显示子程序和键盘扫描子程序 18
结 论 28
参考文献 29
致 谢 31
附录1 整体电路图 32
附录2 程序清单 33
附录3 外文复印件 41
附录4 外文译文 44
实习报告 46
摘 要
超声波是频率高于20KHZ的声波具有指向性强,能量消耗缓慢,在介质中传播的距离较远,因而超声波经常用于距离的测量,如和物位测量仪等都可以通过超声波来实现。利用超声波检测往往比较迅速、方便、计算简单、易于做到实时控制,并且在测量精度方面能达到工业实用的要求,因此在移动机器人得到了广泛的应用
关键词:AT89C52,超声波,HC-SR04,测距
Abstract
Ultrasound is sound waves with frequency higher than 20KHz, it has strong directivity and consumes energy slowly, at the same time it spreads farther in the same medium. Therefore ultrasound is often used for distance measurement, such as the range finder and level measurement and so on can be achieved by it. Use of ultrasonic detection tends to be quickly, convenient and simple calculation, easy to do real-time control. In the measurement precision it can reach industry practical requirement. So in liquid level, well depth, pipe length measurement, mobile robot localization and obstacle avoidance, etc a wide range of applications.
This ultrasonic ranging system consists of the single-chip microcomputer timer and control circuit, ultrasound transmitting and receiving modules, the distance display circuit, alarm circuits and other components. Detailed introduces the ultrasonic ranging module and AT89S52 MCU range finder principle. HC-SR04 is the core of the ultrasonic transmitter and receiver. The result displays with digital tube and controlled by transistor. And the alarm circuit is composed by buzzer and transistor. The whole circuit is simple structure, low cost, stable work and the measurement accuracy reached the application requ
您可能关注的文档
- 基于PLC的四层电梯的论文详细分解.docx
- 基于PLC的物流堆垛机控制系统设计详细分解.doc
- 基于PLC的自动分拣控制系统论文品详细分解.doc
- 基于PLC分拣系统设计详细分解.doc
- 基于PLC与触摸屏的电机变频调速系统详细分解.doc
- 基于PLC自动分拣及传输控制系统设计毕业论文详细分解.doc
- 基于S7_200PLC的跳汰机智能控制系统研究详细分解.doc
- 基于SMART200的温度PID详细分解.doc
- 基于Solidworks的运输车的举升机构设计详细分解.doc
- 基于SSH框架的自由交易系统的设计与实现详细分解.doc
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
最近下载
- 产后骨盆修复全流程指导手册.docx VIP
- HG∕T 2568-2021 工业偏硅酸钠.pdf
- 2025年鄂尔多斯市特岗教师招聘考试真题汇编附答案解析.docx VIP
- 24小时客服电话:010-82311666免费咨询热线:4.doc VIP
- 2020ACLS学员课课前测试中文版试题+答案.pdf VIP
- 髌骨脱位康复护理新进展.pptx VIP
- 急救医学-第四章心悸.ppt VIP
- 高中数学必修第四册第十一章综合测试01含答案解析.pdf VIP
- 2022年高考物理核心高频考点专题22 圆周运动的轻绳、轻杆模型(解析版).pdf VIP
- 马工程-中国古代文学史(第二版)上册第三编魏晋文学全套PPT课件50109.pptx
原创力文档

文档评论(0)