MATLAB Answers

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

5 views (last 30 days)
Marcus Kurth
Marcus Kurth on 24 Aug 2015
Answered: Ang Xian Jia on 19 Apr 2018
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 Comment

Walter Roberson
Walter Roberson on 24 Aug 2015
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?

Sign in to comment.

Answers (1)

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


Sign in to comment.