毕业论文

打赏
当前位置: 毕业论文 > 电子通信 >

MSP430F149单片机超声波多功能测量仪设计

时间:2021-02-27 15:36来源:毕业论文
以单片机MSP430F149为核心,利用超声波收发模块HY-SRF05,设计了一个多功能测量仪器,能够在测距的基础上,完成对规则面积和体积的测量

摘要本课题以单片机MSP430F149为核心,利用超声波收发模块HY-SRF05,设计了一个多功能测量仪器,能够在测距的基础上,完成对规则面积和体积的测量。

多功能测距仪是在超声波测距的基础上实现的,由基本的单向测距改进为双边测距,进而多次测量并在单片机内部存储数据、计算得到面积、体积,达到多功能测量的设计要求。

硬件电路主要包括MSP430F149最小系统板,超声波测距模块,测温模块,键盘模块,LCD显示模块,这些模块连接在单片机最小系统板的周围,经过单独测试成功后再进行整体调试。

本实验在专业软件IAR上用c语言编程后,直接通过仿真器下载到硬件上进行调试。系统首先测出环境温度,估算出声速,用户通过键盘选择功能后,系统进行距离、面积、体积的测量,最终将结果显示在LCD上,测量结果误差不大,实现的功能达到预期要求。63598

毕业论文关键词  MSP430F149 多功能 键盘 HY-SRF05 DS18B20 LCD1602 

毕业设计说明书(论文)外文摘要

Title  The design of multi-functional ultrasonic measuring instrument based on SCM

Abstract

This topic centers SCM. Using ultrasonic ranging module, we design a multi-functional measuring instrument, which can measure area and volume in addition to distance.

This multi-functional measuring instrument is based on ultrasonic ranging, conventional one-way ranging is modified into bilateral ranging, and then repeated measurements for the calculation of area and volume are carried out.

Hardware circuit includes MSP430F149 minimum system board, ultrasonic ranging module, temperature measuring module, keyboard module, LCD display module; these modules are connected around the system board and tested inpidually before the overall adjustment.

In this task, c language is used and the program is downloaded to the hardware directly for debugging. The system can measure the temperature first, after the button is pressed, the measurement begins, at last, the

results are displayed on the LCD. We find that the results are correct and reach the expected target.

Keywords  MSP430F149 multi-function keyboard HY-SRF05 DS18B20 LCD1602 

目次

1. 绪论 1

2. 系统方案论证 2

2.1 采用超声波测距 2

2.2 采用MSP430F149 3

3.系统硬件电路 3

3.1 时钟电路 3

3.2 单片机复位电路 4

3.3 超声波测距电路 6

3.4 显示电路模块 7

3.5按键电路模块 8

3.6温度测量电路模块 9

3.7超声波测距仪整体电路 10

4. 系统软件设计 11

4.1 HY-SRF05 超声波测距 11

4.2 LCD1602液晶显示器 13

4.3 温度传感器DS18B20 16

4.4  4乘4键盘 18

4.5 基于超声波测距的面积/体积测量 19

4.6 系统主程序 20

5.系统软、硬件调试 22

5.1 调试LCD1602 22

5.2 调试超声波模块 MSP430F149单片机超声波多功能测量仪设计:http://www.751com.cn/tongxin/lunwen_70195.html

------分隔线----------------------------
推荐内容