Using I2C with arduino For accelerometer

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
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

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.

Hi,
Consider using BNO055 block to read data from sensor connected to arduino
Thanks
Gayatri

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Asked:

on 20 Mar 2016

Answered:

on 13 Mar 2022

Community Treasure Hunt

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

Start Hunting!