Getting Started
Starter Kit
Controller Board
Electronic Module

QB103 Barometric Pressure Sensor

1.Product Introduction

../../_images/ATM-1.png

The Barometric Pressure Sensor adopts BMP280 chip and integrates two main functions of temperature detection and atmospheric pressure detection. It can measure atmospheric pressure to provide information on current altitude or air pressure, and can also be able to measure ambient temperature and provide accurate temperature data for temperature compensation or other environmental monitoring applications. In navigation applications, the barometer can also enhance the GPS positioning effect, or combine with IMU sensors to achieve three-dimensional indoor navigation.

Application reference: weather station, indoor navigation, pneumatic altimeter, UAV, etc.

2.Parameter Specification

Parameter Value/Representation
Operating voltage 5V
Air pressure detection range 300~1100hPa
Air pressure detecting relative accuracy ±0.12hPa(±1m)
Temperature measurement range 0°C~65°C
Temperature measurement accuracy 0.01°C
Output protocol I2C
Operating temperature -10°C~+50°C
Size 3.2cm*2.4cm
../../_images/ATM-2.png

3.Wiring Diagram

Hint

Expansion board is attached to esp32 controller board.

../../_images/ATM-3.png
Barometric Pressure Sensor ESP32
SCL SCL
SDA SDA
VCC 5V
GND GND

4.Sample Code

 1#include <ACB_Atmospheric.h>
 2
 3ACB_Atmospheric BMP;
 4
 5void setup() {
 6  Serial.begin(115200);//Serial port initialization
 7  BMP.Atmospheric_init();
 8}
 9
10void loop() {
11  float Temp = BMP.read("Temp");//Define the variable to read the temperature value
12  float Press = BMP.read("Press");//Define variables to read atmospheric pressure values 
13  float Altitude= BMP.read("Altitude");//Define variables to read altitude values
14  Serial.print("Temperature: "); 
15  Serial.print(Temp);//Print the temperature value
16  Serial.println(" ℃"); 
17  Serial.print("Barometric pressure: "); 
18  Serial.print(Press);//Print the barometric pressure value
19  Serial.println(" hPa");
20  Serial.print("Altitude: "); 
21  Serial.print(Altitude); //Print altitude value 
22  Serial.println(" m"); 
23  Serial.println("-------------------"); 
24  delay(2000); //Refresh every two seconds 
25}
26

5.Test Result

When you successfully connect the wiring according to the wiring diagram and successfully upload the correct program, the serial port monitor will print the current atmospheric temperature, atmospheric pressure intensity and altitude data of the atmospheric pressure sensor.

../../_images/ATM-4.png
../../_images/ATM-5.png

6.Related Resources

7.Get One Now

B2B Business: info@acebott.com

© Copyright ACEBOTT All Rights Reserved.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.