Install Ozeki 10 Install Ozeki 10 | Test the Lego Motors individually Test the Lego Motors individually

Course 1 / Lecture 6:

Connect the Lego robot to Ozeki 10

This lecture is about connecting Ozeki 10 to your Lego robot. This is an essential skill if you want to program your Lego robot efficiently. Ozeki 10 enables you to program your robot in SNAP, which is any easy to use drag and drop programming language. You may also use C#.Net and other programming languages to write your code. This lecture focuses on getting you started, which means you will see how you can setup the Lego robot connection with Bluetooth pairing and basic Ozeki 10 skills. This lecture is very easy to do.


Instruction video

Lecture video - Installing the Lego Mindstorms EV3 connection in Ozeki 10

Task #1:

Log in to Ozeki 10 with your user credentials!

Type your Ozeki 10's address in any browser and hit enter. The address is the combination of an IP address and port number separated with a colon. If Ozeki 10 is installed on your computer, you can navigate to http://localhost:9505 (Figure 1). At the login panel type your Ozeki 10 username (it is usually 'admin') and the password you have provided during the installation. Then click 'OK' to login.

Figure 1 - The login screen

Task #2:

Open Control Panel from Ozeki 10's user interface!

Click the Control Panel icon on Ozeki 10's Desktop (Figure 2). It is designed for you, so you can control Ozeki 10 and all of it's connections. You can set up various type of new connections, for example a Lego Brick connection. You can also define messaging routes between each connection. You will see how to check the Event logs of your Ozeki 10 to check the communication flow.

Figure 2 - Click the Control Panel icon

Task #3:

Create a Lego Brick connection in Ozeki 10!

STEP 1: Create a new Lego connection

Now you are seeing your connections in the Control Panel. To add your EV3 Brick and its parts to the list, click on the wide blue 'Create new Connection' button. A 'Connection details' panel on the right side will appear, where you can choose from many options. Please select the 'Sensor' icon to continue and select the 'Lego' icon as you can see it on Figure 3. Finally you have to select the COM port you have noted in the beginning of this lecture. This will be explained in STEP 2.

Figure 3 - Creating a new Lego connection

STEP 2: Configure your Lego Mindstorms EV3 connection

You can select the device name to identify the connection and select the COM port of your Lego Mindstorms EV3 Bluetooth connection (Figure 4). You have already took a note of the port number on the beginning of this lecture. Click 'Ok' to create the Brick connection and find it on the connection list. Usually there are two COM ports belonging to the EV3 Bluetooth connection, but only the outgoing EV3 serial port works. If you have selected the correct COM port, all sensors and actuators connected to the Brick will suddenly appear on the connection list (step 5, Figure 5).

Figure 4 - Select the COM port for your Lego Mindstorms EV3 connection

Task #4:

Open Brick details to find all Lego device connection events!

STEP 1: Open your Brick's details page

Now you can see the EV3 Brick and its components, like the battery, speaker, LED, LCD display and all devices that are currently wired to the Brick (Figure 5). There is a 'Details' button right to each device. If you click on one of them, you can get more information about the selected device and you can also configure or check the event list of each of them as you can see under the next step.

Figure 5 - Find the EV3 Brick in the connection list and all of it's parts

STEP 2: Open the Events tab page

Click on 'My_Lego_1' and open the 'Events' tab page. Now you can see the communication event logs. On Figure 6 you can see that all devices of your Lego Midnstorms EV3 set has been detected. If you are seeing an empty log, you have probably selected the wrong COM port. In this case you should try to create a new Lego connection to the other COM port belonging to your Bluetooth.

Figure 6 - The event log of the detected Lego Mindstorms devices


Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Courses > Course 1 - Build your first robot > Connect the Lego robot to Ozeki 10
Legal | Privacy | Terms of use | 6067 | | Login