Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. MicroPython
  3. micropython-bmp280

micropython-bmp280

MITPython

A MicroPython driver for the Bosch BMP280 temperature and pressure sensor with configurable use cases and oversampling.

GitHubGitHub
117 stars27 forks0 contributors

What is micropython-bmp280?

micropython-bmp280 is a MicroPython driver library for the Bosch BMP280 digital pressure and temperature sensor. It provides a Python interface to read sensor data and configure advanced settings like oversampling, filtering, and power modes. The library simplifies integrating the BMP280 into MicroPython-based embedded projects for environmental monitoring.

Target Audience

MicroPython developers working on IoT devices, weather stations, or embedded systems that require precise temperature and pressure measurements.

Value Proposition

It offers a comprehensive, datasheet-aligned implementation with pre-configured use cases and fine-grained control over sensor parameters, reducing the complexity of low-level register manipulation.

Overview

module for the BMP280 sensor

Use Cases

Best For

  • Building MicroPython-based weather stations with barometric pressure sensing
  • Adding environmental sensing to IoT devices with low-power requirements
  • Prototyping handheld devices that need altitude estimation via pressure
  • Educational projects teaching sensor interfacing with MicroPython
  • Indoor navigation systems that rely on pressure changes for floor detection
  • Drop detection applications using rapid pressure change sensing

Not Ideal For

  • Projects requiring SPI connectivity with the BMP280 sensor
  • Teams seeking a zero-configuration, plug-and-play sensor library
  • Applications needing multi-sensor fusion in a single library
  • High-frequency data acquisition systems where MicroPython latency is critical

Pros & Cons

Pros

Comprehensive Sensor Control

Exposes all BMP280 settings like oversampling, IIR filter, and power modes with enums referenced to datasheet sections, allowing precise hardware-level adjustments.

Pre-configured Use Cases

Includes ready-made presets for scenarios like weather monitoring and drop detection, simplifying setup by optimizing settings based on common applications.

Power Management Flexibility

Supports sleep, forced, and normal power modes with configurable standby intervals, enabling efficient energy usage for battery-powered IoT devices.

Intuitive Pythonic API

Uses properties like bmp.temperature and methods like bmp.force_measure(), making it easy to integrate into MicroPython code without low-level register manipulation.

Cons

Missing SPI Support

SPI interface is listed as a TODO item, limiting the library to I2C communication only, which may not suit all hardware configurations or projects.

Configuration Overload

With numerous enums and settings for oversampling, filtering, and standby, users must understand sensor-specific concepts, which can be overwhelming for newcomers.

Single-Sensor Focus

Exclusively supports the BMP280, requiring separate libraries for projects involving other sensors like humidity or gas sensors, increasing integration complexity.

Frequently Asked Questions

Quick Stats

Stars117
Forks27
Contributors0
Open Issues2
Last commit2 years ago
CreatedSince 2018

Tags

#iot#embedded-systems#pressure-sensor#micropython#i2c#esp8266#environmental-sensing#sensor-driver#temperature-sensor

Built With

M
MicroPython

Included in

MicroPython1.8k
Auto-fetched 5 hours ago

Related Projects

BME280BME280

Micropython driver for the BME280 sensor

Stars139
Forks35
Last commit1 year ago
micropython-bmp180micropython-bmp180

micropython-bmp180 is a module for micropython which provides a class for the BMP180 pressure sensor

Stars90
Forks38
Last commit4 years ago
mpy_bme280_esp8266mpy_bme280_esp8266

Driver for the Bosch BME280 for use with MicroPython on ESP8266 boards

Stars74
Forks40
Last commit5 years ago
micropython_bme280_i2cmicropython_bme280_i2c

A Micropython module for communicating with the Bosch BME280 temperature, humidity, and pressure sensor.

Stars10
Forks7
Last commit7 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub