how to display the arduino current sensor values in matlab ???
3 ビュー (過去 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 で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!