Arduino BME280 Weather Station

Home/Arduino Projects/Arduino BME280 Weather Station

Arduino BME280 Weather Station

In this Arduino Project video we are going to build a simple Arduino BME280 weather station using a BME280 sensor and an LCD shield. Let’s get started!

Arduino BME280 Weather Station project

Hello guys, I am Nick and welcome to educ8s.tv a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. Today we are going to take a first look at the new BME280 sensor, a new very interesting sensor. We are going to build a simple but very accurate weather station project. I have built a similar project 2 years ago, using different sensors. Now that we have a new sensor available which makes things easier, it’s time to update the project. As you can see, on the LCD display we can see the temperature, the humidity and the barometric pressure. The readings are updated every two seconds. This is a very easy project to build so it is ideal for beginners! Let’s build it!

The parts needed in order to build this project are the following:

——————–
WHERE TO BUY
——————–

Arduino Mega: http://bit.ly/ArduinoMega

LCD Shield: http://bit.ly/ArduinoKeypadDisplay

BME280 Sensor: http://bit.ly/bme280

3 in 1 wires: http://bit.ly/Wires3InOne

Power Bank: http://bit.ly/PowerBank_XiaoMi

Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!

Let’s connect the parts. At first let’s take a quick look at the new BME280 sensor. The sensor is very small, and it can measure temperature, humidity and barometric pressure! Great! The cost of the sensor is about 5$. So far, in our weather station projects we were using the BMP180 sensor which can measure temperature and pressure but not humidity. There is also the BMP280 sensor which does not offer humidity measurements, so be careful when ordering the sensor, we need the BME280 sensor. The board I have bought uses the I2C interface, so we only need to connect the 4 wires to make it work.

Let’s connect the sensor to Arduino. We are using the Arduino Mega today but you can use the Arduino Uno as well if you solder some header pins to your LCD shield. The Arduino Mega make things easier for beginners. So, we connect the LCD shield to the Arduino Mega like this. Then we connect the Vin pin of the sensor to the Arduino Mega 5V output here. Next we connect the GND pin of the sensor to the Arduino Mega GND. The next step is to connect the SCL pin of the sensor to the SCL pin of the Arduino Mega, and the SDA pin of the sensor to the SDA pin of the Arduino Mega. That’s it, if we load the code and power up the project we can see that after 2 seconds the readings from the sensor are displayed on the screen. Our project is ready! You can now build your own enclosure for it, and you have a very accurate weather station! Let’s now take a look at the code of the project.

The code of the Arduino BME280 weather station project uses 3 libraries. We need to download 2 of them, since the 3rd one is already installed with the Arduino IDE. We need to download the Adafruit BME280 library and the Adafruit Sensor library. Let’s see how to install the BME280 library. We visit the library website and we download it by clicking here. We unzip it in our Arduino Libraries folder and we rename it like this. We follow the same procedure with the Sensor Library as well.

——————–

LIBRARIES
——————–

📥 BME 280: https://github.com/adafruit/Adafruit_BME280_Library

📥 Sensor Library: https://github.com/adafruit/Adafruit_Sensor

That’s today’s project. An Arduino BME280 Weather Station project with the new BME280 sensor. The new BME280 sensor is very easy to use since it uses the I2C interface. I am going to use it a lot in the future projects because it offers temperature, humidity and pressure sensors in one package.

——————–

CODE OF THE PROJECT
——————–

Download

 

 

 

——————–

SUBSCRIBE ON YOUTUBE

——————–

Never miss a video: Subscribe to educ8s.tv[/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]

2017-03-28T12:44:43+00:00
Close