- :-

Topics Covered

  • Math Blocks
  • Display Blocks
  • Converting Units from Rotations to Centimeters Travelled
  • Lesson Links

    Check Your Understanding:
    1. 1. The EV3 Education model moves about 17...
    2. Degrees per rotation
      Rotations per degree
      Meters per rotations
      Centimeters per rotation
    3. 2. The Math Block in Multiply Mode does which of the following?
    4. Multiplies by 17 no matter what you type in "a" or "b"
      Divides "Result" by "b" to give you "a" centimeters
      Multiplies the "a" value by the "b" value and sends the result out "Result"
      Reads your mind and gives you the desired value through the "Result" output
    Mini Challenge

    Mini Challenge 1: Display Rotation in Centimeters

    Add Math Blocks to your multi-display program from the previous Mini-Challenge, so that the two motor distance values display in Centimeters.

    Remember to use the appropiate mode of the Sensor Blocks, just like you did in the program created for this lesson.

    Adjust the X and Y coordinates of the Text Blocks so that they appear in the right places.

    Don't forget to uncheck "Clear" on all of the Display Blocks except the first one.

    + hint
    Mini Challenge

    Mini Challenge 2: Move for Centimeters My Block

    You can make My Blocks that accepts values through Data Wires. These custom My Block will take the given data value, and perform specific commands using it.
    Create a My Block that does the following:
    • Accepts a number (Centimeters) as an input through a Data Wire
    • Converts the input value into a number of Wheel Rotations, and uses it to drive the robot.


    • Add a Move Steering Block to the program

    • Select the Move Steering Block, then go to Tools > My Block Builder


    • Name the My Block and click on the "+" to add a parameter

    • Set parameter's name and icon


    • Floating "CM" output is the value the user gives to the My Block.

    • Under the program tab "MoveForCM", this is where you would create your program that is inside of the My Block.

    • Use a Math Block to make the appropriate conversion to make the robot move forward for that number of centimeters


    • Once you completed creating the program, switch back to the main program by clicking on the "Program" tab to the left.

    Once a My Block is created, you can use the blue-green My Block palette tab to access to My Blocks.

    + hint