Coder Social home page Coder Social logo

zz-fz-john / libbmp085 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from positronic57/libbmp085

0.0 0.0 0.0 109 KB

C library for communication with Bosh BMP085 and BMP180 sensors on Raspberry Pi.

License: GNU General Public License v2.0

C 92.73% Makefile 7.27%

libbmp085's Introduction

LibBMP085

LibBMP085 is a simple, easy to use C library for communication with Bosh BMP085/BMP180 barometric pressure and temperature sensor on Linux. It provides access to the BMP085/BMP180 sensor from the user space through the /dev interface. Module i2c-dev must be loaded before library use.

Supported sensors

  • Bosh BMP085;
  • Bosh BMP180 (replacement for BMP085).

Implemented senor features

The library implements functions for:

  • connecting to BMP085/BMP180 sensor over I2C bus;
  • reading the sensor calibration table;
  • reads measured values from the sensor;
  • calculating relative altitude change. It supports all BMP085/BMP180 modes of operation.

Installation

Installation instruction can be found in the INSTALL file.

Test Hardware

Tested on Raspberry Pi model B Revision 1 board with:

  • Adafruit BMP085 module (Adafruit product ID 391);
  • Adafruit BMP180 module (Adafruit product ID 1603). The library is distributed with an example program that demonstrates the library use for temperature and barometric pressure measurement.

WARNING: The source is provided as it is without any warranty. Use it on your own risk! The author does not take any responsibility for the damage caused while using this software.

libbmp085's People

Contributors

positronic57 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.