Data Logger on Arduino UNO

Program a Data Logging Shield using the S-Function Builder

Al momento, stai seguendo questo contributo

This Simulink Model uses the S-Function Builder to program a Data Logging Shield attached to an Arduino UNO.
It is makes use of existing C-code by Adafruit Industries (see below link), and shows how to integrate it into Simulink.
https://learn.adafruit.com/adafruit-data-logger-shield/overview
The data logger is portable and enables you to log sensor readings based on the sample time you set. The shield houses a real-time clock (RTC) that is powered by an external battery. This means that the clock is continuously ticking, regardless of whether the board is powered up or not. Data is logged onto an SD card in .csv format.

You can connect the external circuit to an LDR to log light intensity in a room. Alternatively, you can utilize other sensors.

Blog post on the data logger:
https://dashboardproject.wordpress.com/2015/12/29/simulink-device-driver-for-adafruit-data-logger-shield/

**NEW** Youtube Demonstration:
https://www.youtube.com/watch?v=RuIEY9heaSk

By: Esther Ling, Edu Engineer

Cita come

Techsource Technical Team (2026). Data Logger on Arduino UNO (https://it.mathworks.com/matlabcentral/fileexchange/51710-data-logger-on-arduino-uno), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato da: Device Drivers

Ispirato: Driver for Arduino Data Logging Shield

Categorie

Scopri di più su Prepare Model Inputs and Outputs in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Community
Ulteriori file sono disponibili nella  Power Electronics Control Community
Versione Pubblicato Note della release Action
1.4.0.0

Added Youtube demo link.

1.3.0.0

Update

1.2.0.0

Added blog post on submission.

1.1.0.0

Added image to mask.
Removed GNU-licensed libraries and added information in the documentation on how to locate them.

1.0.0.0

Added copyright lines to renc2cpp function.