From the course: Raspberry Pi: GPIO

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Connect the BME280 via I2C

Connect the BME280 via I2C

From the course: Raspberry Pi: GPIO

Start my 1-month free trial

Connect the BME280 via I2C

- [Instructor] In the last video, we connected the Raspberry Pi to the breaboard and the PCA 9685. Now, let's connect the BME 280. You'll remember how in the SPI chapter we connected the BME 280 via SPI. The version of the BME 280 I've purchased supports both SPI and I squared C. Not all devices have both SPI and I squared C. To connect the BME 280 with I squared C, start with the red power line connected to VCC. Check to make sure you aren't using the orange wire. Connect it to the breadboard voltage reel. Then connect the BME 280 black ground to the breadboard ground. The BME 280 also has a yellow SCL line. Connect that to the breadboard SCL row. And connect the blue SDA line to the SDA row. That's it. The BME 280 is now connected to I squared C. You'll notice the BME 280 has two additional lines, orange and green. These are used for SPI support and aren't needed here.

Contents