Reading BNO055
-
@livius yes, I tried 1000, 100000 and 400000 but it's always the same problem. Once, the device returned at least zero values for temperature and so on and then it raised an I2C bus error.
-
@fehlfarbe
if you really do not need to have recent firmware on Wipy2
then the most stable for me is1.7.2.b1- try downgrade or upgrade -
@fehlfarbe What does i2c.scan() return, after you have initialized the interface?
-
@livius I downgraded to WiPy-1.7.9.b3 - no change.
-
@robert-hh sometimes it returns the adress of the device
0x28, sometimes it returns nothing. -
I downgraded to WiPy-1.7.9.b3 - no change.
1.7.2.b1;-)but how looks like your wiring?
Do you have some pullups? Maybe internal puulups on the board BNO055? -
@livius oldest firmware available at https://forum.pycom.io/topic/517/downgrading-firmware-advanced-users/20 is 1.7.9.b3
Wiring:

The breakout board has 10k pullups on SDA/SCL. I tried a second board but same problem :)
-
@fehlfarbe said in Reading BNO055:
oldest firmware available
just change numbers in the link
https://software.pycom.io/downloads/WiPy-1.7.2.b1.tar.gzI see on the BN0055 there are 10k pullup resistors - should be ok because there are shifter on BS138.
-
Maybe try adding some lower value pullup resistors.
From the FAQ page of your device BNO055 FAQ #4
"Depending on your system setup, you might need to adjust the pullups on the SCL and SDA lines to be a bit stronger. The BNO055 has very tight timing requirements on the I2C bus, requiring short setup and rise times on the signals. By default the breakout board has 10K pullups, which might be too weak on some setups."
-
@incognico I tried different pullups from 1.2k to 10k but there is no change. The device works flawless on my OrangePi Zero (ARM device) with 3.3V logic level.
-
@incognico said in Reading BNO055:
Maybe try adding some lower value pullup resistors.
From the FAQ page of your device BNO055 FAQ #4
"Depending on your system setup, you might need to adjust the pullups on the SCL and SDA lines to be a bit stronger. The BNO055 has very tight timing requirements on the I2C bus, requiring short setup and rise times on the signals. By default the breakout board has 10K pullups, which might be too weak on some setups."
I had a similar problem. I'm not sure if it's been fixed or not, because I haven't tested it lately. Anyway, it had to do with I2C Clock Stretching. For me the solution was to set the I2C baud rate as low as it would go and work my way up until i found the fastest value that worked. Maybe give that a try, if you haven't already. =)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login