Previous site

Electric Toothbrush

Build an electric toothbrush that spins all the way around.

Build a spinning electric toothbrush.

Electric Toothbrush
Finished model

Blocks needed

  • × 1
  • × 6
  • × 5
  • × 2
  • × 2
  • × 2

How to build 10 steps

  1. Step 1
  2. Step 2
  3. Step 3
  4. Step 4
  5. Step 5
  6. Step 6
  7. Step 7
  8. Step 8
  9. Step 9
  10. Step 10
1 / 10

Coding mission

Code the electric toothbrush to spin forward 5 times and backward 5 times, then stop.

Blocks and their jobs

  • DC Motor BlockToothbrush head

Let's think

Find out which way one DC motor turns.

Clockwise
Counterclockwise
Stop

Learn about the Repeat Block.

  • Put the commands you want to repeat inside it in order, then set how many times to repeat.
Show the solution

Set how many times to repeat each direction, and code the directions in order. Then put the repeat count from step 1 into the repeat block.

Mission complete!

Built it and coded it? Tap to save your progress.