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 weather station

Connect the BME280 weather station

From the course: Raspberry Pi: GPIO

Start my 1-month free trial

Connect the BME280 weather station

- [Instructor] In this session, I'll walk you through the steps necessary to connect and program the BME280 Environmental Sensor. The sensor looks like this. There is a chip with wires. There is no display on the BME280. I've include a handout in the example files with a table instructing how to connect the BME280 to the Raspberry Pi GPIO. Here's a snapshot from that handout. Note that chip select goes to Pin 36. This isn't listed as an official SPI chip select, but this doesn't matter since the chip select Pin only has to supply a binary voltage. Any GPI output Pin will work. Fully connected, it looks like this. There's a lot of wires, so I've placed a piece of paper on the breadboard identifying the SPI signals. When you've connected all the wires and double checked your connections, restart the Raspberry Pi. When your Raspberry Pi has rebooted, you'll need to check the SpiDev is available. To do that open up a…

Contents