필터 지우기
필터 지우기

how to display the arduino current sensor values in matlab ???

조회 수: 2 (최근 30일)
akik biswas
akik biswas 2013년 4월 18일
댓글: Gongyan Du 2020년 5월 28일
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

답변 (1개)

Vasco Sampaio
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 CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by