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

回答(2 个)

Anh
Anh 2017-1-12
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 个评论

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.

请先登录,再进行评论。

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

类别

帮助中心File Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by