All Projects → fiskeben → Bmp085

fiskeben / Bmp085

A node.js module for reading a BMP085 barometer sensor.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Bmp085

BME680
Arduino Library to access the Bosch BME680 - temperature, pressure, humidity and gas sensor
Stars: ✭ 30 (+172.73%)
Mutual labels:  i2c, sensor
I2c Moisture Sensor
I2C based soil moisture sensor
Stars: ✭ 194 (+1663.64%)
Mutual labels:  sensor, i2c
Esp32 Mpu Driver
ESP32 full library for all MPU6000 MPU6050 MPU6500 MPU9150 MPU9250 with SPI and I2C support and more.
Stars: ✭ 111 (+909.09%)
Mutual labels:  sensor, i2c
mpy-lib
HTS221, LPS22, LIS2DW12, LIS2MDL, LSM6DSO, STTS751, bme280, bmp280, APDS9930, TM1650, TM1637, LCD1602, all kinds of micropython drives, examples, libs
Stars: ✭ 118 (+972.73%)
Mutual labels:  i2c, sensor
embedded-sps
Embedded i2c Driver for Sensirion Particulate Matter Sensors - Download the Zip Package from the Release Page
Stars: ✭ 36 (+227.27%)
Mutual labels:  i2c, sensor
embedded-sht
Embedded SHT Drivers for Sensirion Temperature and Humidity Sensors - Download the Zip Package from the Release Page
Stars: ✭ 53 (+381.82%)
Mutual labels:  i2c, sensor
Ha4iot
Open Source Home Automation system for .NET
Stars: ✭ 146 (+1227.27%)
Mutual labels:  sensor, i2c
vl53l0x-linux
Library for interfacing with VL53L0X time-of-flight distance sensor under Linux
Stars: ✭ 19 (+72.73%)
Mutual labels:  i2c, sensor
embedded-ccs811-rs
Platform agnostic Rust driver for the CCS811 ultra-low power digital gas sensor for monitoring indoor air quality
Stars: ✭ 12 (+9.09%)
Mutual labels:  i2c, sensor
arduino-sht
Repository for Sensirion humidity and temperature sensor support on Arduino
Stars: ✭ 43 (+290.91%)
Mutual labels:  i2c, sensor
Terminal Image
Display images in the terminal
Stars: ✭ 778 (+6972.73%)
Mutual labels:  npm-package
Howmanypeoplearearound
Count the number of people around you 👨‍👨‍👦 by monitoring wifi signals 📡
Stars: ✭ 6,525 (+59218.18%)
Mutual labels:  sensor
Fanyi
A 🇨🇳 and 🇺🇸 translate tool in your command line.
Stars: ✭ 940 (+8445.45%)
Mutual labels:  npm-package
Sierra
Sierra SCSS library
Stars: ✭ 852 (+7645.45%)
Mutual labels:  npm-package
Ky
🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API
Stars: ✭ 7,047 (+63963.64%)
Mutual labels:  npm-package
React Timeline Carousel
React Timeline Feed Slider [UI Component]
Stars: ✭ 23 (+109.09%)
Mutual labels:  npm-package
Adafruit sensor
Common sensor library
Stars: ✭ 757 (+6781.82%)
Mutual labels:  sensor
Eslint Plugin Node
Additional ESLint's rules for Node.js
Stars: ✭ 740 (+6627.27%)
Mutual labels:  npm-package
Haven
Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors
Stars: ✭ 6,127 (+55600%)
Mutual labels:  sensor
Airmonitor
Air quality monitor based on STM32 & MT7681
Stars: ✭ 10 (-9.09%)
Mutual labels:  sensor

BMP085

A node.js module for reading Adafruit's Bosch BMP085 barometer sensor using i2c.

Install

$ npm install bmp085

Raspberry Pi users: Remember to enable i2c on your Pi if you haven't done already.

Also remember to use sudo when running your program if you haven't exported your GPIO pins to user space.

Usage

The module's read function takes a callback function as an argument. The callback will receive an object with the temperature (in degrees Celcius) and air pressure (in hPa).

Example:

var BMP085 = require('bmp085'),
    barometer = new BMP085();

barometer.read(function (data) {
    if (data !== null) {
        console.log("Temperature:", data.temperature);
        console.log("Pressure:", data.pressure);
    }
});

Configuration

Optionnaly configure the sensor by supplying an options object to the constructor:

new BMP085(
    {
        'mode': 1,
        'address': 0x77,
        'device': '/dev/i2c-1'
    }
);

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].