Following a line with two Hi Technic Color Sensors in EV3
As an extension to the previous video we talk about the Hi Technic Color Sensor again.
- #99
- 02 Aug 2015
As an extension to the previous video we talk about the Hi Technic Color Sensor again.
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.
The challenge for this video is to program a menu that is controlled from the LEGO Mindstorms EV3 brick screen.
After we take each sample, we perform calculations and these calculations could take different time. It is important to know how much time does it take to perform the calculations. In this video tutorial, we would data log the time and plot the data.
With this video tutorial we start the course for LEGO MINDSTORMS Robot Inventor and how to successfully program the robot for FIRST LEGO League robotics competition. It is good to have SPIKE Prime or EV3 for the competition. But if you happen to have Robot Inventor, don't be discourage. It is still possible to participate and accomplish a lot with the set.
Let's implement a more advanced program for this robot to learn how to use with motors in opposite directions - and this is to implement the Proportional Line Following algorithm.
This video lesson shows a very interesting specific example on how to use the LEGO Mindstorms EV3 Ultrasonic Sensor. The sensor detects if the catapult is loaded or if we have just fired an element. At the end of the lesson I also offer an interesting challenge that you could use in your classroom or at home.
След като вече изпробвахте и се справихте с предизвикателство, включващо поредица от инструкции, искаме да ви представим някои добри практики.
This video tutorial demonstrates the accuracy and consistency of the robot behavior when we use only the blocks for moving the robot without any sensor. Spoiler alert - the robot is not consistent and it is not accurate.
In this video we are solving part of the FIRST LEGO League Senior Solutions challange missions (FLL 2012) using LEGO Mindstorms NXT robots. I make a step by step explanation of each move I make. The goal of this video is to help you with ideas and suggestions on how one should look at the missions.
The robot works on the field and decodes the different colours that represent the rows and the columns.
We start with FIRST Technical Challenge and how you develop programs with the GamePads. It is up to you to decide how sticks, buttons and triggers from the GamePad will control the different motors of the robot and there are different decisions that you should make.
After we have introduced a menu in the previous video, this video focuses on storing the values in an array. It presents a basic use of arrays.
If you get to a solution that is too complex you should always try to improve it. This is what we are doing here. Arriving at a solution for aligning to the wall that has become too complex.
In this episode we are showing the great similiarity between the sensors in NXT Mindstorms. We are solving a common problem - How to make a robot that do not fall from the table. We are using the Ultrasonic sensor, Light Sensor and Touch Sensor to solve the same problem, but with three different sensors.
We explore some common mistakes when a program is developed and becomes complex. We then try to remove part of this complexity.
A human being walks with an average speed of about 5 km/h (3 miles/h). In this video tutorial we will develop a block for LEGO MINDSTORMS EV3, that measures the speed of the robot in distance/time units where time will be configurable and could be 1 second or 0.5 seconds or any other number of seconds you pass as a param to the block. Measuring the speed of the robot is very powerful if you start building an Artificial Inteligence for your robot and is quite fun :)
"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 would continue from the previous program where we used variables and we would change this to arrays.
We would look at the rules of the competition over our small model and we would start solving the field.
We are programming this strange construction to move in a square. This is a basic task, but it is worth doing for a robot with motors placed in different directions.
If you look at the properties of the move block and the motor block LEGO Mindstorms NXT, you will see that they have much in common. Still they have several differences. You should be aware of these differences in order to choose the appropriate block for your needs.