Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›Barometric Pressure Sensors

Comparison · Beginner · 3 min read

Barometric Pressure Sensors

BMP280, BMP390, MS5611 and Altitude

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhich sensor to pickFrom pressure to altitudeQuick test on ArduinoUsing pressure for weatherGotchasCommon mistakesFAQsParts and next steps
Short answer

Barometric pressure sensors measure air pressure, from which you can calculate altitude or track weather. The BMP280 is the standard cheap choice (about 1 hPa absolute accuracy), the BME280 adds humidity, the BMP390 is more accurate and less noisy, and the MS5611 is favoured for drones because it resolves a few centimetres of height. Use 3.3 V logic and I2C address 0x76 or 0x77.

Key specs at a glance

BMP280
300 to 1100 hPa, ±1 hPa absolute, I2C 0x76/0x77 or SPI
BME280
Same pressure range plus humidity and temperature, I2C 0x76/0x77
BMP390 / BMP388
300 to 1250 hPa, about ±0.5 hPa absolute, lower noise, I2C 0x76/0x77
MS5611
10 to 1200 mbar, 24-bit, about 10 cm altitude resolution, I2C 0x76/0x77 or SPI
Altitude change
About 1 hPa per 8.3 m near sea level
Logic
3.3 V chips; many breakouts add a regulator
01

Which sensor to pick

All of these give pressure and temperature. The differences are accuracy, noise and extra features.

SensorAbsolute accuracyExtrasBest for
BMP180±1 hPaOld designLegacy projects only
BMP280±1 hPaCheap, widespreadHobby weather stations, altitude demos
BME280±1 hPaHumidity, temperatureAll-in-one weather node
BMP388 / BMP390About ±0.5 hPaLower noise, FIFODrones, indoor navigation, floor detection
MS5611±1.5 mbar24-bit, very fine resolutionVariometers, flight controllers
BMP180
Absolute accuracy:
±1 hPa
Extras:
Old design
Best for:
Legacy projects only
BMP280
Absolute accuracy:
±1 hPa
Extras:
Cheap, widespread
Best for:
Hobby weather stations, altitude demos
BME280
Absolute accuracy:
±1 hPa
Extras:
Humidity, temperature
Best for:
All-in-one weather node
BMP388 / BMP390
Absolute accuracy:
About ±0.5 hPa
Extras:
Lower noise, FIFO
Best for:
Drones, indoor navigation, floor detection
MS5611
Absolute accuracy:
±1.5 mbar
Extras:
24-bit, very fine resolution
Best for:
Variometers, flight controllers
02

From pressure to altitude

Pressure falls as you climb, so altitude is calculated from the difference to a reference pressure at sea level. The common formula is: altitude in metres = 44330 × (1 − (P / P0) ^ 0.1903), where P0 is the sea-level pressure (1013.25 hPa as a standard). Weather changes P0 from day to day, so for absolute height use the local sea-level pressure from a forecast. For relative height, such as floors in a building or a jump, set P0 to the reading at the start.

03

Quick test on Arduino

Install the Adafruit BMP280 library from the Library Manager and wire SDA and SCL to your board.

Read pressure and altitude from a BMP280 · Arduino C++Verify & upload in Electrolark
#include <Adafruit_BMP280.h>
Adafruit_BMP280 bmp;                      // I2C

void setup() {
  Serial.begin(115200);
  if (!bmp.begin(0x76)) {                 // try 0x77 if this fails
    Serial.println("BMP280 not found");
    while (1);
  }
}

void loop() {
  Serial.print(bmp.readPressure() / 100.0);        // hPa
  Serial.print(" hPa  ");
  Serial.print(bmp.readAltitude(1013.25));         // metres
  Serial.println(" m");
  delay(1000);
}
04

Using pressure for weather

Rising pressure usually means settled weather; a steady fall of 1 to 2 hPa over three hours means unsettled weather, and a drop of 6 hPa or more in three hours often signals a storm. Log a reading every few minutes and compare across hours, not seconds.

05

Gotchas

BMP280 sold as BME280.

If your "BME280" gives no humidity, it is probably a BMP280. Read the chip ID register: 0x60 is a BME280, 0x58 is a BMP280.

Do not cover the vent hole

on the metal lid.

Keep airflow, heat and sunlight away.

Warm air from regulators and LEDs skews temperature and pressure.

Use 3.3 V logic.

Some modules are 3.3 V only; check before connecting to a 5 V Arduino.

06

