Oct 012019

This blog post covers the integration process of the latest versions of Lego Mindstorms EV3 and Cameo Systems Modeler. Next post will cover actual modeling and simulation Lego EV3 in SysML. Flow instructions and video below!

What you will need

  1. Lego EV3 Plugin for Cameo Systems Modeler. Download it here: https://bit.ly/2nAC38m
  2. LejOS EV3 operating system replacement for EV3 brick to communicate with Cameo Systems Modeler. Instructions to download and install it to EV3 are here: http://www.lejos.org/ev3.php
  3. SD Card to install LejOS on EV3 (you will need a blank SD card of at least 2GB and no more than 32GB. SDXC cards are not supported by the EV3 hardware). If you are not sure what card to buy use this card from Kingston.
  4. Laptop with SD card reader or just SD card reader.

 Integration steps

  1. Download and install Lego EV3 Plugin for Cameo Systems Modeler. Check that plugin is loaded when you start Cameo Systems Modeler.
  2. Format SD card, preferable make 4 GB main partition. You can use free “MiniTool Partition Wizard”.
  3. Download and install Java Development Kit (JDK) on your PC (you will need to create Oracle account)
  4. Download and install LejOS (latest version 9.1-beta is good choice) on SD Card.
  5. Add SD card to EV3 and turn it on. Wait till it boots.
  6. Connect PC to EV3 Bluetooth.
  7. Start Cameo Systems Modeler, load project sample. Run simulation.

About Lego EV3 Plugin for Cameo Systems Modeler

Lego EV3 Plugin for Cameo Systems Modeler is a customized plugin provide a model library represent the LEGO® MINDSTORMS® EV3 (https://www.lego.com/en-us/mindstorms/products/mindstorms-ev3-31313) component and the java API to control EV3 hardware.

The plugin consists of:

  1. Java API: The API for directly connect/control the Lego EV3 hardware (Brick, Sensors, and Motors).
  2. Model Library: The SysML model described the Lego EV3 hardware and their behavior, the components behavior will perform the Lego EV3 action through the Java API and Cameo’s simulation capability.

About LejOS Ev3

Originally Lego EV3 hardware come along with the LEGO’s Operating system. To communication Lego Ev3 hardware with the Cameo Simulation Toolkit, we selected to use the third-party software named LejOS. This is a operating system for Ev3 which provides the Java library we can implement the Java source code as a plugin to be a bridge between EV3 and the model. For more details of LejOS please visit: http://www.lejos.org/ev3.php

5.00 avg. rating (98% score) - 2 votes

  One Response to “Integrating Programmable Lego Mindstorms EV3 with SysML and Cameo Systems Modeler (Part 1/2)”

  1. Avatar

    Very interesting project. Are you close to posting the second part?

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



Time limit is exhausted. Please reload CAPTCHA.