Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces:bme280 [2016/09/28 15:49] – [Raspberry Pi] darron | interfaces:bme280 [2016/10/02 04:10] (current) – [Raspberry Pi] darron | ||
---|---|---|---|
Line 2: | Line 2: | ||
<wrap right> | <wrap right> | ||
{{: | {{: | ||
+ | \\ \\ | ||
+ | {{: | ||
+ | \\ \\ | ||
+ | {{: | ||
+ | \\ \\ | ||
+ | {{: | ||
</ | </ | ||
This multi-purpose sensor is used to measure temperature, | This multi-purpose sensor is used to measure temperature, | ||
+ | It operates as an I2C slave device. | ||
+ | |||
+ | The actual sensor is tiny but a board is available from China with the I2C connections | ||
+ | and power on a standard 0.1 inch header which makes it easily accessible. | ||
=== Raspberry Pi === | === Raspberry Pi === | ||
- | The device uses I2C to communicate with a host master and with the Pi, the topmost | + | The device uses I2C to communicate with a host master and with the Pi, four |
- | pins on the GPIO header are utilised. | + | pins on the GPIO header are utilised |
< | < | ||
+---P1---+ | +---P1---+ | ||
- | 3V3 01 02 5V | + | 3V3 01 . |
- | SDA 03 04 5V | + | SDA 03 . |
- | SCL 05 06 GND | + | SCL 05 . |
. . | . . | ||
GND 09 . | GND 09 . | ||
. . | . . | ||
- | +--------+ | ||
| | ||
- | Relevant | + | Relevant pins for I2C communications |
</ | </ | ||
+ | |||
+ | With the miniature board (purple device in photo), the four wires hook up the BME280 to the Pi. Two wires are for power and two for communications. Power is supplied from the Pi 3V3 pin which is connected to the board' | ||
+ | |||
+ | Install [[projects: | ||
+ | |||
+ | Within the [[projects: | ||
+ | that `bme280' |