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

16 views (last 30 days)
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

Accepted Answer

Art
Art on 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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!