QB103 Barometric Pressure Sensor

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

PDF and Code

7.Get One Now

B2B Business: info@acebott.com

Related posts

Leave the first comment

Apply for a Free Trial

This product trial is prioritized for educators and academic institutions.

By filling out and submitting this form, you agree to the
Acebott Product Trial Terms and Conditions.

Unlock Your Exclusive Education Discount Today

Fill out this form to apply for special discounts tailored for educators and institutions. Enjoy at least 5% off on our STEM kits—because education deserves a reward!

Please fill out the form above, and our team will get in touch with you promptly!
😊🚀

Get A Free Quote! 🎉

Can’t find the perfect STEM kit ? Want the best wholesale prices ?
Interested in becoming a distributor ?

Just fill out the form above, and we’ll get back to you ASAP with all the info you need! 😊🚀

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