Azzera filtri
Azzera filtri

How to import arduino libraries in matlab

1 visualizzazione (ultimi 30 giorni)
Gianluca Finotti
Gianluca Finotti il 26 Gen 2018
Risposto: Madhu Govindarajan il 29 Gen 2018
Hi, I want to record temperature from an Arduino Uno using Matlab. I have been suggested to use a DS18B20 (see https://forum.arduino.cc/index.php?topic=524930.0). The problem is that this sensor needs the Dallas Temperature Control Arduino library. I am having the same problem for interfacing an LCD with Matlab. Is there an easy way to import libraries in Matlab or, anyway, to use these type of sensors easily. Notice: usually I use Matlab 2012. For the type of experiments I had to use (turn on LEDs or Electrodes) it was easy and working fine. For this experiment, I also tried Matlab 2017 but I am possibly having even more troubles.
Please, bear in mind, I am not an expert in this things.

Risposte (1)

Madhu Govindarajan
Madhu Govindarajan il 29 Gen 2018
Looks like this library can help bring temperature data from the sensor - https://www.mathworks.com/matlabcentral/fileexchange/57897-1-wire-add-on-library-for-arduino?focused=8437254&tab=example#5

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by