You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing exactly the same problems, with write fail like this:
File "adafruit_bus_device/i2c_device.py", line 102, in write
Example:
Traceback (most recent call last):
File "", line 1, in
File "ccs811_example.py", line 10, in
File "adafruit_ccs811.py", line 113, in init
File "adafruit_register/i2c_bit.py", line 40, in get
File "adafruit_register/i2c_bit.py", line 39, in get
File "adafruit_bus_device/i2c_device.py", line 102, in write
OSError: [Errno 5] EIO
I tried creating both busio and bitbangio instances with frequency set to 10000. This works:
i2c_bus = bitbangio.I2C(board.SCL, board.SDA, frequency=10000) # was 10000
But always after some time interval, there is a write error, like this:
Accelerometer (m/s^2): (162.55, -123.85, -30.97)
Magnetometer (microteslas): (2036.0, -0.0625, -0.0625)
Traceback (most recent call last):
File "main.py", line 73, in
File "adafruit_bno055.py", line 76, in get
File "adafruit_register/i2c_struct.py", line 58, in get
File "adafruit_register/i2c_struct.py", line 57, in get
File "adafruit_bus_device/i2c_device.py", line 102, in write
OSError: [Errno 19] ENODEV
I tried different frequencies and different delay times between polling intervals, to no avail.
Is there a way to stabilize the behavior of the sensor and the library?
Thank you!
Iannis Zannos
The text was updated successfully, but these errors were encountered:
Hello,
I am posting this after seeing a similar issue on the CCS811 here:
adafruit/Adafruit_CircuitPython_CCS811#9
I am experiencing exactly the same problems, with write fail like this:
File "adafruit_bus_device/i2c_device.py", line 102, in write
Example:
Traceback (most recent call last):
File "", line 1, in
File "ccs811_example.py", line 10, in
File "adafruit_ccs811.py", line 113, in init
File "adafruit_register/i2c_bit.py", line 40, in get
File "adafruit_register/i2c_bit.py", line 39, in get
File "adafruit_bus_device/i2c_device.py", line 102, in write
OSError: [Errno 5] EIO
I tried creating both busio and bitbangio instances with frequency set to 10000. This works:
i2c_bus = bitbangio.I2C(board.SCL, board.SDA, frequency=10000) # was 10000
But always after some time interval, there is a write error, like this:
Accelerometer (m/s^2): (162.55, -123.85, -30.97)
Magnetometer (microteslas): (2036.0, -0.0625, -0.0625)
Traceback (most recent call last):
File "main.py", line 73, in
File "adafruit_bno055.py", line 76, in get
File "adafruit_register/i2c_struct.py", line 58, in get
File "adafruit_register/i2c_struct.py", line 57, in get
File "adafruit_bus_device/i2c_device.py", line 102, in write
OSError: [Errno 19] ENODEV
I tried different frequencies and different delay times between polling intervals, to no avail.
Is there a way to stabilize the behavior of the sensor and the library?
Thank you!
Iannis Zannos
The text was updated successfully, but these errors were encountered: