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
ver 3.x I2C connections.
#19
(2023-06-13, 11:59 PM)baltika_no_9 Wrote: Hi Alan

I don't understand when you say the I2C page is dead, can you elaborate?

I am using I2C 3.3.12 on a Pi 4 and have just set up a BMP280 as a test and it works fine. I've too many screenshots of the process to fit in one post so first let me try to explain by text:

In a terminal window run the command to find the address of your BMP280:

Code:
i2cdetect -y 1

You should (probably) see a 76 in the output grid which is the typical BMP280 address but it may differ on occasions but it would be uncommon.

Go to Openplotter>I2C and you will see a message at the bottom of the page saying the access request must be aproved (sic) etc

Go to Openplotter>Signal K and log in with the admin credentials. If you haven't already set this up then enable it now and log in.

Under the Security Tab you will see Access Requests at the bottom, click that, click the entry in the Identifier row, select NEVER and Read/Write in the Authentication Timeout and Permissions Respectively. Then Approve. 

Go to Openplotter>I2C and in the Sensors Tab click Add

Under Supported sensors click BMP280 and Detected addresses 0x76 (assuming yours is on that address), click OK

You should now see two lines, one yellow, one white. Left click on the white one and it turns grey, click Edit. Under Signal K key type environment.inside.temperature and hit OK. Now both lines are yellow.

Go to Openplotter>Signal K>Data Browser and you see the data for pressure and temperature.

I'll add a few screenshots in the hope it helps, I think the max is 5 in one post.

Good luck

Hello, I am in the same trouble... the only difference of configuration is that I have two adresses for BME280 : 68 and 76
I do exactly the procedure until all the lines turn yellow but when I check in signal K data browser, I connot see the same result I can see on your screanshot, in the path colomne environnement.inside.temperature doesn't appear ! Instead there is validation.I2C and temperature is not return in the opencpn dashboard

An idea ? Thanks Christophe
Reply


Messages In This Thread
ver 3.x I2C connections. - by amckeown - 2023-06-13, 08:54 PM
RE: ver 3.x I2C connections. - by baltika_no_9 - 2023-06-13, 11:59 PM
RE: ver 3.x I2C connections. - by ChDel - 2024-01-30, 11:29 AM
RE: ver 3.x I2C connections. - by amckeown - 2023-06-14, 04:07 PM
RE: ver 3.x I2C connections. - by baltika_no_9 - 2023-06-14, 04:52 PM
RE: ver 3.x I2C connections. - by amckeown - 2023-06-14, 11:10 PM
RE: ver 3.x I2C connections. - by amckeown - 2023-06-15, 02:06 PM
RE: ver 3.x I2C connections. - by baltika_no_9 - 2023-06-15, 05:25 AM
RE: ver 3.x I2C connections. - by baltika_no_9 - 2023-06-15, 03:23 PM
RE: ver 3.x I2C connections. - by amckeown - 2023-06-16, 02:10 AM
RE: ver 3.x I2C connections. - by baltika_no_9 - 2023-06-16, 08:21 AM
RE: ver 3.x I2C connections. - by amckeown - 2023-06-20, 04:15 PM
RE: ver 3.x I2C connections. - by amckeown - 2023-06-16, 01:38 PM
RE: ver 3.x I2C connections. - by baltika_no_9 - 2023-06-16, 03:06 PM
RE: ver 3.x I2C connections. - by amckeown - 2023-06-16, 04:40 PM
RE: ver 3.x I2C connections. - by baltika_no_9 - 2023-06-19, 10:27 AM
RE: ver 3.x I2C connections. - by baltika_no_9 - 2023-06-20, 04:54 PM
RE: ver 3.x I2C connections. - by baltika_no_9 - 2024-02-01, 01:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)