{"id":27200,"date":"2016-10-14T09:38:26","date_gmt":"2016-10-14T09:38:26","guid":{"rendered":"http:\/\/randomnerdtutorials.com\/?p=27200"},"modified":"2019-04-02T10:23:30","modified_gmt":"2019-04-02T10:23:30","slug":"guide-for-bmp180-barometric-sensor-with-arduino","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/guide-for-bmp180-barometric-sensor-with-arduino\/","title":{"rendered":"Guide for BMP180 Barometric Sensor with Arduino"},"content":{"rendered":"<p>This post is about how to use the BMP180 barometric sensor with the Arduino. It is also applicable for\u00a0other similar barometric sensors.<\/p>\n<p><!--more--><\/p>\n<h2>Introducing the BMP180 barometric sensor<\/h2>\n<p>The<a href=\"https:\/\/makeradvisor.com\/tools\/bmp180-barometric-sensor\/\" target=\"_blank\" rel=\"noopener noreferrer\"> BMP180 barometric sensor<\/a> (model GY-68) is the one in \u00a0the following figure (front and back view). It is a very small module\u00a0with 1mm x 1.1mm (0.039in x 0.043in).<\/p>\n<p><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-27203 size-full\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/sensor-1-e1476437557395.png?resize=582%2C340&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"sensor\" width=\"582\" height=\"340\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/sensor-1-e1476437557395.png?w=582&amp;quality=100&amp;strip=all&amp;ssl=1 582w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/sensor-1-e1476437557395.png?resize=150%2C88&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/sensor-1-e1476437557395.png?resize=300%2C175&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/sensor-1-e1476437557395.png?resize=80%2C47&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/sensor-1-e1476437557395.png?resize=220%2C129&amp;quality=100&amp;strip=all&amp;ssl=1 220w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/sensor-1-e1476437557395.png?resize=171%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 171w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/sensor-1-e1476437557395.png?resize=257%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 257w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/sensor-1-e1476437557395.png?resize=407%2C238&amp;quality=100&amp;strip=all&amp;ssl=1 407w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/p>\n<p>It measures the absolute pressure of the air around it. It has a measuring range from 300 to 1100hPa with an accuracy down to 0.02 hPa. It can also measure altitude and temperature.<\/p>\n<p>The BMP180 barometric sensor communicates via I2C interface. This means that it communicates with the Arduino using just 2 pins.<\/p>\n<h2>Where to buy?<\/h2>\n<p>This sensor is very cheap. You can buy one for approximately $3. Find the best price on <a href=\"https:\/\/makeradvisor.com\/tools\/bmp180-barometric-sensor\/\" target=\"_blank\" rel=\"noopener noreferrer\">Maker Advisor<\/a>.<\/p>\n<p>You can use the preceding links or go directly to <a href=\"https:\/\/makeradvisor.com\/tools\/?utm_source=rnt&utm_medium=post&utm_campaign=post\" target=\"_blank\">MakerAdvisor.com\/tools<\/a> to find all the parts for your projects at the best price!<\/p><p style=\"text-align:center;\"><a href=\"https:\/\/makeradvisor.com\/tools\/?utm_source=rnt&utm_medium=post&utm_campaign=post\" target=\"_blank\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/10\/header-200.png?w=1200&#038;quality=100&#038;strip=all&#038;ssl=1\"><\/a><\/p>\n<h2>Pin wiring<\/h2>\n<p>Wiring the sensor to the Arduino is pretty straightforward:<\/p>\n<table style=\"height: 248px;\" width=\"335\">\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Pin<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>Wiring to Arduino Uno<\/strong><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Vin<\/span><\/td>\n<td><span style=\"font-weight: 400;\">5V<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><span style=\"font-weight: 400;\">GND<\/span><\/td>\n<td style=\"text-align: left;\"><span style=\"font-weight: 400;\">GND<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">SCL<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A5<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">SDA<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A4<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Schematics<\/h2>\n<p>Wire your sensor to the Arduino as shown in the schematics below.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter size-full wp-image-27332\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/bmp180-barometris-sensor_bb.png?resize=700%2C432&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"bmp180-barometris-sensor_bb\" width=\"700\" height=\"432\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/bmp180-barometris-sensor_bb.png?w=700&amp;quality=100&amp;strip=all&amp;ssl=1 700w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/bmp180-barometris-sensor_bb.png?resize=150%2C93&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/bmp180-barometris-sensor_bb.png?resize=300%2C185&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/bmp180-barometris-sensor_bb.png?resize=80%2C49&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/bmp180-barometris-sensor_bb.png?resize=220%2C136&amp;quality=100&amp;strip=all&amp;ssl=1 220w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/bmp180-barometris-sensor_bb.png?resize=162%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 162w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/bmp180-barometris-sensor_bb.png?resize=243%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 243w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/bmp180-barometris-sensor_bb.png?resize=386%2C238&amp;quality=100&amp;strip=all&amp;ssl=1 386w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/bmp180-barometris-sensor_bb.png?resize=672%2C415&amp;quality=100&amp;strip=all&amp;ssl=1 672w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<h2>Code<\/h2>\n<p>To control the BMP180 barometric sensor, you need to install the\u00a0<strong>SFE_BMP180 Library.<\/strong><\/p>\n<h3><strong>Installing the SFE_BMP180 Library<\/strong><\/h3>\n<ol>\n<li><a href=\"https:\/\/github.com\/sparkfun\/BMP180_Breakout_Arduino_Library\/archive\/master.zip\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to download the SFE_BMP180 library<\/a>. You should have a .zip folder in your Downloads folder<\/li>\n<li>Unzip the .zip folder and you should get\u00a0<strong>BMP180_Breakout_Arduino_Library-master<\/strong> folder<\/li>\n<li>Rename your folder from <del><strong>BMP180_Breakout_Arduino_Library-master<\/strong><\/del>\u00a0to <strong>BMP180_Breakout_Arduino_Library<\/strong><strong>\u00a0<\/strong><\/li>\n<li>Move the <strong>BMP180_Breakout_Arduino_Library\u00a0<\/strong>folder to your Arduino IDE installation libraries folder<\/li>\n<li>Finally, re-open your Arduino IDE<\/li>\n<\/ol>\n<p>Go to <span style=\"color: #999999;\">File &gt; Examples &gt;SparkfunBMP180 &gt; SFE_BMP180_example<span style=\"color: #000000;\">.<\/span><\/span><\/p>\n<p>This example is very well commented and explained on how the sensor reads the pressure, temperature and computes the altitude.<\/p>\n<pre style=\"max-height: 40em; margin-bottom: 20px;\"><code class=\"language-c\">\/* SFE_BMP180 library example sketch\n\nThis sketch shows how to use the SFE_BMP180 library to read the\nBosch BMP180 barometric pressure sensor.\nhttps:\/\/www.sparkfun.com\/products\/11824\n\nLike most pressure sensors, the BMP180 measures absolute pressure.\nThis is the actual ambient pressure seen by the device, which will\nvary with both altitude and weather.\n\nBefore taking a pressure reading you must take a temparture reading.\nThis is done with startTemperature() and getTemperature().\nThe result is in degrees C.\n\nOnce you have a temperature reading, you can take a pressure reading.\nThis is done with startPressure() and getPressure().\nThe result is in millibar (mb) aka hectopascals (hPa).\n\nIf you'll be monitoring weather patterns, you will probably want to\nremove the effects of altitude. This will produce readings that can\nbe compared to the published pressure readings from other locations.\nTo do this, use the sealevel() function. You will need to provide\nthe known altitude at which the pressure was measured.\n\nIf you want to measure altitude, you will need to know the pressure\nat a baseline altitude. This can be average sealevel pressure, or\na previous pressure reading at your altitude, in which case\nsubsequent altitude readings will be + or - the initial baseline.\nThis is done with the altitude() function.\n\nHardware connections:\n\n- (GND) to GND\n+ (VDD) to 3.3V\n\n(WARNING: do not connect + to 5V or the sensor will be damaged!)\n\nYou will also need to connect the I2C pins (SCL and SDA) to your\nArduino. The pins are different on different Arduinos:\n\nAny Arduino pins labeled:  SDA  SCL\nUno, Redboard, Pro:        A4   A5\nMega2560, Due:             20   21\nLeonardo:                   2    3\n\nLeave the IO (VDDIO) pin unconnected. This pin is for connecting\nthe BMP180 to systems with lower logic levels such as 1.8V\n\nHave fun! -Your friends at SparkFun.\n\nThe SFE_BMP180 library uses floating-point equations developed by the\nWeather Station Data Logger project: http:\/\/wmrx00.sourceforge.net\/\n\nOur example code uses the &quot;beerware&quot; license. You can do anything\nyou like with this code. No really, anything. If you find it useful,\nbuy me a beer someday.\n\nV10 Mike Grusin, SparkFun Electronics 10\/24\/2013\n*\/\n\n\/\/ Your sketch must #include this library, and the Wire library.\n\/\/ (Wire is a standard library included with Arduino.):\n\n#include &lt;SFE_BMP180.h&gt;\n#include &lt;Wire.h&gt;\n\n\/\/ You will need to create an SFE_BMP180 object, here called &quot;pressure&quot;:\n\nSFE_BMP180 pressure;\n\n#define ALTITUDE 1655.0 \/\/ Altitude of SparkFun's HQ in Boulder, CO. in meters\n\nvoid setup()\n{\n  Serial.begin(9600);\n  Serial.println(&quot;REBOOT&quot;);\n\n  \/\/ Initialize the sensor (it is important to get calibration values stored on the device).\n\n  if (pressure.begin())\n    Serial.println(&quot;BMP180 init success&quot;);\n  else\n  {\n    \/\/ Oops, something went wrong, this is usually a connection problem,\n    \/\/ see the comments at the top of this sketch for the proper connections.\n\n    Serial.println(&quot;BMP180 init fail\\n\\n&quot;);\n    while(1); \/\/ Pause forever.\n  }\n}\n\nvoid loop()\n{\n  char status;\n  double T,P,p0,a;\n\n  \/\/ Loop here getting pressure readings every 10 seconds.\n\n  \/\/ If you want sea-level-compensated pressure, as used in weather reports,\n  \/\/ you will need to know the altitude at which your measurements are taken.\n  \/\/ We're using a constant called ALTITUDE in this sketch:\n  \n  Serial.println();\n  Serial.print(&quot;provided altitude: &quot;);\n  Serial.print(ALTITUDE,0);\n  Serial.print(&quot; meters, &quot;);\n  Serial.print(ALTITUDE*3.28084,0);\n  Serial.println(&quot; feet&quot;);\n  \n  \/\/ If you want to measure altitude, and not pressure, you will instead need\n  \/\/ to provide a known baseline pressure. This is shown at the end of the sketch.\n\n  \/\/ You must first get a temperature measurement to perform a pressure reading.\n  \n  \/\/ Start a temperature measurement:\n  \/\/ If request is successful, the number of ms to wait is returned.\n  \/\/ If request is unsuccessful, 0 is returned.\n\n  status = pressure.startTemperature();\n  if (status != 0)\n  {\n    \/\/ Wait for the measurement to complete:\n    delay(status);\n\n    \/\/ Retrieve the completed temperature measurement:\n    \/\/ Note that the measurement is stored in the variable T.\n    \/\/ Function returns 1 if successful, 0 if failure.\n\n    status = pressure.getTemperature(T);\n    if (status != 0)\n    {\n      \/\/ Print out the measurement:\n      Serial.print(&quot;temperature: &quot;);\n      Serial.print(T,2);\n      Serial.print(&quot; deg C, &quot;);\n      Serial.print((9.0\/5.0)*T+32.0,2);\n      Serial.println(&quot; deg F&quot;);\n      \n      \/\/ Start a pressure measurement:\n      \/\/ The parameter is the oversampling setting, from 0 to 3 (highest res, longest wait).\n      \/\/ If request is successful, the number of ms to wait is returned.\n      \/\/ If request is unsuccessful, 0 is returned.\n\n      status = pressure.startPressure(3);\n      if (status != 0)\n      {\n        \/\/ Wait for the measurement to complete:\n        delay(status);\n\n        \/\/ Retrieve the completed pressure measurement:\n        \/\/ Note that the measurement is stored in the variable P.\n        \/\/ Note also that the function requires the previous temperature measurement (T).\n        \/\/ (If temperature is stable, you can do one temperature measurement for a number of pressure measurements.)\n        \/\/ Function returns 1 if successful, 0 if failure.\n\n        status = pressure.getPressure(P,T);\n        if (status != 0)\n        {\n          \/\/ Print out the measurement:\n          Serial.print(&quot;absolute pressure: &quot;);\n          Serial.print(P,2);\n          Serial.print(&quot; mb, &quot;);\n          Serial.print(P*0.0295333727,2);\n          Serial.println(&quot; inHg&quot;);\n\n          \/\/ The pressure sensor returns abolute pressure, which varies with altitude.\n          \/\/ To remove the effects of altitude, use the sealevel function and your current altitude.\n          \/\/ This number is commonly used in weather reports.\n          \/\/ Parameters: P = absolute pressure in mb, ALTITUDE = current altitude in m.\n          \/\/ Result: p0 = sea-level compensated pressure in mb\n\n          p0 = pressure.sealevel(P,ALTITUDE); \/\/ we're at 1655 meters (Boulder, CO)\n          Serial.print(&quot;relative (sea-level) pressure: &quot;);\n          Serial.print(p0,2);\n          Serial.print(&quot; mb, &quot;);\n          Serial.print(p0*0.0295333727,2);\n          Serial.println(&quot; inHg&quot;);\n\n          \/\/ On the other hand, if you want to determine your altitude from the pressure reading,\n          \/\/ use the altitude function along with a baseline pressure (sea-level or other).\n          \/\/ Parameters: P = absolute pressure in mb, p0 = baseline pressure in mb.\n          \/\/ Result: a = altitude in m.\n\n          a = pressure.altitude(P,p0);\n          Serial.print(&quot;computed altitude: &quot;);\n          Serial.print(a,0);\n          Serial.print(&quot; meters, &quot;);\n          Serial.print(a*3.28084,0);\n          Serial.println(&quot; feet&quot;);\n        }\n        else Serial.println(&quot;error retrieving pressure measurement\\n&quot;);\n      }\n      else Serial.println(&quot;error starting pressure measurement\\n&quot;);\n    }\n    else Serial.println(&quot;error retrieving temperature measurement\\n&quot;);\n  }\n  else Serial.println(&quot;error starting temperature measurement\\n&quot;);\n\n  delay(5000);  \/\/ Pause for 5 seconds.\n}\n<\/code><\/pre>\n\t<p style=\"text-align:center\"><a class=\"rntwhite\" href=\"https:\/\/github.com\/RuiSantosdotme\/Random-Nerd-Tutorials\/raw\/master\/Projects\/SFE_BMP180_example.ino\" target=\"_blank\">View raw code<\/a><\/p>\n<h3>Set the altitude<\/h3>\n<p>Before uploading the code, you need to set up your current altitude.\u00a0Go to <a href=\"http:\/\/elevationmap.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">elevationmap.net<\/a>, insert your address and check your altitude&#8217;s location. Set your altitude in the code. The place where you should write your altitude is commented.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter size-full wp-image-27340\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/set-the-altitude-1.png?resize=590%2C38&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"set-the-altitude\" width=\"590\" height=\"38\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/set-the-altitude-1.png?w=590&amp;quality=100&amp;strip=all&amp;ssl=1 590w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/set-the-altitude-1.png?resize=150%2C10&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/set-the-altitude-1.png?resize=300%2C19&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/set-the-altitude-1.png?resize=80%2C5&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/set-the-altitude-1.png?resize=220%2C14&amp;quality=100&amp;strip=all&amp;ssl=1 220w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/set-the-altitude-1.png?resize=250%2C16&amp;quality=100&amp;strip=all&amp;ssl=1 250w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/set-the-altitude-1.png?resize=280%2C18&amp;quality=100&amp;strip=all&amp;ssl=1 280w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/set-the-altitude-1.png?resize=510%2C33&amp;quality=100&amp;strip=all&amp;ssl=1 510w\" sizes=\"(max-width: 590px) 100vw, 590px\" \/><\/p>\n<h2>Demonstration<\/h2>\n<p>After uploading the code, open your serial monitor at a baud rate of 9600.<\/p>\n<p>You&#8217;ll be able to see your sensor readings.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-27335\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/serial-monitor.png?resize=429%2C231&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"serial-monitor\" width=\"429\" height=\"231\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/serial-monitor.png?w=429&amp;quality=100&amp;strip=all&amp;ssl=1 429w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/serial-monitor.png?resize=150%2C81&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/serial-monitor.png?resize=300%2C162&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/serial-monitor.png?resize=80%2C43&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/serial-monitor.png?resize=220%2C118&amp;quality=100&amp;strip=all&amp;ssl=1 220w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/serial-monitor.png?resize=186%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 186w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/serial-monitor.png?resize=280%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 280w\" sizes=\"(max-width: 429px) 100vw, 429px\" \/><\/p>\n<h2>Wrapping up<\/h2>\n<p>The BMP180 is an interesting sensor to be used in your own weather station.<\/p>\n<p>Because the pressure changes with the altitude, this sensor is also able to compute the altitude.<\/p>\n<p>If you would like to build a complete weather station, here&#8217;s some recommended guides:<\/p>\n<ul>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/guide-for-ds18b20-temperature-sensor-with-arduino\/\" target=\"_blank\" rel=\"noopener noreferrer\">Guide for DS18B20 Temperature Sensor with Arduino<\/a><\/li>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/complete-guide-for-dht11dht22-humidity-and-temperature-sensor-with-arduino\/\" target=\"_blank\" rel=\"noopener noreferrer\">Complete Guide for DHT11\/DHT22 Humidity and Temperature Sensor With Arduino<\/a><\/li>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/guide-for-rain-sensor-fc-37-or-yl-83-with-arduino\/\" target=\"_blank\" rel=\"noopener noreferrer\">Guide for Rain Sensor FC-37 or YL-83 with Arduino<\/a><\/li>\n<li><a href=\"https:\/\/randomnerdtutorials.com\/guide-for-soil-moisture-sensor-yl-69-or-hl-69-with-the-arduino\/\" target=\"_blank\" rel=\"noopener noreferrer\">Guide for Soil Moisture Sensor YL-69 or HL-69 with Arduino<\/a><\/li>\n<\/ul>\n<p>What other sensors do you found useful in a weather station?Let me know in the comments section below.<\/p>\n<p>Thanks for reading<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post is about how to use the BMP180 barometric sensor with the Arduino. It is also applicable for\u00a0other similar barometric sensors.<\/p>\n","protected":false},"author":1,"featured_media":27338,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[267,2,302,269,230,264],"tags":[],"class_list":["post-27200","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino-project","category-arduino","category-0-guide","category-guide-project","category-guide","category-project"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/DSC09407.jpg?fit=700%2C458&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/27200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=27200"}],"version-history":[{"count":0,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/27200\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/27338"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=27200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=27200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=27200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}