Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 15 days 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 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T11:52:33.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T12:25:44.675Z (about 1 month ago)
- Language: JavaScript
- Size: 395 KB
- Stars: 1
- 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()
}
```