ESP8266 BME280 Weather Station

Share on facebook
Share on google
Share on twitter
Share on linkedin
A VPN is an essential component of IT security, whether you’re just starting a business or are already up and running. Most business interactions and transactions happen online and VPN

One of our favorite new toys is the ESP8266 WiFi module. A very powerful microcontroller in it’s own right, it’s easily programmed with the Arduino IDE, and uses the same code we have come to know and love.

Now pushing data to web server!

So lets start:

We received a NodeMCU ESP8266 microcontroller and a BME280 Temperature / Humidity / Barometric Pressure module from IC Station.

Both the ESP8266 and the BME280 are 3.3v devices, so no level shifting required. The BME280 is an I2C device, so I connect SCL to D1 on the ESP8266, and SDA to D2. VCC goes to 3V3 and GND to GND. That’s it for wiring.

I need to add the ESP8266 to the Arduino IDE, so head over to for a quick tutorial.

You will need two libraries from Adafruit, both the BME280 and the Sensor libraries –

I used their example sketch, but modified the metric outputs to American, and added calculations for Dew Point and Heat Index.

Once the board is installed, you are ready to upload the modified sketch:

The output of the serial monitor should look like this:

Our next step with this is to push the data to our new IOT web / database server, with live charts, gauges, and database storage. Stay tuned!

Check out all our videos on Youtube!

Steve Spence

Steve Spence

Leave a Reply

9 thoughts on “ESP8266 BME280 Weather Station”

  1. Hi, I have a question. Why I get the temperature and pressure (without humidity) values only while using BMP280 librabry?! Using BME280 always give me the check wiring message.

Leave a Comment

Your email address will not be published. Required fields are marked *