Flash Code for ADS1115 in Arduino using Matlab

4 visualizaciones (últimos 30 días)
Johnathan derb
Johnathan derb el 15 de Mzo. de 2019
Editada: Malhar Ashtaputre el 5 de Nov. de 2019
Hey, I have been trying to use ADC converter to read the analog data through I2C connection but to make this work i need some suggestion about how to interface ads1115 module with arduino using matlab any suggestions or sample will be a great help.

Respuestas (1)

Malhar Ashtaputre
Malhar Ashtaputre el 31 de Oct. de 2019
Editada: Malhar Ashtaputre el 5 de Nov. de 2019
Hello Johnathan,
Kindly go through this youtuube video to interface ADS1115 module with arduino and matlab.
If you follow exact steps from video you will get some error regarding Wire library. So to solve that issue, just copy paste following files to your project folder before building s-function.
(I have attached in zip file)
Add #include"Wire.cpp" & #include"twi.c" in library section in s-function before building.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by