 #include <OneWire.h>
 #include <DallasTemperature.h>
 #include <dht.h>
-#include <Adafruit_Sensor.h>
-#include <Adafruit_BMP085_U.h>
+#include <Adafruit_BMP280.h>
 #include <LowPower.h>
 #include <SPI.h>
 #include "RF24.h"
 
 /* configuration for DS18B20, DHT22 and NRF24L01
-The BMP180 must be connected to the I2C interface */
+The BMP280 must be connected to the I2C interface */
 #define ONE_WIRE_PIN 4  // DS18B20
 #define DHT22_PIN 3   // DHT22
 #define CS_PIN 7  // chip select for NRF24L01
 #define CE_PIN 8  // chip enable for NRF24L01
 const uint64_t address = 0xF1F2F3F4E1LL;  // address for NRF24L01 (randomly chosen)
 
-// create entitis for the sensors and the RF24
+// create entitis for the sensors and RF24
 OneWire oneWire(ONE_WIRE_PIN);
 DallasTemperature sensors(&oneWire);
 dht DHT;
-Adafruit_BMP085_Unified bmp = Adafruit_BMP085_Unified(10085);
+Adafruit_BMP280 bmp;
 RF24 radio(CS_PIN, CE_PIN);
 
-void setup(){
+void setup() {
     // initialize the BMP180
-    bmp.begin();
-    sensor_t sensor;
-    bmp.getSensor(&sensor);
-    sensors.begin();
+    bmp.begin(0x76);
 
     // initialize RF24
     radio.begin();

    radio.openWritingPipe(address);
}

void loop(){ 
  // read temperature (DS18S20) 
  sensors.requestTemperatures();
  float temperature = sensors.getTempCByIndex(0);

  uint32_t stop = micros();
  float humidity = DHT.humidity;

  // read pressure (BMP280)
  float pressure = bmp.readPressure() / 100;  //Pa -> hPa

  // convert floats to one string
  static char temperaturestr[10];
