Let's make a program that moves the robot forward and then backward.
- #378
- 04 Feb 2017
- 2:45
A program as a series of instructions
Drag and drop a second block to the programming canvas of the software. You can add new blocks either before, or after existing blocks.
A computer program is a series of instructions or commands that are executed one after the other.
How to delete a wrong block
If you need to remove a block, you could drag it back to the palette section and drop it there. The delete button will do the same if you prefer to use the keyboard.
English
Our robot moves forward and we can also program the robot to move backward. Let me just find my program.
Like this. Now, in this video we must improve on the program so that it moves forward, backward, forward, backward, etc. We'll set this as a challenge. We'll show you part of the solution and then we'll leave you to experiment with the different tasks. So, let's first implement a program so that it moves forward and backward.
This here is a program for moving backward. You see -1 as rotations and we can drag and drop one more block into the program. We can drop the block as a last block or as a first block. Let's just drop it as a first block. Now, this program will make the robot move forward for one rotation backward for -1 rotation. And that's important because this is what programming looks like. You just add a number of blocks in a series and you reach a behavior of the robot. In this case forward, backward. Let's download it and run it.
Again, I'll have to find it.
Forward, backward. What you need to do from here is to just add more blocks to the program and configure their settings. And you reach a final program that makes the robot moves like a Yo-yo. And you'll need.. You have to find out how many blocks you'll need. Now, it's possible that you make a mistake. Like clicking on another block and even placing it. You can delete this block. You just drag and drop this block back to the pallet. Like this.
Or you can just use the Delete key. You just select the block and press delete. So, the task from here is to implement the Yo-yo. To do it on your own by adding more blocks to the program.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons

EV3 Phi. Introduction to robotics with LEGO Mindstorms
The things that you will be able to do with your EV3 robot by the end of this course are:
Freely move your robot towards desired target;
Avoid obstacles on the path of your robot using sensors;
Follow lines of any shape;
Detecting and picking up objects of any kind;
- 92
- 220:20
- 36

Series of instructions make a program
The challenge is to make the robot move back and forth with ever decreasing distance.
- 11
- 0
- 4
- 3d_rotation 0

Instructors Remote Training
If you are working with students and you want to introduce Robotics to your class or you want to mentor a FLL team, but you are insecure about your technical knowledge in the Robotics field, then this is the right place for you. Having in mind teachers' busy schedule, we have design two different schedules and added an option to design one just for you. FLLCasts's Mindstorms EV3 Robotics Online Training is the perfect match for any teacher.
After the completion of each task the participant has to upload his solution for verification.
- 136
- 280:11
- 156

How to make the robot move
Let's review the LEGO Mindstorms EV3 Intelligent Brick
The EV3 brick is the main computer of your LEGO robot and it has a display, a few buttons and various ports.
- 24
- 0
- 11
- 3d_rotation 0

Robotics with LEGO - Level 1.0 - Adventure in Space
The first level of the Robotics with LEGO curriculum for students in fifth to twelfth grades.
Various constructions with robots are built. Learn how to control the motors so that the robot navigates around the Moon and Earth in various ways. Getting to know the first two sensors. The robot can feel its surroundings with the help of the Touch sensor and avoid obstacles.
The Ultrasonic distance sensor can help the robot avoid obstacles. Students work with concepts like loop, degrees and medium motor. Robots can now do two different actions at the same time - while solving missions on a field, the third motor clears detected obstacles.
- 126
- 123:52
- 150

Lesson 1 - Moving like a Yo-Yo
Introduction
Today, you will get to know your classmates and your teacher, learn how the lessons are conducted, construct your first robot, and learn how to program it to move. The end goal of this lesson is to make the robot move like a Yo-Yo. How does a Yo-Yo move?
If you have ever owned a Yo-Yo, you know that it's meant to fall down and rise back up to your hand. But in order for it to move successfully, we need to move our arm in such a way that we provide it with the required velocity. Otherwise, it will decrease the distance on the way back up on each drop until it stops.
Try to make a good impression on the rest of your class, because you will be doing this course with them until the end.
- 19
- 4
- 9
- 3d_rotation 1

Level A1. Introduction. Robotics with LEGO
Introduction to robotics - The first level of the Robotics with LEGO curriculum for students in second, third or fourth grades. A journey in space, with robots. Various constructions with robots are built. Learn how to control the motors so that the robot navigates around the Sun, the Moon and Earth in various ways. Getting to know the first of the sensors. The robot can feel its surroundings with the help of the Touch sensor and avoid obstacles.
- 142
- 133:42
- 187
Lesson 2 - Yo-yo challenge
Introduction
Today we will learn to program the robot to perform more than just one action, as well as program it to move like a yo-yo. Have you ever played with a yo-yo? How does it move? Did you know that from Filipino yo-yo means "to return".
- 18
- 3
- 8
- 3d_rotation 1