{"id":1518,"date":"2013-03-31T22:51:44","date_gmt":"2013-03-31T20:51:44","guid":{"rendered":"http:\/\/sickel.net\/blogg\/?p=1518"},"modified":"2013-04-04T12:42:01","modified_gmt":"2013-04-04T10:42:01","slug":"arduino-and-bmp085","status":"publish","type":"post","link":"http:\/\/sickel.net\/blogg\/?p=1518","title":{"rendered":"Arduino and BMP085"},"content":{"rendered":"<p>The BMP085 is a barometric and temperature sensor. I&#8217;ve got one on a breakout board from <a href=\"http:\/\/www.geeetech.com\/bmp085-breakoutbarometric-pressure-sensor-p-530.html\">geeetech<\/a>. Using this and an arduino, it is possible to build an electronic barometer.<\/p>\n<p>It can be connected to an arduino uno or nano:<\/p>\n<p>BMP &#8211; Arduino<br \/>\nVCC &#8211; 3.3V<br \/>\nGND &#8211; GND<br \/>\nSCL &#8211; A5<br \/>\nSDA &#8211; A4<\/p>\n<p>The sketch is originally written by Jim Lindblom at <a href=\"https:\/\/www.sparkfun.com\/\">SparkFun Electronics<\/a>, I updated it slightly to be able to use a more up to date wire library. <a href=\"http:\/\/sickel.net\/blogg\/wp-content\/2013\/03\/BMP085.zip\">BMP085<\/a>.<\/p>\n<p>This will report the temperature and barometric pressure (in Pascal) on the serial port. It is also possible to combine this with a DHT11 (or DHT21 \/ DHT22) sensor to also get a humidity reading. See <a href=\"https:\/\/github.com\/sickel\/DHT_BMP085\">https:\/\/github.com\/sickel\/DHT_BMP085<\/a>. The DHT has to be connected to +5 and gnd, signal to port D2 on the arduino. The DHT library can be downloaded from <a href=\"http:\/\/playground.arduino.cc\/Main\/DHTLib\">arduino.cc<\/a>. <\/p>\n<div id=\"attachment_1535\" style=\"width: 810px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/sickel.net\/blogg\/wp-content\/2013\/03\/IMGP0006.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1535\" data-attachment-id=\"1535\" data-permalink=\"http:\/\/sickel.net\/blogg\/?attachment_id=1535\" data-orig-file=\"http:\/\/sickel.net\/blogg\/wp-content\/2013\/03\/IMGP0006.jpg\" data-orig-size=\"800,533\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;6.7&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;PENTAX K20D&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1364934504&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;55&quot;,&quot;iso&quot;:&quot;1600&quot;,&quot;shutter_speed&quot;:&quot;0.05&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"&amp;#8220;Weather station&amp;#8221;\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Arduino nano, DHT11 temperature and humidity sensor,BMP085 temperature and pressure sensor.&lt;\/p&gt;\n\" data-large-file=\"http:\/\/sickel.net\/blogg\/wp-content\/2013\/03\/IMGP0006.jpg\" src=\"http:\/\/sickel.net\/blogg\/wp-content\/2013\/03\/IMGP0006.jpg\" alt=\"Arduino nano, DHT11 temperature and humidity sensor,BMP085 temperature and pressure sensor.\" width=\"800\" height=\"533\" class=\"size-full wp-image-1535\" srcset=\"http:\/\/sickel.net\/blogg\/wp-content\/2013\/03\/IMGP0006.jpg 800w, http:\/\/sickel.net\/blogg\/wp-content\/2013\/03\/IMGP0006-300x199.jpg 300w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><p id=\"caption-attachment-1535\" class=\"wp-caption-text\">Arduino nano, DHT11 temperature and humidity sensor (blue &#8211; at top),BMP085 temperature and pressure sensor (red &#8211; at bottom).<\/p><\/div>\n<p>This work has been done in Arduino 1.0.1 on a debian system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The BMP085 is a barometric and temperature sensor. I&#8217;ve got one on a breakout board from geeetech. Using this and an arduino, it is possible to build an electronic barometer. It can be connected to an arduino uno or nano: &hellip; <a href=\"http:\/\/sickel.net\/blogg\/?p=1518\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","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":[33],"tags":[],"class_list":["post-1518","post","type-post","status-publish","format-standard","hentry","category-arduino"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnVtD-ou","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts\/1518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1518"}],"version-history":[{"count":15,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts\/1518\/revisions"}],"predecessor-version":[{"id":1542,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts\/1518\/revisions\/1542"}],"wp:attachment":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1518"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}