Description
Peter, i downloaded and installed the driver per your instructions. It started right away and produced meaningful data (all i care is the heading) but then it stopped and produced the error below
Traceback (most recent call last):
File "", line 23, in
File "bno055_base.py", line 94, in temperature
File "bno055_base.py", line 113, in _read
OSError: [Errno 110] ETIMEDOUT
i restarted and got similar but not the same error. no changes to the code !!!!!
Traceback (most recent call last):
File "", line 26, in
File "bno055_base.py", line 60, in
File "bno055_base.py", line 91, in scaled_tuple
File "bno055_base.py", line 123, in _readn
OSError: [Errno 110] ETIMEDOUT
i tried again and got the same results
File "", line 21, in
File "bno055_base.py", line 107, in calibrated
File "bno055_base.py", line 99, in cal_status
File "bno055_base.py", line 113, in _read
OSError: [Errno 110] ETIMEDOUT
my breadboard is super simple BNO, ESP32 and nothing else. I am using PIN 16 for sda and and PIN 17 for scl. I am pulling them up via code per the MicroPython reference page.
from machine import Pin, SoftI2C
import time
from bno055 import *
sda=Pin(16,Pin.PULL_UP)
scl=Pin(17,Pin.PULL_UP)
i2c = SoftI2C(scl, sda, freq=100000)
i2c.init(scl,sda,freq = 100000)
the rest of the code is AS IS. The ESP32 is HiLetgo ESP-WROOM-32 ESP32 ESP-32S
I assume that i am doing something wrong but not sure what. Can you please advise?