BlocosIA Wiki Editor

LEGO MINDSTORMS EV3

EV3 motors and sensors over Bluetooth (experimental).

Pair the EV3 with your computer over Bluetooth (code 1234). In Chrome/Edge, choose the EV3 serial port.

To use it: in the editor, click "Extensions" (bottom corner) and add "LEGO MINDSTORMS EV3".

Stack

motor [A] on at ( ) % power

Does an action. Snap it below another block.

Stack

motor [A] on at ( ) % power for ( ) secs

Does an action. Snap it below another block.

Stack

stop motor [A]

Does an action. Snap it below another block.

Stack

beep ( ) Hz for ( ) secs

Does an action. Snap it below another block.

Hat

when touch sensor [1] pressed

Starts a script when this happens.

Boolean

touch sensor [1] pressed?

Answers true or false. Use it in "if", "repeat until" and "wait until".

Reporter

ultrasonic distance [1] (cm)

Gives a number or text. Put it inside a round slot.

Reporter

color of sensor [1]

Gives a number or text. Put it inside a round slot.

Reporter

reflected light of sensor [1] (%)

Gives a number or text. Put it inside a round slot.

Reporter

position of motor [A] (degrees)

Gives a number or text. Put it inside a round slot.