https://github.com/saintedlama/bmp180-sensor
An Node.js module to interface a BMP085 and BMP180 temperature and pressure sensor with the Raspberry Pi
https://github.com/saintedlama/bmp180-sensor
Last synced: 3 months ago
JSON representation
An Node.js module to interface a BMP085 and BMP180 temperature and pressure sensor with the Raspberry Pi
- Host: GitHub
- URL: https://github.com/saintedlama/bmp180-sensor
- Owner: saintedlama
- Created: 2019-06-01T15:31:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T11:52:33.000Z (almost 3 years ago)
- Last Synced: 2025-04-08T06:43:22.918Z (7 months ago)
- Language: JavaScript
- Size: 395 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# BMP180-sensor
An Node.js module to interface a BMP085 and BMP180 temperature and pressure sensor with the Raspberry Pi
## Installation
```bash
npm i bmp180-sensor
```
## Usage
```js
const bmp180 = require('bmp180-sensor')
async function readBmp180() {
const sensor = await bmp180({
address: 0x77,
mode: 1,
})
const data = await sensor.read()
console.log(data)
await sensor.close()
}
```