Common mistakes to avoid

  • !Treating the standard 1013.25 hPa as local sea-level pressure and expecting exact altitude.
  • !Buying a BMP280 expecting humidity readings.
  • !Covering the sensor vent with epoxy or tape.
  • !Mounting the sensor next to a hot regulator.
  • !Connecting a 3.3 V-only module to a 5 V I2C bus.
07

Frequently asked questions

BMP280 or BME280?

BME280 if you also need humidity. Otherwise they measure pressure the same way.

How accurate is altitude from a BMP280?

Relative changes are good to about 1 m. Absolute height can be off by tens of metres unless you set the correct sea-level pressure.

Which sensor is best for a drone?

The MS5611 or BMP390, thanks to their fine resolution and low noise.

What are the I2C addresses?

0x76 and 0x77, set by the SDO pin.

Can I use it indoors to find floors?

Yes. A change of about 0.4 hPa is roughly one floor.

Is the BMP180 still worth using?

Only for old projects. BMP280 or BMP390 are better and cost about the same.

Parts for this guide

  • BMP280-5V Temperature and Barometric Pressure Sensor Module
    ₹87View
  • Waveshare BMP390 High-Precision Barometric Pressure Sensor – I2C/SPI Interface
    ₹2,179View
  • GY-63 MS5611-01BA03 High Precision Barometric Pressure Sensor Module – I2C/SPI Interface
    ₹509View
  • SparkFun BME280 Atmospheric Sensor Breakout – I2C/SPI Interface
    ₹3,089View
Shop Barometric, Atmospheric & Altitude Sensors

Terms in this guide

Sea-level pressureAir pressure corrected to sea level, used as the reference when turning a pressure reading into altitude. The standard value is 1013.25 hPa.I2CInter-Integrated Circuit: a two-wire bus (SDA and SCL) that connects many devices by address.Relative humidityThe amount of water vapour in air as a percentage of the maximum it can hold at that temperature.CalibrationMeasuring a sensor against known conditions so its raw numbers can be converted into meaningful values, such as dry and wet readings for a soil sensor.ResolutionThe smallest step a measurement or output can represent. A 12-bit ADC on 3.3 V has steps of about 0.8 mV.

Projects that use it

Put this into practice: 24 step-by-step builds in our project library use parts from this guide.

Beginner · 1–2 hoursMini weather station with OLEDView projectBeginner · 1–2 hoursWi-Fi weather station dashboardView projectIntermediate · 2–3 hoursWeather data loggerView project
Browse all 24 projects

Keep learning

ComparisonBeginnerBME280 vs BMP280The BMP280 measures temperature and air pressure; the BME280 adds relative humidity.3 min read · SensorsConcept explainerIntermediateI2C ExplainedI2C is a two-wire bus that lets one microcontroller talk to many sensors and displays using a data line (SDA) and a clock line (SCL).4 min read · Electronics FundamentalsBuying guideBeginnerHow to Choose a Temperature Sensor for Arduino and ESP32Compare temperature sensors for Arduino and ESP32: DHT22, DS18B20, BME280, LM35, TMP36, NTC thermistors, K-type thermocouples and the MLX90614 IR sensor.3 min read · SensorsComparisonBeginnerDHT11 vs DHT22DHT11 vs DHT22 compared: accuracy, range and sampling rate, plus wiring, pull-up, Arduino/ESP32 code and when to pick a BME280 or SHT31.3 min read · SensorsBuying guideIntermediateAir Quality SensorsCompare particle, CO2 and VOC sensors for an air monitor: PMS5003 and SDS011, NDIR CO2 vs eCO2, wiring, warm-up, power and placement for honest readings.3 min read · Sensors

Sources

  • Bosch Sensortec BMP280, BME280, BMP390 datasheets
  • TE Connectivity MS5611-01BA03 datasheet
  • International Standard Atmosphere (ISA) model

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhich sensor to pickFrom pressure to altitudeQuick test on ArduinoUsing pressure for weatherGotchasCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide4 items · ₹5,864

BMP280-5V Temperature and Barometric Pressure Sensor Module · Waveshare BMP390 High-Precision Barometric Pressure Sensor – I2C/SPI Interface · GY-63 MS5611-01BA03 High Precision Barometric Pressure Sensor Module – I2C/SPI Interface · SparkFun BME280 Atmospheric Sensor Breakout – I2C/SPI Interface

Run itChange the inputs and watch the output
Serial monitor115200 baud
907.48 hPa  920.39 m

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question