Hardware Support

LEGO MINDSTORMS EV3 Support from MATLAB

Acquire sensor data and control motors on your LEGO MINDSTORMS EV3 robot


Explore gallery (2 images)

Capabilities and Features

Use the MATLAB® Support Package for LEGO® MINDSTORMS® EV3 Hardware to control LEGO MINDSTORMS EV3 robots. The support package provides MATLAB functions to control the motors and interface with the hardware input sensors and output capabilities.

Perform the following tasks directly from MATLAB:

  • Control the motors
  • Read color and light intensity
  • Measure distance and proximity
  • Detect touch
  • Acquire rotation angle and rate
  • Write text to EV3 Brick LCD display
  • Beep and play tones on EV3 speaker
  • Detect button presses

You can connect your LEGO EV3 robot to your desktop MATLAB using Bluetooth, Wi-Fi, or USB. You can then use MATLAB and the LEGO EV3 sensors to program your robot to do tasks such as line following, object detection, object sorting, and collision avoidance.

About LEGO MINDSTORMS EV3

LEGO MINDSTORMS EV3 is based on a brick that includes an ARM®9-based processor, micro SD card reader, and USB port for Wi-Fi connectivity. It connects to a variety of sensors, such as ultrasound, color/light, gyroscope, and touch. It also connects to up to four servo motors, so you can use it to build mobile robots.

Platform and Release Support

Available on 32-bit and 64-bit Microsoft® Windows®, 64-bit Mac and 64-bit Linux®.


Related Hardware Support Views: MATLAB, Aerospace and Defense, Industrial Automation and Machinery, LEGO, MathWorks Supported, MATLAB Product Family, Mechatronics, Medical Devices, Project-Based Learning, Robotics, Support Package Installer Enabled, Test and Measurement

Ready to install?

Before installing the support package, confirm you have the correct setup. View system requirements and installation options.

Get support package

Software

Required

Support Package

Required

Support Package Installer installs this support package and all required third-party software. To start the installer, go to the MATLAB toolstrip and click Add-Ons > Get Hardware Support Packages. For more information, read the documentation.

Get support package

Hardware

Required

Software

Required

  • All required third-party software is installed by the Support Package Installer.

Don't see the hardware you're looking for?