Skip to content

donah123/node-bme280

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Adafruit BME280 Sensor Driver

This node module allows to read data from Adafruit BME280 temperature, humidity and pressure sensor (https://www.adafruit.com/product/2652). It was tested on Raspberry Pi 3 with sensor connected to I2C protocol. This module uses original Adafruit_Python_GPIO libraries and python-shell node.js bridge to connect to sensor and read its data.

Prerequisites

Installation

npm --save install node-adafruit-bme280

Usage

var BME280 = require('node-adafruit-bme280')

BME280.probe(function(temperature, pressure, humidity) {
  console.log(temperature);
  console.log(pressure);
  console.log(humidity);
});

Resources

About

node-bme280

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published