how to display the arduino current sensor values in matlab ???
Show older comments
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
Answers (1)
Vasco Sampaio
on 22 Feb 2018
Edited: Vasco Sampaio
on 22 Feb 2018
0 votes
Hi,
I'm also facing that issue now. Current sensor INA 219 communicates via I2C with Arduino. Have you made any progress on this?
1 Comment
Gongyan Du
on 28 May 2020
Have you read MATLAB's ina219 module signal
Categories
Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!