must be plugged into port 4 for this app to function
• The Brick Program — our goal. The Brick Program is
the on-brick programming environment where you
can create small EV3 programs. No matter what
you’re programming, four basic actions are used in
Create. Building a program is a simple intuitive process.
Each program begins with three components: a Start and
Loop block connected together with a Sequence Wire.
This program beginning is the EV3 Brick Program Start
screen. In order to “program” the Brick, all you have to do
is add blocks to the Start screen. Blocks are obtained from
the Block Palette. You open the Block Palette by
highlighting the Sequence Wire and pressing the Up
button. Inside the Block Palette, there are 17 blocks that
can be added to your program.
Blocks are divided into Action Blocks (e.g., motors) and
Wait Blocks (e.g., sensors); there are six Action blocks and
11 Wait blocks. Inside the Block Palette, you select a block
to add to your program by pressing the Center button.
After you press the Center button, you are returned to your
program and the selected block is inserted after the
Sequence Wire that you had previously highlighted along
with the addition of another Sequence Wire for adding
Back in your program, you can move between blocks
by pressing the Left/Right buttons; add more blocks by
highlighting any Sequence Wire and pressing the Center
button; and configure block settings by highlighting a block
and pressing the Center button. A block’s setting selection
is rather limited (e.g., motor direction) and kinda cryptic
(e.g., a Color Sensor light intensity setting of <100).
Therefore, trial-and-error testing is the order of the day for
EV3 on-brick programming.
Delete. If you determine that a program block is
unnecessary, you can remove it from your program. Oddly,
this process is vaguely similar to adding a block to your
program. In other words, you highlight the undesirable
block and press the Up button. This action takes you to the
Block Palette. In the Block Palette, you press the Left
button, highlight the trash can icon, and press the Center
button. You are now returned to your program and the
offending block is removed.
Run. In a refreshing nod to a true integrated
development environment (IDE), you can run your program
from within the Brick Program app by pressing the Left
button until the original Start screen’s Start block is
highlighted and pressing the Center button. You can
abandon/abort/stop your program’s execution by pressing
the Back button. This a handy feature when you
“accidentally” create an endless loop program. Yup, you can
screw up even primitive programs with an errant block.
Save/Load. Your program can be saved to storage
memory onboard the Brick. The Save action is selected by
highlighting the Save icon (curiously, a 3. 5 inch floppy disk
icon is used for representing Save) that is located to the left
of the Start block. This action launches a filename screen.
You can name your program on this screen by using an
on-screen keyboard. The keys of this keyboard are accessed
with the Brick’s direction buttons, and the Center button is
The EV3 Brick programming Start screen features five
elements (pictured from left to right): Load (top left);
Save (bottom left); Start block; Sequence Wire; and
Loop block (far right).
Add a block to your program inside the Block Palette.
In this example, the LEGO EV3 Color Sensor with color
recognition has been selected.
Post comments on this article and find any associated files and/or downloads at
58 SERVO 04.2014