Motors

The humble motor is a great add-on for the Crumble. You can connect up to two motors at once, and they just need to be connected to built-in motor outputs.

The red lead connects to + and the black one to – . The speed and direction of the motor can be programmatically adjusted, by changing the % on the motor block (0-100%) or the direction (forward, reverse or stop).

Note: Don’t forget you will need to add batteries.

Screeny Shot 9 Nov 2017, 11.29.55

This block controls the motors. Click the number, direction or % to change them.

Screeny Shot 9 Nov 2017, 11.30.36

This program turns on the motors, waits for 2.5 seconds, then turns them off for 1 second. It does this indefinitely.

This is an example of how the motor commands, and wait statements can be used to create a work of art!

Where next?

Motors are fantastic for adding in movement to a variety of projects, not just for turning wheels!