Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
akik biswas
akik biswas el 18 de Abr. de 2013
Comentada: Gongyan Du el 28 de Mayo de 2020
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

Respuestas (1)

Vasco Sampaio
Vasco Sampaio el 22 de Feb. de 2018
Editada: Vasco Sampaio el 22 de Feb. de 2018
Hi,
I'm also facing that issue now. Current sensor INA 219 communicates via I2C with Arduino. Have you made any progress on this?

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by