Skip to content
Discussion options

You must be logged in to vote

I adapted am early Adafruit driver: https://github.com/robert-hh/BME280. It supports both I2C and SPI.
The BME280 works well. In a test of various sensors, the temperature and pressure values were always be similar within the given error range. Only the humidity values varied a lot. These difference got smaller after keeping the sensors at the same place for several months.
The wire lengths for I2C and SPI are meant to be short, less than 30cm. You can extend that by lowering the clock rate and for I2C by making the pull-up resistor as small as possible, down to about 1k Ohm. The data sheet does not tell how much current a BME280 can source or sink. At 1k it would be ~3mA. You may use low…

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@GM-Script-Writer-62850
Comment options

@GM-Script-Writer-62850
Comment options

@robert-hh
Comment options

@GM-Script-Writer-62850
Comment options

@robert-hh
Comment options

Answer selected by GM-Script-Writer-62850
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants