GY-521 Data Acquisition via Matlab
조회 수: 6 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!