Task - Calibrate a single sensor with the Advanced Light/Color technique
As an exercise try to implement the calibration of the minimum and maximum values for a single sensor.
- #639
- 04 Oct 2017
As an exercise try to implement the calibration of the minimum and maximum values for a single sensor.
Implement the program for array initialization.
Follow the video tutorials for initializing arrays and implement the program.
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.
Following the Advance Sensor Calibration course section, we found the min and max values detected by each sensor. Now it is time for the real deal of the calibration. Detect the current value from the sensor and find what is the percentage of this value for the range between min and max.
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.
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.
"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
Tasks for the Gyro sensor that you can use in STEM classes, while preparing for a competition or just to explore how the sensor works.
The Gyro sensor can be positioned horizontally, vertically or at a random angle. Have you ever wonder what does the gyro detect when it is positioned vertically. This is the subject of this video tutorial for the LEGO Mindstorms EV3 Gyro Sensor.
Let's explain the problem of just waiting for the Gyro sensor to detect an angle and think of why the robotics systems work like that.
Много отбори имат проблеми с жироскопичния сензора на EV3 и неговите смущения. В това видео показваме един начин за коригиране на поведението и получаването на точно измерване от този сензор.
This robot has a color sensor and this sensor is used for following lines. Additional Mindstorms EV3 sensors could be place on the robot, like a Gyro sensor or a second Color sensor.
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.
Showing the same run, but from a different angle. This allows you to see more of the way we sensors work and how exactly the robot positions itself.
This is the final run for our World Robotics Olympiad (WRO) 2015 Elementary Challenge Robot. In "dives", detects the color of the pearl and then counts the number of Ping-Pong balls to release.
In the previous part of the video lesson we showed how imprecise a chain LEGO Mindstorms robot could be if its positioning does not rely on sensors, but only on the use of move block. In this tutorial we will show the same thing, but using robot on tires.
You are not using sensors?! You are positioning the mindstorms robot only by moving forward, backwards and rotating it. That`s one of the BIGGEST mistakes teams make on the FIRST LEGO League competitions. In this video we are showing a robot with chains and how imprecise are the results are when you are not using sensors.
The scorpion is one of the most famous robots build with the NXT kit. In this lesson we are showing how to use the rotation sensor to program the scorpion and its strikes. The main challenge is how to return the spike for the same amount of degrees after it strikes. The other topic is how to use variable to keep the state of the scorpion. Both of this techniques are very valuable during the competition.
This lesson shows how you could use the rotation sensors of the motors of a LEGO MINDSTORMS NXT robot. This technique is very powerful during the competition. We give ideas on how to show the value of the sensor on the display, how to check if you have completed a given job or you are still doing it and other even more advanced topics. Understanding the rotation sensor is a must if you want to use the full capabilities of the motors.