cancel
Showing results for 
Search instead for 
Did you mean: 

LPS33HW - i2c connection

sadam.11
Associate

Hi Guys, i have connected the LPS33HW sensor to my circuitPython code. i have also added another sensor on the same i2c peripheral (bus). one is addressed 0x5d (original), the other i changed the address as advised to 0x5c. however when i run both sensors, one of the sensors works fine and outputs and reads the pressure and temperature (1028 hPa), but the other gives a value of -656 hPa. i dont know where the issue is?

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @sadam.1​ ,

did you properly set the SA0 pin on the two pressure sensors? This pin has to be set to "0V" for Sensor1, and to "Vdd" for Sensor2, and the I2C address changed accordingly.

0693W00000LwvCJQAZ.pngDid you also try with another couple of sensors, just to exclude an HW / specific device related issue?

-Eleon