{"id":2778,"date":"2016-01-05T00:34:05","date_gmt":"2016-01-04T22:34:05","guid":{"rendered":"http:\/\/www.Devrearsivi.com\/?p=2778"},"modified":"2016-01-05T00:49:50","modified_gmt":"2016-01-04T22:49:50","slug":"bmp180-ile-sicaklik-ve-basinc-olcumu","status":"publish","type":"post","link":"https:\/\/devrearsivi.com\/bmp180-ile-sicaklik-ve-basinc-olcumu\/","title":{"rendered":"BMP180 ile S\u0131cakl\u0131k ve Bas\u0131n\u00e7 \u00d6l\u00e7\u00fcm\u00fc"},"content":{"rendered":"

Bu sens\u00f6r BMP085 sens\u00f6r\u00fcn\u00fcn geli\u015fmi\u015f versiyonudur.<\/span> BOSCH firmas\u0131 eski sens\u00f6r\u00fcn \u00fcretimini durdurmu\u015ftur. \u015euanda piyasada BMP180 vard\u0131r. Bu sens\u00f6r\u00fcn kullan\u0131lmas\u0131 ile eski sens\u00f6r\u00fcn kullan\u0131m\u0131 tamamen ayn\u0131d\u0131r.<\/p>\n

Ama k\u00fc\u00e7\u00fck bir eklemem yapmak istiyorum anlayamad\u0131\u011f\u0131m BMP085 i\u00e7in kullan\u0131lan k\u00fct\u00fcphane BMP180 de hata \u00e7\u0131karmas\u0131 . Bundan dolay\u0131 altta indirebilece\u011finiz k\u00fct\u00fcphaneyi koydum k\u00fct\u00fcphanenin i\u00e7erisinde bir adet \u00f6rnek program vard\u0131r . Program\u0131 kurarken g\u00f6recceksiniz hala k\u00fct\u00fcphane i\u00e7inde dahi BMP085 kullan\u0131l\u0131yor bundan dolay\u0131 teredd\u00fcte d\u00fc\u015fmeden program\u0131 y\u00fckleyin. Art\u0131k kullan\u0131ma haz\u0131r olacakt\u0131r.<\/p>\n

BMP180 , 5 volt yerine 3.3Volt ile \u00e7al\u0131\u015fmaktad\u0131r.<\/p>\n

 <\/p>\n

\"BMP-180-ARDUINO-BAGLANTI\"<\/p>\n

 <\/p>\n

\u00d6RNEK PRO\u011eRAM.<\/p>\n

#include <Wire.h>
\n#include <Adafruit_BMP085.h>\/***************************************************
\nThis is an example for the BMP085 Barometric Pressure & Temp SensorDesigned specifically to work with the Adafruit BMP085 Breakout<\/p>\n

These displays use I2C to communicate, 2 pins are required to
\ninterface
\nAdafruit invests time and resources providing this open source code,
\nplease support Adafruit and open-source hardware by purchasing
\nproducts from Adafruit!<\/p>\n

Written by Limor Fried\/Ladyada for Adafruit Industries.
\nBSD license, all text above must be included in any redistribution
\n****************************************************\/<\/p>\n

\/\/ Connect VCC of the BMP085 sensor to 3.3V (NOT 5.0V!)
\n\/\/ Connect GND to Ground
\n\/\/ Connect SCL to i2c clock – on ‘168\/’328 Arduino Uno\/Duemilanove\/etc thats Analog 5
\n\/\/ Connect SDA to i2c data – on ‘168\/’328 Arduino Uno\/Duemilanove\/etc thats Analog 4
\n\/\/ EOC is not used, it signifies an end of conversion
\n\/\/ XCLR is a reset pin, also not used here<\/p>\n

Adafruit_BMP085 bmp;<\/p>\n

void setup() {
\nSerial.begin(9600);
\nif (!bmp.begin()) {
\nSerial.println(“Could not find a valid BMP085 sensor, check wiring!”);
\nwhile (1) {}
\n}
\n}<\/p>\n

void loop() {
\nSerial.print(“SICAKLIK = “);
\nSerial.print(bmp.readTemperature());
\nSerial.println(” *C”);<\/p>\n

Serial.print(“Basinc = “);
\nSerial.print(bmp.readPressure());
\nSerial.println(” Pa”);<\/p>\n

\/\/ Calculate altitude assuming ‘standard’ barometric
\n\/\/ pressure of 1013.25 millibar = 101325 Pascal
\nSerial.print(“Altitude = “);
\nSerial.print(bmp.readAltitude());
\nSerial.println(” metre”);<\/p>\n

Serial.print(“Pressure at sealevel (calculated) = “);
\nSerial.print(bmp.readSealevelPressure());
\nSerial.println(” Pa”);<\/p>\n

\/\/ you can get a more precise measurement of altitude
\n\/\/ if you know the current sea level pressure which will
\n\/\/ vary with weather and such. If it is 1015 millibars
\n\/\/ that is equal to 101500 Pascals.
\nSerial.print(“Real altitude = “);
\nSerial.print(bmp.readAltitude(101500));
\nSerial.println(” metre”);<\/p>\n

Serial.println();
\ndelay(2000);
\n}<\/p>\n<\/div>\n

<\/div>\n
<\/div>\n
\"devrearsiv-indir\"<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"

Bu sens\u00f6r BMP085 sens\u00f6r\u00fcn\u00fcn geli\u015fmi\u015f versiyonudur. BOSCH firmas\u0131 eski sens\u00f6r\u00fcn \u00fcretimini durdurmu\u015ftur. \u015euanda piyasada BMP180…<\/p>\n","protected":false},"author":1,"featured_media":2779,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1062,1075],"tags":[1063,1072,1074,1073],"aioseo_notices":[],"featured_image_urls":{"full":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180.jpg",1266,565,false],"thumbnail":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180-150x150.jpg",150,150,true],"medium":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180-300x134.jpg",300,134,true],"medium_large":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180.jpg",640,286,false],"large":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180-1024x457.jpg",640,286,true],"1536x1536":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180.jpg",1266,565,false],"2048x2048":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180.jpg",1266,565,false],"covernews-slider-full":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180.jpg",1115,498,false],"covernews-slider-center":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180.jpg",800,357,false],"covernews-featured":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180.jpg",1024,457,false],"covernews-medium":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180.jpg",540,241,false],"covernews-medium-square":["https:\/\/devrearsivi.com\/wp-content\/uploads\/2016\/01\/bmp180.jpg",400,179,false]},"author_info":{"display_name":"Ferhat \u00c7elik","author_link":"https:\/\/devrearsivi.com\/author\/94ferhat\/"},"category_info":"Arduino Devreler<\/a> Arduino Mod\u00fcller<\/a>","tag_info":"Arduino Mod\u00fcller","comment_count":"7","_links":{"self":[{"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/posts\/2778"}],"collection":[{"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/comments?post=2778"}],"version-history":[{"count":9,"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/posts\/2778\/revisions"}],"predecessor-version":[{"id":2807,"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/posts\/2778\/revisions\/2807"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/media\/2779"}],"wp:attachment":[{"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/media?parent=2778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/categories?post=2778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devrearsivi.com\/wp-json\/wp\/v2\/tags?post=2778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}