Content for Light and Color Sensor
Scratch (Word Blocks) program for follow a line and stop at a second intersection with Color Sensors from LEGO Education SPIKE Prime
In this program, we demonstrate how to program a SPIKE robot to follow a line with the aid of one color sensor and detect and stop at the second intersection with the aid of another color sensor. Make sure the line is big enough for the sensor to detect it and react to it. For some thinner lines, the speed of the robot can be lowered, but if that does not help, the program can be easily adapted to work with reflected light intensity.
This program was intended for and tested on the Gazon robot
- #5tjgvi
- 10 Aug 2022
Scratch (Word Blocks) program with an a advanced algorithm for smooth line follow with Color Sensor from LEGO Education SPIKE Prime
In this program we demonstrate how to program a SPIKE robot to follow a line with the aid of a color sensor. In this program, we use the sensor value to calculate a number to feed in the "start moving" command. The numbers in this program depend highly on the size of the wheels of the robot, the distance between the wheels, the color sensor reflected light range, the wheels friction, and the speed at which the robot moves. The numbers in the program must be adjusted for every case, and are in no meaning optimal to use as is, in other projects.
This program was intended for and tested on the Gazon robot
- #zlb4ke
- 10 Aug 2022
Scratch (Word Blocks) program for a multiple states algorith for line follow with Color Sensor from LEGO Education SPIKE Prime
In this program we demonstrate how to program a SPIKE robot to follow a line with the aid of a color sensor. Make sure the line is big enough for the sensor to detect it and react to it. since we are measuring reflected light rather than the color of the line, we can and have implemented multiple states line following.
This program was intended for and tested on the Gazon robot
- #nkyhzr
- 10 Aug 2022
Scratch (Word Blocks) program for simple (2 states) line follow with Color Sensor from LEGO Education SPIKE Prime
In this program we demonstrate how to program a SPIKE robot to follow a line with the aid of a color sensor. Make sure the line is big enough for the sensor to detect it and react to it. For some thinner lines, the speed of the robot can be lowered, but if that does not help, the program can be easily adapted to work with reflected light intensity.
This program was intended for and tested on the Gazon robot
- #30mt5i
- 10 Aug 2022
LEGO Education SPIKE Prime Programming for competition with Word Blocks
Two concepts are important for robotics competitions - consistently navigate and position the robot exactly where we need it to be on the field, and builing attachments that would accomplish a mission once we have reached it. This course is focused on the first part. The second part is the whole FLLCasts platform, but start at FIRST LEGO League with LEGO Education SPIKE Prime. "Challenge" competition for 9-16 years old
The goal of this course is the help you learn to program LEGO Education SPIKE Prime robots to behave consistently and reliably during competitions. As a language we use LEGO Education SPIKE App Word Blocks which is based on Scratch. We look at a lot of concepts that could be used for FIRST LEGO League and World Robot Olympiad competitions - eg how to follow a line fast, slow, in a smooth way, with 5 states. Also how to align to lines, how to do double alignment, how to keep a straight line with motion sensor.
- 40
- 188:21
- 19
The Roller Coaster - Box Robot from LEGO Mindstorms with XY rack designed for FLL WRO competitions
Here is an idea. What if a robot does not need attachments. What if there is one special attachment on the front that could do most of the work? Probably an attachment that allows you to move a lever in any direction.
This here is a Box Robot with X - Y axys plane. This robot doesn't need active attachments because it has X - Y table that do the job. Imagine that there is a plane on the front of the robot. With the rack mechanism you can move to any coordinates on this plane.
We have a lot of ideas how to make it even better. We will try to release them in the next few versions.
- #865
- 02 Oct 2019
Dominator X-Y box robot
Dominator is a compact LEGO Mindstorms EV3 Box robot from the family of the Roller Coaster and Kiddo box robots. Similar to the previous two robots, Dominator also can move its front part up, down, left and right. This robot also has the same length of movement as its two predecessors of this type - 8 LEGO pins on the side and up.
The difference is that Dominator has fewer parts and has a perfect center of weight that allows it to use large attachments and lift heavy objects without threatening its stability. The movement on the X and Y axes has the same gear ratio. The light sensors are attached to the movable part of the robot which enables it to both follow a line and recognize the color of various object with height lower than 7 LEGO units.
- #1059
- 07 Aug 2020
FLL 2021: Use of motion and color sensors for a three-part mission - How to accomplish the Train Tracks mission
This tutorial explains the use of motion and light/color sensors to accomplish a complex mission split into three parts. It gets into detail about how we keep a straight line with the motion sensor, follow a line with the color sensors, and transition between different parts of the program by aligning and detecting lines with the sensor. The goal is to get to a reliable and consistent behavior of the robot. On top of that, it is configurable, as we've left a few parameters that could be set to configure the behavior for a specific robot, venue, lighting, battery level, and wheels friction.
- #2089
- 21 Feb 2023
FLL 2021: Completely Perfect, 100% consistent, 10 out of 10, auto-correct behavior for Train Tracks
This is a recording of a completely perfect, 10 out of 10 accomplishment of a two-part mission - Train tracks, from the FIRST LEGO League 2021-2022 Cargo Connect competition. Due to the proper use of motion and color/light sensors, the robot is 100% consistent and reliable for a non-trivial mission. Even when the robot makes a mistake, it auto-corrects and compensates for this mistake.
- #2090
- 21 Feb 2023
LEGO MINDSTORMS Robot Inventor Programming for competition with Word Blocks
To successfully advance at competitions we need to understand two concepts - how to reliably and consistently navigate the field and position the robot exactly where we need it to be on every run, and how to build attachments that would accomplish a mission model once we have reached it. This course is focused on the first part. The second part is the whole FLLCasts platform, but start at FIRST LEGO League with LEGO Mindstorms Robot Inventor. "Challenge" competition for 9-16 years old.
The goal of this course is to help you learn to program LEGO Robots using Scratch and make them behave consistently and reliably during competitions. As a language we use LEGO MINDSTORMS App Word Blocks which is based on Scratch. We look at a lot of concepts that could be used for FIRST LEGO League and World Robot Olympiad competitions - for example, how to follow a line fast, slow, in a smooth way, with 5 states. Also, how to align to lines, how to do double align, how to keep a straight line with a motion sensor.
Unfortunately, LEGO discontinued the robot series during the making of this course which is why it's kind of shortish. You could use the SPIKE Prime course for a more in-depth analysis.
- 8
- 38:50
- 5
WRO 2021 Junior: Slaimi - a post season WRO competition solution robot
This is the robot that we use to demonstrate a solution for competition. This is a Post season solution. We never release any solutions during the season as this will have a negative impact on the competition. But after the competition we try to make a review and to see how we could have accomplish it. Our goal is to be better for next year.
This robot is quite powerful. The attachment mechanism on the front is one of a kind as it can do several things with a single motor: it can lift, it can unlock, it can grab. All of this thanks to the unique mechanism of gears
- #1601
- 18 Jan 2023
WRO 2021 Junior: A post season WRO competition solution robot
This is the robot that we use to demonstrate a solution for the World Robot Olympiad 2021 Junior competition. This is a Post season solution. We never release any solutions during the season as this will have a negative impact on the competition.
We started with this robot and it has a few good ideas. It can collect two cars at the same time. We later decided to go for a more powerful robot. Check out WRO 2021 Junior: Slaimi - a post season WRO competition solution robot
- #1598
- 18 Jan 2023
FLL 2021: Scratch (Word Blocks) program to solve the Cargo Connect M09 Train Tracks mission with sensors
The program uses the light and color sensor along with the motion sensor to accomplish the mission. It contains a few interesting tricks on detecting lines and configuring the behavior of the robot with specific params.
- #j8zonx
- 21 Feb 2023
FIRST LEGO League 2021-2022 Cargo Connect solutions and review with LEGO Education SPIKE Prime
In this course, we demonstrate and explain example solutions for the FIRST LEGO League 2021-2022 Cargo Connect competition. Just like every year, we share solutions only after the season is over. In this course, you will find examples and principles of building attachments and will learn how to program consistent and reliable robots for each mission. You can follow the course, and as you go through each mission, try to replicate the solutions to understand the programs and explanations. Upon completion of the course, you will have many new ideas about how to approach the missions in every FLL robotics competition and how to help your team score more points.
Before starting this course, we suggest you go through the FIRST LEGO League robot game guide
- 55
- 181:18
- 34
Scratch (Word Blocks) program to solve the Cargo Connect M09 Train Tracks mission with sensors LSAv3.2.3
The program uses the light and color sensor along with the motion sensor to accomplish the mission. It contains a few interesting tricks on detecting lines and configuring the behavior of the robot with specific params.
- #1hod8v
- 10 Apr 2023
FLL 2021: How to accomplish The Bridge mission
In this video tutorial, we accomplish a FIRST LEGO League mission called The Bridge. We demonstrate how to use a really simple active attachment where the goal of the mission is to push down both parts of the bridge. We do not enter into the programming and we leave it up to you as an exercise.
- #2085
- 18 Apr 2023
FLL 2021: 10 out of 10 on how to accomplish The Bridge mission
This is a 10 out of 10 video tutorial where we demonstrate the consistency and reliability of a LEGO Education SPIKE Prime Active attachment connected to the motors of the robot. The goal of this attachment is to accomplish the Bridge mission where we have to push both parts of the bridge and bring them down to connect them. We use some line following.
- #2086
- 18 Apr 2023
Scratch (Word Blocks) program to solve the M14 Bridge mission
This program was intended for and tested on the Gazon, LEGO Education SPIKE Prime competition robot. It is meant to help the robot complete the 3rd mission of the FLL Cargo Connect competition.
- #tlcr08
- 18 Apr 2023
FLL 2022: Collect and Align - How to accomplish M104 Solar Farm with Chain Monster box robot - FIRST LEGO League SUPER POWERED 2022-2023
In this video tutorial we accomplish the FIRST LEGO League 2022-2023 SUPER POWERED mission called M04 Solar Farm. We use the chain monster box robot along with a passive attachment that helps us collect 3 of the energy units. The interesting thing about the mission is the collection of the units, of course, but also the way this robot manoeuvres when there is not enough space. It aligns to the lines, it uses the color and motion sensors. Really advance way to align the robot.
- #2239
- 09 Apr 2024