Activity 2: Moving Your DC Motors
Introduction
For your second activity, you will add an element of motion. You will create a sketch
that will rotate a DC motor.
Figure 30
Open the Program
Before you open your next example sketch, be sure to save any sketch you want
to reference later. Let’s start by looking at the example sketch. Open the sketch by
selecting Examples > GS_Activity_2. A new sketch window will open titled GS_
Activity_2 (Figure 30).
Parts Needed
1x
6 V NiMH Battery
Pack 40235
1x
TETRIX® PULSE™
Controller 44268
1x
3-Foot Type A-B USB
Cable 40967
1x
Computer
1x
TETRIX DC Motor 44298
with Servo Mounting
Bracket 40232 (Assembly
instructions on pages
54-55)
Getting Started Activities 29