1、 本科毕业设计本科毕业设计(论文论文) 题目题目: 基于单片机的数字气压计设计基于单片机的数字气压计设计 教学单位:教学单位: 专专 业:业: 学学 号:号: 姓姓 名:名: 指导教师:指导教师: 2013年年 5月月 I 摘摘 要要 气压计是利用压敏元件将待测气压直接变换为容易检测、传输的电流或电压信 号,然后再经过后续电路处理并进行实时显示的一种设备。其中的核心元件就是气 压传感器,它在监视压力大小、控制压力变化以及物理参量的测量等方面起着重要 作用。运用于气压计的气压传感器基本都是依靠不同高度时的气压变化来获取气压 值的。 本文主要介绍基于单片机的数字气压计设计。核心是气压传感器 BMP
2、085 的精 密数字气压计系统的软、硬件实现方法。本文围绕气压计,着重介绍了 MCS51 单片 机、气压传感器 BMP085、液晶显示模块 LCD1602 还有蜂鸣器等的功能结构和用处 并对其组成的一个数字气压传感器系统进行了详细的分析。本文介绍通过气压传感 器 BMP085 获得与大气压相对的模拟电压值,用转换器则可把气压传感器输 出的电压信号转换成具有一定频率的脉冲信号;以便用单片机接收该脉冲信号,并 根据单位时间内得到的脉冲数,并经过单片机中的 A/D 转换模块转换为数字脉冲, 通过单片机对此脉冲序列的计数等处理后获得实际的气压值,并通过数码管显示电 路显示这一系统。本文具体阐述了系统的
3、软件设计和硬件的搭建,以 C 语言为开发 工具,进行了详细设计和编码。总体目标是实现系统的可靠性、稳定性、安全性和 经济性。 关键词:关键词:单片机;数字气压计;气压传感器; II Abstract The barometer sensitive element test pressure will be directly converted into easily detected, and the transmission of current or voltage signal, and then through the subsequent processing circuitry,
4、and a real-time display of a device. The core component is the air pressure sensor, which monitors the pressure in size, control pressure changes as well as the measurement of physical parameters play an important role. Used in barometer pressure sensors are basically relying on the pressure change
5、when different heights to get the pressure value. This paper describes the design of microcontroller-based digital barometer. The core of the pressure sensor BMP085 Precision Digital Barometer system software and hardware implementation. Around the barometer, highlighting the MCS51 microcontroller,
6、air pressure sensor BMP085 LCD module LCD1602 buzzer functional structure and usefulness of digital pressure sensor system consisting of a detailed analysis. This article describes the pressure sensor BMP085 atmospheric pressure relative to the analog voltage value V / F converter can put pressure sensor output voltage signal into a pulse signal of a certain frequency; order to use microcontroller receives the pulse signal based on the unit the number of pulses in