Basic Motor Control

Before we make a 2-wheel robot, we should learn how a single motor works, and how to program it.

What can we make with just 1 motor?

We have two types of motors:

medium Medium

large Large

Connecting Motors

Motors can connect to any of the six Spike Hub ports.

Once connected the motors can be tested by turning on the Spike Hub, and running the HEART program (scroll using Left & Right buttons until you see the HEART, then press the large ON button to run).

Use the LEFT and RIGHT buttons to increase/decrease speeds in both directions.

Let's test it out!

Coding Motors

Make LEGOs Move!

Build any mobile contraption you want by adding an axle to the motor shaft, or by hooking up connectors to the off-center motor holes: