
Scratch (Word Blocks) program to solve the M04 Transportation Journey mission
The program uses the motion sensor and control the motors of the robot.
- #hc0s5f
- 18 Oct 2022
The program uses the motion sensor and control the motors of the robot.
In this program, we present an "MY BLOCK" that follows a line presented as a yaw angle from the robot's starting position. If the program acts differently when tested again, then the most likely problem is the direction the robot is facing, when starting the program. Make sure to place the robot at the correct starting position with the correct facing direction, before every test.
This program was intended for and tested on the Gazon robot
This program makes the robot move in a straight line with the use of the LEGO MINDSTORMS Robot Inventor Motion sensor. It's developed with LEGO Education SPIKE App Word Blocks and uses a very simple algorithm for moving straight. When the robot moves slightly to the left or right align it face forward. Try to push the robot slightly. See what happens.
This program makes the robot move in a straight line with the user of the EGO MINDSTORMS Robot Inventor Motion sensor. It's developed with Robot Inventor - LEGO MINDSTORMS App Python and uses a very simple algorithm for moving straight. When the robot moves slightly to the left or right align it face forward. Try to push the robot slightly. See what happens.
Python program to turn until reaching an angle with LEGO MINDSTORMS Robot Inventor Gyro Sensor.
Scratch program to turn until reaching an angle with LEGO MINDSTORMS Robot Inventor Gyro Sensor.
This program is a basic version of the game played with EV3 Kinesthetic and Memory Game. For the program to work correctly, there must be one ultrasonic module attached to port 4, one gyro module attached to port 2 and one color module attached to port 3. The other modules are not required from this program.
This program is a final version of the game played with EV3 Kinesthetic and Memory Game. In this game you are given a sequence of hints which you are expected to remember and to perform the right actions in the given order.
This project is for Robotics Supreme - LEGO Mindstorms EV3 yacht robot. It contains three programs.
The first one follows a line using one color sensor and detects if the robot has been pushed. Then it plays an alarm and stops the program.
The second program makes the robot go in a square, using the gyro sensor wait-change block. This makes it one of the easiest square solutions there is.
The third program makes the robot follow a direction. That is accomplished similarly to the linefollowing, but instead it uses the gyro sensor and always follows a straight line.
This program is for Uylam - LEGO Mindstorms EV3 Steamship simulator robot. It is made as a lesson, to automatically find the best position for a ship in stormy weather, relative to the waves. The program has two parallel threads. The first one makes the robot move until the gyro sensor detects less amount of shaking done to the ship. Because of all the shaking, the readings of the gyro are all over the place and thats why we made a My Block, which acts like a filter, so that the readings are more accurate. The second thread starts the storm, which is controlled by a Large motor.
NOTE: The program contains my blocks, that will appear broken if you use any version before 1.3.0 of the EV3 Mindstorms Software!
This project is for Gen - LEGO Mindstorms EV3 pedalo robot. The program makes the robot follow an imaginary school of fish. It utilizes the gyro sensor to turn the robot accurately, which is a hard task for this robot, because of its strange wheels. Also because of those wheels, the robot usually has a constant steer in one direction, which we correct using the steering block and giving it a steer in the opposite direction!
This program counts coins. It is meant to work with Scrooge McRobot. For it to count the coins correctly, you must change the coins border sizes to match the measurements of the coins that are being used.
This MyBlock waits for the color sensor to detect any color and returns the peak angle the gyro detected at that time. This program is meant to work with a coin counting robot named Scrooge McRobot.
This MyBlock is made in substitution for a regular wait-gyro-rate block. It is made with a filter so that big differences in sensor data don't show up as much. It also uses only absolute values of the data so negative or positive angle on the gyro sensor does not matter. The MyBlock ends, when the rate is below a certain value, which is inputed by a parameter.
By default the Gyro sensor is connected on port 2 but if your robot is different, make sure to change the blocks to suit it.
This is the second program for the Watchtower Security Bot. These programs are meant to build on the security features the robot offers, and to return it to its starting condition afterbeing used. You can find the first program for this robot here.
A program, that makes the Turtle follow a designated course and get back to it, even if it's been manually rotated. It also hides in its shell when it sees anything close to it.
Careful: Gyro Sensor port in this program is port 3. Check your cables when you run this program.
NOTE: The program contains my blocks, that will appear broken if you use version before 1.3.0 of the EV3 Mindstorms Software
A collection of MyBlocks, that help you use the Turtle robot. The MyBlocks used are the following:
FollowCourse: Makes the turtle rotate, until it reaches the course it uses. If it's already on it, this MyBlock makes the turtle go forward. It uses the power you set it on.
PickNewCourse: Makes the turtle pick a new course.
HideInShell: Makes the turtle hide in its shell for the designated amount of seconds.
CurrentAndDesiredCourse: Displays the Current course and the course it wants on the display of the robot.
Careful: Gyro Sensor port in this program is port 3. Check your cables when you run this program.
NOTE: The program contains my blocks, that will appear broken if you use any version before 1.3.0 of the EV3 Mindstorms Software
Playing Football with robots is extremely fun. It could be part of the classes, it could be part of demonstration days. This is a EV3 LEGO Mindstorms Project including the programs for controlling the WRO Football Striker and the WRO Football Goalkeeper, as well as all of the necessary My blocks.