5.0

5.0 | 2 ratings Rate this file 147 Downloads (last 30 days) File Size: 3.32 MB File ID: #35206
image thumbnail

Simulink Support Package for LEGO MINDSTORMS NXT hardware (R2012a)

by MathWorks Simulink Team

 

23 Feb 2012 (Updated 11 Apr 2013)

Simulink block library for creating models that run directly on your LEGO MINDSTORMS NXT robot

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

LEGO MINDSTORMS NXT (mindstorms.lego.com/) is a robotics invention system for creating and controlling robots using programmable motors and sensors.

With R2012a, Simulink provides built-in support for prototyping, testing, and running models on LEGO MINDSTORMS NXT robots. You can design algorithms in Simulink for control systems and robotics applications then see them perform with hardware.

To install support for LEGO MINDSTORMS NXT, at the MATLAB command prompt, type "targetinstaller". Target Installer opens.

• If you did not download the support package, choose Internet. Target Installer automatically downloads and installs the support package.

• If you did download the support package, choose Folder. After you specify a location, Target Installer installs this support package.

Simulink support for LEGO MINDSTORMS NXT includes the following I/O driver blocks:
• Microphone and speaker
• Input sensors, including light, color, touch, and ultrasonic
• Output sensors, such as servo motor and LCD
• Send and receive using Bluetooth wireless connections between multiple LEGO MINDSTORMS NXT robots

---------------------
This FileExchange entry is for R2012a support.

For more information on LEGO MINDSTORMS NXT support, see:
http://www.mathworks.com/hardware-support/index.html?q=%20vendor:%22Lego%22

For more information on built-in hardware support, see:
http://www.mathworks.com/products/simulink/simulink-targets
---------------------

Required Products Simulink
MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Other requirements Simulink Support for LEGO MINDSTORMS NXT requires Microsoft Windows.
Tags for This File  
Everyone's Tags
lego mind storm, lego mindstorms, lego mindstorms nxt, lego nxt, lego robot, nxt mindstorm, nxt robot, pick of the week, potw, robot
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
19 Jan 2013 Jen-Yu Hsiao

Sorry, Can I accurately control the motor angle every sampling time by this?

10 Jun 2012 daniel

excellent

23 May 2012 moamoa

FYI

04 May 2012 ncsu  
04 May 2012 sshield01

great product!

09 Apr 2012 Gautam Vallabha

Fausto, I replied to your question at http://www.mathworks.com/matlabcentral/answers/34734-lego-mindstorm-installation-problem

09 Apr 2012 sshield01

The targetinstaller script was very easy to use, it automatically installed all the required support packages in about half hour on my 32-bit windows 7 box. After installation, I could successfully play with the Mindstorms demos via USB. I didn't try bluetooth yet.Since I borrowed Mindstorms NTX from a friend, I didn't have the original Lego mindstorms NTX software installed on my PC.

06 Apr 2012 Fausto

I am sorry. The automatic installation on my computer cannot install the GNU ARM compiler. The message says that it is corrupt. I download manually and it shows that the file is corrupt too. There is a newer version of GNU ARM compiler that works. Please help me. I do not know haow to do the installation manually.

30 Mar 2012 MathWorks Simulink Team

General guidelines:
* Please use this FileExchange page to post general comments and ratings on the support package

* If you have questions about using this support package, post your question at http://www.mathworks.com/matlabcentral/answers (with tag "lego", and product "simulink")

* If you have an enhancement request or wish to report a possible bug, contact MathWorks Technical Support at
http://www.mathworks.com/support/contact_us/

Updates
09 Apr 2012

Updated license addendum

29 May 2012

Updated URLs for 7zip and nxtOSEK

12 Sep 2012

Updated title and description to emphasize that this entry is for R2012a support

20 Feb 2013

-updated third party software dependence

11 Apr 2013

Updated third party software dependence (GNUARM)

Contact us