Pisound + i2c on its small free pins header

Hi there,

Did someone achieve to work with some grove studio sensors using the rapsberry’s I2C but with a pisound connected ?

I tested everything but … it doesn’t work and of course I’d like to remove the pisound from the equation.

The sensor is working. the header is ok.
but register reading gives always same value.

Is there something to do in the pi sound config ??
As far as I understood, the i2c is free and not used by pisound … right?

if someone already make it working, I’d be happy to discuss :slight_smile:

Yes, I²C is not used at all, you should be able to use it for your purposes. pisound-config is not involved, but you should enable I²C in raspi-config.

What is the sensor you’re using and what results are you getting?

Is the sensor successfully recognized by the system?

Run sudo i2c-detect -y 1 to see which I²C addresses are available on the bus.

1 Like

Everything is well detected.
My sensors just send… zeroes.
But indeed, if the integrity of the i2c is guaranteed, etc… pisound is no involved here.

Thanks Giedrius.

If something was acting up with the I²C bus, it wouldn’t be able to communicate at all, including scanning / detecting devices by address, so the issue must be somewhere else.

Are you using 3.3V logic?

Do you mean power supplying the sensor ?
It works same way (and provides zeroes aswell) with 5V or 3.3V.

You should use 3.3V, as the Raspberry Pi itself is 3.3V level logic based, otherwise, you need some logic level translator in between, to not risk damage to the RPi’s pins (or other devices on the I²C bus, if shared).

Btw, the logic pins when used outside of allowable range may ‘latch’ to a particular value, unable to switch, it’s probably not the case in what you observe, as the address is recognized, but something to keep in mind. The way to get out of it is to fully power off the system and waiting for a few seconds before powering on.

Could you link to the sensor you’re using?

Actually, the one is the https://www.seeedstudio.com/Grove-High-Precision-Barometer-Sensor-DPS310-p-4397.html