Errno 121 on SHT35

When I check the I2C connection between my raspberry pi and SHT35 using i2cdetect, it showed the address of the sensors. Therefore, I run my code and it works perfectly. However, when come to certain period, an error suddenly pop out and indicate “Errno 121”. Image below showed the error message.



Hi there~



We suspect the sensor lost connection with raspberry pi. I simulate it around 30 mins without issue.




</s>Relative Humidity is 53.49 % Temperature in Celsius is 28.87 C Relative Humidity is 53.40 % Temperature in Celsius is 28.87 C Relative Humidity is 53.38 % Temperature in Celsius is 28.87 C Relative Humidity is 53.56 % Temperature in Celsius is 28.86 C Relative Humidity is 53.87 % Temperature in Celsius is 28.87 C Relative Humidity is 53.96 % Temperature in Celsius is 28.86 C Relative Humidity is 53.80 % Temperature in Celsius is 28.82 C Relative Humidity is 53.72 % Temperature in Celsius is 28.81 C Relative Humidity is 53.73 % Temperature in Celsius is 28.81 C Relative Humidity is 53.73 % Temperature in Celsius is 28.79 C Relative Humidity is 53.82 % Temperature in Celsius is 28.78 C Relative Humidity is 53.83 % Temperature in Celsius is 28.79 C Relative Humidity is 53.81 % Temperature in Celsius is 28.81 C Relative Humidity is 54.06 % Temperature in Celsius is 28.82 C Relative Humidity is 54.31 % Temperature in Celsius is 28.82 C Relative Humidity is 54.43 % Temperature in Celsius is 28.81 C Relative Humidity is 54.48 % Temperature in Celsius is 28.83 C Relative Humidity is 54.72 % Temperature in Celsius is 28.81 C Relative Humidity is 55.20 % Temperature in Celsius is 28.82 C Relative Humidity is 54.98 % Temperature in Celsius is 28.82 C Relative Humidity is 54.59 % Temperature in Celsius is 28.79 C Relative Humidity is 54.33 % Temperature in Celsius is 28.79 C Relative Humidity is 54.36 % Temperature in Celsius is 28.82 C Relative Humidity is 54.17 % Temperature in Celsius is 28.81 C Relative Humidity is 54.07 % Temperature in Celsius is 28.81 C Relative Humidity is 53.95 % Temperature in Celsius is 28.82 C Relative Humidity is 53.81 % Temperature in Celsius is 28.83 C Relative Humidity is 53.73 % Temperature in Celsius is 28.81 C Relative Humidity is 53.67 % Temperature in Celsius is 28.82 C Relative Humidity is 53.60 % <e>

If i unplug the sensor, it will show up the error121. please check your connection. thanks.

</s>Relative Humidity is 53.62 % Traceback (most recent call last): File "grove_I2C_High_Accuracy_tem_hum_SHT35_sensor.py", line 55, in <module> main() File "grove_I2C_High_Accuracy_tem_hum_SHT35_sensor.py", line 47, in main temperature, humidity = sensor.read() File "grove_I2C_High_Accuracy_tem_hum_SHT35_sensor.py", line 26, in read self.bus.write_i2c_block_data(self.address, 0x24, [0x00]) File "/usr/local/lib/python2.7/dist-packages/smbus2/smbus2.py", line 482, in write_i2c_block_data ioctl(self.fd, I2C_SMBUS, msg) IOError: [Errno 121] Remote I/O error <e>

Hi,



What make it suddenly lost connection from Pi. The error always shown up when I run about 6 hours.

Hi there~



Let’s keep running it tonight and see if any issue. thanks.