Clear Filters
Clear Filters

Flash Code for ADS1115 in Arduino using Matlab

14 views (last 30 days)
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.

Answers (1)

Malhar Ashtaputre
Malhar Ashtaputre on 31 Oct 2019
Edited: Malhar Ashtaputre on 5 Nov 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.

Categories

Find more on 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!