Using I2C with arduino For accelerometer

1 view (last 30 days)
Jordan Prentice
Jordan Prentice on 20 Mar 2016
Answered: Gayatri Menon on 13 Mar 2022
I am trying to implement an accelerometer using the simulink support package for arduino hardware , using the I2C read block and an adafruit-bno055 accelerometer. I am just using the read block set to the register i want to read and set to a scope but no values are outputted
Any help on how to use the I2C read block would be much appreciated

Answers (2)

Anh on 12 Jan 2017
I am having the same problem that I couldn't get bno055 imu data from the I2C read block, even though I thought I had correct block parameters. Would you let me know how you solved this problem?? Thank you:)
  1 Comment
Jordan Prentice
Jordan Prentice on 30 Jul 2017
I spoke to a few others but everybody was having the same issue so abandoned the use of the block and tried a different method.

Sign in to comment.

Gayatri Menon
Gayatri Menon on 13 Mar 2022
Consider using BNO055 block to read data from sensor connected to arduino

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!