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:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
openplotter-i2c 3.x.x released
#33
There must be something I don't understand.
I can not figure out how to use the multiplexer.
I am using an adafruit PCA9548
https://www.adafruit.com/product/5626
adafruit states
"In case you're wondering why this uses the PCA9548A not the TCA9548A, the PCA9548 is the 'fraternal twin sister' of the TCA9548 but is easier to get during the great chip shortage of 2022. It works exactly the same, just can't go down to 1.8V power which is OK because QT boards are 3V or 5V only anyways. You can still use any example code or library for the TCA9548"

For testing I am using a BME688.

With the BME688 at address 0x77 connected directly to the PI everything works.
Inserting the multiplexer in between the Pi and the BME688 and scanning the bus I get 0x70., the address for the multiplexer as expected.
I add the BME688 at address 0x70 because that is the only thing I can choose. I pick channel 0 because that is where the BME688 is plugged in.
Everything works.
But the address of the BME688 is now shown as 0x70
Now I want to add a INA219 to channel 0 at address 0x40.
I can't figure out how to do that since a scan of the bus only shows address 0x70.
I can add the ADS1115 on a different channel.

Is this the intended functionality?
I was hoping the attached could be accomplished.


.pdf   I2C Conceptual.pdf (Size: 523.08 KB / Downloads: 110)

(2022-10-21, 02:16 AM)RichFind Wrote: I am having trouble getting an INA219.
I believe I have connected it correctly. (see attached) The top portion shows my connections. The bottom half is from the chip supplier's spec sheet.


These are the settings:

This is the result:


Why am I getting null values?

(2022-10-19, 09:52 AM)nebosa Wrote:
(2022-10-18, 11:22 PM)RichFind Wrote: Also
Working on installing a multiplexor.
Will let you know how things go.
Will be able to test with BPE688, INA218 and ADS115 (when available).

TIA

I expect a nice step by step guide if you were successful  Smile

Working on setting up the wiring for the individual sensors before going for multiplexing.
Just posted an issue I am having.
Reply


Messages In This Thread
openplotter-i2c 3.x.x released - by Sailoog - 2022-10-08, 02:35 PM
RE: openplotter-i2c 3.x.x released - by Polonioli - 2022-10-08, 11:32 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-09, 11:31 AM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-09, 11:30 AM
RE: openplotter-i2c 3.x.x released - by hrios - 2022-10-09, 01:45 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-09, 02:14 PM
RE: openplotter-i2c 3.x.x released - by hrios - 2022-10-09, 04:57 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-09, 05:50 PM
RE: openplotter-i2c 3.x.x released - by hrios - 2022-10-09, 06:16 PM
RE: openplotter-i2c 3.x.x released - by hrios - 2022-10-09, 08:21 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-10, 11:18 AM
RE: openplotter-i2c 3.x.x released - by TVR - 2022-10-09, 03:33 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-09, 05:52 PM
RE: openplotter-i2c 3.x.x released - by nebosa - 2022-10-09, 06:39 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-10, 11:14 AM
RE: openplotter-i2c 3.x.x released - by hrios - 2022-10-10, 05:10 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-10, 05:23 PM
RE: openplotter-i2c 3.x.x released - by hrios - 2022-10-10, 05:46 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-10, 06:01 PM
RE: openplotter-i2c 3.x.x released - by hrios - 2022-10-10, 06:11 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-10, 06:20 PM
RE: openplotter-i2c 3.x.x released - by hrios - 2022-10-10, 06:38 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-10, 06:42 PM
RE: openplotter-i2c 3.x.x released - by nebosa - 2022-10-16, 10:04 AM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-18, 09:35 AM
RE: openplotter-i2c 3.x.x released - by winkaj - 2022-10-17, 04:27 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-10-18, 09:41 AM
RE: openplotter-i2c 3.x.x released - by nebosa - 2022-10-17, 04:38 PM
RE: openplotter-i2c 3.x.x released - by winkaj - 2022-10-17, 04:59 PM
RE: openplotter-i2c 3.x.x released - by RichFind - 2022-10-18, 11:22 PM
RE: openplotter-i2c 3.x.x released - by nebosa - 2022-10-19, 09:52 AM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-05, 07:43 PM
RE: openplotter-i2c 3.x.x released - by RichFind - 2022-11-06, 01:27 AM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-06, 11:33 AM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-06, 11:59 AM
RE: openplotter-i2c 3.x.x released - by RichFind - 2022-11-06, 06:44 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-07, 07:45 PM
RE: openplotter-i2c 3.x.x released - by RichFind - 2022-11-08, 03:56 AM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-08, 06:44 PM
RE: openplotter-i2c 3.x.x released - by RichFind - 2022-11-08, 08:29 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-09, 04:00 PM
RE: openplotter-i2c 3.x.x released - by tobias.e - 2022-11-12, 08:04 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-12, 08:21 PM
RE: openplotter-i2c 3.x.x released - by tobias.e - 2022-11-12, 09:22 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-14, 01:44 PM
RE: openplotter-i2c 3.x.x released - by tobias.e - 2022-11-14, 08:35 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-15, 11:48 AM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-25, 09:49 PM
RE: openplotter-i2c 3.x.x released - by tobias.e - 2022-11-26, 07:44 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-26, 07:55 PM
RE: openplotter-i2c 3.x.x released - by tobias.e - 2022-11-26, 08:15 PM
RE: openplotter-i2c 3.x.x released - by Sailoog - 2022-11-26, 08:30 PM
RE: openplotter-i2c 3.x.x released - by DroZDi - 2023-01-01, 09:58 PM
RE: openplotter-i2c 3.x.x released - by ojessie - 2023-10-21, 11:17 AM
RE: openplotter-i2c 3.x.x released - by ojessie - 2023-10-21, 02:24 PM
RE: openplotter-i2c 3.x.x released - by ojessie - 2023-10-21, 04:04 PM
RE: openplotter-i2c 3.x.x released - by ojessie - 2023-10-21, 04:34 PM
RE: openplotter-i2c 3.x.x released - by ojessie - 2023-10-22, 10:25 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)