how to display the arduino current sensor values in matlab ???
조회 수: 2 (최근 30일)
이전 댓글 표시
I have current sensor connected to my arduino board displaying current values in the arduino serial monitor. Now I want to display the same values in matlab. I have already established connection between my arduino board and matlab. Here is the code which I have tried
global a;
a=arduino('COM3');
av=a.analogRead(14); //corresponds to analog pin0 on arduino board
댓글 수: 0
답변 (1개)
Vasco Sampaio
2018년 2월 22일
편집: Vasco Sampaio
2018년 2월 22일
Hi,
I'm also facing that issue now. Current sensor INA 219 communicates via I2C with Arduino. Have you made any progress on this?
참고 항목
카테고리
Help Center 및 File Exchange에서 Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!