Video tutorials -
-Following lines, detecting colors, responding to light. It is still far from "seeing", but the LEGO Mindstorms EV3 & NXT sensors could be very useful when used properly.
Filters:
How to align LEGO Mindstorms robots to a black line (EV3 version)
In this tutorial we present a way to align your robot to a black line. Go through common difficulties, that the teams face, when they need to align their robot, and provide a solution for them.
- #53
- 15 Jan 2014
Proportional Line Following with EV3 Mindstorms. Part 2
Continuing with the Proportional algorithm for following lines. Smooth and stable this is the first part of the PID.
- #176
- 01 Nov 2015
Proportional Line Following with EV3 Mindstorms. Part 3
Last part of the series. The final touch of the program makes sure that it works and is following the line with the LEGO Mindstorms EV3 Color Sensor in a smooth and fast way.
- #177
- 01 Nov 2015
Gapped and Crossed Line Following with LEGO Mindstorms. Part 1. Challenge. Use of State Machines
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.
- #204
- 06 Jan 2016
Proportional Line Following with EV3 Mindstorms. Part4. Extracting a block for EV3-G
We extract the Proportional Line Following algorithm into a new block with parameters. This allows us to experiment with the Threshold, Constant Speed and Relaxation Coefficient. You can now easily use the block in you other programs without having to implement it.
- #216
- 27 Jan 2016
Gapped & Crossed Line Following. Part 2. Strategy
Looking at the field we must first think of a strategy of solving this line following problem. There are rules that the robot must follow and these rules should be programmed in the robot.
- #205
- 13 Jan 2016
Gapped & Crossed Line Following. Part 3. Strategy and Robot
We list the number of decisions that the robot is making while following the line. Then, we group them and decide on the number of sensors to be used.
- #206
- 20 Jan 2016
How to quickly follow a black line with one sensor
In this video lesson I will show you how to follow a black line using just one sensor, but fast enough so that you could use it during any robotics competition without wasting any time.
- #31
- 20 Jul 2013
Gapped & Crossed Line Following. Part 4. Follow to Gap
We follow a line. We start from the Smooth Proportional Line Following program and modify it a little for this program. We follow the line with the middle sensor attached on port 2.
- #207
- 03 Feb 2016
How to calibrate more than one LEGO Mindstorms EV3 Light/Color sensors at a time
Would you like to resolve all the problems with the light/color sensors that you have? And to make all of them work in a predictable, stable way even when using more than one MINDSTORMS colour sensors.
When using Color sensors it is important to calibrate them depending on the light conditions in your venue. In this way, the calibrated sensor will show values between 0 and 100 independent of the light conditions. But using the default EV3 colour calibration available in the colour sensor block could lead to unpredicted problems that are difficult to track and resolved especially when used with multiple Color sensors. So in this series of tutorial we implement the calibration ourselves discussing the principles of colour sensor calibration.
- #632
- 04 Oct 2017
Gapped & Crossed Line Following. Part 5. Detect Gap
It's inevitable. While following this gapped line we would reach a gap. The robot must somehow understand that there is a gap and must make a decision on what to do. For detecting the gap we use the Rotation Sensor. Not the most popular, but very convenient in many cases. Check out the video.
- #208
- 10 Feb 2016
Gapped & Crossed Line Following. Part 6. Move after the Gap
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.
- #209
- 17 Feb 2016
Gapped & Crossed Line Following. Part 7. Turn right state
Next important state is Turn Right with our robot. This happens when we detect a line on the right.
- #210
- 24 Feb 2016
Gapped & Crossed Line Following. Part 8. Turn left state
Next state in our state machine programming pattern is the "Turn Left" state and the corresponding behaviour.
- #211
- 02 Mar 2016
Gapped & Crossed Line Following. Part 9. Crossed Sections
We can Turn Right. We can Turn Left. How do we decide which way to go if there are lines both to the left and to the right. Check out the video.
- #212
- 09 Mar 2016
Gapped & Crossed Line Following. Part 10. Robot is lost
All worked as expected, up until know because the robot got lost. This happens when we turn right and the line does not continue to the right. Now the robot must somehow understand that it is "lost" and escape.
- #213
- 16 Mar 2016
Gapped & Crossed Line Following. Part 11. The state of "Lost"
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.
- #214
- 23 Mar 2016
Advanced Light/Color sensors calibration for a minimum value for a single sensor
In this tutorial, we would implement a program that finds the minimum and maximum value detected by the sensor and stores this two values in an array.
- #634
- 04 Oct 2017
Gapped & Crossed Line Following. Part 12. Escape the "Lost" state
The final video from the course. The robot escapes the state where it is lost. This happens if it can not continue in any direction.
- #215
- 08 Feb 2016
Building an example program using calibrated value for Light/Color EV3 Sensor
Many times we just upload blocks and leave it up to you to use it. In this tutorial, I would like to show you how to use the implemented blocks. How to import them into the EV3-G software. How to see them in the palette. How to drag and drop them to build a working program.
- #637
- 04 Oct 2017
Initialize an array for Advanced Light/Color sensors calibration
"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
- #633
- 04 Oct 2017
Advanced Light/Color sensors calibration for more than one sensor
In the course section for Advance Sensor Calibration we previously showed you how to find the minimum and maximum value for a single LEGO Mindstorms Color Sensor and to store this value in an array. The program was implemented with the EV3-G software. In this tutorial we are going to find the Min and Max for all the four sensors and to store all the 8 values in an array.
- #635
- 04 Oct 2017
Advanced Light/Color sensors calibration for a maximum value for a single sensor
Following the Advance Light/Color sensors calibration for a minimum value for a single sensor tutorial, in this one, we continue with finding the maximum value detected by a sensor and storing this value in an array.
- #642
- 04 Oct 2017
Task - Initialize an array at the beginning of the Advanced Calibration program
Implement the program for array initialization.
Follow the video tutorials for initializing arrays and implement the program.
- #638
- 04 Oct 2017
Extracting the logic for finding minimum an maximum into a new block
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.
- #645
- 04 Oct 2017
How to display on the screen the calibrated minimum and maximum values from the Array
A common question is how to display arrays on the LEGO Mindstorms EV3 brick screen. Displaying values from an array is not different from any other display operation. In this tutorial, we would look at displaying two specific values. The minimum and the maximum for a specific sensor from the Advance Calibration Course Section
- #643
- 04 Oct 2017