The Ev3 Definitions


Ev3 Lego Parts

Ev3 Programmable Brick/Ev3 P-Brick: The voice and brain of your robot. The p-brick is were you store all your files.

Large Motor: This allows you to move your robot forward, and make turns.

Medium Motor: This motor allows you to move smaller items, such as claws, and shoot guns.

Infared Sensor: This sensor is like the eyes of your robot. It can tell how far or close an object is. It measures in proximity.

Touch Sensor: This sensor can detect when the button is pressed. It has three states. Pressed, bumped, or realeased.

Color Sensor: This sensor allows your robot to detect colors. It measures it reflected light intensity. The color sensor reflects the amount of light cans back. Black absorbs all light, so it has 0% light. White reflects all light, so it has 100% light.

Ev3 Blocks

VARIABLES

color: red

Variables allow you to store date. You can store numbers, logic, or text. You can write a variable which creates a new one, or you can read the value.

CONSTANTS

color: red

Constants are variables except the value never changes. Like pi is a constant for instance.

LOGIC OPERATIONS

color: red

Logic blocks have multiple options. They are and, or, XOR, and not. And says if both A, and B are true then the result is true. If one, or both are false then the result is false. Or says if at least one, or both are true then the result is true. If both are false then the result is false. XOR says that if ONE is true, then the result is true. If both are true or both are false, then the result is false. Not turns true to false, and false to true.

MATH BLOCKS

color: red

Exactly as the name says, math blocks do math. Math blocks can do simple arithmitic with numbers.

TEXT

color: red

What the text block will do is it will transfer something into text mode.

RANDOM

color: red

What random will do is it will generate a random number in between numbers you pass.

COMMENTS

color: dark blue

Comments allow you to mark some things in your program. Comments will not do anything to the program.

WAIT

color: orange

Wait will wait for the number of seconds passed. Wait can also wait for sensors.

LOOPS

color: orange

Will reapeat something forever or while a sensor has detected something.

SWITCH

color: orange

Switch says if the condition is true, do this. If the condition is false, do this.

BREAK

color: orange

Break will allow you to exit a loop.

START

color: orange

Starts the program.

COLOR SENSOR

color: yellow

Allows you to use the color sensor. The color sensor allows your robot to recongnize colors, by re- flected all its light. Black absorbs all light so the amount of light in black is between 0% and 2%. White does not absorb any light, so the amount of light is between 96% and 100%.

COLOR SENSOR MODES

Reflected Light Intensity

Measures the amount of light reflected back to the color sensor.

Ambient Light Intensity

Measures the amount of light in a room

Color

Tells which color the color sensor see`s

TOUCH SENSOR

color: yellow

The touch senor block allows you to use the touch sensor. The touch sensor has there states. Bumped, pressed, and released.

INFARED SENSOR

color: yellow

The infared block allows you to use the infared sensor. The infared sensor is the eyes of your robot. The infared sensor can only see infared. Infared can travel longer lenghts then regular light. But infared is invisible to the human eye. Infared is seen by snakes.

INFARED SENSOR MODES

Proximity

Measures the distance from one object, to the sensor.

Remote

Can detect when which button is pressed on the IR remote

Beacon Proximity Mode

Can detect the strength of the signal when you press a button on the IR remote(1% means the remote is very close to the infared sensor. 100% means the remote is very far from the infared sensor)

Beacon Heading Mode

Tells where the IR remote is.

MEDIUM MOTOR

color: green

The medium motor block controls the medium motor.

SOUND

color: green

The sound block allows you to play sound.

DISPLAY

color: green

The display block allows you to display images. It can also show text.

TIMER

color: yellow

The timer block measures time since the start of the program, or since the last reset of the program.

MOVE TANK

color: green

This block allows you to move the robot forward, or backward. You can measure it in seconds, rotations, and degrees.

MOTOR ROTATION

color: yellow

The motor rotation block can measure how many rotations or degrees have happened since the start of the program, or since the last reset of the program.