ArduinoUno Digital and Analog Inputs Simulink

I have a problem(does not work analog and digital inputs in model of Simulink(Arduino Uno)...constantly shows "0" on Scope( What can I do ??

1 comentario

Kaustubha Govind
Kaustubha Govind el 27 de Mzo. de 2014
Which Arduino package are you using? There are several out there. Did you download a package, or are you using the functionality built into Simulink?

Iniciar sesión para comentar.

Respuestas (1)

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer el 28 de Mzo. de 2014

0 votos

Click the the "Deploy to hardware" button as described in the Run Model on Arduino Hardware topic.
One common error is to click the "Run" button (green triangle), which simulates the model on your host computer. The sensors output zeros because they do not exist on the host computer.

Categorías

Más información sobre Arduino Hardware en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 21 de En. de 2014

Respondida:

el 28 de Mzo. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by