Temperature and humidity hdc1000 - [Errno 5] Input/output error


#1

Could someone help me figure out why i’m getting this Input/Output error in the grove_i2c_temp_hum_hdc1000.py library for the Temperature and humidity hdc1000 sensor?
Here is the library: https://github.com/DexterInd/GrovePi/blob/master/Software/Python/grove_i2c_temp_hum_hdc1000/grove_i2c_temp_hum_hdc1000.py

Traceback (most recent call last):
  File 
"/home/pi/Desktop/GrovePi/Software/Python/grove_i2c_temp_hum_hdc1000/Grove_hdc_1000Prybase.py", line 54, in <module>
    hdc.Config()
  File "/home/pi/Desktop/GrovePi/Software/Python/grove_i2c_temp_hum_hdc1000/grove_i2c_temp_hum_hdc1000.py", line 57, in Config
    bus.write_byte_data(self.I2C_ADDR, 0x02, 0x30)
OSError: [Errno 5] Input/output error

Thank you very much.

-Alex


#2

Hey @adevoid, couple of questions before we get going:

  1. Are you running Raspbian for Robots or another operating system?
  2. If you run sudo i2cdetect -y 0 what response do you get?
  3. If you run sudo i2cdetect -y 1 what response do you get?

Thanks!