How can read back an arduino analog input ?
Afficher commentaires plus anciens
Hello everyone, to be honest i am new for using Simulink and i want to know how could i read back the analog input for arduino because i want to use it to determine the position of my actuator. Thank you very much.
Joshua
Réponse acceptée
Plus de réponses (2)
efrianto tanto
le 2 Mai 2013
0 votes
i am interested with this problem and im also new to simulink. right now i think that i am in the same case to monitor the movement of the actuator potentiometer feedback which its wiper go to analog input on arduino support package block, how could i monitor the value of my feedback and how could i make a conditioning (if else for example) after i know the value of my feedback? thanks
matlabuseraa
le 2 Mai 2013
0 votes
http://www.mathworks.com/help/simulink/ug/configure-serial-communications.html This should help you to get started. If i were you i would first be sure to know how to serial communicate with arduino then switch to communicating it with simulink. There are many guides online on how to configure the communication.
1 commentaire
joshua hadi
le 3 Mai 2013
Catégories
En savoir plus sur Arduino Hardware dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!