Simulink - Tempreture,Humidity and wind speed sensor

Hi
I am trying to build a weather station on simulink and I am using a DHT-22 (Temp& Humidity sensor) and wind speed (annemometer) , now what do I select under the library browser as this is my first time I am using Simulink and am clueless , thanks

Answers (1)

There are a few data export options from DHT22.
(1) Using arduino serial port reader window and copy & paste (quick & dirty way).
(2) Using a 3rd party data reading app (data streamer), e.g.: https://www.microsoft.com/en-us/download/confirmation.aspx?id=56976
and then import the data into MATLAB or Simulink.
(3) Using MATLAB codes (download M-file and Fcn files) to imprt Arduino DHT22 readings: https://projecthub.arduino.cc/dancili/30767a99-b1d4-4100-a50d-a999cc6c4ffb

1 Comment

Hello Sulaymon
Thanks but I am using MBED (F411RE) Nucleo board so need the fuzzy logic code for it

Sign in to comment.

Categories

Products

Release

R2022a

Tags

Asked:

on 29 Dec 2022

Commented:

on 30 Dec 2022

Community Treasure Hunt

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

Start Hunting!