Skip to content

set_heater generates an error on RPi3 #1

Description

@gdombiak

Hi,

I'm running the example on the RPi3 with

python Adafruit_SHT31_Example.py

and I get this output

Status = 8010
Data CRC Error = False
Command Error = False
Reset Detected = True
Tracking Temp = False
Tracking RH = False
Heater Active = False
Alert Pending = True
Temp = 24.650 deg C
Humidity = 33.63 %
Traceback (most recent call last):
File "Adafruit_SHT31_Example.py", line 33, in
sensor.set_heater(True)
File "/home/pi/repo/Adafruit_Python_SHT31/Adafruit_SHT31.py", line 105, in set_heater
self._writeCommand(SHT31_HEATER_ON)
File "/home/pi/repo/Adafruit_Python_SHT31/Adafruit_SHT31.py", line 65, in _writeCommand
self._device.write8(cmd >> 8, cmd & 0xFF)
File "build/bdist.linux-armv7l/egg/Adafruit_GPIO/I2C.py", line 115, in write8
File "build/bdist.linux-armv7l/egg/Adafruit_PureIO/smbus.py", line 236, in write_byte_data
IOError: [Errno 121] Remote I/O error

I'm using this library for this board https://www.amazon.com/gp/product/B019MGIC3Y/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1. I think it's the same. This was my first time I solder a board.

Any ideas what is producing this error? Or how to troubleshoot it?

Thanks,
Gaston

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions