BMP180 Barometric Pressure Sensor. Will it work? #704
Replies: 4 comments
-
Posted at 2014-02-11 by ltj 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. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-02-11 by @gfwilliams 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_nunchuck.js |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-02-13 by ltj @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 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-03-13 by IanWatkins 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 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2014-02-10 by IanWatkins
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
Beta Was this translation helpful? Give feedback.
All reactions