Differences between revisions 7 and 9 (spanning 2 versions)
Revision 7 as of 2012-05-08 21:56:05
Size: 1778
Editor: 195-241-239-132
Comment:
Revision 9 as of 2012-05-08 22:42:17
Size: 2516
Editor: 195-241-239-132
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
=== Arduino support in MATLAB === === Arduino support in MATLAB (no Admoveo robot support) ===
Line 25: Line 25:
=== MATLAB-Processing-Admoveo: Using matlabcontrol in Processing ===

 * The matlabcontrol library for Java is available from [[http://code.google.com/p/matlabcontrol/]]
 * Download "matlabcontrol jar with source files included" from [[http://code.google.com/p/matlabcontrol/downloads/list]].
 * Rename the jar file (for example, matlabcontrol-4.0.0.jar) to "matlabcontrol.jar".
 * Create a directory in your Processing library path: {{{<Sketchbook location>\libraries\matlabcontrol\library}}}, put "matlabcontrol.jar" in this directory.

Line 27: Line 35:
 *  * [[http://wiki.id.tue.nl/creapro/InstallingArduino | Install Arduino software]]
 * [[http://wiki.id.tue.nl/creapro/PreparingAdMoVeo | Prepare the Admoveo robot]]

Learning Robots

This wiki site is part of the Learning Robots module.

1. Connecting MATLAB and Arduino/Admoveo

1.1. Arduino support in MATLAB (no Admoveo robot support)

  • MathWorks has a software package to support Arduino directly in MATLAB. You can find the package from its website. Please notice that:

    • You do need to login with your MATLAB account, in order to download the package and get access to other resources such as tutorials.
    • Check out the Additional Resources to find a useful Webinar.

    • In the downloaded zip file, readme.txt has very detailed instructions for installing the firmware to Arduino and the necessary library to MATLAB.
    • if you plan to use servo motors, you need the motor shield for MATLAB to control the motors properly using the given package.

    • To get the online documentation of the arduino class in MATLAB, type in "arduino(" and wait for a dialogue box to pop up:

attachment:arduinomatlab.jpg

1.2. MATLAB-Processing-Admoveo: Using matlabcontrol in Processing

2. Admoveo Robot

JunHu: LearningRobots (last edited 2014-02-19 22:57:04 by JunHu)