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

8 visualizaciones (últimos 30 días)
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 comentario
Walter Roberson
Walter Roberson el 24 de Ag. de 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?

Iniciar sesión para comentar.

Respuestas (1)

Ang Xian Jia
Ang Xian Jia el 19 de Abr. de 2018
May I know how to use a Mux to send data from the arduino to Simulink ?

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by