LEGO EV3 Series Manual

LEGO EV3 Series Manual

Introduction to programming

Advertisement

Quick Links

EV3 Robots Introduction to Programming

Getting started with programming an EV3 robot
The goal for this introductory programming is to get the robots to dance.
By learning how to make their robot dance, students will learn some basic
programming skills including moving, turning, and looping.

Mini Task 1: Moving forward and turning

Step 1 Moving Forward
Step 1.1 Select Options for Motor Block
First have the students build the robot in the instruction manual. The robot in the manual is
a great start because it is strong and turns well. The instruction manual has instructions for
programming the robot brick without a computer. The following instructions use the Lego
Mindstorms Education EV3™ software.
Drag and drop the double motor steering block from the
green tab/set on the lower menu bar to the command
programming chain.
There are five Duration options:
<Off> Turns the motor off
<On> Turns the motor on indefinitely
<On for Seconds> Turns the motor on for the
time specified in Duration length
<On for Degrees> Rotates the motor the number
of degrees specified in Duration length
<On for Rotations> Rotates the motor the
number of rotations specified in Duration length

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EV3 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for LEGO EV3 Series

  • Page 1 First have the students build the robot in the instruction manual. The robot in the manual is a great start because it is strong and turns well. The instruction manual has instructions for programming the robot brick without a computer. The following instructions use the Lego Mindstorms Education EV3™ software.
  • Page 2 Steering direction: To change the Steering direction, slide the slider right or left. This changes the relative speed of the wheels. Dragging it all the way to one side will cause the robot to spin on the spot without moving forward. Power: To change the Power, move the slider up or down.
  • Page 3 How far will the robot travel in 2 rotations? Answer: 2 times the circumference of the wheel. The wheel is the tire and the rim. Step 2 Turning Drag another Double Motor Block on to the command programming chain. Set the Steering option by dragging the slider as shown in Step 1.1 above.
  • Page 4 Loops are useful for repeating a sequence of steps, such as dance moves. To create a loop, select the Orange tab on the lower menu bar. Then Drag the Loop to command programming chain. Then drag your sequence of blocks into the loop. Make sure they are attached to the chain and in the correct order.
  • Page 5 Plug the USB cord into the PC port of the robot. Make sure the EV3 is turned on. Figure 9: PC Port is beside the motor ports Press to compile, upload and run the program. Conversely, the same button will stop the program when it is plugged in and running. You can now unplug the robot.

Table of Contents