Read data from a DS18B20 digital temperature sensor connected to an Arduino board into Simulink

11 visualizzazioni (ultimi 30 giorni)
I want to implement a temperature control on an Arduino board with a connected DS18B20 temperature sensor using Simulink external mode. Has anyone implemented a Simulink s-function block which manages the one wire protocoll to read in the temperature from a DS18B20 digital temperature sensor connected to an Arduino board?
Thanks

Risposta accettata

Art
Art il 10 Feb 2016
5. Adding support for custom libraries is possible, with the latest support package version (MATLAB R2015b with MATLAB Arduino support package version 15.2.3). Please follow these links: http://www.mathworks.com/help/supportpkg/arduinoio/ug/custom-library-concepts.html http://www.mathworks.com/help/supportpkg/arduinoio/custom-arduino-libraries.html

Più risposte (0)

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