MATLAB Answers

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

10 views (last 30 days)
Nick
Nick on 31 Mar 2014
Answered: Bruno Marin on 18 Sep 2017
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!

Products

Community Treasure Hunt

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

Start Hunting!

Translated by