Using I2C with arduino For accelerometer

1 vue (au cours des 30 derniers jours)
Jordan Prentice
Jordan Prentice le 20 Mar 2016
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

Réponses (2)

Anh
Anh le 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 commentaire
Jordan Prentice
Jordan Prentice le 30 Juil 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.

Connectez-vous pour commenter.


Gayatri Menon
Gayatri Menon le 13 Mar 2022
Hi,
Consider using BNO055 block to read data from sensor connected to arduino
Thanks
Gayatri

Community Treasure Hunt

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

Start Hunting!

Translated by