BMP180 Barometric Pressure Sensor. Will it work?

Posted on
  • Hi All,

    New to all this. I'm a software developer by trade and rarely touch hardware.

    But I'm interested in the Espruino with a view to connecting a BMP180 barometric pressure sensor to log pressure reading.

    Has anyone used this combo? Or could you advise if there is any reason it wouldn't work? Looking at using this one: http://www.adafruit.com/products/1603

    Cheers

    Ian

  • That should not be a problem. The BMP180 is fully compatible with the older BMP085. However, it is necessary to write a module for it before you can use it with the Espruino. The easiest way is to simply port the readily available Arduino I2C driver for the chip.

    I would love to write the module, but I do not have a lot of time right now. If you want to have a go yourself, check out the modules already there and the I2C reference docs.

  • Hi, yes - just to confirm, it's I2C so it should work fine. You'll just have to write the code needed to interface with it over I2C. You don't need to make a 'module' for it, but it'd be nice as it'll let others use the sensor easily :)

    A very simple I2C example module is here: http://www.espruino.com/modules/wii_nunc­huck.js

  • @IanWatkins, Gordon just merged a bmp085 module I wrote. I would be very grateful if you could test it with the BMP180. Its on github.

    Cheers

  • Over a year later...

    With the BMP180 (Adafruit) the module works fine @ltj, thanks for the code.

    On a much older BMP085 (Hobbytronics) I'm getting odd I2C timeout error, maybe every 20 samples. But just increasing the sampling pauses by 10ms solves that.

    Works very well.

    Cheers

    Ian

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

BMP180 Barometric Pressure Sensor. Will it work?

Posted by Avatar for IanWatkins @IanWatkins

Actions