GY-521 Data Acquisition via Matlab

6 ビュー (過去 30 日間)
Hugo Burston
Hugo Burston 2019 年 8 月 24 日
編集済み: Hugo Burston 2020 年 4 月 25 日
Hi,
I am trying to obtain accelerometer data from a GY-521 board through solely Matlab, rather than using Arduino code. Any help appreciated.
Many thanks.

採用された回答

Walter Roberson
Walter Roberson 2019 年 8 月 24 日
This is not typically possible. Most systems do not have i2c connectors directly available.
MS Windows does support the possibility of display boards having i2c connections, and defines a method for accessing the devices through the miniport. I do not know if matlab has any direct support for this.
There are i2c to usb adapters available. I have not investigated to see how you would use them.
There are i2c PCI interface boards. It appears that matlab supports the Total Phase Aardvark and an NI interface board with the Instrument Control Toolbox https://www.mathworks.com/help/instrument/i2c-communication.html available

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by