Effacer les filtres
Effacer les filtres

How to import arduino libraries in matlab

1 vue (au cours des 30 derniers jours)
Gianluca Finotti
Gianluca Finotti le 26 Jan 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.

Réponses (1)

Madhu Govindarajan
Madhu Govindarajan le 29 Jan 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

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by