Simple weather station

Raspberry Pi weather station with BMP280 sensor

Similar projects worth following
This is just a simple weather station, consisting of a BMP280 temperature-and-pressure-sensor and an LCD. Both components are connected via I2C bus, that goes directly to Pin 2 (SDA) and 3 (SCL) of the Raspberry Pi.

It is not tricky to assemble the parts (because the trick with the I2C is that you can just connect all SDA (Serial DAta) pins together and all SCL (Serial CLock) pins together and it usually works). Just make sure that you have the python libraries in the right directory and the I2C is enabled on your Raspberry Pi (the I2C Master). 

Of course you need a power supply as well. Display is supplied with 5V (VBUS). BMP280 is supplied with 3,3V (VCC), Pins SDO and CSB of the sensor are connected with VCC (here a soldered connection).

BMP280 tends to overshot (temperature) if it's exposed to direct sun radiation, so I would recommend to mount it at a rather shadowy place. The atmospheric pressure measurement is very delicate and accurate, as far as I can tell.

You can run an MQTT script simultaneously without any problems on the RasPi (for remote control).


Optional brightness sensor.

Adobe Portable Document Format - 1.89 MB - 10/22/2021 at 11:26


Adobe Portable Document Format - 885.90 kB - 09/07/2021 at 04:41



The sensor.

Adobe Portable Document Format - 236.61 kB - 09/07/2021 at 04:41


  • 1 × Raspberry Pi
  • 1 × BMP280 sensor
  • 1 × Display (LCD)
  • 1 × Wiring and connectors

View project log

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates