EV3 RoboticsComponent tutorialsBrake or coast

Motion · Level 2 · 4 min

Brake or coast

Stop a motor dead, or let it roll to a halt.

ComponentMotion4 min

Brake or coast

Telling a motor to stop does not say how it should stop. There are two very different behaviours, and which one you want depends entirely on what the mechanism is holding up.

  • Brake — the motor actively holds its position. A lifted arm stays lifted; a robot stops dead where it is.
  • Coast — the motor lets go. A lifted arm sags under its own weight; a moving robot rolls on a little before stopping.
EV3 Large Motor from the side
When this motor is told to stop, it either holds its shaft still or lets it spin freely. Which one it does is the whole of this module.

Watch what happens after the stop

Both arms below are lifted by the same program and stopped at the top. The only difference is one word in the stop block. Everything worth seeing here happens after the movement has finished.

when program starts
A run clockwise for 1 rotations
A stop motor brake

the only change on the other arm

A stop motor coast
0%braked, held0%coasting
Brake: still where it was putCoast: back on the floor
Two identical arms, each with a weight on the end.
stopped

If a mechanism you just lifted sags the moment it stops, the stop action is the first thing to check — not the lifting movement.

The coasting arm does not slide down steadily — it starts slowly and picks up speed, because it is gravity pulling it and not a motor lowering it. That is also why a coasting robot rolls a little past where its measured movement ended.

Which to choose

If gravity is pulling on the mechanism, you almost always want brake — otherwise the thing you just lifted comes back down on its own. If you want a smooth, natural halt, or you want to be able to push the robot by hand afterwards, coast is friendlier.

Coasting also makes a robot travel slightly further than its measured movement, because it keeps rolling after the motor has finished. On a precise task that error matters.

Why it matters

A crane must brake — a coasting crane drops its load. A train coasts into a station rather than stopping dead, because passengers would be thrown forward. The same choice, made differently, for good reasons.

More motion tutorials