Maker Pro
Maker Pro

raspberry pi multiple i2c - SGP30 and SGP40

last_not_used_login

Mar 1, 2023
1
Joined
Mar 1, 2023
Messages
1
Hi,
Im a newbie and newbie on this forum so apologies in advance :)

I have Raspberry Pi Model B Rev 2 and I want to connect SGP40 and SGP30 to the same i2c bus.
I'm using for this adafruit python libraires. It works if they are connected separately, but when I connect both only SGP40 is visible.
They have different addresses. First is on 0x58 and second on 0x59

Could you advise?

Thanks!
 
Last edited:

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,647
Joined
Nov 17, 2011
Messages
13,647
Show us a schematic how you connected the sensors.
There should be a single pull-up resistor on each SDA and SCK.
Have you tried i2cdetect to find all members on the i2c bus?
 
Top