Modeling
Prepare model for hardware connection, add blocks
to support hardware protocols
Blocks
Button | Detect button press on EV3 brick |
Color Sensor | Detect colors, reflected light, or ambient light |
Display | Display label and integer on EV3 Display |
Encoder | Measure motor rotation in degrees |
Gyro Sensor | Measure rate of rotation |
Infrared Sensor | Detect the buttons pressed on a LEGO Remote Infrared beacon, measure the beacon proximity and heading, or measure the object proximity. |
Motor | Control motor power and direction |
Speaker | Play tone from EV3 speaker |
Status Light | Control status light on EV3 brick |
Touch Sensor | Output state of touch sensor |
Ultrasonic Sensor | Measure distance from object in centimeters |
TCP/IP Receive | Receive data over TCP/IP network from remote host |
TCP/IP Send | Send data over TCP/IP network to another remote host |
UDP Receive | Receive UDP packets from another UDP host on an Internet network |
UDP Send | Send UDP packets to another UDP host on Internet network |
Battery | Measures voltage of battery in EV3 brick |
Timer | Measures elapsed time from timer in EV3 brick |
NXT Touch Sensor | Reads state of NXT touch sensor |
NXT Ultrasonic Sensor | Measures distance between NXT ultrasonic sensor and the nearest object |
NXT Gyro Sensor | Measure rate of rotation of HiTechnic NXT gyro sensor |
NXT Sound Sensor | Measures sound level from the NXT sound sensor |
Pixy2 Vision Sensor | Represent connected CMUcam5 Pixy2 vision sensor and tracks object (color blob) |
I2C Register Read | Master device reads data from the I2C slave device or I2C slave device register(s) |
Topics
- Model Configuration Parameters for the LEGO MINDSTORMS EV3 Brick
Parameter and configuration options for creating and running applications on the LEGO® MINDSTORMS® EV3 brick.
- Open Block Library for LEGO MINDSTORMS EV3 Hardware
Locate Simulink® blocks for LEGO MINDSTORMS EV3 hardware.
Tutorials
- Getting Started with LEGO MINDSTORMS EV3 Hardware
This example shows you how to use Simulink® Support Package for LEGO® MINDSTORMS® EV3 Hardware to run a Simulink® model on LEGO MINDSTORMS EV3 hardware. - Read Data from I2C Sensors
This workflow shows how to read data from I2C-based third-party sensors using the LEGO MINDSTORMS EV3 hardware.