

Write your first program with EV3-G software
Now we will create the first program in this course and we will make the robot move forward.
- #365
- 04 Feb 2017
Now we will create the first program in this course and we will make the robot move forward.
In the EV3-G software, you could use negative numbers for power and rotations. In this episode, we would look at what is the meaning of this numbers and make a few notes of where the teacher must be more careful.
Have you even tried to move the robot not in rotations or degrees or seconds, but in metres. In this episode I am building a new block that could be used to move the robot a specific number of millimetres (mm). You could directly download and use it in your programs.
We will share the idea behind that challenge and how to conduct the challenge in a classroom.
Why we change the robots all the time and what to observe in each new robot.
We start a course for following a line with crosses and gaps. This is a challenge that one of the users at FLLCasts.com was trying to accomplish and asked us for advice. We present the whole challenge to you step-by-step. But first, let's also see the whole run of the line following algorithm. With this course, we also do an introduction of using State Machine as a programming pattern.
There are a few main challenges with box robots and in the following tutorial we would like to resolve them. Read on and let's see how we could do this.
"Array initialization" is the first step in every program that involves Arrays. This applies to most programming languages and for EV3-G it is a must.
In this tutorial, we would show you how to initialize the array and how to extract this logic in a new block
We've detected the gap. It's time to move over it. This is difficult because we have to detect where the line is after the 0.1 meters gap on the line following field.
One of the smartest things you could do in any software program is to extract logic in small reusable, simple, understandable units. In EV3-G these are called Blocks and we are going to extract the logic for finding a minimum and maximum for each of the sensors in a new block.
This video tutorial is about understanding the "magic". In this video tutorial, we would conduct an experiment and will look at how exactly does the integral part of the PID algorithm compensate for the error that the LEGO Mindstorms EV3 robot makes.
We discuss the state of "Lost" and the different ways we could escape this state. We also build the next step of our State machine programming pattern where the next state is determined by the previous state.
This video tutorial contains a detailed explanation on how we accomplish the FIRST LEGO League 2018-2019 Into Orbit mission called M09. STRENGTH EXERCISE. I could think for a couple of missions in previous years that require lifting a heavy object. Let's see how this mission could be accomplished.
How do you detect a cross-section and move from following the main line to following the crossing line. In this series of video tutorials we are starting with a very simple solution that could work in most of the cases. It is especially useful for the FIRST LEGO League Trash Trek competition where there is such a section.