1.1.2 • Published 6 months ago

bme680-sensor v1.1.2

Weekly downloads
7
License
MIT
Repository
-
Last release
6 months ago

bme680

Node.js module for controlling Bosch Sensortec BME680 and BME688 sensors.

pipeline status coverage report Quality Gate

Installation

npm install bme680-sensor

Wiring

bme680 pinRaspberry Pi pinRaspberry Pi GPIO
VIN (3,3 V)1
GND6
SDI32
SCK53

BME688 support

The changes in the Pimoroni Python library regarding the BME688 variant have been backported to this library. The variant is automatically detected by retrieving it from the I2C address and a different gas measurement calculation is used.

Available Methods

initialize

Initialize the sensor.

SettingDefault value
Temperature offset0 °C
Gas heater temperature320 °C
Gas heater duration150 ms
Gas heater profile0

Usage:

'use strict';

const { Bme680 } = require('bme680-sensor');
const bme680 = new Bme680(1, 0x76);

bme680.initialize().then(async () => {
    console.info('Sensor initialized');
    setInterval(async () => {
        console.info(await bme680.getSensorData());
    }, 3000);
});

Credits

1.1.1

6 months ago

1.1.2

6 months ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

6 years ago

0.1.8-beta

6 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago