We used MATLAB and an Arduino UNO (Ruggediuno) for our process control lab starting in 2013. We built 40 lab kits for ~$50 each and distributed them to students. Below is a link to our source code for the lab.
The lab is featured in the December issue of CACHE news. The article includes a number of lessons learned with regards to improving student experience. It was a positive experience the second year (2014) after we worked out some important details.
We're interested in continuing to improve the Arduino lab. Please contact me with any suggestions on additional modules related to Process Dynamics and Control: email@example.com.
I just installed the package but I keep getting this error whenever I try to use it:
EDU>> a = arduino();
Updating server code on Arduino Uno (COM5). Please wait.
Cannot program Arduino board Uno (COM5). Please make sure the board is supported and the port and board type are correct.
Do I still need to install something else?
Under MacOSX 10.10 and matlab 2011b, I didn't succeed in connecting the arduino whereas it works with the arduino SDK using the port. I got the error :
Attempting connection .............
Warning: Unsuccessful read: A timeout occurred before the Terminator was reached.
Error using arduino (line 104)
Connection unsuccessful, please make sure that the board is powered on......
Any idea ?
I need your help, I need control 6 servos in parallel. I start checking 1 and after 2 with the Arduino IO library. I thought that I could modify the library adding the others servos control, but it is not easy. Since I failed to modify files that send the signal to the servos from Simulink. I hope you have a library with servo control amount I need or help me telling me how I can edit as many files Simulink as Arduino.
Furthermore, I ask that in the Simulink interface can contectar several Arduinos but only two servos.
I appreciate any help you can give me
PD. I am using Arduino Uno and Matlab 2014A