General

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

How to connect M-Duino R38 to MATLAB

Avatar
Bruno Serrano

Hello,

We have a project in which we have to control several motors, sensors, breaks, etc. through MATLAB. It was decided to use the M-Duino R38, however we are having problems connecting the M-Duino with MATLAB. Within the MATLAB interface it all appears to work very well, no errors apear when seting the arduino up or while reading writing I/O. The problem is that the arduino does not execute any of the commands given and all inputs are read as 0.

Does any one have any solution or experience coneting these arduinos with MATLAB?

Thank you very much!

Avatar
Descartar
1 Respuesta
0
<div> <h5 class="o_wforum_bio_popover_name mb-0"> <address class="mb-0" itemscope="itemscope" itemtype="http://schema.org/Organization"> <div> <span itemprop="name">Andrei Postolache</span> </div> <div itemprop="address" itemscope="itemscope" itemtype="http://schema.org/PostalAddress"> </div> <div> </div> </address> </h5> <span class="o_wforum_bio_popover_info"> <address class="mb-0" itemscope="itemscope" itemtype="http://schema.org/Organization"> <div class="css_non_editable_mode_hidden"> --<span class="text-muted">Andrei Postolache</span>-- </div> <div itemprop="address" itemscope="itemscope" itemtype="http://schema.org/PostalAddress"> </div> <div> <div class="css_editable_mode_hidden"> <div class="mb-2"> <br/> </div> <b class="mt-4"><i class="fa fa-diamond text-secondary"></i> 2000000000</b> <div style="display: inline-block"> <b>|</b> <span class="fa fa-trophy badge-gold ml-2" role="img" aria-label="Gold badge" title="Gold badge"></span> 0 <span class="fa fa-trophy badge-silver ml-2" role="img" aria-label="Silver badge" title="Silver badge"></span> 0 <span class="fa fa-trophy badge-bronze ml-2" role="img" aria-label="Bronze badge" title="Bronze badge"></span> 0 </div> <div class="mt-2"> </div> </div> </div> </address> </span> <div class="o_wforum_bio_popover_bio"> <address class="mb-0" itemscope="itemscope" itemtype="http://schema.org/Organization"> <div class="css_non_editable_mode_hidden"> --<span class="text-muted">Andrei Postolache</span>-- </div> <div itemprop="address" itemscope="itemscope" itemtype="http://schema.org/PostalAddress"> </div> <div> <span> </span> </div> </address> </div> </div> </div> "> Avatar
Andrei Postolache
Best Answer

Hello Bruno,


For the moment the most common app to program our PLC's is Arduino IDE and here you can see some more also compatible with our devices here.

Also you can have a look to this link to see how to do it with Matlab or Simulink.


Thank you.

Avatar
Descartar