Projects with a BME280 sensor
7 Mokxi projects use a BME280 sensor (1 beginner, 5 intermediate and 1 advanced). They run on Arduino Uno, ESP32 and Raspberry Pi Pico boards. Here are all of them, from “CircuitPython BME280 on a Pico” to “LoRa weather station with acknowledgments”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.
How to pick your first one
- Start with “CircuitPython BME280 on a Pico”, a beginner project that needs a BME280 sensor.
- Arduino Uno runs 2 of them, ESP32 2 and Raspberry Pi Pico 2. Start on the board you have, or on an Arduino Uno if you are buying one.
- The parts used most here are the SSD1306 OLED display (2 projects), the filament lamp (1) and the I2C LCD (1). With those on hand, most of this list is open to you.
- Before you build one on a real bench, read the BME280 weather sensor wiring guide for your board below. It gives every pin and the voltage notes.
7 projects ready to run

CircuitPython BME280 on a Pico
CircuitPython on a Raspberry Pi Pico: busio.I2C and Adafruit’s adafruit_bme280 read the temperature.
- Board
- Raspberry Pi Pico
- Parts
- BME280 weather sensor
- Level
- Beginner

Indoor and outdoor thermometer on two OLEDs
Two BME280s and two SSD1306 OLEDs share their addresses, so a TCA9548A puts each pair on its own channel: each screen shows its own weather.
- Board
- Arduino Uno R3
- Parts
- I2C multiplexer, BME280 weather sensor, SSD1306 OLED display
- Level
- Intermediate

BME280 on a Pi Zero 2 W with smbus2
A Raspberry Pi Zero 2 W reads a BME280 over I2C with smbus2 and the datasheet formulas: temperature, pressure and humidity every two seconds.
- Board
- Raspberry Pi Zero 2 W
- Parts
- BME280 weather sensor
- Level
- Intermediate

MicroPython BME280 weather on an OLED
MicroPython on a Raspberry Pi Pico: machine.I2C reads a BME280 and shows temperature, pressure and humidity on an SSD1306 OLED with ssd1306.py.
- Board
- Raspberry Pi Pico
- Parts
- SSD1306 OLED display, BME280 weather sensor
- Level
- Intermediate

ESP32 async web server: BME280, slider and relay
ESPAsyncWebServer serves a page with BME280 temperature, humidity and pressure, a slider that dims an LED and a button that switches a relay.
- Board
- ESP32 DevKit V1
- Parts
- BME280 weather sensor, resistor, LED, relay module, DC jack and adapter, +1 more
- Level
- Intermediate

Two barometers
A BME280 and a BMP280 on one I2C bus, told apart by their address straps and their chip ids.
- Board
- ESP32-C3-DevKitM-1
- Parts
- BME280 weather sensor, pressure and temperature
- Level
- Intermediate

LoRa weather station with acknowledgments
A BME280 node sends temperature, humidity and pressure over LoRa with RadioHead, and a gateway acknowledges each reading and shows it on an I2C LCD.
- Board
- Arduino Uno R3
- Parts
- LoRa module, BME280 weather sensor, I2C LCD
- Level
- Advanced