Need help for interfacing multiple Grove Sensors on Rpi

Applications/questions using Raspberry Pi with Seeed products, please post it here.

Moderators: lily.li, salmanfarisvp, violet

Post Reply
chinmaygopal.voolapalli
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Thu Nov 07, 2019 10:33 pm

Need help for interfacing multiple Grove Sensors on Rpi

Post by chinmaygopal.voolapalli » Thu Nov 07, 2019 10:47 pm

Hello All,
I am trying to connect two(and possibly more) Grove 6-Axis Accelerometer and Gyroscope (v1.0 based on the LSM6DS3 chip) via the Grove Pi +(v3.0 01/11/2016) on a Raspberry Pi 3 Model B+. However, this is creating an issue, since the sensors share the same I2C address. After scouring through the net the only feasible solution was to use an I2C multiplexer. But, it seems that Seeed does not have any such product. There was also another solution which requires some hardware manipulations (working with the SDO/SA0 pin). But this is insufficient as I am planning to scale my system to have atleast 6 such Grove accelerometer sensors.
I have invested a lot of time and effort in acquiring various Grove related hardware in hopes of building my system. Can anyone please provide me with any alternative solution or a Grove based I2C multiplexer product?

Regards
Chinmay

User avatar
salmanfarisvp
Elementary-1
Elementary-1
Posts: 183
Joined: Sun May 20, 2018 2:02 am
Are you a staff member of seeedstudio?: no
Which products/projects are your favorite?: Linklt One , BeagleBone Green , ReSpaker
Contact:

Re: Need help for interfacing multiple Grove Sensors on Rpi

Post by salmanfarisvp » Fri Dec 20, 2019 2:08 pm

Hi,

You can do that by solder jumper labelled J1 and it is normally connected to GND, but you could cut the trace between the middle pad and GND, and then make a solder blob to bridge the middle pad to 3.3V. Just make sure you don't end up with a bridge from GND to 3.3V or you'll let the smoke out.
Capture.JPG
Capture.JPG (37.24 KiB) Viewed 83 times
From datasheet : -
The Slave ADdress (SAD) associated with the LSM6DS3 is 110101xb. The SDO/SA0 pin can be used to modify the less significant bit of the device address. If the SDO/SA0 pin is connected to the supply voltage, LSb is ‘1’ (address 1101011b); else if the SDO/SA0 pin is connected to ground, the LSb value is ‘0’ (address 1101010b). This solution permits to connect and address two different inertial modules to the same I2C bus.
Original answer :https://electronics.stackexchange.com/q ... me-i2c-bus
Start where you are, use what you have, do what you can, Share what you know.

Post Reply