{"id":25771,"date":"2019-11-01T14:01:39","date_gmt":"2019-11-01T06:01:39","guid":{"rendered":"\/blog\/?p=25771"},"modified":"2020-11-16T17:51:11","modified_gmt":"2020-11-16T09:51:11","slug":"getting-started-with-bme280-humidity-pressure-and-temperature-sensor","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/","title":{"rendered":"Getting started with BME280 &#8211; Humidity, Pressure and Temperature Sensor"},"content":{"rendered":"\n<p>The BME280 is an integrated environmental sensor by Bosch that measures humidity, pressure and temperature which is able to give users a comprehensive and holistic measurement of the environment. It is designed with an 8-pin metal-lid LGA package for low power consumption, long term stability and high EMC robustness. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/11\/1.png\" alt=\"\" class=\"wp-image-25808\" width=\"583\" height=\"175\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png 982w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1-300x90.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1-768x231.png 768w\" sizes=\"(max-width: 583px) 100vw, 583px\" \/><\/figure><\/div>\n\n\n\n<p>This sensor features a fast response time to support performance requirements and also high accuracy. It is also optimized for low noise and high-resolution performance.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"has-text-align-left\">Today, through this blog, we are going to talk about:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Seeed&#8217;s BME280 Sensor: Grove &#8211; BME280 Environmental Sensor (Temperature Humidity Barometer)  <\/li><li>Applications of the BME280 <\/li><li>BME280 with Arduino<\/li><li>Related Sensors to the BME280<\/li><\/ul>\n\n\n\n<p>Before you start, you will, of course, require a BME280 sensor!<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/www.seeedstudio.com\/Grove-BME280-Environmental-Sensor-Temperature-Humidity-Barometer.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; BME280 Environmental Sensor (Temperature Humidity Barometer) <\/a> ($17.00)<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/10\/Capture-27.png\" alt=\"\" class=\"wp-image-25777\" width=\"320\" height=\"250\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-27.png 478w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/10\/Capture-27-300x234.png 300w\" sizes=\"(max-width: 320px) 100vw, 320px\" \/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>This is Seeed very own Grove- BME280 Environmental Sensor based on Bosch BME28 which is low-cost, high-precision and supports both I2C and SPI communication.<ul><li>If you do not know what is I2C or SPI or its differences, you can check out my other article <a href=\"https:\/\/www.seeedstudio.com\/blog\/2019\/09\/25\/uart-vs-i2c-vs-spi-communication-protocols-and-uses\/\">here<\/a> about communication peripherals.<\/li><\/ul><\/li><li>Grove BME280 provides a precise measurement of not only barometric pressure and temperature, but also the humidity in the environment. <\/li><li>Owing to its high accuracy on measuring the pressure, and the pressure changes with altitude, we can calculate the altitude with \u00b11 meter accuracy, which makes it a precise altimeter as well. <\/li><li>In addition, you don\u2019t even need to worry about the I2C collisions as it provides both I2C and SPI interfaces. <ul><li>To use SPI, simply de-solder the bonding pads on the back of this BME280 breakout board. <\/li><li>For I2C, the board also provides 2 I2C addresses for you to select as you want.&nbsp;&nbsp; <\/li><\/ul><\/li><li>We also have a highly abstracted library for users to build projects quicker with the BME280! <\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h4 class=\"wp-block-heading\"><strong>Specifications<\/strong>: <\/h4>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><table class=\"\"><tbody><tr><th><span style=\"text-decoration:underline\">Parameter<\/span><\/th><th><span style=\"text-decoration:underline\">Grove &#8211; BME280 Environmental Sensor<\/span><\/th><\/tr><tr><td>Dimensions<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">40mm x20mm x15mm<\/span><\/td><\/tr><tr><td>Weight<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">G.W 10g<\/span><\/td><\/tr><tr><td>Supply Voltage<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">5V or 3.3V<\/span><\/td><\/tr><tr><td>Current Consumption<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">0.4 mA<\/span><\/td><\/tr><tr><td>Humidity Accuracy<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">\u00b13%<\/span><\/td><\/tr><tr><td>Temperature Range <\/td><td><span style=\"font-weight:inherit;font-style:inherit\">-40 to 85<\/span><\/td><\/tr><tr><td>Temperature Accuracy<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">\u00b11<\/span><\/td><\/tr><tr><td>Air pressure Range<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">300 \u2013 1100 hPa<\/span><\/td><\/tr><tr><td>Air Pressure Accuracy<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">\u00b11.0 hPa<\/span><\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><u><strong>Background on Grove<\/strong><\/u><\/h3>\n\n\n\n<p>You may be wondering, what exactly is grove? Grove is Seeed&#8217;s very own modular, standardized connector prototyping system. Grove takes a building block approach to assemble electronics and compared to the jumper or solder based system, it is easier to connect, experiment and build which simplifies the learning system for hobbyists. Do not worry as it is not to the point where it becomes dumbed down.&nbsp; <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Applications of the BME280 <\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>So where can you use the BME280 sensor? Due to its, capabilities and features like its I2C and SPI compatibility, this sensor is suitable for every weather \/ environmental sensing! Some applications in the current industry include:<ul><li>Enhancement of GPS navigation <\/li><li>Outdoor\/indoor navigation <\/li><li>Weather forecast <\/li><li>Fitness monitoring<\/li><li>Home automation control<\/li><li>Any other project that requires accurate atmospheric pressure reading. <\/li><\/ul><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">BME280 with Arduino<\/h2>\n\n\n\n<p>The Grove &#8211; BME280 Environmental Sensor are easily compatible with various microcontrollers like the Arduino, Beaglebone or LinkIt ONE through I2C or SPI. In today example, I will show you guys how to easily connect your Grove &#8211; BME280 Environmental Sensor to the Arduino.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What do you need? <\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"http:\/\/www.seeedstudio.com\/Seeeduino-V4.2-p-2517.html?utm_source=blog&amp;utm_medium=blog\">Seeeduino V4.2 <\/a> (Seeed&#8217;s very own Arduino)<\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Base-Shield-V2-p-1378.html?utm_source=blog&amp;utm_medium=blog\">Base Shield&nbsp;V2<\/a>(Optional &#8211; Add Grove Modules to the Arduino Conveniently)<\/li><li><a href=\"http:\/\/www.seeedstudio.com\/depot\/Grove-TempHumiBarometer-Sensor-BME280-p-2653.html?utm_source=blog&amp;utm_medium=blog\">Grove-Barometer Sensor- BME280<\/a><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step by Step instructions for BME280 with Arduino<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong style=\"\">Step 1<\/strong><ul><li>Connect the Grove BME280 Sensor to the I2C port of the Grove Base Shield V2 and plug it into Seeeduino.<\/li><li>If you do not have a Grove Base Shield, you can directly connect this module to the Seeeduino as shown below:<\/li><\/ul><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><table class=\"\"><tbody><tr><th>Seeeduino V4.2<\/th><th>Grove BME280 Sensor<\/th><\/tr><tr><td>5V<\/td><td>VCC<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>SDA<\/td><td>SDA<\/td><\/tr><tr><td>SCL<\/td><td>SCL<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Your connection should look something like this now:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/11\/2.png\" alt=\"\" class=\"wp-image-25799\" width=\"404\" height=\"239\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/2.png 790w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/2-300x178.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/2-768x456.png 768w\" sizes=\"(max-width: 404px) 100vw, 404px\" \/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 2<\/strong><ul><li>Connect Seeeduino to PC via a USB cable<\/li><\/ul><\/li><li><strong>Step 3<\/strong><ul><li>Now, we are at the Software part of the tutorial! <\/li><li>Firstly, Download the <a href=\"https:\/\/github.com\/Seeed-Studio\/Grove_BME280\">Library and example code<\/a> from Github<\/li><li>If you do now know how to install library, refer to our guide on <a href=\"http:\/\/wiki.seeedstudio.com\/How_to_install_Arduino_Library\">How to install library<\/a> to install the library to your Arduino<\/li><\/ul><\/li><li><strong>Step 4<\/strong><ul><li>Create a new Arduino sketch and paste the codes below to it or open the code directly by the path:<\/li><li>File -&gt; Example -&gt;Barometer_Sensor-&gt;Barometer_Sensor <\/li><li>This is the code: <\/li><\/ul><\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>\/*\n * bme280_example.ino\n * Example sketch for bme280\n *\n * Copyright (c) 2016 seeed technology inc.\n * Website    : www.seeedstudio.com\n * Author     : Lambor\n * Create Time:\n * Change Log :\n *\n * The MIT License (MIT)\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n#include \"Seeed_BME280.h\"\n#include &lt;Wire.h>\n\nBME280 bme280;\n\nvoid setup()\n{\n  Serial.begin(9600);\n  if(!bme280.init()){\n    Serial.println(\"Device error!\");\n  }\n}\n\nvoid loop()\n{\n  float pressure;\n\n  \/\/get and print temperatures\n  Serial.print(\"Temp: \");\n  Serial.print(bme280.getTemperature());\n  Serial.println(\"C\");\/\/The unit for  Celsius because original arduino don't support speical symbols\n\n  \/\/get and print atmospheric pressure data\n  Serial.print(\"Pressure: \");\n  Serial.print(pressure = bme280.getPressure());\n  Serial.println(\"Pa\");\n\n  \/\/get and print altitude data\n  Serial.print(\"Altitude: \");\n  Serial.print(bme280.calcAltitude(pressure));\n  Serial.println(\"m\");\n\n  \/\/get and print humidity data\n  Serial.print(\"Humidity: \");\n  Serial.print(bme280.getHumidity());\n  Serial.println(\"%\");\n\n  delay(1000);\n}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 5<\/strong><ul><li>Upload the code to your Arduino<\/li><li>If you do not know how to upload the code, you can refer to our guide on <a href=\"http:\/\/wiki.seeedstudio.com\/Upload_Code\/\">How to Upload Code<\/a>.<\/li><\/ul><\/li><li><strong>Step 6<\/strong><ul><li>Open the serial monitor to receive the sensor&#8217;s data including temperature, barometric pressure value, altitude and humidity. <\/li><\/ul><\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>And that&#8217;s all! In just 6 steps, you can easily run the Grove BME280 sensor with the Seeeduino! Here are some additional resources for you on the BME280 including a datasheet and also a library: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>[Eagle]<\/strong>&nbsp;<a href=\"https:\/\/raw.githubusercontent.com\/SeeedDocument\/Grove-Barometer_Sensor-BME280\/master\/res\/Grove-Barometer_Sensor-BME280-v1.0_Schematics.zip\">Grove-Barometer_Sensor-BME280-v1.0_Schematics<\/a> <\/li><li><strong>[Datasheet]<\/strong>&nbsp;<a href=\"https:\/\/raw.githubusercontent.com\/SeeedDocument\/Grove-Barometer_Sensor-BME280\/master\/res\/Grove-Barometer_Sensor-BME280-.pdf\">BME280 Datasheet<\/a>  <\/li><li><strong>[Library]<\/strong>&nbsp;<a href=\"https:\/\/github.com\/Seeed-Studio\/Grove_BME280\">Grove_BME280 Library<\/a>&nbsp;on GitHub <\/li><li><strong>[Reference]<\/strong>&nbsp;<a href=\"https:\/\/www.arduino.cc\/en\/Reference\/Wire\">I<sup>2<\/sup>C how-to for Arduino<\/a> <\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Related Sensors to the BME280<\/h2>\n\n\n\n<p>Looking for something else other than the BME280? Here are some sensors that are closely related to the BME280!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.seeedstudio.com\/Grove-Barometer-Sensor-BMP28-p-2652.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; Barometer Sensor (BMP280) ($8.90)<\/a><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/11\/3.png\" alt=\"\" class=\"wp-image-25800\" width=\"316\" height=\"248\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/3.png 453w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/3-300x235.png 300w\" sizes=\"(max-width: 316px) 100vw, 316px\" \/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>The Grove&nbsp;BMP280 Barometer Sensor is built around&nbsp;<a href=\"https:\/\/raw.githubusercontent.com\/SeeedDocument\/Grove-Barometer_Sensor-BMP280\/master\/res\/Grove-Barometer_Sensor-BMP280-BMP280-DS001-12_Datasheet.pdf\">Bosch BMP280<\/a>, it is a low-cost and high-precision&nbsp;environmental sensor measures the temperature and barometer.&nbsp;This sensor supports both I2C and SPI communication which we have also provided the BMP280 Arduino&nbsp;library. <\/li><li>Similarly to the Grove BME280 Barometer Sensor, it can also act as a precise altimeter as well!<\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Specifications<\/strong>:<\/h4>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><table class=\"\"><tbody><tr><th><span style=\"font-weight:bold;text-decoration:underline\">Parameter<\/span><\/th><th><span style=\"font-weight:700;font-style:inherit;text-decoration:underline\">Grove &#8211; Barometer Sensor (BMP280)<\/span><\/th><\/tr><tr><td>Dimensions<\/td><td>20mm x 40mm<br><\/td><\/tr><tr><td>Weight<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">3g<\/span><\/td><\/tr><tr><td>Supply Voltage<\/td><td>5V or 3.3V<\/td><\/tr><tr><td>Current Consumption<\/td><td>0.6 mA<\/td><\/tr><tr><td>Barometric Pressure Range<\/td><td>300 \u2013 1100 hPa<\/td><\/tr><tr><td>Barometric Pressure Accuracy<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">\u00b11.0 hPa<\/span><\/td><\/tr><tr><td>Temperature Measurement Range<\/td><td>-40 to 85<br><\/td><\/tr><tr><td>Temperature Measurement Accuracy<\/td><td>\u00b11<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">BME280 vs BMP280, what are their differences?  <\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>The Grove BMP280 is similar to&nbsp;Grove BME280, and their parameter performance is almost the same, so people are often confused. <\/li><li>The BMP280 can only measure temperature and air pressure, while the BME280 can measure humidity in addition to temperature and air pressure.&nbsp;<\/li><li>Because of this difference, BMP280 is much cheaper than BME280.&nbsp;<\/li><li>Simply put, the BMP280&nbsp;Barometer sensor&nbsp;is an upgrade to the&nbsp;BMP180 Barometer sensor, and the BME280 environmental sensor adds humidity measurement to the BMP280. <\/li><li>So if you just want to get the&nbsp;atmospheric pressure, then we recommend you to use Grove BMP280, however, if you want to monitor the environment more comprehensively, then we recommend Grove BME280. <\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.seeedstudio.com\/Grove-Temperature-Humidity-Pressure-and-Gas-Sensor-BME680.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; Temperature, Humidity, Pressure and Gas Sensor (BME680)&nbsp;<\/a>($20.50)<\/h3>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Grove - Temperature, Humidity, Pressure, and Gas Sensor (BME680) - #newproductsTuesday\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/O3oHtW2TlXY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>The Grove-Temperature &amp; Humidity &amp; Pressure &amp; Gas Sensor (BME680) has multiple functional sensors which can measure temperature, pressure, humidity and gas at the same time which is based on the BME680 module by Bosch Electronics.&nbsp;<\/li><li>The 4-in-1 function is integrated on such a small module, it will be very beneficial to apply on IoT or GPS devices. <\/li><li>It features low power consumption, wide measurement range and has an optional output which allows individual humidity, pressure and gas sensors to be independently enabled\/disabled.<\/li><li>Some applications of this sensor include <ul><li>Indoor air quality<\/li><li>Home automation and control<\/li><li>Vertical Velocity indication (risk\/sink speed)<\/li><\/ul><\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Specifications<\/strong>:<\/h4>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><table class=\"\"><tbody><tr><th><span style=\"font-weight:bold;text-decoration:underline\">Parameter<\/span><\/th><th><span style=\"font-weight:bold;font-style:inherit;text-decoration:underline\">Grove &#8211; Temperature, Humidity, Pressure and Gas Sensor (BME680)<\/span><br><\/th><\/tr><tr><td>Dimensions<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">40mm x20mm x7mm<\/span><br><\/td><\/tr><tr><td>Weight<\/td><td><span style=\"font-weight:inherit;font-style:inherit\">G.W 9.1g<\/span><\/td><\/tr><tr><td>Supply Voltage<\/td><td>5V or 3.3V<\/td><\/tr><tr><td><span style=\"font-weight:inherit;font-style:inherit\">Operating Range<\/span><br><\/td><td>-40~+85\u2103; 0-100% r.H.; 300-1100hPa<\/td><\/tr><tr><td><span style=\"font-weight:inherit;font-style:inherit\">Humidity Absolute Accuracy<\/span><br><\/td><td><span style=\"font-weight:inherit;font-style:inherit\">\u00b1 3%r.H. (20-80 %r.H.,25\u2103)<\/span><\/td><\/tr><tr><td><span style=\"font-weight:inherit;font-style:inherit\">Humidity Resolution<\/span><\/td><td><span style=\"font-weight:inherit;font-style:inherit\">0.008 %r.H.<\/span><br><\/td><\/tr><tr><td><span style=\"font-weight:inherit;font-style:inherit\">Pressure Absolute Accuracy<\/span><\/td><td><span style=\"font-weight:inherit;font-style:inherit\">\u00b1 0.6 hPa (300-1100 hPa, 0-65\u2103)<\/span><\/td><\/tr><tr><td><span style=\"font-weight:inherit;font-style:inherit\">Pressure Resolution<\/span><\/td><td><span style=\"font-weight:inherit;font-style:inherit\">0.18 Pa<\/span><\/td><\/tr><tr><td><span style=\"font-weight:inherit;font-style:inherit\">Temperature Absolute Accuracy<\/span><\/td><td><span style=\"font-weight:inherit;font-style:inherit\">\u00b1 0.5\u2103 \uff0825\u2103\uff0c At,25\uff09\uff1b \u00b1 1\u2103 \uff080-65\u2103, At, full\uff09<\/span><\/td><\/tr><tr><td><span style=\"font-weight:inherit;font-style:inherit\">Temperature Resolution<\/span><\/td><td>0.01\u2103<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"mce_94\">BME280 vs BME680, what are their differences?  <\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Similarly to the BME280, the BME680 can measure humidity with \u00b13% accuracy, barometric pressure with&nbsp;\u00b11 hPa absolute accuracy, temperature with \u00b11.0\u00b0C accuracy and also as an altimeter with&nbsp; \u00b11 meter or better accuracy.<\/li><li>However, the BME680 can also measure gas along with temperature, pressure and humidity as it contains an additional MOX sensor.<\/li><li>It can detect a broad range of gases to measure air quality for personal well-being. Gases that can be detected by the BME680 include Volatile Organic Compounds (VOC) from paints (such as formaldehyde), lacquers, paint strippers, cleaning supplies, furnishings, office equipment, glues, adhesives and alcohol!<\/li><li>Even though it is slightly more expensive than the BME280, you will also definitely get a bang for your buck as it is a  <br>4-in-1 sensor! <\/li><\/ul>\n\n\n\n<p>Not what you are looking for? You can check out our other blog on <a href=\"https:\/\/www.seeedstudio.com\/blog\/2019\/08\/22\/8-types-of-temperature-sensors-you-should-know\/\">8 Types of Temperature Sensors You Should Know<\/a> or check out all the other sensors that we offer<a href=\"https:\/\/www.seeedstudio.com\/category\/Sensor-for-Grove-c-24.html\"> here<\/a>!<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Summary <\/h2>\n\n\n\n<p>That&#8217;s all on Getting started with BME280 &#8211; Humidity, Pressure and Temperature Sensor! Curious about what you can do with the BME280? Check out Seeed&#8217;s project on an <a href=\"https:\/\/www.hackster.io\/SeeedStudio\/seeed-lora-iotea-solution-b5ee95\">automatic information collection system<\/a> using the BME280 for a tea plantation!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The BME280 is an integrated environmental sensor by Bosch that measures humidity, pressure and temperature<\/p>\n","protected":false},"author":2781,"featured_media":25808,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[1571,1840,1849,1570,1055,1843],"class_list":["post-25771","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-bme280","tag-bme280-arduino","tag-bme680","tag-bmp280","tag-bosch","tag-bosch-bme280"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Getting started with BME280 - Humidity, Pressure and Temperature Sensor - Latest News from Seeed Studio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting started with BME280 - Humidity, Pressure and Temperature Sensor - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"The BME280 is an integrated environmental sensor by Bosch that measures humidity, pressure and temperature\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2019-11-01T06:01:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-16T09:51:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"982\" \/>\n\t<meta property=\"og:image:height\" content=\"296\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"yida\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"yida\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/\",\"name\":\"Getting started with BME280 - Humidity, Pressure and Temperature Sensor - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png\",\"datePublished\":\"2019-11-01T06:01:39+00:00\",\"dateModified\":\"2020-11-16T09:51:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/6457c21fb5499f36fcf657d48dc4380e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png\",\"width\":982,\"height\":296,\"caption\":\"Getting started with BME280 - Humidity, Pressure and Temperature Sensor Getting started with BME280 - Humidity, Pressure and Temperature Sensor\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting started with BME280 &#8211; Humidity, Pressure and Temperature Sensor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/6457c21fb5499f36fcf657d48dc4380e\",\"name\":\"yida\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/91a6af461a3a3af5aa79654f77822c7f?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/91a6af461a3a3af5aa79654f77822c7f?s=96&r=g\",\"caption\":\"yida\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/yida\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting started with BME280 - Humidity, Pressure and Temperature Sensor - Latest News from Seeed Studio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/","og_locale":"en_US","og_type":"article","og_title":"Getting started with BME280 - Humidity, Pressure and Temperature Sensor - Latest News from Seeed Studio","og_description":"The BME280 is an integrated environmental sensor by Bosch that measures humidity, pressure and temperature","og_url":"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2019-11-01T06:01:39+00:00","article_modified_time":"2020-11-16T09:51:11+00:00","og_image":[{"width":982,"height":296,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png","type":"image\/png"}],"author":"yida","twitter_card":"summary_large_image","twitter_misc":{"Written by":"yida","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/","url":"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/","name":"Getting started with BME280 - Humidity, Pressure and Temperature Sensor - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png","datePublished":"2019-11-01T06:01:39+00:00","dateModified":"2020-11-16T09:51:11+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/6457c21fb5499f36fcf657d48dc4380e"},"breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png","width":982,"height":296,"caption":"Getting started with BME280 - Humidity, Pressure and Temperature Sensor Getting started with BME280 - Humidity, Pressure and Temperature Sensor"},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/11\/01\/getting-started-with-bme280-humidity-pressure-and-temperature-sensor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Getting started with BME280 &#8211; Humidity, Pressure and Temperature Sensor"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/6457c21fb5499f36fcf657d48dc4380e","name":"yida","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/91a6af461a3a3af5aa79654f77822c7f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/91a6af461a3a3af5aa79654f77822c7f?s=96&r=g","caption":"yida"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/yida\/"}]}},"modified_by":"Gigi","views":53080,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png",982,296,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1-300x90.png",300,90,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1-768x231.png",640,193,true],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png",640,193,false],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png",982,296,false],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png",982,296,false],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png",32,10,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png",982,296,false],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png",936,282,false],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png",982,296,false],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png",720,217,false],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/11\/1.png",675,203,false]},"author_info":{"display_name":"yida","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/yida\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/25771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/2781"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=25771"}],"version-history":[{"count":8,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/25771\/revisions"}],"predecessor-version":[{"id":38303,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/25771\/revisions\/38303"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/25808"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=25771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=25771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=25771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}