File Exchange

image thumbnail

Driver for Arduino Data Logging Shield

version 1.0.0.0 (1 MB) by Techsource Technical Team
Driver for Arduino Data Logging Shield

14 Downloads

Updated 28 Aug 2015

View License

Write a device driver using the MATLAB function block approach for the Arduino Data Logging Shield. This project is an extension to the earlier submission "Data Logger on Arduino using S-Functions" available here:
http://www.mathworks.com/matlabcentral/fileexchange/51710-data-logger-on-arduino-uno-using-s-functions
For this particular project, this is the easier approach for creating a device driver compared to the S-Function Builder project for two reasons:
- Easier to add the include lines for the libraries.
- Eliminates the need to keep re-building whenever a change needs to be made to the code.
By:
Esther Ling, Edu Engineer

Cite As

Techsource Technical Team (2020). Driver for Arduino Data Logging Shield (https://www.mathworks.com/matlabcentral/fileexchange/52004-driver-for-arduino-data-logging-shield), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

fus

to be more specific, the libraries were calling for more library files, such as twi.c looking for compat/twi.h and util/twi.h, of which are throwing errors. It's turning into a giant ring-around-the-rosie adding more and more files to the library and it seems never ending. There are all kinds of random errors popping up, suggesting that the files I'm including are not the correct version. Throughout both my Arduino and Matlab folder, many instances of these same files exist. I think at this point, I've tried all of them. Do you have any more information on the libraries you used here, such as not only the name, but dates, sizes, versions, or links which you downloaded them from?

fus

Do you know where else I can get the explicit libraries used for this project? The ones in my Arduino folder are throwing errors

Mohsen Omrani

Really helpful tutorial. I learned alot.

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Device Drivers, Data Logger on Arduino UNO

Community Treasure Hunt

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

Start Hunting!