介绍了一种基于BMP085数字气压传感器的气压高度计系统.利用海拔高度和气压、温度的关系,通过C8051F310微控制器读取传感器中压力值、温度值以及补偿参数,用软件进行测试中的温度补偿和海拔高度计算,并在此基础上对气压值进行噪声处理,在OLED上显示当前温度、气压、海拔高度和相对高度.整个系统集微控制器与微传感器为一体,具有精度高、体积小、功耗低、操作简单等优点.%A kind of pressure measurement altimeter system based on BMP085 is introduced. The altitude and atmospheric pressure, temperature is relevant. Using digital pressure sensor and microcontroller chip C8051F310 to make serial communication (I2C) ,the pressure, temperature and compensation parameters from the sensor are read out. Compensation of temperature and calculation of altitude are carried out with the software, and on this basis, the value of the pressure noise processing, the current temperature, pressure, altitude and relative altitude are displayed on the OLED. The whole system integrates the micro-controller with micro-sensor,which has many advantages such as high precision, small size, low power consumption, simple operation, etc.
展开▼