I2C Sensors Part Deux
I found my BME680 sensor module in the clutter on my workbench this week, so let's extend the previous project to include the additional features of the BME680. First we will need to wire it to the Pi. Since it has the same electrical interface, we can just pull the patch wires off the BMP280 and move them to the BME680. Once again, we have from the BME to the Pi: Vcc to 3V3 (1), SDA to SDA (3), SCL to SCL(5), and GND to GND (6). If you recall from the previous tutorial, there was some question of what the I2C bus address for the module would be, so once we get the hardware installed, we will probe the bus for addresses to make sure we know which one we got. In the case of my sensor pictured above: $ sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- --...