Using Simulink to read in temperature from a ds18b20 One Wire Digital Temperature sensor on an Arduino board

Has anyone been able to use Simulink to build a block that can read in temperature from a ds18b20 temperature sensor on an Arduino Uno board? The link below has a nice tutorial on how to use the OneWire library in Arduino code, but I have been unsuccessful in using this in an S-function block in Simulink.
Thanks!

Categories

Products

Asked:

on 31 Mar 2014

Answered:

on 18 Sep 2017

Community Treasure Hunt

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

Start Hunting!