This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New I2C sensors supported
#31
(2020-12-17, 10:14 PM)Sailoog Wrote:
(2020-12-17, 07:52 AM)olewsaa Wrote: I would also like to enable support for the older bmp180, while it show up at 0x77 there is no menu entry for bmp180 and hence it does not work, e.g. no data. 
While it's possible to upgrade to bmp280 it would be great if the support for bmp180 could be enabled again, my bmp180 sits on a hat and the module is not plugable.

Ole

Do you have any python3 script for the bmp180 we can use?

I'm sorry, when I tested and used BMP180  I cheated and just used the Adafruit_BMP library.
import Adafruit_BMP.BMP085 as BMP085
sensor = BMP085.BMP085()
and to print out  :
print('Pressure = {0:0.2f} Pa'.format(sensor.read_pressure()))

As the cost of a bmp280 is very small upgrading to the 280 is not really an issue.  I think this is the best solution, extra work to replace the module is my problem.
Reply
#32
Hello,
My i2C network:
- BME280
- ADS1115
- HTU21D
- MPU9250

Everything works fine except the HTU21D.
With I2C 2.2.1, I add the HTU21D and it works fine but after a few seconds it doesn't work in OpenCPN. With I2C, I select it again, do Edit, then Ok, it works again and after a few seconds it doesn't work again.
The problem is constant...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)