![Image for Weighted Pressure Plate 3.0 Solved Tasks](https://d2nmr6p48f8xwg.cloudfront.net/content_pictures/pictures/000/002/031/4d6cafcda380204d2ed7ff1c20120c8c6b2af631Weigthing-plate-3-0-Solved-Tasks-Fllcasts.png)
Weighted Pressure Plate 3.0 Solved Tasks
The solution to every task in the second lesson of the 3.0 module.
The program is designed for this robot.
- #fph05a
- 08 Feb 2019
The solution to every task in the second lesson of the 3.0 module.
The program is designed for this robot.
The solution of every task in the first lesson of the 3.0 module
The program is designed for this robot.
The last tasks require a second construction with a touch sensor.
This is a program for communicating with LEGO Mindstorms Bluetooth between two bricks. The goal of the program is to control one of the bricks with another brick. The controller has two touch sensors that control the direction and two buttons on the brick itself that control the power.
The control brick has two motors attached that are controlled.
The goal of this program is to be used as an example of how to use the EV3-G Bluetooth. Yes, it requires two bricks, but most of the schools have two bricks and could test the program.
These are the programs for our boxing robots and their Joysticks. They are made for a game of two fighters with their respective joysticks, fighting until one is knocked out or its "heart" touch sensor is punched by the other robot. The fighters require the two "leg" motors to be connected on ports B and C and the hand medium motors on port D. The touch sensors should be connected on port 1, however keep in mind that the game may be better without them. The distance sensor has no purpose in the program as it is used only for aesthetics. The joysticks require the motor for forward and backward to be connected on port B and the motor for left and right to be connected on port A. The touch sensor operates the hands and must be connected on port 4.
The block has the following parameters from left to right:
This is an EV3-G block for displaying the values of array cells in an EV3-G program.
The project contains two programs, which are demos of the blocks for displaying Boolean and numeric arrays.
You can import that blocks in your programs. They are designed to show you in real time what are the values in your array and let you go to the next bit of your program. The blocks operate with the UP and DOWN brick buttons to iterate through the array. And the CENTER brick button to advance to the program.
The blocks are very useful for students to show them in real time what values they have stored in their arrays. Because there is no easy way to see real-time what the values are in the array even if it contains only a few elements.
The block shows you how many elements there are in the arrays and the values in the following way:
The experiment contains a plot of the Curren Power of Motors B and C and the values of the Gyro Sensor when the robot is moving with a power of 100%. What you could see is that it is not actually moving with a power of 100% because the current power is about 75-80%.
Proportional implementation for keeping the LEGO Mindstorms robot straight. The program will take the value of the Mindstorms Gyro sensor and will apply this value to the steering block. This will make the robot steer in a direction that would put the robot in a straight position again.
In this program, we return the robot to a straight orientation at the end of the program. If there is not enough time for the Mindstorms Gyro sensor the correct the orientation of the robot before the end of the program, then we should do it at the end.