Forum / Guestbook

DLD Tue 19 Feb 2019 at 8:28:25
Raspberry Pi Barometric Pressure Air Pressure Sensor

Raspberry Pi Barometric Pressure Air Pressure Sensor

hmmm arduino
VCC i left unused, i used 3.3vdc connection

VCC i left unused, i used 3.3vdc connection
a low cost I2C (2wire communication) temperature and barometer PCB for arduino chicken coop door diplay

GY-68 300-1100hPa BOSCH BMP180 Temperature Module Atmospheric Pressure Sensor
BMP085 Instead of High Precision Low Power Consumption Temperature Output 8-pin LCC I2C Interface Lead Free

arduino code for i2c bmp180
returns this info in terminal screen in a continue stream
can stream this to the 20x4 I2C LCD screen of chicken display
altitude is not so usefull for the chicken

looks like temp resolution is 0.1 degree celsius
info as seen on terminal screen
hpa = hectopascal = milibar
Pressure: 1032.76 hPa
Temperature: 20.60 C
Altitude: -161.18 m

Pressure: 1032.74 hPa
Temperature: 20.60 C
Altitude: -161.02 m

1032 MiliBar == Fair weather

#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BMP085_U.h>
Adafruit_BMP085_Unified bmp = Adafruit_BMP085_Unified(10085);
void setup(void) 
  Serial.println("Pressure Sensor Test"); Serial.println("");
  /* Initialise the sensor */
    /* There was a problem detecting the BMP085 ... check your connections */
    Serial.print("Ooops, no BMP085 detected ... Check your wiring or I2C ADDR!");

void loop(void) 
  /* Get a new sensor event */ 
  sensors_event_t event;
  /* Display the results (barometric pressure is measure in hPa) */
  if (event.pressure)
    /* Display atmospheric pressue in hPa */
    Serial.print("Pressure:    ");
    Serial.println(" hPa");
    /* Calculating altitude with reasonable accuracy requires pressure    *
     * sea level pressure for your position at the moment the data is     *
     * converted, as well as the ambient temperature in degress           *
     * celcius.  If you don't have these values, a 'generic' value of     *
     * 1013.25 hPa can be used (defined as SENSORS_PRESSURE_SEALEVELHPA   *
     * in sensors.h), but this isn't ideal and will give variable         *
     * results from one day to the next.                                  *
     *                                                                    *
     * You can usually find the current SLP value by looking at weather   *
     * websites or from environmental information centers near any major  *
     * airport.                                                           *
     *                                                                    *
     * For example, for Paris, France you can check the current mean      *
     * pressure and sea level at:                   */
    /* First we get the current temperature from the BMP085 */
    float temperature;
    Serial.print("Temperature: ");
    Serial.println(" C");
    /* Then convert the atmospheric pressure, SLP and temp to altitude    */
    /* Update this next line with the current SLP for better results      */
    float seaLevelPressure = SENSORS_PRESSURE_SEALEVELHPA;
    Serial.print("Altitude:    "); 
    Serial.print(bmp.pressureToAltitude(seaL<wbr />evelPressure,
    Serial.println(" m");
    Serial.println("Sensor error");

BMP180 I2C Temp./Pressure sensor Interfacing in details | Arduino

Arduino Tutorial - How to read pressure with BMP180 sensor

Arduino Project - Weather Station - Temperature, Pressure, Humidity

16x2 LCD Thermometer

BMP180 air pressure sensor

Interface 16x2 LCD to arduino microcontroller board
SORRY no link = = sorry i would use a i2c lcd

DHT11(DHT22) temperature sensor interfacing with arduino

End of Message, Thanks For Viewing! ☺
Tip: if your watching on your phone or tablet ⁝ add / save to homescreen and you get a nice icon its Free!
Tip: on your computer or laptop do not forget to bookmark this page its Free!
BookMark ShortCut Keys press ctrl+d on your keyboard



Reply to this Message


, <code> <b> <i> <u> .

Did you like this Page id=252 ?

NO:         YES:


Design a Bit like ForumOne 4.0 WayBack 1999 ©
Always Read the Small print?! - -


thanks for your support
Thank You!

Co2 FootPrint WebServer

                         My Cheap Chinese Friend Ali     
Copyright Luberth Dijkman 2018 ... 2019