필터 지우기
필터 지우기

Hello, can you help me solve a problem in Simulink, please?

조회 수: 2 (최근 30일)
Dan Maria
Dan Maria 2017년 11월 9일
I need to read a ds18b20 temperature sensor, connected to Raspberry Pi 3 model B, using Simulink. Do you have any idea how can I do this?
  댓글 수: 1
brayan fabian vargas bermudez
brayan fabian vargas bermudez 2020년 4월 16일
I'm sorry for the moment I have the same problem, I found a solution please

댓글을 달려면 로그인하십시오.

답변 (2개)

Walter Roberson
Walter Roberson 2017년 11월 9일
  댓글 수: 2
Dan Maria
Dan Maria 2017년 11월 9일
Alright, so I have to install an Raspberry Pi Library, "OneWire" for DS18B20. Where can I find it? All examples are for Arduino.

댓글을 달려면 로그인하십시오.


Edwin Kemper
Edwin Kemper 2019년 1월 28일
hi Dan Maria, i have exactly the same problem, but i am working on a STM32-E407 board.
i still havent been able to solve the problem, the Arduino code should be possible to implement in the “s-function builder” block.
hopefully by now someone has solved it?
  댓글 수: 1
Christopher Harness
Christopher Harness 2019년 8월 7일
I'm having similar issues developing a MEX code to use in the S-Function builder. I keep using sample code from both the OneWire and DallasTemperature Arduino libraries as a basis, but I still keep getting errors in return, especially with how the code is structured. I have posted a recent question about using the "Legacy 1-Wire" Matlab Add-on and how to implement it into simulink.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by