Raspberry Pi4 weather station using DFRobot BME28

I’m trying to build a weather station on a Raspberry Pi4 with a DFRobot BME280 using the ‘Raspberry Pi Foundation: Build your own weather station’ project but not having any success…

IDLE 3 is returning an error(s) however I’m not even sure if the sensor is Pi4 compatible

3 Likes

Hi Greg,

Have you enabled I2C in raspi-config?

Have you verified that the BME280 has pullup resistors?

What’s the output of cat /proc/modules?

Keen to get to the bottom of this one!

2 Likes

Thanks for that.

Enabling 12C in ‘raspi-config’ did the trick!

Much appreciated
Greg

2 Likes

Hi Greg,

Thanks for posting on the forum. Fantastic, glad to hear that you’ve got it working. While I’m here, figured I may as well plug a couple of I2C tutorials for anyone reading this in the future with questions about I2C

https://learn.sparkfun.com/tutorials/i2c/all

1 Like