Flash Code for ADS1115 in Arduino using Matlab

조회 수: 4 (최근 30일)
Johnathan derb
Johnathan derb 2019년 3월 15일
편집: Malhar Ashtaputre 2019년 11월 5일
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.

답변 (1개)

Malhar Ashtaputre
Malhar Ashtaputre 2019년 10월 31일
편집: Malhar Ashtaputre 2019년 11월 5일
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.

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by