Sending multiple signals over serial connection to/from Simulink/Arduino

9 次查看(过去 30 天)
I'm using the Support Package for Arduino Hardware and try to send three analog/digital signals from the Arduino to Simulink and after transformation back to the Arduino. Using a Mux with a Serial Transmit Block to send data from the arduino to Simulink works, but I'm not able to solve the problem in the other direction back to the Arduino. What is a possible solution for a working Simulink model on the Arduino and PC side?
thank you in advance
  1 个评论
Walter Roberson
Walter Roberson 2015-8-24
You probably have a serial receive connected to a demux, right? What problem do you encounter with the setup ? Are you certain that the data is being received at all? Have you hooked a scope block up to the serial receive?

请先登录,再进行评论。

回答(1 个)

Ang Xian Jia
Ang Xian Jia 2018-4-19
May I know how to use a Mux to send data from the arduino to Simulink ?

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by