Tag Archives: BME280

ESP32 Web Server Tutorial with a BME280 Sensor

Our friends at educ8s.tv uploaded a new tutorial on their youtube channel. It’s about an ESP32 web server along with MBE280 sensor.

Welcome to another ESP32 video tutorial! In this video, we are going to build a simple HTTP Web Server on an ESP32 board with a BME280 sensor. We are also going to learn how to make some requests to it using a web browser. There is a lot to cover, so let’s get started!

ESP32 Web Server Tutorial with a BME280 Sensor – [Link]

ESP32 WiFi Weather Station with a Nextion Display

Our friends at educ8s.tv uploaded a new video about how to build a ESP32 Wifi enabled weather station:

In this video, we are going to make this. It is yet another weather station project I know, but this time we use the new ESP32 chip! We also use the new BME280 sensor which measures the temperature, the humidity, and the barometric pressure. When we power up the project, it connects to the WiFi network, and it is going to retrieve the weather forecast for my location from the openweathermap website. Then it will display the forecast on this 3.2” Nextion Touch Display along with the readings from the sensor! The readings are updated every two seconds and the weather forecast every hour! As you can see, in this project we use the latest technologies available to a maker today! If you are a DIY veteran, you can build this project in five minutes. If you are a beginner, you have to watch a couple of videos before attempting this project. You can watch those videos by clicking on the cards that will appear during the video. Let’s start!

ESP32 WiFi Weather Station with a Nextion Display – [Link]

Bosch BME280 sensor combines pressure, humidity and temperature measurement

Bosch Sensortec announces a world first in sensor technology: the BME280 Integrated Environmental Unit combines sensors for pressure, humidity and temperature in a single package. This unique sensor has been developed to support a broad range of emerging high performance applications such as indoor navigation, home automation control, personalized weather stations and innovative sport and fitness applications. The precise altitude measurement function of the BME280 is a key requirement in applications such as indoor navigation with floor tracking where exceptional accuracy, low temperature drift and high resolution are needed. Additionally, the BME280 has a best-in-class response time of just one second for humidity determination, excellent ambient temperature measurement and low energy consumption.

More precise measurement at lowest power consumption

With a small footprint of just 2.5 x 2.5 mm2and a height of 0.93 mm in a space-saving 8-pin LGA package, the sensor offers high design flexibility and is ideally suited for mobile devices with limited space such as smartphones, tablets, smart watches and electronic wristbands. Very low current consumption of only 3.6 µA (at 1 Hz) makes the BME280 Integrated Environmental Unit particularly suitable for battery-driven applications. Three power modes and separately configurable oversampling rates for pressure and temperature measurements allow designers to adapt the BME280 to a wide range of use cases.

The humidity sensor within the Integrated Environmental Unit measures relative humidity (0% to 100%) across a wide temperature range from -40°C to +85°C with a fast response time of less than 1 second. The humidity measurement accuracy is ±3% with a hysteresis of 2% or better, and the temperature reading accuracy is within 0.5°C.

more details on the Bosch Press Release.

Arduino Weather Station With E-Ink Display

Arduino Uno home weather station with e-ink display The hardware used for this project is:

  • Waveshare 4.3 e-ink display
  • Arduino Uno
  • Adafruit BME280 combined temperature, humidy and atmospheric pressure
  • DS3231 based hardware clock

Arduino Weather Station With E-Ink Display – [Link]

Air Quality Sensors on tindie.com

Pesky Products @ tindie.com writes:

This is a small (17.9 mm x 10.3 mm) breakout board with Bosch’s BME280 pressure, temperature, and humidity sensor as well as AMS’ CCS811 digital gas sensor. The sensors work in concert to provide a complete measurement via I2C register reads of indoor air quality including temperature- and humidity-compensated estimates of equivalent CO2 concentration in parts per million (400 – 8192 ppm) and volatile organic chemical concentration in parts per billion (0 – 1187 ppb).

Air Quality Sensors on tindie.com – [Link]

Weather Station with a BME280 sensor and an LCD screen with Arduino Mega

In this Arduino Project video educ8s.tv is going to build a simple weather station using a BME280 sensor and an LCD shield.

Hello guys, I am Nick and welcome to educ8s.tv a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. Today we are going to take a first look at the new BME280 sensor, a new very interesting sensor. We are going to build a simple but very accurate weather station project. I have built a similar project 2 years ago, using different sensors. Now that we have a new sensor available which makes things easier, it’s time to update the project. As you can see, on the LCD display we can see the temperature, the humidity and the barometric pressure. The readings are updated every two seconds. This is a very easy project to build so it is ideal for beginners! Let’s build it!

Weather Station with a BME280 sensor and an LCD screen with Arduino Mega [Link]

Wide range of Hygrometers Compared

robert @ kandrsmith.org has a detailed article comparing the most common Humidity sensors. He writes:

Previous experiments looked at comparing a set of six Aosong DHT22/AM2302 and compared the Aosong DHT22/AM2302 with the Aosong DHT11 and Sensirion SHT71. Here I have added five new devices meaning this test now covers most commonly available low-cost digital hygrometers. This page will present only new results. For details of how the experiment works, please refer to the previous write-ups.

Wide range of Hygrometers Compared – [Link]

Weather Station Based On ChipKIT

ChipKIT Uno32 by Digilent is an easy-to-use platform for developing microcontroller-based applications. It uses chipKIT-core development environment and Arduino IDE for compatibility with existing code examples, tutorials and resources. Pin-compatible with many Arduino shields that can operate at 3.3V.
It contains:

  • PIC32MX320F128H processor
  • 128K Flash, 16K RAM
  • Up to 80 MHz operating speed
  • 42 available I/O lines
  • USB or externally powered
  • USB cable required for programming (not included)

chipkit-uno32-obl-500-big-500x361

This kit is now discontinued and replaced by chipKIT uC32.

By following this tutorial you will be able to build a weather station based on chipKIT and using Bosch BME280 module, a fully integrated environmental unit that combines sensors for pressure, humidity, and temperature in a tiny 8-pin metal-lid LGA package of size 2.5 x 2.5 x 0.93 mm³. This module seems popular due to many features such as its support for standard I2C and SPI interfaces and availability of supporting open-source Arduino libraries.

R-B, the maker behind this project, uses BME280 to read barometric pressure, relative humidity, and temperature measurements then the readings will be sent via I2C bus and finally displayed on a Nokia 5110 LCD.

p_20161109_153854-600

Hardware Setup:

You will need these parts in order to build this project:

  • ChipKIT Uno32
  • BME 280
  • Nokia 5110 LCD:  It is a 48×84 pixels matrix LCD driven by the low-power PCD8544 controller chip. It is powered by 3.3V and includes on-chip generation of LCD supply and bias voltages, thus requiring minimum external components for its operation. The PCD8544 receives display data and commands from a microcontroller through a serial bus interface.

The complete hardware setup for this project is shown in the following figure:

Connections between chipKIT Uno32, BME280 and Nokia 5110 LCD
Connections between chipKIT Uno32, BME280 and Nokia 5110 LCD
Software

You will need to install the following libraries prior to develop the firmware for this project.

Output

The program displays ambient temperature in Centigrade, humidity in %, and atmospheric pressure in hectopascal (hPa) units.

Weather station displaying temperature, humidity, and pressure shown in hPa unit.
Weather station displaying temperature, humidity, and pressure shown in hPa unit.

Full description of how to connect the modules together, how to set the I2C connection and more detailed information are available at the project page.
Just download the complete program, get the needed parts and you are ready to build your own weather station! You can check other tutorials by R-B here.

Environmental data display on an RGB matrix panel

In this tutorial, I have described how to use a 16×32 RGB matrix panel with Arduino Uno for colorful display of environmental data captured locally using Bosch BME280 sensor. BME280 is a fully integrated environmental unit from Bosch that combines sensors for pressure, humidity, and temperature in a tiny 8-pin metal-lid LGA package. The RGB LED matrix panel consists of 512 bright RGB LEDs arranged in 16 rows and 32 columns. The row and column driver circuits are built on the back side of the matrix panel. The data and control signal pins are accessible through a HUB75 (8×2 IDC) connector. It requires 12 digital I/O pins of Arduino Uno for full color control. The display panel also comes with a RGB connector shield for Arduino Uno and necessary cables for easy wiring between the RGB panel and the Arduino board.

demo6
16×32 RGB LED matrix panel

The connector shield also features the DS1307 RTC chip on board along with a CR1220 coin-cell battery holder. The I2C pins of the DS1307 chip are pre-wired to A4 and A5 pins of the shield. The BME280 is also I2C compatible and uses the same pins for data and clock. I have written a firmware for Arduino to read temperature, humidity, and pressure data from BME280, and time and date from DS1307 chip, and display all these data on the RGB panel with different color and some animation. You can find rest of the details here.

setup5
RGB connector shield consists of DS1307 RTC on board