Page 1 of 1

Help with I2C

Posted: Thu Dec 09, 2021 7:29 pm
by Minyiky
Hi everyone,

I am having some strange errors trying to use I2C and couold use some advice.

I am trying use an esp32 to read from a pressure sensor: https://www.te.com/commerce/DocumentDel ... 0is%20a,TE)%20with%20I2C%20bus%20interface.&text=It%20provides%20a%20precise%20digital,conversion%20speed%20and%20current%20consumption.

I have the address as 0x76, and running i2c.scan() lists an item with value 118 so I am finding the sensor correctly.

I am also able to read the calibration data using i2c.readfrom_mem().

The difficulty I am having is with is sending requests to the device, for example both resetting and requesting ADC reads results. I am trying to use i2c.writeto(adress, reset) but i get OSError: [Errno 19] ENODEV

If anyone has any ideas about this it would be greatly appreciated